]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
powerpc: Optimize memchr for power8
[thirdparty/glibc.git] / ChangeLog
1 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4 (sysdep_routines): Add memchr_power8.
5 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6 (memchr): Add __memchr_power8 to list of memchr functions.
7 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
8 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
9 (memchr): Add __memchr_power8 to ifunc list.
10 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
11
12 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13
14 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
15 (__llrintf): Define as strong alias of __llrint.
16 (llrintf): Define as weak alias of __llrint.
17 (__lrintf): Define as strong alias of __llrint.
18 (lrintf): Define as weak alias of __llrint.
19 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
21 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
22 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
23
24 2017-06-20 Zack Weinberg <zackw@panix.com>
25
26 * bits/signum-generic.h: Renamed from bits/signum.h.
27 Add proper multiple include guard and misuse check.
28 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
29 Move definition of SIGIO to "archaic names for compatibility" section.
30 * bits/signum.h: New file which just includes bits/signum-generic.h.
31 * sysdeps/unix/bsd/bits/signum.h
32 * sysdeps/unix/sysv/linux/bits/signum.h
33 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
34 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
35 * sysdeps/unix/sysv/linux/mips/bits/signum.h
36 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
37 Just include <bits/signum-generic.h> and then add or adjust
38 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
39
40 * signal/Makefile: Install bits/signum-generic.h.
41 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
42
43 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
44 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
45
46 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
47 * sysdeps/unix/sysv/linux/Makefile: Run it.
48
49 2017-06-20 Zack Weinberg <zackw@panix.com>
50
51 * locale/xlocale.h: Rename to...
52 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
53 Only define struct __locale_struct and __locale_t, not locale_t.
54 * locale/bits/types/locale_t.h: New file; define locale_t here.
55 * locale/Makefile (headers): Update to match.
56
57 * include/xlocale.h: Delete wrapper.
58 * include/bits/types/__locale_t.h: New wrapper.
59 * include/bits/types/locale_t.h: New wrapper.
60
61 * ctype/ctype.h, include/printf.h, include/time.h
62 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
63 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
64 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
65 Correct outdated comments regarding the standardization status of
66 the functions that take locale_t arguments.
67
68 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
69 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
70 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
71 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
72 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
73 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
74 Don't include xlocale.h. If necessary, include locale.h instead.
75
76 * stdlib/strtold_l.c: Unconditionally include wchar.h.
77
78 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
79 * include/monetary.h, include/stdlib.h, include/time.h
80 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
81 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
82 * locale/localeinfo.h, locale/newlocale.c
83 * locale/nl_langinfo_l.c, locale/uselocale.c
84 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
85 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
86 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
87 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
88 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
89 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
90 * string/strings.h, string/strncase.c, string/strxfrm_l.c
91 * sysdeps/ieee754/float128/strtof128_l.c
92 * sysdeps/ieee754/float128/wcstof128.c
93 * sysdeps/ieee754/float128/wcstof128_l.c
94 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
95 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
96 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
97 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
98 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
99 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
100 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
102 * sysdeps/x86_64/strcasecmp_l-nonascii.c
103 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
104 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
105 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
106 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
107 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
108 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
109 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
110 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
111 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
112 Change all uses of __locale_t to locale_t.
113
114 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
115
116 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
117 for !__OFF_T_MATCHES_OFF64_T.
118 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
119 implementation based on open64.
120 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
121 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
122
123 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
124
125 * elf/dl-tunables.list: Move x86 specific tunables to ...
126 * sysdeps/x86/dl-tunables.list: Here. New file.
127
128 2017-06-20 Joseph Myers <joseph@codesourcery.com>
129
130 [BZ #21635]
131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
132 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
133 * conform/data/signal.h-data (uc_mcontext): XFAIL for
134 powerpc32-linux.
135 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
136
137 [BZ #21634]
138 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
139 (conformtest-xfail-conds): New variable.
140 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
141 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
142
143 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
144
145 * benchtests/powf-inputs: Add reduced trace from wrf.
146
147 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
148 Erich Elsen <eriche@google.com>
149
150 * elf/dl-tunables.list (tune): Add ifunc,
151 x86_non_temporal_threshold,
152 x86_data_cache_size and x86_shared_cache_size.
153 * manual/tunables.texi: Document glibc.tune.ifunc,
154 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
155 and glibc.tune.x86_non_temporal_threshold.
156 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
157 * sysdeps/x86/cpu-tunables.c: Likewise.
158 * sysdeps/x86/cacheinfo.c
159 (init_cacheinfo): Check and get data cache size, shared cache
160 size and non temporal threshold from cpu_features.
161 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
162 New.
163 [HAVE_TUNABLES] Include <unistd.h>.
164 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
165 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
166 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
167 IFUNC selection, data cache size, shared cache size and non
168 temporal threshold.
169 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
170 shared_cache_size and non_temporal_threshold.
171
172 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
173
174 * benchtests/README: Describe workload feature.
175 * benchtests/bench-skeleton.c (main): Add support for
176 benchmarking traces from workloads.
177
178 2017-06-20 Zack Weinberg <zackw@panix.com>
179
180 * string/string.h (__mempcpy_inline): Delete.
181 * sysdeps/x86_64/multiarch/mempcpy.c
182 * sysdeps/x86_64/multiarch/stpcpy.c:
183 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
184 before including string.h.
185
186 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
187
188 * benchtests/Makefile (bench-math): Add powf.
189 * benchtests/powf-inputs: New file.
190
191 2017-06-20 Zack Weinberg <zackw@panix.com>
192
193 * bits/string.h, string/bits/string.h
194 * sysdeps/aarch64/bits/string.h
195 * sysdeps/m68k/m680x0/m68020/bits/string.h
196 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
197 * sysdeps/x86/bits/string.h: Delete file.
198
199 * string/string.h: Don't include bits/string.h.
200 * string/bits/string3.h: Rename to bits/string_fortified.h.
201 No need to undef various symbols that the removed headers
202 might have defined as macros.
203 * string/Makefile (headers): Remove bits/string.h, change
204 bits/string3.h to bits/string_fortified.h.
205 * string/string-inlines.c: Update commentary. Remove definitions
206 of various macros that nothing looks at anymore. Don't directly
207 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
208 compiler-predefined macros.
209 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
210 _is_ defined, provide internal hidden alias __strncat.
211 * include/string.h: Declare internal hidden alias __strncat.
212 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
213 not defined.
214 * include/bits/string3.h: Rename to bits/string_fortified.h,
215 update to match above.
216
217 * sysdeps/i386/string-inlines.c: Define compat symbols for
218 everything formerly defined by sysdeps/x86/bits/string.h.
219 Make existing definitions into compat symbols as well.
220 Remove some no-longer-necessary messing around with macros.
221
222 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
223 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
224 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
225 * sysdeps/s390/multiarch/mempcpy.c
226 No need to define _HAVE_STRING_ARCH_mempcpy.
227 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
228
229 * sysdeps/i386/i686/multiarch/strncat-c.c
230 * sysdeps/s390/multiarch/strncat-c.c
231 * sysdeps/x86_64/multiarch/strncat-c.c
232 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
233
234 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
235
236 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
237 (LDBL_DIG): Likewise.
238 (LDBL_MIN_EXP): Likewise.
239 (LDBL_MIN_10_EXP): Likewise.
240 (LDBL_MAX_EXP): Likewise.
241 (LDBL_MAX_10_EXP): Likewise.
242 (LDBL_MAX): Likewise.
243 (LDBL_MIN): Likewise.
244 (LDBL_EPSILON): Likewise.
245 (FLT_ROUNDS): Change standard from ISO to C90.
246 (FLT_RADIX): Likewise.
247 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
248 (FLT_DIG, DBL_DIG): Likewise.
249 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
250 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
251 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
252 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
253 (FLT_MAX, DBL_MAX): Likewise.
254 (FLT_MIN, DBL_MIN): Likewise.
255 (FLT_EPSILON, DBL_EPSILON): Likewise.
256
257 2017-06-19 Joseph Myers <joseph@codesourcery.com>
258
259 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
260 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
261 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
262 * sysdeps/mips/math-tests.h
263 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
264 conditional code.
265
266 2017-06-19 Florian Weimer <fweimer@redhat.com>
267
268 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
269 It cannot change while __libc_setlocale_lock is acquired.
270
271 2017-06-19 Florian Weimer <fweimer@redhat.com>
272
273 * elf/rtld.c (audit_list_string): New variable.
274 (audit_list): Update comment.
275 (struct audit_list_iter): Define.
276 (audit_list_iter_init, audit_list_iter_next): New function.
277 (dl_main): Use struct audit_list_iter to process audit modules.
278 (process_dl_audit): Call dso_name_valid_for_suid.
279 (process_envvars): Set audit_list_string instead of calling
280 process_dl_audit.
281
282 2017-06-19 Florian Weimer <fweimer@redhat.com>
283
284 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
285 (dso_name_valid_for_suid): New function.
286 (handle_ld_preload): Likewise.
287 (dl_main): Call it. Remove alloca.
288
289 2017-06-19 Joseph Myers <joseph@codesourcery.com>
290
291 [BZ #21625]
292 * posix/sys/wait.h (strust rusage forward declaration): Change
293 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
294 !__USE_XOPEN2K].
295 (wait3): Likewise.
296
297 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
298 * configure: Regenerated.
299 * manual/install.texi (Tools for Compilation): Document
300 requirement for GCC 4.9 or later.
301 * INSTALL: Regenerated.
302
303 2017-06-19 Florian Weimer <fweimer@redhat.com>
304
305 [BZ #21624]
306 CVE-2017-1000366
307 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
308 __libc_enable_secure.
309
310 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
311
312 [BZ #21539]
313 * NEWS: Mention s390 ptrace request changes.
314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
315 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
316 PTRACE_SETFPREGS): Remove enum constant.
317 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
318 Remove defines.
319 (PTRACE_SINGLEBLOCK): New enum constant.
320 (PT_STEPBLOCK): New define.
321 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
322 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
323 PTRACE_TE_ABORT_RAND): New enum constant and define.
324 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
325 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
326 New file.
327 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
328
329 2017-06-16 Florian Weimer <fweimer@redhat.com>
330
331 * resolv/res_init.c (res_vinit_1): Use getline to read from the
332 configuration file.
333 (__res_vinit): Adjust.
334
335 2017-06-19 Florian Weimer <fweimer@redhat.com>
336
337 * resolv/res_init.c (res_vinit_1): New function.
338 (__res_vinit): Call it. Handle file open and memory allocation
339 failures.
340 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
341 erno from __res_maybe_init failure.
342 (_nss_dns_gethostbyname4_r): Likewise.
343 (_nss_dns_gethostbyaddr2_r): Likewise.
344 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
345 (_nss_dns_getnetbyaddr_r): Likewise.
346
347 2017-06-19 Florian Weimer <fweimer@redhat.com>
348
349 * resolv/res_init.c: Reformat to GNU style.
350
351 2017-06-19 Florian Weimer <fweimer@redhat.com>
352
353 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
354 (is_sort_mask): New function.
355 (__res_vinit): Use it.
356
357 2017-06-19 Florian Weimer <fweimer@redhat.com>
358
359 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
360 conditionals.
361
362 2017-06-19 Florian Weimer <fweimer@redhat.com>
363
364 * resolv/res-close.c: New file.
365 * resolv/res_init.c (__res_iclose, res_nclose)
366 (res_thread_freeres): Remove definitions.
367 * resolv/Makefile (routines): Add res-close.
368
369 2017-06-19 Florian Weimer <fweimer@redhat.com>
370
371 * resolv/res_randomid.c: New file.
372 * resolv/res_init.c (res_randomid): Remove definition.
373 * resolv/Makefile (routines): Add res_randomid.
374
375 2017-06-19 Florian Weimer <fweimer@redhat.com>
376
377 * include/resolv.h (__res_vinit): Declare as hidden.
378 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
379 * resolv/res_libc.c (res_init): Likewise.
380
381 2017-06-19 Joseph Myers <joseph@codesourcery.com>
382
383 [BZ #21457]
384 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
385 _libc_xmmreg): Use __ctx in defining field.
386
387 [BZ #21597]
388 * signal/signal.h (siginterrupt): Make declaration conditional on
389 [__USE_XOPEN_EXTENDED || __USE_MISC].
390
391 [BZ #21584]
392 * signal/signal.h: Make includes of <bits/sigstack.h> and
393 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
394 __USE_MISC].
395 (sigaltstack): Make declaration conditional on
396 [__USE_XOPEN_EXTENDED || __USE_MISC].
397
398 [BZ #21575]
399 * resource/bits/types/struct_rusage.h: New file.
400 * include/bits/types/struct_rusage.h: Likewise.
401 * bits/resource.h (struct rusage): Include
402 <bits/types/struct_rusage.h> instead of defining here.
403 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
404 Likewise.
405 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
406 Likewise.
407 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
408 Likewise.
409 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
410 Likewise.
411 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
412 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
413 Include <bits/types/struct_rusage.h>
414
415 2017-06-19 Florian Weimer <fweimer@redhat.com>
416
417 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
418
419 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
420
421 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
422
423 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
424
425 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
426
427 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
428
429 [BZ #21537]
430 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
431 Check SHARED instead of PIC.
432 (SYSCALL_PIC_SETUP): Add missing semicolons.
433 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
434 Check SHARED instead of PIC.
435 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
436 (__makecontext_ret): Adjust code to jump to exit.
437
438 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
439
440 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
441 Simplify code by always using SVC 0 instead of EX.
442 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
443
444 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
445
446 * elf/Versions (ld): Remove _dl_out_of_memory.
447
448 2017-06-16 Joseph Myers <joseph@codesourcery.com>
449
450 * timezone/private.h: Update from tzcode 2017b.
451 * timezone/tzfile.h: Likewise.
452 * timezone/tzselect.ksh: Likewise.
453 * timezone/zdump.c: Likewise.
454 * timezone/zic.c: Likewise.
455 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
456 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
457 * time/tzset.c (SECSPERDAY): New macro.
458
459 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
460
461 * manual/string.texi (strdup): Complete header and standards
462 annotation.
463 (strncpy): Likewise.
464
465 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
466
467 * manual/arith.texi (FP_NAN): Add or complete header and standard
468 annotations.
469 (FP_INFINITE): Likewise.
470 (FP_ZERO): Likewise.
471 (FP_SUBNORMAL): Likewise.
472 (FP_NORMAL): Likewise.
473 (SNAN): Likewise.
474 (SNANL): Likewise.
475 (totalorderf): Likewise.
476 (totalorderl): Likewise.
477 (totalordermagf): Likewise.
478 (totalordermagl): Likewise.
479 (_Complex_I): Likewise.
480 (I): Likewise.
481
482 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
483
484 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
485 standard annotation.
486 (ARGP_HELP_SHORT_USAGE): Likewise.
487 (ARGP_HELP_SEE): Likewise.
488 (ARGP_HELP_LONG): Likewise.
489 (ARGP_HELP_PRE_DOC): Likewise.
490 (ARGP_HELP_POST_DOC): Likewise.
491 (ARGP_HELP_DOC): Likewise.
492 (ARGP_HELP_BUG_ADDR): Likewise.
493 (ARGP_HELP_LONG_ONLY): Likewise.
494 (ARGP_HELP_EXIT_ERR): Likewise.
495 (ARGP_HELP_EXIT_OK): Likewise.
496 (ARGP_HELP_STD_ERR): Likewise.
497 (ARGP_HELP_STD_USAGE): Likewise.
498 (ARGP_HELP_STD_HELP): Likewise.
499
500 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
501
502 * manual/Makefile: Generate summary.texi with summary.pl. Force
503 use of the C locale. Update Perl dependency comment.
504 * manual/header.texi: Update reference to summary.awk.
505 * manual/macros.texi: Refer authors to `summary.pl --help'.
506 * manual/summary.awk: Remove file.
507 * manual/summary.pl: New file. Generate summary.texi, and check
508 for @standards-related syntax errors.
509 * manual/argp.texi: Convert header and standards @comments to
510 @standards.
511 * manual/arith.texi: Likewise.
512 * manual/charset.texi: Likewise.
513 * manual/conf.texi: Likewise.
514 * manual/creature.texi: Likewise.
515 * manual/crypt.texi: Likewise.
516 * manual/ctype.texi: Likewise.
517 * manual/debug.texi: Likewise.
518 * manual/errno.texi: Likewise.
519 * manual/filesys.texi: Likewise.
520 * manual/getopt.texi: Likewise.
521 * manual/job.texi: Likewise.
522 * manual/lang.texi: Likewise.
523 * manual/llio.texi: Likewise.
524 * manual/locale.texi: Likewise.
525 * manual/math.texi: Likewise.
526 * manual/memory.texi: Likewise.
527 * manual/message.texi: Likewise.
528 * manual/pattern.texi: Likewise.
529 * manual/pipe.texi: Likewise.
530 * manual/process.texi: Likewise.
531 * manual/resource.texi: Likewise.
532 * manual/search.texi: Likewise.
533 * manual/setjmp.texi: Likewise.
534 * manual/signal.texi: Likewise.
535 * manual/socket.texi: Likewise.
536 * manual/startup.texi: Likewise.
537 * manual/stdio.texi: Likewise.
538 * manual/string.texi: Likewise.
539 * manual/sysinfo.texi: Likewise.
540 * manual/syslog.texi: Likewise.
541 * manual/terminal.texi: Likewise.
542 * manual/threads.texi: Likewise.
543 * manual/time.texi: Likewise.
544 * manual/users.texi: Likewise.
545
546 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
547
548 * manual/macros.texi (@standards): New macro. Provide placeholder
549 for header and standards annotations.
550 (@standardsx): New macro. Likewise, for lists of @*x elements.
551
552 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
553
554 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
555 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
556 rule.
557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
558 sync_file_range.
559
560 * support/support_test_main.c (support_test_main): Use optstring
561 member for option string in getopt_long.
562 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
563 (CMDLINE_OPTSTRING): New define.
564 * support/test-driver.h (test_config): Add optstring member.
565
566 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
567
568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
569 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
570 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
571 Check USE_AS_STRPBRK instead of STRPBRK_P.
572 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
573 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
574 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
575 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
576 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
577 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
578 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
579 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
580 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
581 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
582 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
583 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
584 and "#endif".
585
586 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
587
588 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
589 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
590
591 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
592
593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
594 strcat-sse2.
595 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
596 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
597 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
598 * sysdeps/x86_64/multiarch/strcat.S: Removed.
599 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
600
601 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
602 Erich Elsen <eriche@google.com>
603
604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
605 memcmp-sse2.
606 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
607 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
608 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
609 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
610 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
611 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
612
613 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
614 Erich Elsen <eriche@google.com>
615
616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
617 memset-sse2-unaligned-erms, and memset_chk-nonshared.
618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
619 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
620 Update comments.
621 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
622 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
623 * sysdeps/x86_64/multiarch/memset.c: Likewise.
624 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
625 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
626 * sysdeps/x86_64/multiarch/memset.S: Removed.
627 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
628 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
629 (__memset_chk_erms): New function.
630
631 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
632
633 * configure.ac(--enable-tunables): Enable by default.
634 * configure: Regenerate.
635 * NEWS: Mention change.
636 * manual/install.texi (enable-tunables): Adjust documentation.
637 * INSTALL: Regenerate.
638
639 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
640
641 [BZ #18988]
642 * benchtests/thread_create-inputs: New file.
643 * benchtests/thread_create-source.c: Likewise.
644 * support/xpthread_attr_setguardsize.c: Likewise.
645 * support/Makefile (libsupport-routines): Add
646 xpthread_attr_setguardsize object.
647 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
648 * benchtests/Makefile (bench-pthread): Add thread_create.
649 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
650 then mprotect the required area.
651 (guard_position): New function.
652 (setup_stack_prot): Likewise.
653
654 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
655 Erich Elsen <eriche@google.com>
656 Adhemerval Zanella <adhemerval.zanella@linaro.org>
657
658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
659 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
660 mempcpy_chk-nonshared and memmove_chk-nonshared.
661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
662 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
663 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
664 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
665 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
666 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
667 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
668 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
669 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
670 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
671 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
672 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
673 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
674 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
675 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
676 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
677 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
678 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
679 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
680 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
681 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
682 (__mempcpy_chk_erms): New function.
683 (__memmove_chk_erms): Likewise.
684 (__memcpy_chk_erms): New alias.
685
686 2017-06-14 Florian Weimer <fweimer@redhat.com>
687
688 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
689 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
690
691 2017-06-14 Zack Weinberg <zackw@panix.com>
692
693 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
694 Reorganize file. Declare errno here. When __ASSEMBLER__ is
695 defined, don't declare anything other than the E-constants.
696
697 * include/errno.h: Change conditional for exposing internal
698 declarations to (not _ISOMAC and not __ASSEMBLER__).
699 * bits/errno.h: Remove logic for __need_Emath. Document
700 requirements for a port-specific bits/errno.h.
701
702 * sysdeps/unix/sysv/linux/bits/errno.h
703 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
704 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
705 * sysdeps/unix/sysv/linux/mips/bits/errno.h
706 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
707 Add multiple-include guard and check against improper inclusion.
708 Remove __need_Emath logic. Don't declare errno here. Ensure all
709 constants are defined as simple integer literals. Consistent
710 formatting.
711 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
712 enum __error_t_codes if __ASSEMBLER__ is not defined.
713 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
714
715 * argp/argp.h, string/argz.h: Don't define __need_error_t before
716 including errno.h.
717 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
718 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
719 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
720 * sysdeps/x86_64/fpu/s_cosf.S
721 * sysdeps/x86_64/fpu/s_sincosf.S
722 * sysdeps/x86_64/fpu/s_sinf.S:
723 Just include errno.h; don't define __need_Emath or include
724 bits/errno.h directly.
725
726 2017-06-14 Zack Weinberg <zackw@panix.com>
727
728 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
729 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
730 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
731
732 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
733 for IOV_MAX.
734 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
735 Don't install bits/uio.h.
736 * misc/sys/uio.h: Don't include bits/uio.h. Do include
737 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
738 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
739
740 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
741 and __need_IOV_MAX. Don't define IOV_MAX at all.
742 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
743
744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
745 Include bits/types/struct_iovec.h, not bits/uio.h.
746 Use __ssize_t, not ssize_t, in function prototypes.
747 Don't use hard TAB for double space after period in comments.
748
749 2017-06-14 Alan Modra <amodra@gmail.com>
750
751 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
752 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
753 refsym and sym parameters. Adjust callers.
754 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
755 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
756 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
757 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
758 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
759 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
760 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
761 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
762 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
763 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
764 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
765 Likewise.
766 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
767 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
768 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
769 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
771 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
772 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
773 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
774 (_dl_reloc_overflow): Increase buffser size. Formatting.
775 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
776 Delete reloc param, add refsym and sym. Check optimized plt
777 call stubs for localentry:0 functions. Adjust callers.
778 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
779 and sym parameters. Adjust callers.
780 (_dl_reloc_overflow): Move attribute.
781 (_dl_error_localentry): Declare.
782 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
783 refsym and sym to elf_machine_fixup_plt.
784 * elf/testobj6.c (preload): Call printf.
785
786 2017-06-14 Alan Modra <amodra@gmail.com>
787
788 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
789 (NOPS, ENTRY_3): New macros.
790 (ENTRY): Rewrite.
791 (ENTRY_TOCLESS): Define.
792 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
793 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
794 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
795 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
796 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
797 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
798 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
799 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
802 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
803 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
804 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
805 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
806 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
807 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
808 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
809 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
810 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
811 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
812 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
813 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
814 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
815 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
816 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
817 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
818 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
819 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
820 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
821 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
822 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
823 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
824 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
825 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
826 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
827 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
828 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
829 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
830 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
831 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
832 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
833 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
834 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
835 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
836 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
837 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
838 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
839 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
840 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
841 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
843 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
844 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
845 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
846 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
847 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
848 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
849 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
850 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
851 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
852 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
853 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
854 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
855 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
856 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
857 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
858 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
859 Likewise.
860 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
861 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
862 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
863 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
865 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
866 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
867 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
868 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
869 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
870 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
871 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
872 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
873 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
874 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
875 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
876 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
877 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
878 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
879 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
880 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
881 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
882 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
883 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
884 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
885 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
886 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
887 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
888 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
889 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
890 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
891 add nop when SHARED.
892 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
893 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
894 define.
895 (ENTRY_TOCLESS): Define.
896 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
897 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
898 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
899
900 2017-06-14 Alan Modra <amodra@gmail.com>
901
902 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
903 MEMSET_is_local.
904 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
905 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
906 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
907 Define MEMSET.
908 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
909 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
910 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
911 nop after local calls.
912 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
913 Don't add nop after local call.
914 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
915 CALL_MCOUNT.
916
917 2017-06-14 Alan Modra <amodra@gmail.com>
918
919 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
920 (FUNC_LABEL): Rename from DOT_LABEL.
921 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
922 Use .p2align rather than .align.
923 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
924 (ABORT_TRANSACTION): Likewise.
925 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
926 particularly at end. Add semicolon at invocation as necessary.
927 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
928 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
929 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
930 END): Adjust to suit.
931
932 2017-06-14 Alan Modra <amodra@gmail.com>
933
934 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
935 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
936 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
937 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
938 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
940 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
941
942 2017-06-14 Alan Modra <amodra@gmail.com>
943
944 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
945 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
946
947 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
948
949 [BZ #21548]
950 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
951 8 and use it when copying general purpose registers.
952 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
953 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
954 mips o32.
955 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
956 new test for mips o32.
957 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
958 8 and use it when copying general purpose registers.
959 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
960
961 2017-06-13 Florian Weimer <fweimer@redhat.com>
962
963 * configure.ac (find_cxx_header): Suppress compiler error message.
964
965 2017-06-13 Florian Weimer <fweimer@redhat.com>
966
967 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
968 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
969 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
970 begin/end.
971 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
972 dynarray_int_end.
973 (test_str): Test dynarray_str_begin, dynarray_str_end.
974
975 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
976
977 [BZ #21573]
978 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
979 $(common-objpfx)bits/std_abs.h.
980 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
981 New target.
982 * config.make.in (c++-bits-std_abs-h): New.
983 * configure.ac (find_cxx_header): Use "\,$1," with sed.
984 (CXX_BITS_STD_ABS_H): New.
985 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
986 * configure: Regenerated.
987
988 2017-06-13 Zack Weinberg <zackw@panix.com>
989
990 * posix/bits/cpu-set.h: Correct indentation of preprocessor
991 directives.
992
993 2017-06-12 Zack Weinberg <zackw@panix.com>
994
995 * bits/sched.h: Remove __need_schedparam logic and replace with a
996 normal multiple-include guard. Change field name in struct
997 sched_param from __sched_priority to sched_priority. Delete
998 everything under #ifndef __cpu_set_t_defined.
999 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
1000 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1001
1002 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1003 For compatibility, #define sched_priority to itself, and #define
1004 __sched_priority as sched_priority.
1005 * posix/bits/cpu-set.h: New file containing, verbatim, the code
1006 that was under #ifndef __cpu_set_t_defined in
1007 sysdeps/unix/sysv/linux/bits/sched.h.
1008 * include/bits/cpu-set.h: New wrapper.
1009 * posix/Makefile: Install bits/cpu-set.h.
1010
1011 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1012 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1013 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1014
1015 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1016 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1017 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1018 * math/libm-test-isfinite.inc (finite_test): Likewise.
1019 * math/libm-test-lgamma.inc (gamma_test): Likewise.
1020 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1021 (nexttoward_test_data}: Likewise.
1022 * math/libm-test-remainder.inc (drem_test): Likewise.
1023 * math/libm-test-scalb.inc (scalb_test): Likewise.
1024 (scalb_test_data): Likewise.
1025 * math/libm-test-significand.inc (significand_test): Likewise.
1026 (significand_test_data): Likewise.
1027 * math/libm-test-support.c (check_complex): Replace __complex__
1028 FLOAT with CFLOAT to get the support for old compiler.
1029 * math/libm-test-support.h (check_complex): Likewise.
1030 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1031 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1032 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1033 * math/test-float128.h: New file.
1034 * math/test-math-floatn.h: New file.
1035
1036 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1037
1038 * include/float.h: Allow the definition of macros prefixed with
1039 FLT128 even if _ISOMAC is defined, but provided that
1040 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1041
1042 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1043
1044 * manual/math.texi (Mathematics): Add description for _FloatN and
1045 _FloatNx types and mentions that they are not support in glibc for
1046 any architecture, so far.
1047 * manual/arith.texi (wcstof, wcstold): Replace the mention to
1048 stdlib.h with wchar.h.
1049 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1050 (Printing of Floats): Add description for strfromfN.
1051
1052 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1053 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1054 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1055
1056 * include/gmp.h (__mpn_construct_float128): New declaration.
1057 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1058 (__strtof128_l): New declaration.
1059 (__strtof128_nan): Likewise.
1060 (__wcstof128_nan): Likewise.
1061 (__strtof128_internal): Likewise.
1062 (____strtof128_l_internal): Likewise.
1063 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1064 (__wcstof128_l): New declaration.
1065 (__wcstof128_internal): Likewise.
1066
1067 * stdlib/Makefile (bug-strtod2): Link libm too.
1068
1069 * stdlib/stdlib.h (strtof128): New declaration.
1070 (strtof128_l): Likewise.
1071
1072 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1073 tst-strtod.h macros to ensure float128 gets tested too.
1074
1075 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1076
1077 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1078 tests.
1079 (IF_FLOAT128): New macro.
1080 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1081 the tests.
1082 (STRTOD_TEST_FOREACH): Likewise.
1083
1084 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1085 wcstof128 functions into libc.
1086
1087 * sysdeps/ieee754/float128/Versions: Add exports for the above
1088 new functions.
1089
1090 * sysdeps/ieee754/float128/mpn2float128.c: New file.
1091 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1092 * sysdeps/ieee754/float128/strtof128.c: New file.
1093 * sysdeps/ieee754/float128/strtof128_l.c: New file.
1094 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1095 * sysdeps/ieee754/float128/wcstof128.c: New file.
1096 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1097 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1098 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1099 (CFLAGS-wcstof128_l): Likewise.
1100
1101 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1102 (wcstof128): New declaration.
1103 (wcstof128_l): Likewise.
1104
1105 2017-06-12 Joseph Myers <joseph@codesourcery.com>
1106
1107 [BZ #21552]
1108 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1109 not [__USE_XOPEN].
1110 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1111
1112 [BZ #21550]
1113 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1114
1115 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1118 strcpy-sse2 and stpcpy-sse2.
1119 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1120 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1121 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1122 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1123 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1124 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1125 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1126 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1127 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1128 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1129 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1130 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1131 (libc_hidden_def): Always defined as empty.
1132 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1133 Always Defined as empty.
1134
1135 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1136
1137 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1138
1139 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1140
1141 [BZ #15105]
1142 [BZ #19463]
1143 * include/string.h: Add internal redirect for __stpcpy.
1144 * string/Makefile: Remove bits/string2.h.
1145 * string/string.h: Update comment.
1146 * string/string-inlines.c: Remove bits/string2.h include and comment.
1147 * string/bits/string2.h: Remove file.
1148
1149 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1150
1151 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1152 * sunrpc/clnt_gen.c (clnt_create): Likewise.
1153 * sunrpc/des_impl.c (_des_crypt): Likewise.
1154 * sunrpc/key_call.c (key_gendes): Likewise.
1155 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1156 * sunrpc/svc_simple.c (universal): Likewise.
1157 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1158 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1159 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1160
1161 2017-06-10 Zack Weinberg <zackw@panix.com>
1162
1163 * stdlib/errno.h: Correct an outdated comment.
1164
1165 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
1166
1167 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1168 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1169 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1170 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1171 New file. Invoke newly supported sysconf values for powerpc,
1172 and report results. If none are supported, report so.
1173 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
1174 tst-sysconf.
1175
1176 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1177
1178 * include/sys/auxv.h (__getauxval): Add a prototype and its
1179 libc_hidden_proto.
1180 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1181
1182 2017-06-09 Joseph Myers <joseph@codesourcery.com>
1183
1184 [BZ #21561]
1185 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1186 [__USE_XOPEN_EXTENDED].
1187 (id_t): Likewise.
1188 (include of <bits/types/siginfo_t.h): Likewise.
1189 (waitid): Likewise.
1190 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1191 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1192 (WEXITED): Likewise.
1193 (WCONTINUED): Likewise.
1194 (WNOWAIT): Likewise.
1195 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1196 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1197 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1198
1199 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1200 libc.so PLT entry optional.
1201 (__gtsf2): Likewise.
1202 (__unorddf2): Likewise.
1203 (__unordsf2): Likewise.
1204 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1205 New optional libc.so PLT entry.
1206
1207 [BZ #21554]
1208 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1209 not [__USE_XOPEN].
1210
1211 [BZ #21560]
1212 * posix/sys/wait.h: Condition include of <signal.h> on
1213 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
1214 unconditionally.
1215 [!__pid_t_defined] (pid_t): Define typedef.
1216
1217 2017-06-09 Zack Weinberg <zackw@panix.com>
1218
1219 * include/errno.h (__errno_location): Use __attribute_const__
1220 instead of bare __attribute__.
1221
1222 2017-06-09 Zack Weinberg <zackw@panix.com>
1223
1224 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1225 (common-generated): Add libc-modules.h and libc-modules.stmp in a
1226 more appropriate location. Also add dl-tunable-list.h and
1227 dl-tunable-list.stmp.
1228
1229 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1230
1231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1232
1233 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1234
1235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1236 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1238 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1239 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1240 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1241 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1242 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1243 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1244 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1245 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1246
1247 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1248
1249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1250 memrchr-sse2 and memrchr-avx2.
1251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1252 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1253 __memrchr_sse2.
1254 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1255 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1256 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1257
1258 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1261 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1262 wcschr-sse2 and wcschr-avx2.
1263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1264 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1265 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1266 __wcschr_sse2.
1267 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1268 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1269 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1270 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1271 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1272 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1273 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1274 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1275 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1276 * sysdeps/x86_64/multiarch/strchr.S: Removed.
1277
1278 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1279
1280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1281 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1282 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1284 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1285 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1286 __wcslen_sse2 and __wcsnlen_avx2.
1287 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1288 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1289 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1290 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1291 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1292 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1293 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1294 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1295 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1296 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1297 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1298 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1299 vzeroupper is preferred and AVX unaligned load is fast.
1300
1301 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
1302
1303 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
1304 USE_AS_WMEMCHR is defined.
1305 (PCMPEQ): Likewise.
1306 (memchr): Renamed to ...
1307 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
1308 Replace pcmpeqb with PCMPEQ.
1309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1310 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1311 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1312 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1313 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1314 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1315 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1316 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1317 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1318 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1319 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1320 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1321 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1323 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1324 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1325 __wmemchr_sse2.
1326
1327 2017-06-09 Florian Weimer <fweimer@redhat.com>
1328
1329 * malloc/Makefile (test-srcs): Remove tst-dynarray,
1330 tst-dynarray-fail.
1331
1332 2017-06-09 Florian Weimer <fweimer@redhat.com>
1333
1334 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1335 * support/support_test_verify_impl.c
1336 (support_test_verify_exit_impl): Split from
1337 support_test_verify_impl.
1338 * support/check.h (TEST_VERIFY): Drop status argument from
1339 support_test_verify_impl call.
1340 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1341 (support_test_verify_impl): Remove status argument.
1342 (support_test_verify_exit_impl): Declare.
1343
1344 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
1345
1346 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1347 mention of magic numbers in comments.
1348 (_dl_procinfo): Fix undefined behavior
1349
1350 2017-06-08 Joseph Myers <joseph@codesourcery.com>
1351
1352 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1353 [XPG4].
1354 (WEXITED): Likewise.
1355 (WSTOPPED): Likewise.
1356 (WCONTINUED): Likewise.
1357 (WNOHANG): Likewise.
1358 (WNOWAIT): Likewise.
1359 (idtype_t): Likewise.
1360 (P_ALL): Likewise.
1361 (P_PID): Likewise.
1362 (P_PGID): Likewise.
1363 (id_t): Likewise.
1364 (siginfo_t): Likewise.
1365 (wait3): Likewise.
1366 (waitid): Likewise.
1367 (signal.h): Do not allow header for [XPG4].
1368 (sys/resource.h): Likewise.
1369 (si_*): Do not allow for [XPG4].
1370 (W*): Likewise.
1371 (P_*): Likewise.
1372 (BUS_): Likewise.
1373 (CLD_): Likewise.
1374 (FPE_): Likewise.
1375 (ILL_): Likewise.
1376 (POLL_): Likewise.
1377 (SEGV_): Likewise.
1378 (SI_): Likewise.
1379 (TRAP_): Likewise.
1380 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1381 variable.
1382
1383 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
1384
1385 [BZ #21528]
1386 * elf/dl-minimal.c (__strtoul_internal): Removed.
1387 (strtoul): Likewise.
1388 * elf/dl-misc.c (_dl_strtoul): New function.
1389 * elf/dl-tunables.c (tunables_strtoul): Removed.
1390 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1391 * elf/rtld.c (process_envvars): Likewise.
1392 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1393 Likewise.
1394 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1395
1396 2017-06-08 Zack Weinberg <zackw@panix.com>
1397
1398 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1399 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1400 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1401 * wctype/bits/wctype-wchar.h: New file holding declarations shared
1402 between wctype.h and wchar.h.
1403
1404 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1405 Install them.
1406
1407 * include/bits/types/FILE.h, include/bits/types/__FILE.h
1408 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1409 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1410 New wrappers.
1411 * include/stdio.h, include/wchar.h, include/wctype.h:
1412 No need to handle __need macros.
1413
1414 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1415 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1416 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1417 * wcsmbs/wchar.h, wctype/wctype.h
1418 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1419 Use the new files instead of __need macros.
1420
1421 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
1422
1423 * string/test-memrchr.c (test_main): Add tests for len == 0
1424 and tests for positions close to the beginning, which are
1425 equivalent to positions close to the end for memchr.
1426
1427 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
1428
1429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1430 comments.
1431 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1432 instead of wmemset.h.
1433 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1434 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1435 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1436
1437 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1438
1439 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1440 spec->info.is_binary128 to zero.
1441 * stdio-common/printf.h (printf_info): Add new member is_binary128
1442 to indicate that the number being converted to string is compatible
1443 with the IEC 60559 binary128 format.
1444 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1445 _Float128 numbers.
1446 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1447 ldbl-128/printf_fphex_macros.h
1448 (__printf_fphex): Add code to deal with _Float128 numbers.
1449 * stdio-common/printf_size.c (__printf_size): Likewise.
1450 * stdio-common/vfprintf.c (process_arg): Initialize member
1451 info.is_binary128 to zero.
1452 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1453 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1454 (strfromf128): New declaration.
1455 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1456 to one.
1457 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1458 * sysdeps/ieee754/float128/Versions: Likewise.
1459 * sysdeps/ieee754/float128/strfromf128.c: New file.
1460
1461 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1462
1463 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1464 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1465 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1466 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1467 (PRINT_FPHEX): New function-like macro that can be used for long
1468 double, as well as for _Float128
1469
1470 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1471
1472 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1473 (__printf_fp_l): Use the new macro to avoid duplicating code.
1474 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1475 (__printf_fphex): Use the new macro to avoid duplicating code.
1476 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1477 (__printf_size): Use the new macro to avoid duplicating code.
1478
1479 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1480
1481 * include/gmp.h: Include bits/floatn.h
1482 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1483 * stdlib/gmp-impl.h: Also check if alloca is not defined before
1484 including stack-alloc.h. It could have been defined by other header
1485 which not necessarily defines HAVE_ALLOCA.
1486 * sysdeps/ieee754/float128/Makefile: New file.
1487 * sysdeps/ieee754/float128/float1282mpn.c: New file.
1488 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1489 redefining __mpn_extract_long_double to __mpn_extract_float128, then
1490 redefine __mpn_extract_long_double to __mpn_extract_float128.
1491 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1492 _Float128 to allow float128_private.h overrides.
1493
1494 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1495
1496 * stdlib/fpioconst.h: Include bits/floatn.h.
1497 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1498 power of ten table should be.
1499 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1500 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1501 to include larger tables when _Float128 support is enabled.
1502 (_fpioconst_pow10): Likewise.
1503
1504 2017-06-07 Joseph Myers <joseph@codesourcery.com>
1505
1506 * include/bits/types/clock_t.h: Use #include <path> instead of
1507 #include "../../path".
1508 * include/bits/types/clockid_t.h: Likewise.
1509 * include/bits/types/struct_iovec.h: Likewise.
1510 * include/bits/types/struct_itimerspec.h: Likewise.
1511 * include/bits/types/struct_osockaddr.h: Likewise.
1512 * include/bits/types/struct_sigstack.h: Likewise.
1513 * include/bits/types/struct_timespec.h: Likewise.
1514 * include/bits/types/struct_timeval.h: Likewise.
1515 * include/bits/types/struct_tm.h: Likewise.
1516 * include/bits/types/time_t.h: Likewise.
1517 * include/bits/types/timer_t.h: Likewise.
1518
1519 [BZ #14096]
1520 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1521 America/New_York.
1522
1523 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1526 into ...
1527 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
1528 ifunc-sse4_1.h.
1529
1530 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
1531
1532 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1533 Remove check for NULL 'buf'.
1534 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1535
1536 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
1537
1538 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1539 include test-skeleton.c.
1540 Include support/check.h and support/test-driver.c.
1541
1542 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
1543
1544 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1545 (_dl_aarch64_cap_flags): New array.
1546 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1547 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1548 functions.
1549
1550 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1551 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1552 Likewise.
1553 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1554 up hwcap and hwcap_mask.
1555
1556 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1557 (init_cpu_features): Use glibc.tune.hwcap_mask.
1558 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1559
1560 * elf/dl-hwcaps.h: New file.
1561 * elf/dl-hwcaps.c: Include it.
1562 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1563 glibc.tune.hwcap_mask.
1564 * elf/dl-cache.c: Include dl-hwcaps.h.
1565 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1566 glibc.tune.hwcap_mask.
1567 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1568 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1569 _dl_hwcap_mask.
1570 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1571 _dl_hwcap_mask.
1572 (process_envvars)[HAVE_TUNABLES]: Likewise.
1573 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1574 Likewise.
1575 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1576 initialize dl_hwcap_mask when tunables are enabled.
1577
1578 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1579 guard.
1580 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1581
1582 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1583 * scripts/gen-tunables.awk: Include dl-procinfo.h.
1584 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1585
1586 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1587 * elf/dl-tunables.c: Likewise.
1588 (do_tunable_update_val): New function.
1589 (__tunable_set_val): New function.
1590 (__tunable_get_val): Call CB only if the tunable was externally
1591 initialized.
1592 (tunables_strtoul): Replace strval with initialized.
1593 * elf/dl-tunables.h (strval): Replace with a bool initialized.
1594 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1595 prevent collision.
1596 (__tunable_set_val): New function.
1597 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1598 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1599 (TUNABLE_SET_VAL): Remove.
1600 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1601 * README.tunables: Document the new macros.
1602 * malloc/arena.c (ptmalloc_init): Adjust.
1603
1604 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
1605
1606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1607 wcsnlen-sse4_1 and wcsnlen-c.
1608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1609 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1610 __wcsnlen_sse2.
1611 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1612 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1613 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1614 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1615 * sysdeps/x86_64/wcsnlen.S: Removed.
1616
1617 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1618
1619 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1620 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1621 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1622 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1623
1624 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1625
1626 * NEWS: Mention new spinlock implementation.
1627 * include/atomic.h:
1628 (__atomic_val_bysize): Cast type to omit volatile qualifier.
1629 (atomic_exchange_acq): Likewise.
1630 (atomic_load_relaxed): Likewise.
1631 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1632 * nptl/pthread_spin_init.c (pthread_spin_init):
1633 Use atomic_store_relaxed.
1634 * nptl/pthread_spin_lock.c (pthread_spin_lock):
1635 Use C11-like atomic macros.
1636 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1637 Likewise.
1638 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1639 Use atomic_store_release.
1640 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1641 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1642 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1643 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1644 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1645 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1646 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1647 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1648 * sysdeps/alpha/atomic-machine.h: Likewise.
1649 * sysdeps/arm/atomic-machine.h: Likewise.
1650 * sysdeps/i386/atomic-machine.h: Likewise.
1651 * sysdeps/ia64/atomic-machine.h: Likewise.
1652 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1653 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1654 * sysdeps/microblaze/atomic-machine.h: Likewise.
1655 * sysdeps/mips/atomic-machine.h: Likewise.
1656 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1657 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1658 * sysdeps/s390/atomic-machine.h: Likewise.
1659 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1660 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1661 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1662 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1663 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1664 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1665 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1666 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1667 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1668 * sysdeps/x86_64/atomic-machine.h: Likewise.
1669
1670 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1671
1672 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1673 and use it instead of dl_x86_cpu_features.
1674 (handle_intel): Replace maxidx with cpu_features. Pass
1675 cpu_features to intel_check_word.
1676 (__cache_sysconf): Pass cpu_features to handle_intel.
1677 (init_cacheinfo): Likewise. Use cpu_features instead of
1678 dl_x86_cpu_features.
1679
1680 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1681
1682 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1684 memcmp-avx2 and wmemcmp-avx2.
1685 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1686 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1687 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1688 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1689 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1690 2 machines if AVX unaligned load is fast and vzeroupper is
1691 preferred.
1692 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1693 2 machines if AVX unaligned load is fast and vzeroupper is
1694 preferred.
1695
1696 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1697
1698 * include/wchar.h (__wmemset_chk): New.
1699 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1700 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1701 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1702 (WMEMSET_CHK_SYMBOL): Likewise.
1703 (WMEMSET_SYMBOL): Likewise.
1704 (__wmemset): Add hidden definition.
1705 (wmemset): Add weak hidden definition.
1706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1707 wmemset_chk-nonshared.
1708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1709 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1710 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1711 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1712 and __wmemset_chk_avx512_unaligned.
1713 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1714 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1715 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1716 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1717 (WMEMSET_SYMBOL): Likewise.
1718 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
1719 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1720 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1721 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1722 (WMEMSET_SYMBOL): Likewise.
1723 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
1724 (WMEMSET_CHK_SYMBOL): New.
1725 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
1726 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
1727 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
1728 (libc_hidden_builtin_def): Also define __GI_wmemset and
1729 __GI___wmemset.
1730 (weak_alias): New.
1731 * sysdeps/x86_64/multiarch/wmemset.c: New file.
1732 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
1733 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
1734 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1735 * sysdeps/x86_64/wmemset.c: Likewise.
1736 * sysdeps/x86_64/wmemset_chk.c: Likewise.
1737
1738 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1739 H.J. Lu <hongjiu.lu@intel.com>
1740
1741 * sysdeps/x86/init-arch.h (PASTER1): New.
1742 (EVALUATOR1): Likewise.
1743 (PASTER2): Likewise.
1744 (EVALUATOR2): Likewise.
1745 (REDIRECT_NAME): Likewise.
1746 (OPTIMIZE): Likewise.
1747 (IFUNC_SELECTOR): Likewise.
1748
1749 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * sysdeps/x86_64/strlen.S (PMINU): New.
1752 (PCMPEQ): Likewise.
1753 (SHIFT_RETURN): Likewise.
1754 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
1755 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
1756 pminub with PCMPEQ and PMINU.
1757 * sysdeps/x86_64/wcsnlen.S: New file.
1758
1759 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
1762 the lower 32 bits. Remove redundant instructions.
1763
1764 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
1765
1766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
1767 0 as the high part of offset.
1768 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
1769
1770 2017-06-05 Joseph Myers <joseph@codesourcery.com>
1771
1772 [BZ #21538]
1773 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
1774 [__USE_UNIX98].
1775 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
1776 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
1777 Likewise.
1778 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
1779 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
1780 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
1782 Likewise.
1783
1784 [BZ #21517]
1785 * bits/types/stack_t.h (stack_t): Remove struct tag.
1786 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
1787 Likewise.
1788 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
1789 Likewise.
1790 * debug/segfault.c (install_handler): Use stack_t instead of
1791 struct sigaltstack.
1792 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
1793 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
1794 * include/signal.h (__sigaltstack): Likwise.
1795 * signal/sigaltstack.c (__sigaltstack): Likewise.
1796 * signal/signal.h (sigaltstack): Likewise.
1797 * sysdeps/mach/hurd/i386/signal-defines.sym
1798 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
1799 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
1800 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
1801 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1802 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
1803 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
1804 elf_prstatus): Likewise.
1805 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
1806 Likewise.
1807 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
1808 Likewise.
1809 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
1810 Likewise.
1811 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
1812 elf_prstatus): Likewise.
1813 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
1814 Likewise.
1815 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
1816 Likewise.
1817
1818 2017-06-04 Zack Weinberg <zackw@panix.com>
1819
1820 * sysdeps/gnu/errlist.c: Regenerate.
1821
1822 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 * benchtests/bench-memchr.c (do_test): Print out both length
1825 and position.
1826 (test_main): Also test the position close to the beginning for
1827 memrchr.
1828
1829 2017-06-04 Zack Weinberg <zackw@panix.com>
1830
1831 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
1832 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
1833 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
1834 * nis/nis_destroygroup.c, nis/nis_domain_of.c
1835 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
1836 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
1837 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
1838 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
1839 * nis/nis_print_group_entry.c, nis/nis_remove.c
1840 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
1841 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
1842 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
1843 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
1844 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
1845 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
1846 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
1847 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
1848 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
1849 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
1850 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
1851 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
1852 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
1853 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
1854 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
1855 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
1856 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
1857 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
1858 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
1859 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
1860
1861 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
1862 abi-versions.h as well as shlib-compat.h.
1863 * sunrpc/get_myaddr.c: Remove obsolete comment.
1864 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
1865 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
1866 * resolv/res_libc.c: Include shlib-compat.h only once.
1867
1868 2017-06-03 Florian Weimer <fweimer@redhat.com>
1869
1870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
1871 of strdup.
1872
1873 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
1874
1875 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
1876 Set to the 3/4 of the total shared cache size.
1877
1878 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
1879
1880 * manual/errno.texi: Remove redundant error strings.
1881 * manual/macros.texi (@errno): Render the error string in every
1882 description.
1883
1884 2017-06-02 Joseph Myers <joseph@codesourcery.com>
1885
1886 [BZ #21543]
1887 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
1888 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
1889 [__USE_XOPEN_EXTENDED].
1890
1891 2017-06-02 Florian Weimer <fweimer@redhat.com>
1892
1893 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
1894 strdupa.
1895 (getcanonname): Use __strdup instead of strdup.
1896
1897 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1898
1899 * misc/Makefile (CFLAGS-preadv2.c): New rule.
1900 (CFLAGS-preadv64v2.c): Likewise.
1901 (CFLAGS-pwritev2.c): Likewise.
1902 (CFLAGS-pwritev64v2.c): Likewise.
1903
1904 2017-06-02 Florian Weimer <fweimer@redhat.com>
1905
1906 Test res_init with several configuration files.
1907 * resolv/Makefile [build-shared] (tests-internal): Add
1908 tst-resolv-res_init, tst-resolv-res_init-thread.
1909 (tst-resolv-res_init): Link against libdl, libresolv.
1910 (tst-resolv-res_init-thread): Link against libdl, libresolv,
1911 libpthread.
1912 * resolv/tst-resolv-res_init.c: New file.
1913 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
1914 * resolv/tst-resolv-res_init-thread.c: Likewise.
1915 * support/Makefile (libsupport-routines): Add support-xstat,
1916 support_can_chroot, support_capture_subprocess_check,
1917 support_isolate_in_subprocess, support_shared_allocate,
1918 support_write_file_string, xchroot, xmkdir, xopen.
1919 * support/capture_subprocess.h (enum support_capture_allow): Define.
1920 (support_capture_subprocess_check): Declare.
1921 * support/namespace.h (support_can_chroot)
1922 (support_isolate_in_subprocess): Declare.
1923 * support/support-xstat.c: New file.
1924 * support/support.h (support_shared_allocate, support_shared_free)
1925 (support_write_file_string): Declare.
1926 * support/support_can_chroot.c: New file.
1927 * support/support_capture_subprocess_check.c: Likewise.
1928 * support/support_isolate_in_subprocess.c: Likewise.
1929 * support/support_shared_allocate.c: Likewise.
1930 * support/support_write_file_string.c: Likewise.
1931 * support/xchroot.c: Likwise.
1932 * support/xmkdir.c: Likwise.
1933 * support/xopen.c: Likwise.
1934 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
1935
1936 2017-06-02 Florian Weimer <fweimer@redhat.com>
1937
1938 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
1939 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
1940
1941 2017-06-02 Florian Weimer <fweimer@redhat.com>
1942
1943 * malloc/Makefile (routines): Add dynarray_at_failure,
1944 dynarray_emplace_enlarge, dynarray_finalize.
1945 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
1946 tst-dynarray-at-fail.
1947 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
1948 (tests-special): Add tst-dynarray-mem.out,
1949 tst-dynarray-mem-fail.out.
1950 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
1951 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
1952 mtrace.
1953 * malloc/Versions (__libc_dynarray_at_failure)
1954 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
1955 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
1956 GLIBC_PRIVATE.
1957 * malloc/dynarray.h: New file.
1958 * malloc/dynarray-skeleton.c: Likewise.
1959 * malloc/dynarray_at_failure.c: Likewise.
1960 * malloc/dynarray_emplace_enlarge.c: Likewise.
1961 * malloc/dynarray_finalize.c: Likewise.
1962 * malloc/dynarray_resize.c: Likewise.
1963 * malloc/dynarray_resize_clear.c: Likewise.
1964 * malloc/tst-dynarray.c: Likewise.
1965 * malloc/tst-dynarray-fail.c: Likewise.
1966 * malloc/tst-dynarray-at-fail.c: Likewise.
1967 * malloc/tst-dynarray-shared.h: Likewise.
1968 * support/Makefile (libsupport-routines): Add
1969 support_capture_subprocess, xdup2, xpipe.
1970 (tests): Add tst-support_capture_subprocess.
1971 * support/capture_subprocess.h: New file.
1972 * support/support_capture_subprocess.c: Likewise.
1973 * support/tst-support_capture_subprocess.c: Likewise.
1974 * support/xdup2.c: Likewise.
1975 * support/xpipe.c: Likewise.
1976 * support/xunistd.h (xdup2, xpipe): Declare.
1977
1978 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1979
1980 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
1981 macros MAX and MIN.
1982
1983 2017-06-01 Joseph Myers <joseph@codesourcery.com>
1984
1985 * conform/data/signal.h-data (sa_sigaction): Do not expect for
1986 [XPG4].
1987 (SA_SIGINFO): Likewise.
1988 (SA_ONSTACK): Likewise.
1989 (SA_RESETHAND): Likewise.
1990 (SA_RESTART): Likewise.
1991 (SA_NOCLDWAIT): Likewise.
1992 (SA_NODEFER): Likewise.
1993 (SS_ONSTACK): Likewise.
1994 (SS_DISABLE): Likewise.
1995 (MINSIGSTKSZ): Likewise.
1996 (SIGSTKSZ): Likewise.
1997 (ucontext_t): Likewise.
1998 (stack_t): Likewise.
1999 (struct sigstack): Likewise.
2000 (SI_USER): Do not expect for [XPG4 || XPG42].
2001 (SI_QUEUE): Likewise.
2002 (SI_TIMER): Likewise.
2003 (SI_ASYNCIO): Likewise.
2004 (SI_MESGQ): Likewise.
2005 (bsd_signal): Do not expect for [XPG4].
2006 (killpg): Likewise.
2007 (sigaltstack): Likewise.
2008 (sighold): Likewise.
2009 (sigignore): Likewise.
2010 (siginterrupt): Likewise.
2011 (sigpause): Likewise.
2012 (sigrelse): Likewise.
2013 (sigset): Likewise.
2014 (sigwait): Do not expect for [XPG4 || XPG42].
2015
2016 2017-06-01 Zack Weinberg <zackw@panix.com>
2017
2018 [BZ #21514]
2019 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2020 pointing to the generated file in <builddir>/misc/bits/syscall.h.
2021
2022 2017-06-01 Joseph Myers <joseph@codesourcery.com>
2023
2024 [BZ #21457]
2025 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2026 NGREG to __NGREG if [__USE_MISC].
2027 (gregset_t): Define using __NGREG.
2028 (__ctx): New macro.
2029 (mcontext_t): Use __ctx in defining fields.
2030 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2031 define NGREG to __NGREG if [__USE_MISC].
2032 (gregset_t): Define using __NGREG.
2033 (__ctx): New macro.
2034 (__ctxt): Likewise.
2035 (fpregset_t): Use __ctx and __ctxt in defining fields.
2036 (mcontext_t): Likewise.
2037 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2038 define NGREG to __NGREG if [__USE_MISC].
2039 (gregset_t): Define using __NGREG.
2040 (__ctx): New macro.
2041 (mcontext_t): Use __ctx in defining fields.
2042 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
2043 define NGREG to __NGREG if [__USE_MISC].
2044 (gregset_t): Define using __NGREG.
2045 (__ctx): New macro.
2046 (fpregset_t): Use __ctx in defining fields.
2047 (mcontext_t): Likewise.
2048 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2049 __NGREG and define NGREG to __NGREG if [__USE_MISC].
2050 (gregset_t): Define using __NGREG.
2051 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2052 [__USE_MISC].
2053 (fpregset_t): Define using __NFPREG.
2054 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2055 __NGREG and define NGREG to __NGREG if [__USE_MISC].
2056 (gregset_t): Define using __NGREG.
2057 (__ctx): New macro.
2058 (fpregset_t): Use __ctx in defining fields.
2059 (mcontext_t): Likewise.
2060 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2061 __NGREG and define NGREG to __NGREG if [__USE_MISC].
2062 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2063 [__USE_MISC].
2064 (gregset_t): Define using __NGREG.
2065 (__ctx): New macro.
2066 (fpregset_t): Use __ctx in defining fields.
2067 (mcontext_t): Likewise.
2068 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2069 (mcontext_t): Use __ctx in defining fields.
2070 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2071 macro.
2072 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2073 __NGREG if [__USE_MISC].
2074 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2075 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2076 (mcontext_t): Likewise.
2077 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2078 __NGREG if [__USE_MISC].
2079 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2080 to __NFPREG if [__USE_MISC].
2081 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2082 to __NVRREG if [__USE_MISC].
2083 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2084 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2085 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2086 [__WORDSIZE != 32] (vrregset_t): Likewise.
2087 [__WORDSIZE != 32] (mcontext_t): Likewise.
2088 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2089 (__psw_t): Use __ctx in defining fields.
2090 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2091 [__USE_MISC].
2092 (gregset_t): Define using __NGREG.
2093 (fpreg_t): Use __ctx in defining fields.
2094 (fpregset_t): Likewise.
2095 (mcontext_t): Likewise.
2096 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2097 __NGREG and define NGREG to __NGREG if [__USE_MISC].
2098 (gregset_t): Define using __NGREG.
2099 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2100 [__USE_MISC].
2101 (fpregset_t): Define using __NFPREG.
2102 (__ctx): New macro.
2103 (mcontext_t): Use __ctx in defining fields.
2104 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2105 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2106 __NGREG if [__USE_MISC].
2107 [__x86_64__] (gregset_t): Define using __NGREG.
2108 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2109 [__x86_64__] (struct _libc_fpstate): Likewise.
2110 [__x86_64__] (mcontext_t): Likewise.
2111 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2112 __NGREG if [__USE_MISC].
2113 [!__x86_64__] (gregset_t): Define using __NGREG.
2114 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2115 [!__x86_64__] (struct _libc_fpstate): Likewise.
2116 [!__x86_64__] (mcontext_t): Likewise.
2117
2118 2017-06-01 Zack Weinberg <zackw@panix.com>
2119
2120 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2121 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
2122 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2123 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2124 libpthread.so no longer references __errno_location.
2125
2126 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2127
2128 * NEWS: Add note about pwritev2 and preadv2 inclusion.
2129 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2130 pwritev64v2.
2131 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2132 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2133 pwritev64v2.
2134 * misc/preadv2.c: New file.
2135 * misc/preadv64v2.c: Likewise.
2136 * misc/pwritev2.c: Likewise.
2137 * misc/pwritev64v2.c: Likewise.
2138 * misc/tst-preadvwritev2.c: Likewise.
2139 * misc/tst-preadvwritev64v2.c: Likewise.
2140 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2141 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2142 prototype.
2143 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2144 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2145 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2146 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2147 (PWRITEV): Likewise.
2148 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2149 ENOSYS.
2150 * nptl/tst-cancel4.c (tf_pwritev2): New test.
2151 (tf_preadv2): Likewise.
2152 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2153 * sysdeps/posix/preadv2.c: Likewise.
2154 * sysdeps/posix/preadv64v2.c: Likewise.
2155 * sysdeps/posix/pwritev2.c: Likewise.
2156 * sysdeps/posix/pwritev64v2.c: Likewise.
2157 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2158 support in kernel.
2159 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2160 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2161 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2162 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2163 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2164 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2165 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2166 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2167 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2168 support flags on Linux.
2169 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2170 preadv2, preadv64v2, pwritev2, pwritev64v2.
2171 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2172 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2173 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2174 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2175 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2176 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2177 Likewise.
2178 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2179 Likewise.
2180 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2181 Likewise.
2182 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2183 Likewise.
2184 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2185 Likewise.
2186 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2187 Likewise.
2188 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2189 Likewise.
2190 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2192 (GLIBC_2.26): Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2194 (GLIBC_2.26): Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2196 Likewise.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2198 (GLIBC_2.26): Likewise.
2199 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2200 Likewise.
2201 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2202 Likewise.
2203 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2205 Likewise.
2206 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2207 Likewise.
2208 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2209 Likewise.
2210 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2211 Likewise.
2212 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2213 Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2215 Likewise.
2216 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2217 Likewise.
2218
2219 2017-05-31 Andreas Schwab <schwab@suse.de>
2220
2221 * nptl/tst-fork3.c: Include <support/test-driver.c>.
2222 (main): Rename to do_test and make static.
2223
2224 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2225
2226 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2227 ARCH_INIT_CPU_FEATURES.
2228 (LIBC_START_MAIN): Call it.
2229 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2230 (__libc_start_main): Remove.
2231 (ARCH_INIT_CPU_FEATURES): New macro.
2232 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2233 (ARCH_INIT_CPU_FEATURES): New macro.
2234
2235 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
2236 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2237
2238 * include/stdlib.h (__libc_reallocarray): New declaration.
2239 * malloc/Makefile (routines): Add reallocarray.
2240 (tests): Add tst-reallocarray.c.
2241 * malloc/Versions: Add reallocarray and __libc_reallocarray.
2242 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2243 function.
2244 * malloc/malloc.h (reallocarray): New declaration.
2245 * stdlib/stdlib.h (reallocarray): Likewise.
2246 * malloc/reallocarray.c: New file.
2247 * malloc/tst-reallocarray.c: New test file.
2248 * manual/memory.texi: Document reallocarray.
2249 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2250 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2251 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2252 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2253 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2254 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2255 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2256 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2257 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2258 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2259 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2260 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2261 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2262 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2264 Likewise.
2265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2266 Likewise.
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2269 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2270 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2271 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2272 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2273 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2276 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2277 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2278 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2279
2280 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2283 the lower 32 bits.
2284
2285 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
2286
2287 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2288 $(build-pie-default) = yes]: Define.
2289
2290 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
2291
2292 * string/test-memchr.c (test_main): Add tests for n == 0.
2293
2294 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2295
2296 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2297 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2298 (tests-internal): ... here.
2299
2300 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2301 H.J. Lu <hongjiu.lu@intel.com>
2302
2303 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2304 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2305 (__tunable_set_val): Likewise.
2306
2307 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2310 dl-tunables.list in subdirectories.
2311
2312 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2313 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2314 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2315
2316 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2317 (SNANF128): New macro.
2318 * math/e_sqrtf128.c: New file.
2319 * math/s_fmaxmag_template.c: Include math_private.h in order to
2320 make inline expansion of fabs128().
2321 * math/s_fminmag_template.c: Likewise.
2322
2323 * sysdeps/ieee754/float128/e_acosf128.c: New file.
2324 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2325 * sysdeps/ieee754/float128/e_asinf128.c: New file.
2326 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2327 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2328 * sysdeps/ieee754/float128/e_coshf128.c: New file.
2329 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2330 * sysdeps/ieee754/float128/e_expf128.c: New file.
2331 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2332 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2333 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2334 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2335 * sysdeps/ieee754/float128/e_j0f128.c: New file.
2336 * sysdeps/ieee754/float128/e_j1f128.c: New file.
2337 * sysdeps/ieee754/float128/e_jnf128.c: New file.
2338 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2339 * sysdeps/ieee754/float128/e_log10f128.c: New file.
2340 * sysdeps/ieee754/float128/e_log2f128.c: New file.
2341 * sysdeps/ieee754/float128/e_logf128.c: New file.
2342 * sysdeps/ieee754/float128/e_powf128.c: New file.
2343 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2344 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2345 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2346 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2347 * sysdeps/ieee754/float128/float128_private.h: New file.
2348 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2349 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2350 * sysdeps/ieee754/float128/k_cosf128.c: New file.
2351 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2352 * sysdeps/ieee754/float128/k_sinf128.c: New file.
2353 * sysdeps/ieee754/float128/k_tanf128.c: New file.
2354 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2355 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2356 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2357 * sysdeps/ieee754/float128/s_atanf128.c: New file.
2358 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2359 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2360 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2361 * sysdeps/ieee754/float128/s_cosf128.c: New file.
2362 * sysdeps/ieee754/float128/s_erff128.c: New file.
2363 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2364 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2365 * sysdeps/ieee754/float128/s_finitef128.c: New file.
2366 * sysdeps/ieee754/float128/s_floorf128.c: New file.
2367 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2368 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2369 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2370 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2371 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2372 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2373 * sysdeps/ieee754/float128/s_isinff128.c: New file.
2374 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2375 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2376 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2377 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2378 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2379 * sysdeps/ieee754/float128/s_logbf128.c: New file.
2380 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2381 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2382 * sysdeps/ieee754/float128/s_modff128.c: New file.
2383 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2384 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2385 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2386 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2387 * sysdeps/ieee754/float128/s_remquof128.c: New file.
2388 * sysdeps/ieee754/float128/s_rintf128.c: New file.
2389 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2390 * sysdeps/ieee754/float128/s_roundf128.c: New file.
2391 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2392 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2393 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2394 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2395 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2396 * sysdeps/ieee754/float128/s_significandf128.c: New file.
2397 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2398 * sysdeps/ieee754/float128/s_sinf128.c: New file.
2399 * sysdeps/ieee754/float128/s_tanf128.c: New file.
2400 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2401 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2402 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2403 * sysdeps/ieee754/float128/s_truncf128.c: New file.
2404 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2405 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2406 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2407 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2408
2409 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2410 (__iscanonicalf128): Define as a macro.
2411
2412 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
2413
2414 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2415 (memmove): Use MEMMOVE for name.
2416 (memcpy): Use MEMCPY for name. Change internal labels
2417 to external labels.
2418 * sysdeps/aarch64/multiarch/Makefile: New file.
2419 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2420 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2421 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2422 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2423 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2424 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2425
2426 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
2427
2428 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2429 (_dl_arm_cap_flags): Fix array subscript.
2430 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2431 Fix count.
2432
2433 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
2434
2435 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2436
2437 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
2438
2439 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2440 (is_amd): Likewise.
2441 (max_cpuid): Likewise.
2442 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2443 (init_cacheinfo): Likewise.
2444
2445 2017-05-23 Joseph Myers <joseph@codesourcery.com>
2446
2447 [BZ #21511]
2448 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2449 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2450 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2451 !__USE_XOPEN2K) || __USE_MISC].
2452 * conform/data/signal.h-data (struct sigstack): Expect type only
2453 if [!XOPEN2K8 && !POSIX2008].
2454 (sigstack): Expect function only if [XPG42 || UNIX98].
2455
2456 [BZ #21457]
2457 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2458 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2459 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2460 <bits/types/__sigset_t.h>.
2461 (ucontext_t): Use sigset_t instead of __sigset_t.
2462 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2463 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2464 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2465 <bits/types/__sigset_t.h>.
2466 (ucontext_t): Use sigset_t instead of __sigset_t.
2467 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2468 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2469 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2470 <bits/types/__sigset_t.h>.
2471 (ucontext_t): Use sigset_t instead of __sigset_t.
2472 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2473 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2474 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2475 <bits/types/__sigset_t.h>.
2476 (ucontext_t): Use sigset_t instead of __sigset_t.
2477 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2478 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2479 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2480 <bits/types/__sigset_t.h>.
2481 (ucontext_t): Use sigset_t instead of __sigset_t.
2482 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2483 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2484 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2485 <bits/types/__sigset_t.h>.
2486 (ucontext_t): Use sigset_t instead of __sigset_t.
2487 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2488 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2489 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2490 <bits/types/__sigset_t.h>.
2491 (ucontext_t): Use sigset_t instead of __sigset_t.
2492 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2493 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2494 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2495 <bits/types/__sigset_t.h>.
2496 (ucontext_t): Use sigset_t instead of __sigset_t.
2497 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2498 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2499 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2500 <bits/types/__sigset_t.h>.
2501 (ucontext_t): Use sigset_t instead of __sigset_t.
2502 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2503 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2504 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
2505 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2506 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2507 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2508 <bits/types/__sigset_t.h>.
2509 (ucontext_t): Use sigset_t instead of __sigset_t.
2510 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2511 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2512 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2513 <bits/types/__sigset_t.h>.
2514 (ucontext_t): Use sigset_t instead of __sigset_t.
2515 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2516 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2517 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2518 <bits/types/__sigset_t.h>.
2519 (ucontext_t): Use sigset_t instead of __sigset_t.
2520 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2521 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2522 <bits/ss_flags.h>.
2523 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2524 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2525 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2526 <bits/types/__sigset_t.h>.
2527 (ucontext_t): Use sigset_t instead of __sigset_t.
2528 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2529 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2530 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2531 <bits/types/__sigset_t.h>.
2532 (ucontext_t): Use sigset_t instead of __sigset_t.
2533 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2534 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2535 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2536 <bits/types/__sigset_t.h>.
2537 (ucontext_t): Use sigset_t instead of __sigset_t.
2538 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2539 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2540 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2541 <bits/types/__sigset_t.h>.
2542 (ucontext_t): Use sigset_t instead of __sigset_t.
2543 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2544 <bits/types.h>.
2545 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2546 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2547 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
2548 <bits/types/__sigset_t.h>.
2549 (ucontext_t): Use sigset_t instead of __sigset_t.
2550
2551 2017-05-22 Zack Weinberg <zackw@panix.com>
2552
2553 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2554 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2555 bits/siginfo-arch.h, only if not already defined.
2556 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2557 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2558 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2559 Likewise.
2560
2561 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2562 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2563 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2564 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2565 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2566 Unconditionally define __SI_* macros.
2567
2568 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2569
2570 [BZ #21393]
2571 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2572 and add a check for dup3 failure.
2573 * libio/freopen64.c (freopen64): Likewise.
2574 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2575 libsupport.
2576 (do_test_bz21398): New test.
2577 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2578
2579 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
2580
2581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2582 Remove invalid comment.
2583
2584 2017-05-21 Zack Weinberg <zackw@panix.com>
2585
2586 * signal/Makefile (headers): Add bits/types/sigval_t.h.
2587
2588 2017-05-20 Zack Weinberg <zackw@panix.com>
2589
2590 * bits/sigevent-consts.h
2591 * bits/siginfo-consts.h
2592 * bits/types/__sigset_t.h
2593 * bits/types/sigevent_t.h
2594 * bits/types/siginfo_t.h
2595 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2596 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2597 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2598 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2599 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2600 New system-dependent bits headers.
2601
2602 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2603 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2604 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2605 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2606 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2608 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2609 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2610 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2611 New Linux-only system-dependent bits headers.
2612
2613 * signal/bits/types/sig_atomic_t.h
2614 * signal/bits/types/sigset_t.h
2615 * signal/bits/types/sigval_t.h:
2616 New non-system-dependent bits headers.
2617
2618 * sysdeps/generic/sigsetops.h
2619 * sysdeps/unix/sysv/linux/sigsetops.h:
2620 New internal headers.
2621
2622 * include/bits/types/sig_atomic_t.h
2623 * include/bits/types/sigset_t.h
2624 * include/bits/types/sigval_t.h:
2625 New wrappers.
2626
2627 * signal/sigsetops.h
2628 * bits/siginfo.h
2629 * bits/sigset.h
2630 * sysdeps/unix/sysv/linux/bits/siginfo.h
2631 * sysdeps/unix/sysv/linux/bits/sigset.h
2632 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2633 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2634 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2635 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2636 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2637 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2638 Deleted.
2639
2640 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2641 Update lists of installed headers.
2642
2643 * posix/bits/types.h: Define __sig_atomic_t here.
2644 * signal/signal.h: Use the new bits headers; no need to handle
2645 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
2646 to define sigmask.
2647 * include/signal.h: No need to handle __need_sig_atomic_t
2648 nor __need_sigset_t. Don't define __sigemptyset.
2649
2650 * io/sys/poll.h, setjmp/setjmp.h
2651 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2652 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2653 * sysdeps/mach/hurd/i386/bits/sigcontext.h
2654 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2655 * sysdeps/pthread/bits/sigthread.h
2656 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2657 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2658 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2659 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2660 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2661 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2662 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2663 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2664 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2665 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2666 Use bits/types/__sigset_t.h.
2667
2668 * misc/sys/select.h, posix/spawn.h
2669 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2670 * sysdeps/unix/sysv/linux/sys/epoll.h
2671 * sysdeps/unix/sysv/linux/sys/signalfd.h:
2672 Use bits/types/sigset_t.h.
2673
2674 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2675 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2676 * socket/sys/socket.h: Don't include bits/sigset.h.
2677
2678 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2679 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2680 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2681 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2682 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2683 * sysdeps/unix/sysv/linux/nptl-signals.h:
2684 Include sigsetops.h.
2685
2686 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2687 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2688 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2689 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2690 now return no value.
2691
2692 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2693 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2694 "sigsetops.h".
2695
2696 * signal/sigsetops.c: Explicitly define __sigismember,
2697 __sigaddset, and __sigdelset as compatibility symbols.
2698
2699 * signal/Versions: Correct commentary on __sigpause,
2700 __sigaddset, __sigdelset, __sigismember.
2701
2702 * inet/rcmd.c: Include sigsetops.h. Convert old code using
2703 __sigblock/__sigsetmask to use __sigprocmask and friends.
2704
2705 * resolv/resolv.h: Remove __need_res_state logic.
2706 Move definition of res_state and related constants to ...
2707 * resolv/bits/types/res_state.h: ...this new file.
2708 * resolv/Makefile: Install bits/types/res_state.h.
2709 * include/bits/types/res_state.h: New wrapper.
2710 * include/list.h: Remove __need_list_t logic.
2711 Move definition of list_t to ...
2712 * include/list_t.h: ...this new file.
2713
2714 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2715 instead of list.h and resolv.h.
2716
2717 * resolv/resolv.h: Remove __need_res_state logic.
2718 Move definition of res_state and related constants to ...
2719 * resolv/bits/types/res_state.h: ...this new file.
2720 * resolv/Makefile: Install bits/types/res_state.h.
2721 * include/bits/types/res_state.h: New wrapper.
2722 * include/list.h: Remove __need_list_t logic.
2723 Move definition of list_t to ...
2724 * include/list_t.h: ...this new file.
2725
2726 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2727 instead of list.h and resolv.h.
2728
2729 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
2730
2731 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
2732
2733 2017-05-20 Zack Weinberg <zackw@panix.com>
2734
2735 * sysdeps/arm/sysdep.h
2736 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
2737
2738 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
2739 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
2740 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
2741 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
2742 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
2743 * sysdeps/arm/armv6t2/strlen.S
2744 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
2745 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
2746 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
2747 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
2748 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
2749 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
2750
2751 2017-05-20 Zack Weinberg <zackw@panix.com>
2752
2753 Remove the NaCl port.
2754 * sysdeps/arm/nacl: Remove directory and contents.
2755 * sysdeps/nacl: Remove directory and contents.
2756 * abi-tags: Remove .*-.*-nacl.* entry.
2757
2758 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
2759
2760 * manual/errno.texi: Convert @comment-based errno documentation to
2761 @errno.
2762 * manual/macros.texi (@errno): New macro. Consolidate errors,
2763 their values, and messages, adding the error string to the Concept
2764 Index. Provide a warning in the comment about external (to the
2765 manual) dependencies.
2766 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
2767 * sysdeps/mach/hurd/errnos.awk: Likewise.
2768
2769 2017-05-19 Joseph Myers <joseph@codesourcery.com>
2770
2771 * bits/ss_flags.h: New file.
2772 * bits/types/stack_t.h: Likewise.
2773 * include/bits/types/struct_sigstack.h: Likewise.
2774 * signal/bits/types/struct_sigstack.h: Likewise.
2775 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
2776 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
2777 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
2778 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
2779 bits/types/stack_t.h and bits/ss_flags.h.
2780 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
2781 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2782 <bits/ss_flags.h>.
2783 * bits/sigstack.h (struct sigstack): Remove.
2784 (stack_t): Likewise.
2785 (SS_ONSTACK): Likewise.
2786 (SS_DISABLE): Likewise.
2787 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2788 (struct sigstack): Likewise.
2789 (stack_t): Likewise.
2790 (SS_ONSTACK): Likewise.
2791 (SS_DISABLE): Likewise.
2792 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
2793 Likewise.
2794 (stack_t): Likewise.
2795 (SS_ONSTACK): Likewise.
2796 (SS_DISABLE): Likewise.
2797 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
2798 Likewise.
2799 (stack_t): Likewise.
2800 (SS_ONSTACK): Likewise.
2801 (SS_DISABLE): Likewise.
2802 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
2803 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
2804 Likewise.
2805 (stack_t): Likewise.
2806 (SS_ONSTACK): Likewise.
2807 (SS_DISABLE): Likewise.
2808 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2809 (struct sigstack): Likewise.
2810 (stack_t): Likewise.
2811 (SS_ONSTACK): Likewise.
2812 (SS_DISABLE): Likewise.
2813 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
2814 Likewise.
2815 (stack_t): Likewise.
2816 (SS_ONSTACK): Likewise.
2817 (SS_DISABLE): Likewise.
2818 * sysdeps/arm/sys/ucontext.h: Include
2819 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2820 <bits/ss_flags.h>.
2821 * sysdeps/generic/sys/ucontext.h: Likewise.
2822 * sysdeps/i386/sys/ucontext.h: Likewise.
2823 * sysdeps/m68k/sys/ucontext.h: Likewise.
2824 * sysdeps/mips/sys/ucontext.h: Likewise.
2825 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
2826 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
2827 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
2828 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
2829 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
2830 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
2831 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
2832 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
2833 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
2834 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2835 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
2836 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
2838 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
2839 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
2840
2841 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
2842
2843 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
2844 "edx + ecx - 16" to avoid possible addition overflow.
2845 * sysdeps/x86_64/memchr.S (memchr): Likewise.
2846
2847 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2848
2849 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
2850 (CFLAGS-splice.c): Likewise.
2851 (CFLAGS-open_by_handle_at.c): Likewise.
2852 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
2853 (CFLAGS-splice.c): Likewise.
2854 (CFLAGS-open_by_handle_at.c): Likewise.
2855
2856 2017-05-19 Joseph Myers <joseph@codesourcery.com>
2857
2858 * scripts/versions.awk: Generate ldbl-compat-choose.h.
2859 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
2860 <ldbl-compat-choose.h>.
2861 (maybe_long_double_symbol): New macro.
2862 [!declare_mgen_alias] (declare_mgen_alias): Use
2863 maybe_long_double_symbol.
2864 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
2865 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2869 * Makerules [$(build-shared) = yes && !avoid-generated]
2870 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
2871 [$(build-shared) = yes && !avoid-generated]
2872 ($(common-objpfx)ldbl-compat-choose.h): New target.
2873
2874 * scripts/versions.awk: Generate first-versions.h.
2875 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
2876 <first-versions.h>.
2877 (LDOUBLE_cabsl_libm_version): Remove macro.
2878 (LDOUBLE_cargl_libm_version): Likewise.
2879 (LDOUBLE_cimagl_libm_version): Likewise.
2880 (LDOUBLE_conjl_libm_version): Likewise.
2881 (LDOUBLE_creall_libm_version): Likewise.
2882 (LDOUBLE_cacosl_libm_version): Likewise.
2883 (LDOUBLE_cacoshl_libm_version): Likewise.
2884 (LDOUBLE_ccosl_libm_version): Likewise.
2885 (LDOUBLE_ccoshl_libm_version): Likewise.
2886 (LDOUBLE_casinl_libm_version): Likewise.
2887 (LDOUBLE_csinl_libm_version): Likewise.
2888 (LDOUBLE_casinhl_libm_version): Likewise.
2889 (LDOUBLE_csinhl_libm_version): Likewise.
2890 (LDOUBLE_catanl_libm_version): Likewise.
2891 (LDOUBLE_catanhl_libm_version): Likewise.
2892 (LDOUBLE_ctanl_libm_version): Likewise.
2893 (LDOUBLE_ctanhl_libm_version): Likewise.
2894 (LDOUBLE_cexpl_libm_version): Likewise.
2895 (LDOUBLE_clogl_libm_version): Likewise.
2896 (LDOUBLE_cprojl_libm_version): Likewise.
2897 (LDOUBLE_csqrtl_libm_version): Likewise.
2898 (LDOUBLE_cpowl_libm_version): Likewise.
2899 (LDOUBLE_clog10l_libm_version): Likewise.
2900 (LDOUBLE___clog10l_libm_version): Likewise.
2901 (LDOUBLE_fdiml_libm_version): Likewise.
2902 (LDOUBLE_fmaxl_libm_version): Likewise.
2903 (LDOUBLE_fminl_libm_version): Likewise.
2904 (LDOUBLE_ilogbl_libm_version): Likewise.
2905 (LDOUBLE_nanl_libm_version): Likewise.
2906 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
2907 FIRST_VERSION_libm_* macros.
2908 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
2909 * Makerules [$(build-shared) = yes && !avoid-generated]
2910 (before-compile): Add $(common-objpfx)first-versions.h.
2911 [$(build-shared) = yes && !avoid-generated]
2912 ($(common-objpfx)first-versions.h): New target.
2913 ($(common-objpfx)sysd-versions): Depend on and change to rule for
2914 building $(common-objpfx)versions.stmp.
2915
2916 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2917
2918 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
2919 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
2920 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
2921 auto-generation list.
2922
2923 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
2924 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
2925 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
2926 from auto-generation list.
2927
2928 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2929 open_by_handle_at.
2930 (CFLAGS-open_by_handle_at.c): New flag.
2931 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
2932 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
2933 file.
2934 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
2935
2936 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
2937 (CFLAGS-splice.c): New flag.
2938 * sysdeps/unix/sysv/linux/splice.c: New file.
2939 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
2940 auto-generation syscall list.
2941 * misc/Makefile (CFLAGS-splice.c): New rule.
2942
2943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
2944 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
2945 auto-generation syscall list.
2946 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
2947 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
2948
2949 * misc/Makefile (CFLAGS-fsync.c): New flag.
2950 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
2951 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
2952 syscall list.
2953 * sysdeps/unix/sysv/linux/fsync.c: New file.
2954 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
2955 (__errno_location): Remove.
2956
2957 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
2958 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
2959 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
2960 list.
2961 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
2962
2963 * misc/Makefile (CFLAGS-msync.c): New rule.
2964 * nptl/Makefile (CFLAGS-msync.c): Likewise.
2965 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
2966 * sysdeps/unix/sysv/linux/msync.c: New file.
2967
2968 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
2969 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
2970 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
2971 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2972 (CFLAGS-sigsuspend.c): Remove rule.
2973
2974 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
2975 (CFLAGS-tee.c): New rule.
2976 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
2977 auto-generated list.
2978 * sysdeps/unix/sysv/linux/tee.c: New file.
2979
2980 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
2981 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
2982 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
2983 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
2984 auto-generated list.
2985
2986 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
2987 auto-generated list.
2988 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2990 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
2991 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2992 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2993
2994 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
2995 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
2996 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
2997 (__NR_pause): Undefine.
2998 * sysdeps/unix/sysv/linux/pause.c: New file.
2999 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3000 auto-generation list.
3001 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3002 Remove rule.
3003 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3004
3005 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
3006
3007 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3008 comments.
3009
3010 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
3011
3012 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3013 LD_HWCAP_MASK.
3014
3015 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
3016
3017 * manual/conf.texi: Convert @tables of annotated @items to
3018 @vtables.
3019 * manual/lang.texi: Likewise.
3020 * manual/pattern.texi: Likewise.
3021 * manual/resource.texi: Likewise.
3022 * manual/socket.texi: Likewise.
3023
3024 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
3025
3026 * manual/crypt.texi: Move a comment out of an @*x list.
3027 * manual/filesys.texi: Refactor some comments, one of which looks
3028 like a standard. Fix incorrectly separated standards.
3029 * manual/locale.texi: Invert an annotation.
3030 * manual/resource.texi: Fix incorrectly separated standards.
3031 * manual/time.texi: Refactor a @vtable that obscures an
3032 annotation.
3033 * manual/users.texi: Refactor multiple headers to occupy a single
3034 @comment.
3035
3036 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3037
3038 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3039 (sysdep_routines): Add memcmp-power8.
3040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3041 (memcmp): Add __memcmp_power8 to list of memcmp functions.
3042 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3043 (memcmp): Add __memcmp_power8 to ifunc list.
3044 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3045 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3046
3047 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3048 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3049
3050 * math/math.h (__MATH_TG): Extend the conditions to add
3051 _Float128 support.
3052 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3053
3054 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
3055
3056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3057 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3058 s_cosf-ppc64.
3059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3062 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3063
3064 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3065
3066 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3067 (gen-libm-calls): Add e_exp2F to use the template.
3068 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3069 * math/e_exp2_template.c: New file, renamed from
3070 math/e_exp2l.c, and made into a template.
3071 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3072
3073 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
3074
3075 * elf/dl-tunable-types.h (tunable_type_code_t): New type
3076 TUNABLE_TYPE_UINT_64.
3077 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3078 Simplify computation of overflow.
3079 (tunable_set_val_if_valid_range_signed,
3080 tunable_set_val_if_valid_range_unsigned): Remove and replace
3081 with this...
3082 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3083 (tunable_initialize): Adjust. Add uint64_t support.
3084 (__tunable_set_val): Add uint64_t support.
3085 * README.tunables: Document it.
3086
3087 * scripts/gen-tunables.awk: Recognize 'default' keyword in
3088 dl-tunables.list.
3089 * README.tunables: Document it.
3090
3091 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3092
3093 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3094 * sysdeps/posix/preadv64.c: Likewise.
3095 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3096 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3097 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3098 * sysdeps/posix/pwritev64.c: Likewise.
3099 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3100 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3101 * sysdeps/posix/preadv_common.c: New file.
3102 * sysdeps/posix/pwritev_common.c: Likewise.
3103
3104 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3105
3106 * sysdeps/generic/math-type-macros-float128.h
3107 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3108 wrapper templates.
3109
3110 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3111 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3112
3113 * include/complex.h (__kernel_casinhf128): New declaration.
3114 * include/float.h: New file.
3115 * include/math.h (__finitef128): Add a hidden def.
3116 (__isinff128): Likewise.
3117 (__isnanf128): Likewise.
3118 (__fpclassify): Likewise.
3119 (__issignalling): Likewise.
3120 (__expf128): Likewise.
3121 (__expm1f128): Likewise.
3122
3123 * sysdeps/generic/fix-fp-int-convert-overflow.h:
3124 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3125 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3126
3127 * sysdeps/generic/math-type-macros-float128.h: New file.
3128
3129 * sysdeps/generic/math_private.h: Include bits/floatn.h and
3130 math_private_calls.h for _Float128.
3131 (__isinff128): New inline implementation used when GCC < 7.0,
3132 since in this case __builtin_isinf_sign is broken.
3133 (fabsf128): New inline implementation that calls the builtin.
3134 (__EXPR_FLT128): New macro.
3135 (min_of_type): Optionally include _Float128 types too.
3136
3137 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3138 Declare for _Float128.
3139 (__kernel_rem_pio2): Likewise.
3140
3141 * sysdeps/ieee754/ldbl-opt/s_sin.c:
3142 (__DECL_SIMD_sincos_disablef128): New macro.
3143
3144 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3145
3146 * math/math.h: Include bits/math-finite.h for float128.
3147 (__MATH_DECLARING_FLOATN): Define to control declaration of
3148 float128 functions.
3149 * math/bits/math-finite.h (pow10): Do not declare for float128.
3150 (gamma): Likewise.
3151 (scalb): Likewise.
3152
3153 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3154 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3155
3156 * bits/floatn.h: New file.
3157 * bits/huge_val_flt128.h: Likewise.
3158
3159 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3160 (__DECL_SIMD_sinf128): Likewise.
3161 (__DECL_SIMD_sincosf128): Likewise.
3162 (__DECL_SIMD_logf128): Likewise.
3163 (__DECL_SIMD_expf128): Likewise.
3164 (__DECL_SIMD_powf128): Likewise.
3165
3166 * math/Makefile (headers): Install bits/floatn.h and
3167 bits/huge_val_flt128.h.
3168
3169 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3170 defined.
3171
3172 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3173 (isnan, gamma, nexttoward, scalb): Only define if not
3174 __MATH_DECLARING_FLOATN.
3175 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3176 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3177 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3178 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3179
3180 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3181 Include bits/cmathcalls.h to get the declarations of _Float128
3182 versions of complex functions.
3183 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3184 Define macro.
3185
3186 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3187 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3188 get the declarations of _Float128 versions of math functions.
3189 (__MATH_DECLARING_FLOATN): New macro to control declaration of
3190 _FloatN types.
3191 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3192 is type-generic, so use it without __MATH_TG.
3193 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3194 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
3195 _Float128 type and GCC < 7.0, otherwise use the builtin.
3196 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3197 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3198 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3199 New _GNU_SOURCE enabled macros.
3200
3201 2017-05-12 Joseph Myers <joseph@codesourcery.com>
3202
3203 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3204 (signbitf): Likewise.
3205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3206 Likewise.
3207 (signbitl): Likewise.
3208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3209 Likewise.
3210 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3211 (signbitl): Likewise.
3212 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3213
3214 2017-05-12 Florian Weimer <fweimer@redhat.com>
3215
3216 [BZ #21386]
3217 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3218 parent PID. The assertion in the child is incorrect with PID
3219 namespaces.
3220
3221 2017-05-12 Joseph Myers <joseph@codesourcery.com>
3222
3223 * sysdeps/unix/sysv/linux/kernel-features.h
3224 (__ASSUME_STATFS_F_FLAGS): Remove macro.
3225 * sysdeps/unix/sysv/linux/internal_statvfs.c
3226 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3227
3228 2017-05-11 Zack Weinberg <zackw@panix.com>
3229
3230 * Makerules: New subdir configuration variables 'tests-internal'
3231 and 'test-internal-extras'. Test files in these categories will
3232 still be compiled with MODULE_NAME=nonlib. Test files in the
3233 existing categories (tests, xtests, test-srcs, test-extras) are
3234 now compiled with MODULE_NAME=testsuite.
3235 New subdir configuration variable 'modules-names-tests'. Files
3236 which are in both 'modules-names' and 'modules-names-tests' will
3237 be compiled with MODULE_NAME=testsuite instead of
3238 MODULE_NAME=extramodules.
3239 (gen-as-const-headers): Move to tests-internal.
3240 (do-tests-clean, common-mostlyclean): Support tests-internal.
3241 * Makeconfig (built-modules): Add testsuite.
3242 * Makefile: Change libof-check-installed-headers-c and
3243 libof-check-installed-headers-cxx to 'testsuite'.
3244 * Rules: Likewise. Support tests-internal.
3245 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3246 Remove extra-modules.mk.
3247
3248 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3249 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3250 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3251 very top of the file and rationalize their order.
3252 If MODULE_NAME is not defined at all, define IS_IN to always be
3253 false, and don't define _ISOMAC.
3254 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3255 true, define _ISOMAC and suppress everything else in this file,
3256 starting with the inclusion of config.h.
3257 Do check for inappropriate definitions of __OPTIMIZE__ and
3258 __FAST_MATH__ here, but only if _ISOMAC is not defined.
3259 Correct some out-of-date commentary.
3260
3261 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3262 and _Mlong_double_ before including math.h.
3263 * include/string.h: If _ISOMAC is defined, don't expose
3264 _STRING_ARCH_unaligned. Move a comment to a more appropriate
3265 location.
3266
3267 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3268 * include/time.h, include/unistd.h, include/wchar.h: No need to
3269 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3270
3271 * misc/sys/cdefs.h (__NTHNL): New macro.
3272 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3273 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3274
3275 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3276 defined, for HAVE_TUNABLES.
3277 * inet/tst-checks-posix.c: No need to define _ISOMAC.
3278 * intl/tst-gettext2.c: Provide own definition of N_.
3279 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3280 * math/test-signgam-main.c: No need to define _ISOMAC.
3281 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3282 * stdlib/tst-strtod1i.c: ...this new file.
3283 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3284 Split tests of __strtod_internal to...
3285 * stdlib/tst-strtod5i.c: ...this new file.
3286 * string/test-string.h: Include stdint.h. Duplicate definition of
3287 inhibit_loop_to_libcall here (from libc-symbols.h).
3288 * string/test-strstr.c: Provide dummy definition of
3289 libc_hidden_builtin_def when including strstr.c.
3290 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3291 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3292 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3293 Don't include init-arch.h.
3294 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3295 Don't include init-arch.h.
3296
3297 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3298 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3299 unload, unload2, circleload1, neededtest, neededtest2,
3300 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3301 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3302 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3303 ifunc tests to tests-internal.
3304 Don't add $(modules-names) to test-extras.
3305 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3306 Add tst-deadline to tests-static-internal.
3307 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3308 tests-internal.
3309 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3310 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3311 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3312 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3313 tst-sem12-static, and tst-stackguard1-static to tests-internal.
3314 Link tests-internal with libpthread also.
3315 Don't add $(modules-names) to test-extras.
3316 * nss/Makefile: Move tst-field to tests-internal.
3317 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3318 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3319 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3320 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3321 tests-internal.
3322 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3323 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3324 test-get_hwcap-static to tests-internal.
3325 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3326 tests-internal.
3327 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3328 modules-names-tests.
3329
3330 2017-05-11 Zack Weinberg <zackw@panix.com>
3331
3332 * libio/libio.h: Condition dummy definition of _IO_lock_t on
3333 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3334 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3335 _IO_funlockfile, and _IO_ftrylockfile. Only define
3336 _IO_cleanup_region_start and _IO_cleanup_region_end if not
3337 already defined.
3338 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3339 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3340 appropriately.
3341 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3342 Define _IO_lock_t_defined after defining _IO_lock_t.
3343
3344 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3345
3346 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3347 void* for argument type and use VDSO_SYMBOL macro.
3348 (is_sigtramp_address_rt): Likewise.
3349 (__backtrace): Setup expected frame pointer address for signal
3350 handling.
3351 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3352 void* for argumetn type and use VSDO_SYMBOL macro.
3353 (__backtrace): Setup expected frame pointer address for signal
3354 handling.
3355
3356 * sysdeps/unix/sysv/linux/writev.c: New file.
3357
3358 * sysdeps/unix/sysv/linux/readv.c: New file.
3359
3360 * include/unistd.h (write): Add hidden proto.
3361 * io/Makefile (CFLAGS-write.c): New define.
3362 * nptl/Makefile (CFLAGS-write.c): Likewise.
3363 * sysdeps/unix/sysv/linux/write.c: New file.
3364
3365 [BZ #21428]
3366 * include/unistd.h (read): Add hidden proto.
3367 * io/Makefile (CFLAGS-read.c): New define.
3368 * nptl/Makefile (CFLAGS-read.c): Likewise.
3369 * sysdeps/unix/sysv/linux/read.c: New file.
3370
3371 * io/Makefile (CFLAGS-creat.c): New rule.
3372 (CFLAGS-creat64.c): Likewise.
3373 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3374 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3375 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3376 * sysdeps/unix/sysv/linux/creat.c: New file.
3377 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3378 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3379 auto-generated list.
3380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3381
3382 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3383 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3384 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3385 * sysdeps/unix/sysv/linux/open.c: New file.
3386 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3387 iff __WORDSIZE != 64 and use __NR_openat when available.
3388 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3389 from auto-generated list.
3390
3391 * nptl/Makefile (CFLAGS-close.c): New flag.
3392 * sysdeps/unix/sysv/linux/close.c: New file.
3393
3394 2017-05-11 DJ Delorie <dj@redhat.com>
3395
3396 * MAINTAINERS: New. Points to wiki.
3397
3398 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3399
3400 * scripts/gen-tunables.awk: Add attribute_relro to
3401 tunable_list.
3402
3403 2017-05-11 Joseph Myers <joseph@codesourcery.com>
3404
3405 [BZ #21457]
3406 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3407 (R1): Likewise.
3408 (R2): Likewise.
3409 (R3): Likewise.
3410 (R4): Likewise.
3411 (R5): Likewise.
3412 (R6): Likewise.
3413 (R7): Likewise.
3414 (R8): Likewise.
3415 (R9): Likewise.
3416 (R10): Likewise.
3417 (R11): Likewise.
3418 (R12): Likewise.
3419 (R13): Likewise.
3420 (R14): Likewise.
3421 (R15): Likewise.
3422 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3423 (REG_FS): Likewise.
3424 (REG_ES): Likewise.
3425 (REG_DS): Likewise.
3426 (REG_EDI): Likewise.
3427 (REG_ESI): Likewise.
3428 (REG_EBP): Likewise.
3429 (REG_ESP): Likewise.
3430 (REG_EBX): Likewise.
3431 (REG_EDX): Likewise.
3432 (REG_ECX): Likewise.
3433 (REG_EAX): Likewise.
3434 (REG_TRAPNO): Likewise.
3435 (REG_ERR): Likewise.
3436 (REG_EIP): Likewise.
3437 (REG_CS): Likewise.
3438 (REG_EFL): Likewise.
3439 (REG_UESP): Likewise.
3440 (REG_SS): Likewise.
3441 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3442 (R_D1): Likewise.
3443 (R_D2): Likewise.
3444 (R_D3): Likewise.
3445 (R_D4): Likewise.
3446 (R_D5): Likewise.
3447 (R_D6): Likewise.
3448 (R_D7): Likewise.
3449 (R_A0): Likewise.
3450 (R_A1): Likewise.
3451 (R_A2): Likewise.
3452 (R_A3): Likewise.
3453 (R_A4): Likewise.
3454 (R_A5): Likewise.
3455 (R_A6): Likewise.
3456 (R_A7): Likewise.
3457 (R_SP): Likewise.
3458 (R_PC): Likewise.
3459 (R_PS): Likewise.
3460 (fpregset_t): Likewise.
3461 (MCONTEXT_VERSION): Likewise.
3462 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3463 (CTX_AT): Likewise.
3464 (CTX_V0): Likewise.
3465 (CTX_V1): Likewise.
3466 (CTX_A0): Likewise.
3467 (CTX_A1): Likewise.
3468 (CTX_A2): Likewise.
3469 (CTX_A3): Likewise.
3470 (CTX_T0): Likewise.
3471 (CTX_T1): Likewise.
3472 (CTX_T2): Likewise.
3473 (CTX_T3): Likewise.
3474 (CTX_T4): Likewise.
3475 (CTX_T5): Likewise.
3476 (CTX_T6): Likewise.
3477 (CTX_T7): Likewise.
3478 (CTX_S0): Likewise.
3479 (CTX_S1): Likewise.
3480 (CTX_S2): Likewise.
3481 (CTX_S3): Likewise.
3482 (CTX_S4): Likewise.
3483 (CTX_S5): Likewise.
3484 (CTX_S6): Likewise.
3485 (CTX_S7): Likewise.
3486 (CTX_T8): Likewise.
3487 (CTX_T9): Likewise.
3488 (CTX_K0): Likewise.
3489 (CTX_K1): Likewise.
3490 (CTX_GP): Likewise.
3491 (CTX_SP): Likewise.
3492 (CTX_S8): Likewise.
3493 (CTX_RA): Likewise.
3494 (CTX_MDLO): Likewise.
3495 (CTX_MDHI): Likewise.
3496 (CTX_CAUSE): Likewise.
3497 (CTX_EPC): Likewise.
3498 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3499 inclusion of <sys/procfs.h> on [__USE_MISC].
3500 (greg_t): Condition on [__USE_MISC].
3501 (gregset_t): Likewise.
3502 (fpregset_t): Likewise.
3503 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3504 (NGREG): Likewise.
3505 (gregset_t): Likewise.
3506 (REG_R0): Likewise.
3507 (REG_R1): Likewise.
3508 (REG_R2): Likewise.
3509 (REG_R3): Likewise.
3510 (REG_R4): Likewise.
3511 (REG_R5): Likewise.
3512 (REG_R6): Likewise.
3513 (REG_R7): Likewise.
3514 (REG_R8): Likewise.
3515 (REG_R9): Likewise.
3516 (REG_R10): Likewise.
3517 (REG_R11): Likewise.
3518 (REG_R12): Likewise.
3519 (REG_R13): Likewise.
3520 (REG_R14): Likewise.
3521 (REG_R15): Likewise.
3522 (struct _libc_fpstate): Likewise.
3523 (fpregset_t): Likewise.
3524 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3525 (NFPREG): Likewise.
3526 (gregset_t): Likewise.
3527 (fpregset_t): Likewise.
3528 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3529 (R_D1): Likewise.
3530 (R_D2): Likewise.
3531 (R_D3): Likewise.
3532 (R_D4): Likewise.
3533 (R_D5): Likewise.
3534 (R_D6): Likewise.
3535 (R_D7): Likewise.
3536 (R_A0): Likewise.
3537 (R_A1): Likewise.
3538 (R_A2): Likewise.
3539 (R_A3): Likewise.
3540 (R_A4): Likewise.
3541 (R_A5): Likewise.
3542 (R_A6): Likewise.
3543 (R_A7): Likewise.
3544 (R_SP): Likewise.
3545 (R_PC): Likewise.
3546 (R_PS): Likewise.
3547 (fpregset_t): Likewise.
3548 (MCONTEXT_VERSION): Likewise.
3549 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3550 Likewise.
3551 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3552 (REG_R1): Likewise.
3553 (REG_R2): Likewise.
3554 (REG_R3): Likewise.
3555 (REG_R4): Likewise.
3556 (REG_R5): Likewise.
3557 (REG_R6): Likewise.
3558 (REG_R7): Likewise.
3559 (REG_R8): Likewise.
3560 (REG_R9): Likewise.
3561 (REG_R10): Likewise.
3562 (REG_R11): Likewise.
3563 (REG_R12): Likewise.
3564 (REG_R13): Likewise.
3565 (REG_R14): Likewise.
3566 (REG_R15): Likewise.
3567 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3568 of <arch/abi.h> on [__USE_MISC].
3569 (greg_t): Condition on [__USE_MISC].
3570 (NGREG): Likewise.
3571 (gregset_t): Likewise.
3572
3573 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3574
3575 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3576 (__pthread_rwlock_arch_t): Remove __data definition.
3577 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3578 (__pthread_rwlock_arch_t): Likewise.
3579
3580 2017-05-11 Florian Weimer <fweimer@redhat.com>
3581
3582 * resolv/inet_pton.c: Reformat in GNU style. Remove
3583 internal_function on static functions.
3584
3585 2017-05-11 Florian Weimer <fweimer@redhat.com>
3586
3587 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3588 from format_ai_flags.
3589 (format_ai_flags): New function. Incorporate flag formatting code
3590 from format_ai_one.
3591 (format_ai_canonname): New function.
3592 (format_ai_one): Remove flags parameter.
3593 (format_ai_family): Likewise.
3594 (support_format_addrinfo): Call format_ai_flags,
3595 format_ai_canonname.
3596 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3597 check_ai.
3598 (check_ai): Call check_ai_hints.
3599 (do_test): Add AI_CANONNAME tests.
3600
3601 2017-05-11 Florian Weimer <fweimer@redhat.com>
3602
3603 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3604 (gaih_inet): Likewise.
3605
3606 2017-05-10 Andreas Schwab <schwab@suse.de>
3607
3608 * nptl/tst-fork1.c: Include <support/test-driver.c>.
3609 (main): Rename to do_test and make static.
3610
3611 2017-05-10 Joseph Myers <joseph@codesourcery.com>
3612
3613 * string/rawmemchr.c: Include <libc-diag.h>.
3614 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3615 with size (size_t)-1.
3616
3617 2017-05-09 Joseph Myers <joseph@codesourcery.com>
3618
3619 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3620 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3621 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3622
3623 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3624 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3625 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3626 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3627 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3628 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3629 * sysdeps/unix/sysv/linux/kernel-features.h
3630 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3631 socket syscalls.
3632 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3633 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3634 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3635 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3636 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3637 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3638 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3639 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3640 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3641 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3642 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3643 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3644 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3645 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3646 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3647
3648 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3649
3650 * posix/Makefile (headers): Add pthreadtypes-arch.h and
3651 thread-shared-types.h.
3652 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3653 specific thread definition.
3654 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3655 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3656 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3657 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3658 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3659 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3660 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3661 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3662 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3663 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3664 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3665 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3666 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3667 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3668 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3669 thread definition between POSIX and C11.
3670 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3671 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3672 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3673 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3674 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3675 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3676 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3677 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3678 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3679 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3680 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3681 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3682 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3683 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3684 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3685 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3686 definitions shared across all architectures.
3687
3688 2017-05-09 Joseph Myers <joseph@codesourcery.com>
3689
3690 * sysdeps/unix/sysv/linux/kernel-features.h
3691 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3692 (__ASSUME_SENDMMSG): Likewise.
3693 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3694 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3695 sendmmsg syscall if that can be assumed to be present, socketcall
3696 otherwise, with no fallback for runtime failure.
3697
3698 * sysdeps/unix/sysv/linux/kernel-features.h
3699 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3700 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3701 (__ASSUME_RECVMMSG): Likewise.
3702 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3703 recvmmsg syscall if it can be assumed to be present, socketcall
3704 otherwise, with no fallback for runtime failure.
3705
3706 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3707 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3708
3709 * bits/libc-header-start.h:
3710 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3711 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3712 * manual/creature.texi: Likewise.
3713
3714 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3715 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3716
3717 * math/Makefile:
3718 (type-float128-suffix): New variable
3719 (type-float128-routines): Likewise
3720 (type-float128-yes): Likewise
3721 (types): Append float128 if supported
3722 (types-basic): New variable to control the use of templates for
3723 float, double, and long double, but not for float128 or newer types.
3724 (type-basic-foreach): Likewise.
3725
3726 * sysdeps/ieee754/float128/Makeconfig: New file.
3727 * sysdeps/ieee754/float128/Versions: New file.
3728
3729 2017-05-09 Joseph Myers <joseph@codesourcery.com>
3730
3731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
3732 Remove macro.
3733 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
3734 prlimit64 is always available and does not give an ENOSYS error.
3735 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
3736 unconditional.
3737 [!__NR_prlimit64]: Remove conditional code.
3738 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
3739 prlimit64 is always available and does not give an ENOSYS error.
3740 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
3741
3742 2017-05-09 Zack Weinberg <zackw@panix.com>
3743
3744 * sunrpc/tst-xdrmem2.c: Include stdint.h.
3745
3746 2017-05-09 Florian Weimer <fweimer@redhat.com>
3747
3748 [BZ #21474]
3749 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
3750 (__res_maybe_init): Likewise.
3751
3752 2017-05-09 Zack Weinberg <zackw@panix.com>
3753
3754 * extra-modules.mk: Delete file.
3755 * cppflags-iterator.mk: Rename to ...
3756 * libof-iterator.mk: ...this. Adjust comments.
3757
3758 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
3759 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
3760 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
3761 Use libof-iterator.mk instead of cppflags-iterator.mk or
3762 extra-modules.mk.
3763
3764 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
3765 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
3766
3767 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3768
3769 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3770
3771 2017-05-08 Carlos O'Donell <carlos@redhat.com>
3772
3773 * stdio-common/vfprintf.c (EXTSIZ): Define.
3774 (vfprintf): Use EXTSIZ.
3775 (printf_positional): Likewise.
3776
3777 2017-05-08 Joseph Myers <joseph@codesourcery.com>
3778
3779 * sysdeps/unix/sysv/linux/kernel-features.h
3780 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
3781 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
3782 <kernel-features.h>.
3783 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
3784
3785 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3786 (__ASSUME_GETCPU_SYSCALL): Remove macro.
3787
3788 2017-05-08 Florian Weimer <fweimer@redhat.com>
3789
3790 Prevent multiple deletion of temporary files.
3791 * support/temp_file.c (struct temp_name_list): Add owner member.
3792 (add_temp_file): Record owner.
3793 (support_delete_temp_files): Delete file only if owner matches.
3794 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
3795 (do_prepare): Use create_temp_file instead of add_temp_file.
3796 Initialize temp_fd1, temp_fd2.
3797 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
3798 framework remove the temporary files.
3799 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
3800 (do_prepare): Use create_temp_file instead of add_temp_file.
3801 Initialize temp_fd1, temp_fd2, temp_fd3.
3802 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
3803 the test framework remove the temporary files.
3804 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
3805 deletion.
3806 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
3807 temporary directory. It is removed by the test framework.
3808 * dirent/tst-scandir.c (do_test): Likewise.
3809
3810 2017-05-08 Florian Weimer <fweimer@redhat.com>
3811
3812 Delete temporary files in LIFO order.
3813 * support/temp_file.c (struct temp_name_list): Replace q member
3814 with next.
3815 (add_temp_file): Add new file to front of linked list.
3816 (support_delete_temp_files): Use next member.
3817 (support_print_temp_files): Likewise.
3818
3819 2017-05-08 Florian Weimer <fweimer@redhat.com>
3820
3821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3822 sys/ultrasound.h.
3823 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
3824
3825 2017-05-08 Joseph Myers <joseph@codesourcery.com>
3826
3827 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3828 Remove.
3829 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3830 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3831 (arch_minimum_kernel): Remove.
3832 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3833 * README: Update statement about Linux kernel requirements.
3834
3835 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3836
3837 * manual/llio.texi: Add preadv and pwritev documentation.
3838
3839 2017-05-04 Joseph Myers <joseph@codesourcery.com>
3840
3841 [BZ #21455]
3842 * bits/stdint-intn.h: New file.
3843 * bits/stdint-uintn.h: Likewise.
3844 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
3845 bits/stdint-uintn.h.
3846 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
3847 <stdint.h>.
3848 * posix/sys/types.h: Include <bits/stdint-intn.h>.
3849 (__int8_t_defined): Do not define here.
3850 (int8_t): Likewise.
3851 (int16_t): Likewise.
3852 (int32_t): Likewise.
3853 (int64_t): Likewise.
3854 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
3855 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
3856 <stdint.h>.
3857 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
3858 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
3859 <bits/stdint-uintn.h>.
3860 (int8_t): Do not define here.
3861 (int16_t): Likewise.
3862 (int32_t): Likewise.
3863 (int64_t): Likewise.
3864 (uint8_t): Likewise.
3865 (uint16_t): Likewise.
3866 (uint32_t): Likewise.
3867 (uint64_t): Likewise.
3868 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
3869 variable.
3870 (test-xfail-XPG42/netdb.h/conform): Likewise.
3871 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
3872 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3873 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3874 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3875
3876 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3877
3878 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
3879 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
3880 the above.
3881 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3883
3884 2017-05-04 Joseph Myers <joseph@codesourcery.com>
3885
3886 [BZ #21445]
3887 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
3888
3889 [BZ #21457]
3890 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3891 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
3892 __glibc_reserved1.
3893 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3894 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
3895 (struct _fpxreg): Likewise.
3896 [!__x86_64__] (struct _fpstate): Rename field reserved to
3897 __glibc_reserved1. Rename field padding to __glibc_reserved2.
3898 [__x86_64__] (struct _fpstate): Rename field padding to
3899 __glibc_reserved1.
3900 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
3901 Rename field reserved2 to __glibc_reserved2.
3902 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
3903 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
3904 __glibc_reserved1.
3905 [__x86_64__] (struct _libc_fpstate): Rename field padding to
3906 __glibc_reserved1.
3907
3908 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3909
3910 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
3911 variable name.
3912
3913 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
3914
3915 [BZ #21391]
3916 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
3917 Only call init_cpu_features.
3918 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
3919 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3920 * sysdeps/i386/dl-procinfo.h: Removed.
3921 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
3922 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
3923 <sysdeps/x86/dl-procinfo.h>.
3924 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
3925 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
3926 Include <sysdeps/x86/dl-procinfo.h> instead of
3927 <sysdeps/generic/dl-procinfo.h>.
3928 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
3929 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
3930 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
3931 (bit_cpu_MOVBE): Likewise.
3932 (bit_cpu_BMI1): Likewise.
3933 (bit_cpu_BMI2): Likewise.
3934 (index_cpu_BMI1): Likewise.
3935 (index_cpu_BMI2): Likewise.
3936 (index_cpu_LZCNT): Likewise.
3937 (index_cpu_MOVBE): Likewise.
3938 (index_cpu_POPCNT): Likewise.
3939 (reg_BMI1): Likewise.
3940 (reg_BMI2): Likewise.
3941 (reg_LZCNT): Likewise.
3942 (reg_MOVBE): Likewise.
3943 (reg_POPCNT): Likewise.
3944 * sysdeps/x86/dl-hwcap.h: New file.
3945 * sysdeps/x86/dl-procinfo.h: Likewise.
3946 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
3947 (_dl_x86_platforms): Likewise.
3948
3949 2017-05-03 DJ Delorie <dj@redhat.com>
3950
3951 [BZ #21411]
3952 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
3953
3954 2017-05-03 Phil Blundell <pb@pbcl.net>
3955
3956 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
3957 comments.
3958
3959 2017-05-03 Carlos O'Donell <carlos@redhat.com>
3960
3961 [BZ #20116]
3962 * nptl/pthread_create.c: Expand comments to describe
3963 semaphore-like and mutex-like uses of PD->lock.
3964
3965 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3966
3967 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
3968 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
3969 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
3970 auto-generation list.
3971 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3972 epoll_wait.
3973 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
3974 Remove epoll_wait.
3975
3976 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
3977 osf_select.
3978 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
3979 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
3980 osf_select from auto-generation list.
3981 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3982 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3983 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
3984 * sysdeps/unix/sysv/linux/select.c: New file.
3985
3986 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
3987 * sysdeps/unix/sysv/linux/poll.c: New file.
3988 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
3989 auto-generation list.
3990
3991 2017-05-03 Joseph Myers <joseph@codesourcery.com>
3992
3993 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
3994 New macro.
3995
3996 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
3997
3998 [BZ #21179]
3999 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4000 R_SPARC_REGISTER relocations.
4001
4002 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4003
4004 * include/unistd.h (__pread): Add libc_hidden_proto.
4005 (__pread64): Likewise.
4006 (__pwrite): Likewise.
4007 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4008 (__pread64): Remove.
4009 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4010 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4011 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4012
4013 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4014
4015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4016
4017 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4018
4019 * nptl/tst-cancel4-common.c: Use libsupport.
4020 * nptl/tst-cancel4-common.h: Likewise.
4021 * nptl/tst-cancel4.c (tf_read): Likewise.
4022 (tf_readv): Likewise.
4023 (tf_write): Likewise.
4024 (tf_writev): Likewise.
4025 (tf_sleep): Likewise.
4026 (tf_usleep): Likewise.
4027 (tf_nanosleep): Likewise.
4028 (tf_select): Likewise.
4029 (tf_pselect): Likewise.
4030 (tf_poll): Likewise.
4031 (tf_ppoll): Likewise.
4032 (tf_wait): Likewise.
4033 (tf_waitpid): Likewise.
4034 (tf_waitid): Likewise.
4035 (tf_sigpause): Likewise.
4036 (tf_sigsuspend): Likewise.
4037 (tf_sigwait): Likewise.
4038 (tf_sigwaitinfo): Likewise.
4039 (tf_sigtimedwait): Likewise.
4040 (tf_pause): Likewise.
4041 (tf_accept): Likewise.
4042 (tf_send): Likewise.
4043 (tf_recv): Likewise.
4044 (tf_recvfrom): Likewise.
4045 (tf_recvmsg): Likewise.
4046 (tf_open): Likewise.
4047 (tf_close): Likewise.
4048 (tf_pread): Likewise.
4049 (tf_pwrite): Likewise.
4050 (tf_preadv): Likewise.
4051 (tf_pwritev): Likewise.
4052 (tf_fsync): Likewise.
4053 (tf_fdatasync): Likewise.
4054 (tf_msync): Likewise.
4055 (tf_sendto): Likewise.
4056 (tf_sendmsg): Likewise.
4057 (tf_creat): Likewise.
4058 (tf_connect): Likewise.
4059 (tf_tcdrain): Likewise.
4060 (tf_msgrcv): Likewise.
4061 (tf_msgsnd): Likewise.
4062 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4063 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4064
4065 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4066 expected arguments.
4067 (do_test): Adapt to use libsupport.
4068
4069 2017-05-01 Joseph Myers <joseph@codesourcery.com>
4070
4071 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4072
4073 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4074 (PF_MAX): Set to 44.
4075 (AF_SMC): New macro.
4076
4077 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4078 kernel version to 4.11.
4079
4080 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4081
4082 [BZ #21280]
4083 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4084 signal of subnormals and adjust the exponent of power of 2 down
4085 when low part has opposite sign.
4086
4087 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4088
4089 * sysdeps/powerpc/powerpc64le/Implies: New file.
4090 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4091 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4092 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4093 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4094 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4095 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4096 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4097 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4098 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4099 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4100 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4101 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4102 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4103 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4104 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4105 * sysdeps/powerpc/preconfigure: New file.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4107 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4108
4109 2017-04-28 Joseph Myers <joseph@codesourcery.com>
4110
4111 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4112 inclusion.
4113 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4114 Remove.
4115
4116 2017-04-27 Joseph Myers <joseph@codesourcery.com>
4117
4118 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4119 (XPG3): Rename standard to XPG4.
4120 * conform/Makefile: Likewise.
4121 * conform/list-header-symbols.pl: Likewise.
4122 * conform/data/aio.h-data: Likewise.
4123 * conform/data/arpa/inet.h-data: Likewise.
4124 * conform/data/complex.h-data: Likewise.
4125 * conform/data/ctype.h-data: Likewise.
4126 * conform/data/dlfcn.h-data: Likewise.
4127 * conform/data/fcntl.h-data: Likewise.
4128 * conform/data/fenv.h-data: Likewise.
4129 * conform/data/float.h-data: Likewise.
4130 * conform/data/fmtmsg.h-data: Likewise.
4131 * conform/data/ftw.h-data: Likewise.
4132 * conform/data/grp.h-data: Likewise.
4133 * conform/data/inttypes.h-data: Likewise.
4134 * conform/data/iso646.h-data: Likewise.
4135 * conform/data/langinfo.h-data: Likewise.
4136 * conform/data/libgen.h-data: Likewise.
4137 * conform/data/limits.h-data: Likewise.
4138 * conform/data/locale.h-data: Likewise.
4139 * conform/data/math.h-data: Likewise.
4140 * conform/data/mqueue.h-data: Likewise.
4141 * conform/data/ndbm.h-data: Likewise.
4142 * conform/data/net/if.h-data: Likewise.
4143 * conform/data/netdb.h-data: Likewise.
4144 * conform/data/netinet/in.h-data: Likewise.
4145 * conform/data/poll.h-data: Likewise.
4146 * conform/data/pthread.h-data: Likewise.
4147 * conform/data/pwd.h-data: Likewise.
4148 * conform/data/sched.h-data: Likewise.
4149 * conform/data/search.h-data: Likewise.
4150 * conform/data/semaphore.h-data: Likewise.
4151 * conform/data/signal.h-data: Likewise.
4152 * conform/data/spawn.h-data: Likewise.
4153 * conform/data/stdbool.h-data: Likewise.
4154 * conform/data/stdint.h-data: Likewise.
4155 * conform/data/stdio.h-data: Likewise.
4156 * conform/data/stdlib.h-data: Likewise.
4157 * conform/data/string.h-data: Likewise.
4158 * conform/data/strings.h-data: Likewise.
4159 * conform/data/stropts.h-data: Likewise.
4160 * conform/data/sys/mman.h-data: Likewise.
4161 * conform/data/sys/resource.h-data: Likewise.
4162 * conform/data/sys/select.h-data: Likewise.
4163 * conform/data/sys/socket.h-data: Likewise.
4164 * conform/data/sys/stat.h-data: Likewise.
4165 * conform/data/sys/statvfs.h-data: Likewise.
4166 * conform/data/sys/time.h-data: Likewise.
4167 * conform/data/sys/timeb.h-data: Likewise.
4168 * conform/data/sys/types.h-data: Likewise.
4169 * conform/data/sys/uio.h-data: Likewise.
4170 * conform/data/sys/un.h-data: Likewise.
4171 * conform/data/sys/wait.h-data: Likewise.
4172 * conform/data/syslog.h-data: Likewise.
4173 * conform/data/termios.h-data: Likewise.
4174 * conform/data/tgmath.h-data: Likewise.
4175 * conform/data/time.h-data: Likewise.
4176 * conform/data/ucontext.h-data: Likewise.
4177 * conform/data/unistd.h-data: Likewise.
4178 * conform/data/utmpx.h-data: Likewise.
4179 * conform/data/varargs.h-data: Likewise.
4180 * conform/data/wchar.h-data: Likewise.
4181 * conform/data/wctype.h-data: Likewise.
4182
4183 2017-04-26 Joseph Myers <joseph@codesourcery.com>
4184
4185 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4186 version to 7 branch.
4187
4188 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
4189
4190 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4191 earlyclobber to output operand of sqrt insn.
4192 (__ieee754_sqrtf): Ditto.
4193
4194 2017-04-25 Joseph Myers <joseph@codesourcery.com>
4195
4196 [BZ #21426]
4197 * misc/bits/types/struct_iovec.h: New file.
4198 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4199 * include/bits/types/struct_iovec.h: New file.
4200 * bits/uio.h (struct iovec): Replace by inclusion of
4201 <bits/types/struct_iovec.h>.
4202 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4203 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4204 of <sys/uio.h>.
4205 * nptl/tst-cancel4.c: Include <sys/uio.h>
4206 * posix/test-errno.c: Likewise.
4207 * support/resolv_test.c: Likewise.
4208 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4209 Remove.
4210 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4211 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4212 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4213
4214 * conform/data/sys/socket.h-data (*_t): Allow.
4215
4216 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4217
4218 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4219 assignment.
4220
4221 2017-04-24 Daurnimator <quae@daurnimator.com>
4222 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4223
4224 [BZ #21340]
4225 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4226 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4227 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4228 valid flags.
4229 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4230 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4231 POSIX_SPAWN_SETSID.
4232 * sysdeps/posix/spawni.c (__spawni): Likewise.
4233 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4234 * NEWS: Add note about POSIX_SPAWN_SETSID support.
4235
4236 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4237
4238 * sysdeps/generic/math_private.h: Move the declaration of many
4239 functions to sysdeps/generic/math_private_calls.h.
4240 * sysdeps/generic/math_private_calls.h: New file with the
4241 declarations of the functions removed from math_private.h
4242 macroized by floating-point type.
4243
4244 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4245
4246 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4247 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4248 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4249 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4250 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4251 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4252
4253 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4254
4255 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4256 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4257 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4258 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4259 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4260 New Define.
4261
4262 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4263
4264 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4265 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4266 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4267 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4268 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4269 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4270
4271 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4272
4273 * sysdeps/s390/multiarch/ifunc-resolve.h
4274 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4275 * sysdeps/s390/multiarch/8bit-generic.c
4276 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4277 define ifunc resolvers.
4278
4279 2017-04-21 Florian Weimer <fweimer@redhat.com>
4280
4281 [BZ #20424]
4282 * manual/memory.texi (Replacing malloc): New section.
4283 (Allocating Storage For Program Data): Reference it.
4284 (The GNU Allocator): Likewise.
4285
4286 2017-04-20 Joseph Myers <joseph@codesourcery.com>
4287
4288 * stdlib/Versions (__strtod_internal): List explicitly, not as
4289 wildcard.
4290 (__strtof_internal): Likewise.
4291 (__strtold_internal): Likewise.
4292 (__strtol_internal): Likewise.
4293 (__strtoll_internal): Likewise.
4294 (__strtoul_internal): Likewise.
4295 (__strtoull_internal): Likewise.
4296 (__strtoq_internal): Likewise.
4297 (__strtouq_internal): Likewise.
4298 * wcsmbs/Versions (__wcstod_internal): Likewise.
4299 (__wcstof_internal): Likewise.
4300 (__wcstold_internal): Likewise.
4301 (__wcstol_internal): Likewise.
4302 (__wcstoll_internal): Likewise.
4303 (__wcstoul_internal): Likewise.
4304 (__wcstoull_internal): Likewise.
4305
4306 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4307
4308 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4309 struct timespec definition.
4310
4311 2017-04-19 Florian Weimer <fweimer@redhat.com>
4312
4313 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4314
4315 2017-04-19 Florian Weimer <fweimer@redhat.com>
4316
4317 * inet/rcmd.c (rresvport_af): Fix typo in comment.
4318 * inet/rexec.c (rexec_af): Likewise.
4319
4320 2017-04-19 Zack Weinberg <zackw@panix.com>
4321
4322 * posix/tst-mmap-offset.c: Include stdint.h.
4323 * resolv/tst-ns_name_compress.c: Include string.h.
4324 * resolv/tst-resolv-edns.c: Include resolv.h.
4325
4326 2017-04-19 Florian Weimer <fweimer@redhat.com>
4327
4328 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4329 with __glibc_likely.
4330 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4331 Replace __builtin_expect with __glibc_unlikely.
4332 * resolv/res_init.c (__res_vinit): Likewise.
4333 * resolv/res_query.c (__libc_res_nquery): Likewise.
4334 * resolv/res_send.c (__libc_res_nsend): Likewise.
4335
4336 2017-04-19 Florian Weimer <fweimer@redhat.com>
4337
4338 [BZ #15722]
4339 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4340 with SOCK_CLOEXEC.
4341 * resolv/res_send.c (send_vc, reopen): Likewise.
4342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4343 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4344 Likewise.
4345 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4346 * inet/rexec.c (rexec_af): Add comment.
4347 * inet/rcmd.c (rresvport_af): Likewise.
4348
4349 2017-04-19 Florian Weimer <fweimer@redhat.com>
4350
4351 * nscd/connections.c (have_accept4): Removed definition.
4352 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4353 accept4 works.
4354 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4355 ia64 because that was the first version with accept4 support.
4356 * support/Makefile (libsupport-routines): Add xaccept4.
4357 * support/xsocket.h (xaccept4): Declare.
4358 * support/xaccept4.c: New file.
4359 * socket/tst-accept4.c: New file.
4360 * socket/Makefile (tests): Add tst-accept4.
4361 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4362 definition.
4363 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4364 comment.
4365 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4366 implementation is available.
4367 (accept4): Use the system call if available, otherwise use the
4368 socket call.
4369 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4370 Set to 3.2.18.
4371 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4372 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4373 accept4 is unconditionally available in later 3.2 stable kernels.
4374 (__ASSUME_ACCEPT4_SYSCALL): Define.
4375 * sysdeps/unix/sysv/linux/kernel-features.h
4376 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4377 definitions.
4378 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4379 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4380
4381 2017-04-18 Joseph Myers <joseph@codesourcery.com>
4382
4383 * conform/Makefile (tests-special): Do not make addition of
4384 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4385 (generated): Do not make addition of $(conformtest-header-base)
4386 conditional on [$(cross-compiling) = no].
4387
4388 [BZ #21267]
4389 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4390 if defined by <asm/socket.h> and not previously defined.
4391 (IOCSIZE_SHIFT): Likewise.
4392 (IOC_IN): Likewise.
4393 (IOC_INOUT): Likewise.
4394 (IOC_OUT): Likewise.
4395
4396 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
4397
4398 [BZ #21396]
4399 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4400 Prefer_No_AVX512 if AVX512ER isn't available.
4401 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4402 (index_arch_Prefer_No_AVX512): Likewise.
4403 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4404 AVX512 version if Prefer_No_AVX512 is set.
4405 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4406 Likewise.
4407 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4408 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4409 Likewise.
4410 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4411 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4412 Likewise.
4413 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4414 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4415 Likewise.
4416
4417 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
4418
4419 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4420 Prefer_No_VZEROUPPER if AVX512ER is available.
4421 * sysdeps/x86/cpu-features.h
4422 (bit_cpu_AVX512PF): New.
4423 (bit_cpu_AVX512ER): Likewise.
4424 (bit_cpu_AVX512CD): Likewise.
4425 (bit_cpu_AVX512BW): Likewise.
4426 (bit_cpu_AVX512VL): Likewise.
4427 (index_cpu_AVX512PF): Likewise.
4428 (index_cpu_AVX512ER): Likewise.
4429 (index_cpu_AVX512CD): Likewise.
4430 (index_cpu_AVX512BW): Likewise.
4431 (index_cpu_AVX512VL): Likewise.
4432 (reg_AVX512PF): Likewise.
4433 (reg_AVX512ER): Likewise.
4434 (reg_AVX512CD): Likewise.
4435 (reg_AVX512BW): Likewise.
4436 (reg_AVX512VL): Likewise.
4437
4438 2017-04-18 Florian Weimer <fweimer@redhat.com>
4439
4440 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4441 O_CLOEXEC is defined.
4442 * include/fcntl.h (__have_o_cloexec): Remove declaration.
4443 * io/Makefile (aux): Remove.
4444 * io/have_o_cloexec.c: Remove file.
4445 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4446 defined and works.
4447 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4448 defined.
4449 * login/utmp_file.c (O_flags): Remove definition.
4450 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
4451 O_CLOEXEC works.
4452 (pututline_file): Likewise.
4453 * malloc/mtrace.c: Assume that O_CLOEXEC works.
4454 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4455 definition.
4456 (internal_setgrent): Assume that O_CLOEXEC works.
4457 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4458 Remove definition.
4459 (internal_setgrent): Assume that O_CLOEXEC works.
4460 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4461 definition.
4462 (internal_setpwent): Assume that O_CLOEXEC works.
4463 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4464 definition.
4465 (internal_setspent): Assume that O_CLOEXEC works.
4466 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4467 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
4468 O_CLOEXEC is defined and works.
4469 * nss/Makefile (libnss_files-routines): Remove
4470 files-have_o_cloexec.
4471 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4472 defined.
4473 * nss/nss_files/files-XXX.c (internal_setent): Assume that
4474 O_CLOEXEC is defined and works.
4475 * nss/nss_files/files-alias.c (internal_setent): Likewise.
4476 * nss/nss_files/files-have_o_cloexec.c: Remove.
4477 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4478 defined.
4479 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4480 and works.
4481 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4482 definition.
4483 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4484 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4485 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4486 (__opendirat, __opendir): Adjust opendir_oflags call.
4487 (check_have_o_cloexec): Remove.
4488 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4489 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4490 defined.
4491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4492 Remove definition.
4493
4494 2017-04-18 Florian Weimer <fweimer@redhat.com>
4495
4496 * include/unistd.h (__have_dup3): Remove declaration.
4497 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4498 dup3 is available.
4499 * libio/freopen64.c (freopen64): Likewise.
4500 * socket/Makefile (aux): Remove have_sock_cloexec.
4501 * socket/have_sock_cloexec.c: Remove file.
4502 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4503 definition.
4504 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4505 Likewise.
4506 * sysdeps/nacl/kernel-features.h: Update comment.
4507
4508 2017-04-18 Florian Weimer <fweimer@redhat.com>
4509
4510 * include/unistd.h (__have_pipe2): Remove declaration.
4511 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4512 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4513 available.
4514 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4516 Remove definition.
4517
4518 2017-04-18 Florian Weimer <fweimer@redhat.com>
4519
4520 * malloc/malloc.c (cfree): Turn into compat symbol.
4521 (__cfree): Remove alias.
4522 * stdlib/stdlib.h (cfree): Remove declaration.
4523 * malloc/malloc.h (cfree): Likewise.
4524 * manual/memory.texi (Freeing after Malloc): Remove cfree.
4525 * malloc/Versions (GLIBC_2.26): Add.
4526
4527 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4528
4529 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4530 (sysdep_routines): Add strrchr-power8.
4531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4532 (strrchr): Add __strrchr_power8 to list of strrchr functions.
4533 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4534 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4535 (strrchr): Add __strrchr_power8 to ifunc list.
4536 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4537
4538 2017-04-17 Rabin Vincent <rabinv@axis.com>
4539
4540 [BZ #21357]
4541 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4542 Call free() outside of mutex.
4543
4544 2017-04-13 Florian Weimer <fweimer@redhat.com>
4545
4546 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4547 is defined.
4548 * elf/rtld.c (process_envvars): Likewise.
4549 * sysdeps/posix/shm_open.c (shm_open): Likewise.
4550 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
4551 O_NOFOLLOW directly.
4552 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4553
4554 2017-04-13 Florian Weimer <fweimer@redhat.com>
4555
4556 [BZ #21369]
4557 Remove EDNS fallback.
4558 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4559 handling.
4560 * resolv/res_send.c (send_dg): Likewise.
4561 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4562 "tcp." prefixes.
4563 (do_test): Send a "formerr."-prefixed query in an attempt to
4564 trigger EDNS fallback.
4565
4566 2017-04-13 Florian Weimer <fweimer@redhat.com>
4567
4568 [BZ #21361]
4569 Limit EDNS buffer size to 1200 bytes.
4570 * include/resolv.h (__res_nopt): Remove declaration.
4571 * resolv/Makefile (tests): tst-resolv-edns.
4572 (tst-resolv-edns): Link with -lresolv, -lpthread.
4573 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4574 interval [512, 1200].
4575 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4576 we can resize the buffer.
4577 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4578 (__res_nopt): Declare.
4579 * resolv/tst-resolv-edns.c: New file.
4580 * resolv/resolv_test.h (struct resolv_edns_info): Define.
4581 (struct resolv_response_context): Add edns member.
4582 * resolv/resolv_test.c (struct query_info): Add edns member.
4583 (parse_query): Extract EDNS information from the query.
4584 (server_thread_udp_process_one): Propagate EDNS data.
4585 (server_thread_tcp_client): Likewise.
4586
4587 2017-04-13 Florian Weimer <fweimer@redhat.com>
4588
4589 [BZ #21359]
4590 * resolv/ns_name.c (ns_name_pack): Do not require an additional
4591 byte in the destination buffer. Avoid out-of-bounds pointer
4592 arithmetic.
4593 * resolv/Makefile (tests): Add tst-ns_name_compress.
4594 (tst-ns_name_compress): Link with -lresolv.
4595 * resolv/tst-ns_name_compress.c: New file.
4596 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4597 (response): Recognize LONG_NAME.
4598 (do_test): Add LONG_NAME tests.
4599 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4600 for ns_name_unpack. Add tests for ns_name_pton and
4601 ns_name_compress.
4602
4603 2017-04-13 Florian Weimer <fweimer@redhat.com>
4604
4605 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4606 (res_nisourserver): Remove definition.
4607 (p_section, res_npquery, res_nisourserver): Remove declaration.
4608 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4609 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4610 ... here.
4611 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4612 <resolv.h>.
4613 * resolv/res_query.c: Likewise.
4614 * resolv/res_debug.c (p_section): Define as static.
4615
4616 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4617
4618 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4619 strncat-power8.
4620 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4621 __strncat_power8 to ifunc list.
4622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4623 (strncat): Add __strncat_power8 to list of strncat functions.
4624 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4625
4626 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4627
4628 [BZ #21270]
4629 * posix/tst-mmap-offset.c (do_prepare): New function.
4630 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4631 (do_test_bz21270): New function.
4632 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4633 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4634 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4635 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4636 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4637 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4638 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4639 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4640 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4641 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4642 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4643 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4644 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4645 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4646 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4647 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4648 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4649 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4650 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4651 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4652 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4653 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4654 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4655 from auto-generation list.
4656 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4658 * sysdeps/unix/sysv/linux/mmap.c: New file.
4659 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4660 offsets and support for mmap2 syscall.
4661
4662 * posix/globtest.sh: Add cleanup routine on trap 0.
4663
4664 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4665
4666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4667 implementation-specific function name and remove unneeded
4668 macros definition.
4669 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4670 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4671 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4672 name if not defined and pass as parameter to macros accordingly.
4673 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4674 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4675
4676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4677 implementation-specific function name and remove unneeded
4678 macros definition.
4679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4684 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4685 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4686 name if not defined and pass as parameter to macros accordingly.
4687 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4688 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4689 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4690 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4691 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4692 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4693
4694 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4695 implementation-specific function name and remove unneeded macros
4696 definition.
4697 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4698 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4699 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4700 function name if not defined and pass as parameter to macros
4701 accordingly.
4702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4703 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4704
4705 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4706 implementation-specific function name and remove unneeded macros
4707 definition.
4708 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4709 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4710 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4711 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4712 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4713 not defined and pass as parameter to macros accordingly.
4714 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4716 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4717 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
4718
4719 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
4720 strcasestr implementation name and remove unneeded macros definition.
4721 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
4722 strstr implementation name and remove unneeded macros definition.
4723 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
4724 name if not defined and pass as parameter to macros accordingly.
4725 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
4726
4727 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
4728 implementation-specific function name and remove unneeded macros
4729 definition.
4730 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4734 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4735 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
4736 function name if not defined and pass as parameter to macros
4737 accordingly.
4738 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
4739 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
4741 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
4742
4743 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
4744 the strlen implementation name and remove unneeded macros definition.
4745 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
4746 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4747 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
4748 the strnlen implementation name and remove unneeded macros definition.
4749 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
4750 name if not defined and pass as parameter to macros accordingly.
4751 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
4752 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
4753 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4754
4755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
4756 the implementation-specific function name and remove unneeded
4757 macros definition.
4758 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
4759 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
4760 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4761 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4762 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
4763 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
4764 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4765 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4766 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4767 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
4768 name if not defined and pass as parameter to macros accordingly.
4769 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
4770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4771 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4772 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
4773 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4774 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4775 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
4776 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4777
4778 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
4779 implementation-specific function name and remove unneeded macros
4780 definition.
4781 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
4782 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
4785 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
4786 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
4787 function name if not defined.
4788 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
4789 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
4790
4791 2017-04-11 Paul Clarke <pc@us.ibm.com>
4792
4793 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
4794 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
4795 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
4796 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
4797
4798 2017-04-11 Florian Weimer <fweimer@redhat.com>
4799 Zack Weinberg <zackw@panix.com>
4800
4801 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
4802 readdir64 as thread-safe. Update warning about readdir_r.
4803
4804 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4805
4806 * sysdeps/unix/sysv/linux/x86/Implies: New file.
4807 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
4808 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
4809 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
4810 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
4811 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
4812 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4813
4814 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
4815
4816 * sysdeps/i386/dl-procinfo.c: Include
4817 <sysdeps/x86/dl-procinfo.c>.
4818 * sysdeps/x86_64/dl-procinfo.c: Likewise.
4819 * sysdeps/x86/dl-procinfo.c: New file.
4820
4821 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4822
4823 * sysdeps/generic/math_private.h: Remove declarations of
4824 many functions that are already declared in math.h.
4825 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
4826 declaration for __frexpl.
4827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
4828 the declarations for __scalbnl and fabsl.
4829
4830 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
4831
4832 [BZ #20831]
4833 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
4834 of __mprotect to change protection on the excess portion
4835 to disallow all access.
4836
4837 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
4840 HAS_CPU_FEATURE to check for SSE.
4841 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4842 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4843 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
4844 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
4845 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
4846 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
4847 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
4848 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
4849 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4850 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
4851 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4852 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4853 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
4854 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
4855 (index_cpu_SSE): Likewise.
4856 (reg_SSE): Likewise.
4857
4858 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
4859
4860 * posix/getopt1.c: Include <config.h>, not "config.h".
4861
4862 2017-04-07 Zack Weinberg <zackw@panix.com>
4863
4864 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
4865 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
4866 Mention in top-of-file boilerplate that these files are shared
4867 with gnulib.
4868 * posix/getopt.h, posix/bits/getopt_posix.h:
4869 Mention in top-of-file boilerplate that these files are NOT shared
4870 with gnulib, unlike the rest of the getopt implementation.
4871
4872 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
4873 New files, intended to be shared with gnulib.
4874 * posix/bits/getopt_posix.h:
4875 New file, not intended to be shared with gnulib.
4876 * posix/getopt.h: Now just includes features.h,
4877 bits/getopt_core.h, and bits/getopt_ext.h. Will
4878 no longer be shared with gnulib.
4879 * include/bits/getopt_core.h, include/bits/getopt_ext.h
4880 * include/bits/getopt_posix.h: New wrappers.
4881 * posix/Makefile: Install new headers.
4882 * posix/unistd.h, libio/stdio.h:
4883 Include bits/getopt_posix.h instead of getopt.h.
4884
4885 * include/libc-symbols.h: For gnulib compatibility, define
4886 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
4887 _GL_ATTRIBUTE_CONST.
4888 * posix/getopt.c (_getopt_initialize): Mark argc and argv
4889 parameters with _GL_UNUSED.
4890
4891 * posix/getopt.c: When used standalone, define __libc_use_alloca
4892 as always false and alloca to abort if called.
4893 (process_long_option): Rewrite handling of ambiguous long options
4894 to use a single boolean vector, not a linked list; use
4895 __libc_use_alloca to decide whether to allocate this using alloca.
4896 * posix/tst-getopt_long1.c: Adjust text of expected error message.
4897
4898 * posix/getopt.c (process_long_option): New function split out
4899 from _getopt_internal_r.
4900 (_getopt_internal_r): Replace both copies of the long-option
4901 processing code with calls to process_long_option.
4902 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
4903 (do_test): Differentiate argv[0] in the two subtests.
4904
4905 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
4906 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
4907 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
4908
4909 * posix/getopt.h: Add backup definition of __nonnull for
4910 consistency with gnulib. Define __getopt_argv_const to const
4911 if not already defined.
4912 (getopt): Update doc comment from gnulib. Prototype
4913 unconditionally. Add __nonnull annotation.
4914 (__posix_getopt): Add __nonnull annotation.
4915 (getopt_long, getopt_long_only): Use __getopt_argv_const in
4916 prototypes for consistency with gnulib. Add __nonnull
4917 annotations.
4918 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
4919 (getopt_internal): Change 'argv' argument to type 'char **'.
4920 Remove now-unnecessary casts.
4921 (getopt, __posix_getopt): Eliminate repetition with a macro.
4922 Cast 'argv' to 'char **' when calling _getopt_internal.
4923 * posix/getopt1.c (getopt_long, getopt_long_only):
4924 Use __getopt_argv_const for consistency with gnulib.
4925 Cast 'argv' to 'char **' when calling _getopt_internal.
4926 (_getopt_long_r, _getopt_long_only_r):
4927 Change 'argv' argument to type 'char **'.
4928 (main): Constify 'long_options'.
4929 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
4930 (_getopt_long_r, _getopt_long_only_r):
4931 Change 'argv' argument to type 'char **'.
4932
4933 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
4934 (locked_vfxprintf): New helper function. Handle arbitrary
4935 multibyte strings, not just ASCII.
4936 * include/stdio.h: Declare __fxprintf_nocancel.
4937 * posix/getopt.c: When _LIBC is defined, define fprintf to
4938 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
4939 to _IO_funlockfile. When neither _LIBC nor
4940 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
4941 funlockfile as no-ops.
4942 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
4943 the standalone error-printing code can now be used for libc as
4944 well. Add an flockfile/funlockfile pair around one case where
4945 the error message is printed in several chunks. Don't use fputc.
4946 * posix/tst-getopt-cancel.c: New test.
4947 * posix/Makefile: Run it.
4948
4949 * posix/getopt.c (_getopt_internal_r): Don't increment
4950 d->optind a second time when reporting ambiguous -W options.
4951
4952 * posix/getopt_int.h: Include getopt.h.
4953 Use impl-namespace names for all arguments to _getopt_internal and
4954 _getopt_internal_r.
4955 Declare __ordering enum outside the struct.
4956 Harmonize comments with gnulib.
4957 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
4958 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
4959 #ifdef TEST block and make unconditional. Do not define NULL.
4960 * posix/getopt.c: Partial merge from gnulib, covering the
4961 initial includes and global declarations, commentary, and
4962 a couple of semantically-neutral code changes.
4963
4964 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
4965 Use '...' instead of `...' for quotation marks inside
4966 comments and strings.
4967
4968 * config.h.in (USE_NONOPTION_FLAGS): Remove.
4969 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
4970 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4971 * posix/getopt_int.h: Likewise.
4972 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
4973 __libc_argc and __libc_argv externs, which were only used by
4974 #ifdef USE_NONOPTION_FLAGS blocks.
4975 * posix/getopt_init.c: Remove file.
4976 * posix/Makefile (routines): Remove getopt_init.
4977 * include/getopt.h: Don't declare __getopt_initialize_environment.
4978 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
4979 a comment.
4980
4981 2017-04-07 Florian Weimer <fweimer@redhat.com>
4982
4983 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
4984
4985 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4986
4987 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
4988 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
4989 to __wrap_.udiv.
4990 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
4991 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
4992
4993 * sysdeps/i386/symbol-hacks.h: New file.
4994 * sysdeps/m68k/symbol-hacks.h: New file.
4995 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
4996 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
4997 * sysdeps/unix/sysv/linux/i386/Makefile
4998 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4999 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5000 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5001 * sysdeps/unix/sysv/linux/m68k/Makefile
5002 [$(subdir) = csu] (sysdep_routines): Likewise.
5003 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5004 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5006 [$(subdir) = csu] (sysdep_routines): Likewise.
5007 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5008 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5009 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5010 [$(subdir) = csu] (sysdep_routines): Likewise.
5011 [$(subdir) = csu] (sysdep-only-routines): Likewise.
5012 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5013 * sysdeps/wordsize-32/Makefile: Remove file.
5014 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5015 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5016
5017 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
5018
5019 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5020 (TEST_FUNCTION_ARGV): New.
5021
5022 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5023
5024 * elf/next.c: Import support/test-driver.c instead of
5025 test-skeleton.c and delete TEST_FUNCTION macro definition.
5026 * elf/nodelete.c: Likewise.
5027 * elf/order2.c: Likewise.
5028 * elf/tst-_dl_addr_inside_object.c: Likewise.
5029 * elf/tst-addr1.c: Likewise.
5030 * elf/tst-align.c: Likewise.
5031 * elf/tst-align2.c: Likewise.
5032 * elf/tst-audit11.c: Likewise.
5033 * elf/tst-audit12.c: Likewise.
5034 * elf/tst-audit2.c: Likewise.
5035 * elf/tst-audit9.c: Likewise.
5036 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5037 * elf/tst-deep1.c: Likewise.
5038 * elf/tst-dl-iter-static.c: Likewise.
5039 * elf/tst-dlmodcount.c: Likewise.
5040 * elf/tst-dlmopen1.c: Likewise.
5041 * elf/tst-dlmopen2.c: Likewise.
5042 * elf/tst-dlmopen3.c: Likewise.
5043 * elf/tst-dlopen-aout.c: Likewise.
5044 * elf/tst-dlopenrpath.c: Likewise.
5045 * elf/tst-dlsym-error.c: Likewise.
5046 * elf/tst-execstack-needed.c: Likewise.
5047 * elf/tst-execstack-prog.c: Likewise.
5048 * elf/tst-execstack.c: Likewise.
5049 * elf/tst-global1.c: Likewise.
5050 * elf/tst-gnu2-tls1.c: Likewise.
5051 * elf/tst-latepthread.c: Likewise.
5052 * elf/tst-leaks1.c: Likewise.
5053 * elf/tst-linkall-static.c: Likewise.
5054 (do_test): New function.
5055 * elf/tst-nodelete-opened.c: Likewise.
5056 * elf/tst-nodelete.cc: Likewise.
5057 * elf/tst-nodelete2.c: Likewise.
5058 * elf/tst-noload.c: Likewise.
5059 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5060 * elf/tst-order-main.c: Likewise.
5061 * elf/tst-pathopt.c: Likewise.
5062 * elf/tst-pie2.c: Likewise.
5063 * elf/tst-piemod1.c: Likewise.
5064 * elf/tst-prelink.c: Likewise.
5065 * elf/tst-protected1a.c: Likewise.
5066 * elf/tst-protected1b.c: Likewise.
5067 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5068 and define _GNU_SOURCE macro.
5069 (cmdline_process_function): New function.
5070 * elf/tst-relsort1.c: Likewise.
5071 * elf/tst-stackguard1.c: Likewise, import getopt.h,
5072 and define _GNU_SOURCE macro.
5073 (cmdline_process_function): New function.
5074 * elf/tst-thrlock.c: Likewise.
5075 * elf/tst-tls-dlinfo.c: Likewise.
5076 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5077 * elf/tst-tls1.c: Likewise.
5078 * elf/tst-tls10.c: Likewise.
5079 * elf/tst-tls11.c: Likewise.
5080 * elf/tst-tls12.c: Likewise.
5081 * elf/tst-tls13.c: Likewise.
5082 * elf/tst-tls14.c: Likewise.
5083 * elf/tst-tls15.c: Likewise.
5084 * elf/tst-tls16.c: Likewise.
5085 * elf/tst-tls17.c: Likewise.
5086 * elf/tst-tls18.c: Likewise.
5087 * elf/tst-tls19.c: Likewise.
5088 * elf/tst-tls2.c: Likewise.
5089 * elf/tst-tls3.c: Likewise.
5090 * elf/tst-tls4.c: Likewise.
5091 * elf/tst-tls5.c: Likewise.
5092 * elf/tst-tls6.c: Likewise.
5093 * elf/tst-tls7.c: Likewise.
5094 * elf/tst-tls8.c: Likewise.
5095 * elf/tst-tls9.c: Likewise.
5096 * elf/tst-tlsalign-extern.c: Likewise.
5097 * elf/tst-tlsalign.c: Likewise.
5098 * elf/tst-unique1.c: Likewise.
5099 * elf/tst-unique2.c: Likewise.
5100 * elf/vismain.c: Likewise.
5101
5102 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5103
5104 * string/test-strnlen.c (do_page_tests): New function
5105 to check length of strings ending at the page boundary.
5106 (test_main): Added call to the do_page_tests function.
5107
5108 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5109 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5110
5111 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5112 (sysdep_routines): Add strnlen-power8.
5113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5114 (strnlen): Add __strnlen_power8 to list of strnlen functions.
5115 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5116 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5117 (__strnlen): Add __strnlen_power8 to ifunc list.
5118 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5119
5120 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5121
5122 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5123 the TEST_FUNCTION macro definition.
5124 * wcsmbs/tst-mbrtowc2.c: Likewise.
5125 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5126 * wcsmbs/tst-wchar-h.c: Likewise.
5127 * wcsmbs/tst-wcpncpy.c: Likewise.
5128 * wcsmbs/tst-wcrtomb.c: Likewise.
5129 * wcsmbs/tst-wcsnlen.c: Likewise.
5130 * wcsmbs/tst-wcstof.c: Likewise.
5131
5132 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5133
5134 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5135 CALL_THREAD_FCT macro usage.
5136 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5137 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5138 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5139
5140 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5141 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5142 (__ASSUME_REQUEUE_PI): Likewise.
5143 * sysdeps/unix/sysv/linux/kernel-features.h
5144 (__ASSUME_REQUEUE_PI): Likewise.
5145 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5146 (__ASSUME_REQUEUE_PI): Likewise.
5147 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5148 (__ASSUME_REQUEUE_PI): Likewise.
5149 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5150 (__ASSUME_REQUEUE_PI): Likewise.
5151
5152 2017-04-04 Florian Weimer <fweimer@redhat.com>
5153
5154 * resolv/tst-resolv-canonname.c: New file.
5155 * resolv/Makefile (tests): Add tst-resolv-canonname.
5156 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5157
5158 2017-04-04 Florian Weimer <fweimer@redhat.com>
5159
5160 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5161 Declare.
5162 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5163 (NS_MAXCDNAME): Remove definition.
5164 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5165 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5166 (NS_MAXCDNAME): Remove definition.
5167 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5168
5169 2017-04-04 Florian Weimer <fweimer@redhat.com>
5170
5171 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5172 call whose result is not used.
5173
5174 2017-04-04 Florian Weimer <fweimer@redhat.com>
5175
5176 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5177 * resolv/Makefile (tests): Add tst-ns_name.
5178 (tst-ns_name): Link with -lresolv.
5179 (tst-ns_name.out): Depend on the input data file.
5180
5181 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5182
5183 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5184 Clobber also r14.
5185
5186 2017-04-03 Mike Frysinger <vapier@gentoo.org>
5187
5188 [BZ #21253]
5189 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5190 slack space by 32KiB.
5191
5192 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
5193
5194 [BZ #21338]
5195 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5196 instead of incorrect do_set_arena_test
5197
5198 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5199
5200 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5201 * math/bits/math-finite.h: Likewise.
5202
5203 2017-03-31 Slava Barinov <v.barinov@samsung.com>
5204
5205 [BZ #21289]
5206 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5207
5208 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5209
5210 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5211 non expected inotify_add_watch and quotactl return.
5212
5213 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5214
5215 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5216 to int32_t.
5217 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5218 as returning int32_t.
5219
5220 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5221
5222 * math/math.h: Include bits/math-finite.h once per
5223 floating-point type.
5224 * math/bits/math-finite.h: Macroize all declarations by
5225 floating-point type.
5226
5227 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5228
5229 [BZ #21182]
5230 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5231 near end of a page.
5232 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5233 overflow calculation.
5234
5235 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
5236
5237 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5238 (IMPL) Call with 1 instead of 0 as argument.
5239
5240 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5241
5242 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5243 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5244 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5245 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5246 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5247 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5248 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5249 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5250 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5251 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5252 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5253 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5254 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5255 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5256 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5257 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5258 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5259 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5260 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5261 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5262 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5263 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5264 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5265 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5266 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5267 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5268 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5269 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5270 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5271 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5272 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5273 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5274 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5275 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5276 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5277 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5278 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5279 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5280 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5281 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5282 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5283 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5284 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5285 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5286 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5287 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5288 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5289 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5290 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5291 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5292 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5295 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5297 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5298 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5299 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5300 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5301 defined.
5302 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5303 __NR_setgroups32 if defined.
5304 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5305 if defined.
5306 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5307 __NR_setresgid32 is defined.
5308 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5309 __NR_setresuid32 if defined.
5310 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5311 __NR_setreuid32 if defined.
5312 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5313 defined.
5314 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5315 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5316 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5317 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5318 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5319 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5320 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5321 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5322 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5323 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5324 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5325 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5326 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5327 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5328 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5329 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5330 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5331 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5332 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5333 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5334 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5335 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5336 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5337 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5338 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5339 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5340 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5341 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5342 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5343 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5344 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5345 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5346 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5347 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5348 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5349 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5350 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5351 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5352 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5353 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5354 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5355 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5356 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5357 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5358 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5359 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5360 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5361 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5362 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5363 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5364 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5365 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5366 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5367 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5368 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5369 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5370 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5371 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5372 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5373 defined.
5374 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5375 __NR_setgroups32 if defined.
5376 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5377 if defined.
5378 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5379 __NR_setresgid32 is defined.
5380 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5381 __NR_setresuid32 if defined.
5382 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5383 __NR_setreuid32 if defined.
5384 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5385 defined.
5386
5387 2017-03-27 Joseph Myers <joseph@codesourcery.com>
5388
5389 [BZ #21277]
5390 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5391 unconditionally.
5392 (IMAXBEL): Likewise.
5393 (IUTF8): Likewise.
5394
5395 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
5396
5397 * sysdeps/aarch64/libm-test-ulps: Update.
5398
5399 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
5400
5401 * README.tunables: Updated descriptions.
5402 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5403 * scripts/gen-tunables.awk: Updated the code related to the
5404 commit.
5405
5406 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
5407
5408 * benchtests/Makefile (string-benchset): Add memcpy-random.
5409 * benchtests/bench-memcpy-random.c: New file.
5410
5411 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5412
5413 * stdio-common/printf.h (register_printf_modifier): Change the
5414 order of __wur and __THROW.
5415 (register_printf_type): Likewise.
5416
5417 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5418
5419 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5420 test_main ().
5421 (CMDLINE_PROCESS): Use function instead of defined macro.
5422 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5423 <suppport/support.h> to use set_fortify_handler().
5424 * string/bug-envz1.c: Import support/test-driver.c instead of
5425 test-skeleton.c.
5426 * string/bug-strcoll2.c: Likewise.
5427 * string/bug-strtok1.c: Likewise.
5428 * string/stratcliff.c: Likewise.
5429 * string/test-ffs.c: Likewise.
5430 * string/test-memccpy.c: Likewise.
5431 * string/test-memchr.c: Likewise.
5432 * string/test-memcmp.c: Likewise.
5433 * string/test-memcpy.c: Likewise.
5434 * string/test-memmem.c: Likewise.
5435 * string/test-memmove.c: Likewise.
5436 * string/test-memrchr.c: Likewise.
5437 * string/test-memset.c: Likewise.
5438 * string/test-rawmemchr.c: Likewise.
5439 * string/test-strcasecmp.c: Likewise.
5440 * string/test-strcasestr.c: Likewise.
5441 * string/test-strcat.c: Likewise.
5442 * string/test-strchr.c: Likewise.
5443 * string/test-strcmp.c: Likewise.
5444 * string/test-strcpy.c: Likewise.
5445 * string/test-string.h: Likewise.
5446 * string/test-strlen.c: Likewise.
5447 * string/test-strncasecmp.c: Likewise.
5448 * string/test-strncat.c: Likewise.
5449 * string/test-strncmp.c: Likewise.
5450 * string/test-strncpy.c: Likewise.
5451 * string/test-strnlen.c: Likewise.
5452 * string/test-strpbrk.c: Likewise.
5453 * string/test-strrchr.c: Likewise.
5454 * string/test-strspn.c: Likewise.
5455 * string/test-strstr.c: Likewise.
5456 * string/tst-bswap.c: Likewise.
5457 * string/tst-cmp.c: Likewise.
5458 * string/tst-endian.c: Likewise.
5459 * string/tst-inlcall.c: Likewise.
5460 * string/tst-strcoll-overflow.c: Likewise.
5461 * string/tst-strfry.c: Likewise.
5462 * string/tst-strlen.c: Likewise.
5463 * string/tst-strtok.c: Likewise.
5464 * string/tst-strtok_r.c: Likewise.
5465 * string/tst-strxfrm.c: Likewise.
5466 * string/tst-strxfrm2.c: Likewise.
5467 * string/tst-svc.c: Likewise.
5468 * string/tst-svc2.c: Likewise.
5469
5470 2017-03-22 Zack Weinberg <zackw@panix.com>
5471
5472 * stdio-common/bug25.c: Include stdlib.h.
5473 * support/tst-support_format_dns_packet.c: Include stdio.h,
5474 stdlib.h, and string.h.
5475 * support/tst-support_record_failure.c: Include string.h.
5476 * support/tst-support_record_failure-2.sh: Adjust line number
5477 expectations and correct a typo in an error message.
5478
5479 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
5480
5481 [BZ #21258]
5482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5483 Define only if _dl_runtime_resolve is defined to
5484 _dl_runtime_resolve_sse_vex.
5485 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5486 Fallthrough to _dl_runtime_resolve_sse_vex.
5487
5488 2017-03-21 Joseph Myers <joseph@codesourcery.com>
5489
5490 * INSTALL: Regenerated.
5491
5492 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
5493
5494 * config.h.in: Add LINK_OBSOLETE_NSL.
5495 * config.make.in: Add build-obsolete-nsl.
5496 * configure.ac: Add obsolete-nsl option.
5497 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5498 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5499 * include/rpcsvc/nislib.h: Likewise.
5500 * include/rpcsvc/ypclnt.h: Likewise.
5501 * manual/install.texi: Document --enable-obsolete-nsl.
5502 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5503 * nis/nis_add.c: Replace libnsl_hidden_def with
5504 libnsl_hidden_nolink_def.
5505 * nis/nis_addmember.c: Likewise.
5506 * nis/nis_call.c: Likewise.
5507 * nis/nis_clone_obj.c: Likewise.
5508 * nis/nis_defaults.c: Likeise.
5509 * nis/nis_domain_of_r.c: Likewise.
5510 * nis/nis_error.c: Likewise.
5511 * nis/nis_file.c: Likewise.
5512 * nis/nis_free.c: Likewise.
5513 * nis_local_names.c: Likewise.
5514 * nis/nis_lookup.c: Likewise.
5515 * nis/nis_modify.c: Likewise.
5516 * nis/nis_print.c: Likewise.
5517 * nis/nis_remove.c: Likewise.
5518 * nis/nis_table.c: Likewise.
5519 * nis/nis_util.c: Likewise.
5520 * nis/nis_xdr.c: Likewise.
5521 * nis/yp_xdr.c: Likewise.
5522 * nis/ypclnt.c: Likewise.
5523 * nis/ypupdate_xdr.c: Likewise.
5524 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5525 * nis/nis_clone_dir.c: Likewise.
5526 * nis/nis_clone_res.c: Likewise.
5527 * nis/nis_creategroup.c: Likewise.
5528 * nis/nis_destroygroup.c: Likewise.
5529 * nis/nis_domain_of.c: Likewise.
5530 * nis/nis_getservlist.c: Likewise.
5531 * nis/nis_ismember.c: Likewise.
5532 * nis/nis_mkdir.c: Likewise.
5533 * nis/nis_ping.c: Likewise.
5534 * nis/nis_print_group_entry.c: Likewise.
5535 * nis/nis_removemember.c: Likewise.
5536 * nis/nis_rmdir.c: Likewise.
5537 * nis/nis_server.c: Likewise.
5538 * nis/nis_subr.c: Likewise.
5539 * nis/nis_verifygroup.c: Likewise.
5540
5541 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5542
5543 * malloc/tst-interpose-aux.c (check_for_allocations):
5544 Move compiler barrier before free.
5545
5546 2017-03-20 Joseph Myers <joseph@codesourcery.com>
5547
5548 [BZ #21279]
5549 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5550 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5551 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5552 x86_64-x32-linux.
5553 (mq_attr.mq_maxmsg): Likewise.
5554 (mq_attr.mq_msgsize): Likewise.
5555 (mq_attr.mq_curmsgs): Likewise.
5556
5557 [BZ #21278]
5558 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5559 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5560 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5561 mips-o32-linux.
5562
5563 [BZ #21268]
5564 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5565 if [__USE_MISC]
5566 (NL3): Likewise.
5567
5568 2017-03-20 Mike Frysinger <vapier@gentoo.org>
5569
5570 [BZ #21275]
5571 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5572 __stack to __stackbase.
5573 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5574 checks so we can include defined(__ia64__) first.
5575
5576 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
5577
5578 * sysdeps/unix/sysv/linux/ttyname.h: New file.
5579 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5580 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5581 Call is_pty when the link does not exist or does not match, fail
5582 with ENODEV when it returns true.
5583 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5584 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5585 Call is_pty when the link does not exist or does not match, fail
5586 with ENODEV when it returns true.
5587
5588 2017-03-18 Joseph Myers <joseph@codesourcery.com>
5589
5590 [BZ #16437]
5591 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5592 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5593 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5594 x86_64-x32-linux.
5595 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5596 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5597 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5598
5599 [BZ #21261]
5600 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5601 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5602 names for all fields.
5603 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5604 for jmp_buf field renaming.
5605 (_JMPBUF_UNWINDS_ADJ): Likewise.
5606
5607 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5608 with allow-header.
5609
5610 2017-03-17 Chris Evans <scarybeasts@gmail.com>
5611
5612 * malloc/malloc.c (unlink): Add consistency check between size and
5613 next->prev->size, to further harden against 1-byte overflows.
5614
5615 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
5616
5617 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5618 CPU_FEATURES_CPU_P.
5619
5620 2017-03-17 Joseph Myers <joseph@codesourcery.com>
5621
5622 [BZ #21259]
5623 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5624 unconditionally, not just for [__USE_MISC].
5625
5626 [BZ #17786]
5627 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5628 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5629 mips-o32-linux.
5630
5631 [BZ #21260]
5632 * sysdeps/unix/sysv/linux/alpha/Makefile
5633 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5634 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5635
5636 * conform/conformtest.pl ($cross): New variable.
5637 (--cross): New command-line option.
5638 (runtest): Skip test execution when cross-compiling.
5639 * conform/Makefile (conformtest-cross): New variable.
5640 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5641 conformtest.pl.
5642
5643 * conform/conformtest.pl ($xfail_str): New variable.
5644 (--xfail=): New command-line option.
5645 (top level): Handle expectations starting xfail[cond]-.
5646 * conform/Makefile (conformtest-xfail): New variable.
5647 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5648 conformtest.pl.
5649
5650 2017-03-16 Joseph Myers <joseph@codesourcery.com>
5651
5652 * conform/conformtest.pl: Use compilation instead of execution
5653 tests for testing values of constants and usability in #if.
5654
5655 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5656
5657 * math/auto-libm-test-in: Mark some catan and catanh as
5658 xfail-rounding:ibm128-libgcc.
5659 * math/auto-libm-test-out-catan: Regenerate.
5660 * math/auto-libm-test-out-catanh: Likewise.
5661
5662 2017-03-16 Joseph Myers <joseph@codesourcery.com>
5663
5664 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5665 (__END_NAMESPACE_STD): Likewise.
5666 (__USING_NAMESPACE_STD): Likewise.
5667 (__BEGIN_NAMESPACE_C99): Likewise.
5668 (__END_NAMESPACE_C99): Likewise.
5669 (__USING_NAMESPACE_C99): Likewise.
5670 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5671 undefine macro.
5672 (_Mdouble_END_NAMESPACE): Likewise.
5673 * ctype/ctype.h: Do not handle C++ namespaces.
5674 * libio/bits/stdio-ldbl.h: Likewise.
5675 * libio/stdio.h: Likewise.
5676 * locale/locale.h: Likewise.
5677 * math/bits/mathcalls.h: Likewise.
5678 * setjmp/setjmp.h: Likewise.
5679 * signal/signal.h: Likewise.
5680 * stdlib/bits/stdlib-float.h: Likewise.
5681 * stdlib/bits/stdlib-ldbl.h: Likewise.
5682 * stdlib/stdlib.h: Likewise.
5683 * string/string.h: Likewise.
5684 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5685 * time/bits/types/clock_t.h: Likewise.
5686 * time/bits/types/struct_tm.h: Likewise.
5687 * time/bits/types/time_t.h: Likewise.
5688 * time/time.h: Likewise.
5689 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5690 * wcsmbs/uchar.h: Likewise.
5691 * wcsmbs/wchar.h: Likewise.
5692 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5693 * wctype/wctype.h: Do not handle C++ namespaces.
5694 * scripts/begin-end-check.pl: Remove.
5695 * Makefile (installed-headers): Likewise.
5696 (tests-special): Do not add $(objpfx)begin-end-check.out.
5697 ($(objpfx)begin-end-check.out): Remove.
5698
5699 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
5700 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5701
5702 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5703 (DL_PLATFORM_INIT): New define.
5704 (dl_platform_init): New function.
5705 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5706 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5707 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5708 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5709 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5710
5711 2017-03-15 Mike Frysinger <vapier@gentoo.org>
5712
5713 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5714 instead of PIC.
5715
5716 2017-03-15 Joseph Myers <joseph@codesourcery.com>
5717
5718 [BZ #21094]
5719 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5720 24+24+24-bit pi for wider range of values around pi/2.
5721 * math/auto-libm-test-in: Add more tests of cos and tan.
5722 * math/auto-libm-test-out-cos: Regenerated.
5723 * math/auto-libm-test-out-tan: Likewise.
5724
5725 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
5726
5727 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
5728 (RTLD_START): Don't record stack end address in _dl_start_user.
5729
5730 2017-03-15 Alexey Neyman <stilor@att.net>
5731
5732 [BZ #21088]
5733 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
5734 around definitions match those around use.
5735
5736 2017-03-15 Alexey Neyman <stilor@att.net>
5737
5738 * configure.ac: Avoid empty subexpression in grep.
5739 * configure: Regenerate.
5740
5741 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5742
5743 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
5744 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
5745 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
5746 (test_wrp_rv): Fix format.
5747 (test_wrp_rv2): New macro.
5748 (do_test): Handle mlock return on 64 bits kernels with 32 bits
5749 binaries.
5750
5751 2017-03-15 Joseph Myers <joseph@codesourcery.com>
5752
5753 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
5754 Use a union when storing pointers.
5755 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
5756 cast result when passing to INIT_VEC_PTRS_LOOP.
5757 (VECTOR_WRAPPER_fFF_3): Likewise.
5758 (VECTOR_WRAPPER_fFF_4): Likewise.
5759
5760 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5761
5762 * include/bits/mathcalls-helper-functions.h: New file.
5763 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
5764 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
5765 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
5766 math/bits/mathcalls-helper-functions.h.
5767 * math/bits/mathcalls-helper-functions.h: New file.
5768 * math/math.h: Include bits/mathcalls-helper-functions.h for
5769 float, double, and long double.
5770
5771 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5772
5773 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
5774 instead of feraiseexcept.
5775
5776 2017-03-15 Florian Weimer <fweimer@redhat.com>
5777
5778 [BZ #21243]
5779 * support/temp_file.c (support_delete_temp_files): Add comment
5780 about ignored errors.
5781
5782 2017-03-15 Florian Weimer <fweimer@redhat.com>
5783
5784 [BZ #21244]
5785 * support/xclose.c: New file.
5786 * support/Makefile (libsupport-routines): Add xclose.
5787 * support/xunistd.h (xclose): Declare.
5788 * support/resolv_test.c (server_thread_tcp_client)
5789 (server_thread_tcp, make_server_sockets, resolv_test_start)
5790 (resolv_test_end): Call xclose instead of close.
5791 * support/support_enter_network_namespace.c
5792 (support_enter_network_namespace): Likewise.
5793 * support/support_run_diff.c (write_to_temp_file): Likewise.
5794
5795 2017-03-15 Florian Weimer <fweimer@redhat.com>
5796
5797 * support/support_format_dns_packet.c (support_format_dns_packet):
5798 Handle CNAME records in the response. Extract RDATA names from
5799 rdata, not the whole packet. Check AAAA record length.
5800 * support/tst-support_format_dns_packet.c: New file.
5801 * support/Makefile (tests): Add tst-support_format_dns_packet.
5802 (tst-support_format_dns_packet): Link against libresolv.
5803
5804 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5805
5806 [BZ #21232]
5807 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
5808 posix_fadvise64 weak_alias for static build.
5809
5810 2017-03-14 Andreas Schwab <schwab@suse.de>
5811
5812 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
5813 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
5814 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
5815 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
5816 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
5817 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
5818 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
5819 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
5820
5821 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
5822
5823 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
5824 posix error code.
5825 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5826
5827 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5828
5829 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
5830 no_isolate usage for SH.
5831
5832 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
5833
5834 [BZ #15105]
5835 [BZ #19463]
5836 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
5837 * inet/rcmd.c (rcmd_af): Likewise.
5838 * inet/rexec.c (rexec_af): Likewise.
5839 * intl/dcigettext.c (_LIBC): Likewise.
5840 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
5841 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
5842 * locale/setlocale.c (setlocale): Likewise.
5843 * posix/spawn_faction_addopen.c
5844 (posix_spawn_file_actions_addopen): Likewise.
5845 * stdlib/putenv.c (putenv): Use __strndup.
5846 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
5847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
5848 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
5849 (__Need_M_And_C) Remove define/undef.
5850 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
5851 (__malloc_and_calloc_defined): Remove define.
5852 * string/bits/string2.h (__strdup): Remove define.
5853 (strdup): Likewise.
5854 (__strndup): Likewise.
5855 (strndup): Likewise.
5856
5857 2017-03-13 Joseph Myers <joseph@codesourcery.com>
5858
5859 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
5860 macro.
5861 (IPV6_ADDR_PREFERENCES): Likewise.
5862 (IPV6_MINHOPCOUNT): Likewise.
5863 (IPV6_ORIGDSTADDR): Likewise.
5864 (IPV6_RECVORIGDSTADDR): Likewise.
5865 (IPV6_TRANSPARENT): Likewise.
5866 (IPV6_UNICAST_IF): Likewise.
5867 (IPV6_RECVFRAGSIZE): Likewise.
5868
5869 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
5870
5871 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
5872
5873 2017-03-12 Alexey Neyman <stilor@att.net>
5874
5875 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
5876 in R_SH_DIR32 case is always false when inlined from
5877 dl-conflict.c. Ifdef out to prevent GCC from insertin an
5878
5879 2016-03-12 Marko Myllynen <myllynen@redhat.com>
5880
5881 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5882 (__ASSUME_RECV_SYSCALL): Replace duplicate by
5883 __ASSUME_SEND_SYSCALL.
5884
5885 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
5886
5887 * sunrpc/Makefile: don't build and install rpcsvc header
5888 files, rpcgen and librpcsvc.a by default.
5889
5890 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
5891
5892 * math/auto-libm-test-out-catan: Regenerated.
5893 * math/auto-libm-test-out-catanh: Likewise.
5894 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5895
5896 2017-03-09 Joseph Myers <joseph@codesourcery.com>
5897
5898 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
5899 for long double with corrected test expectations.
5900
5901 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5902
5903 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
5904 Define.
5905 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5906 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
5907 * sysdeps/unix/sysv/linux/nios2/sysdep.h
5908 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5909 * sysdeps/unix/sysv/linux/tile/sysdep.h
5910 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5912 (__ASSUME_RECV_SYSCALL): Define.
5913 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5914 (__ASSUME_RECV_SYSCALL): Likewise.
5915 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5916 (__ASSUME_RECV_SYSCALL): Likewise.
5917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5918 (__ASSUME_RECV_SYSCALL): Likewise.
5919 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5920 (__ASSUME_RECV_SYSCALL): Likewise.
5921 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5922 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
5923 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5924 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5925 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5926 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5927 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
5928 auto-generation list.
5929 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5930 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5931 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
5932 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5933 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5934 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
5935 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
5936 __ASSUME_SENDTO_SYSCALL.
5937 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
5938 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
5939 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
5940
5941 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
5942 auto-generation list.
5943 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5944 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5945 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5946 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5947 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5948 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5949 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5950 * sysdeps/unix/sysv/linux/kernel-features.h
5951 (__ASSUME_SENDTO_SYSCALL): Define by default.
5952 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5953 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
5954 __NR_sendto.
5955 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5956 (__ASSUME_SENDTO_SYSCALL): Likewise.
5957 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5958 (__ASSUME_SENDTO_SYSCALL): Likewise.
5959 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5960 (__ASSUME_SENDTO_SYSCALL): Remove definition.
5961 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5962 (__ASSUME_SENDTO_SYSCALL): Likewise.
5963 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
5964 (__ASSUME_SENDTO_SYSCALL): Likewise.
5965 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
5966
5967 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
5968 auto-generation list.
5969 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5970 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5971 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5972 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5973 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5975 (__ASSUME_RECV_SYSCALL): New define.
5976 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5977 (__ASSUME_RECV_SYSCALL): Likewise.
5978 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5979 (__ASSUME_RECV_SYSCALL): Likewise.
5980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5981 (__ASSUME_RECV_SYSCALL): Likewise.
5982 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5983 (__ASSUME_RECV_SYSCALL): Likewise.
5984 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5985 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5986 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5987 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5988 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5989 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5990 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
5991 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
5992 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
5993 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
5994 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
5995 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
5996
5997 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
5998 auto-generation list.
5999 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6000 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6001 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6002 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6003 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6004 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6005 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6006 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6007 (__ASSUME_RECVFROM_SYSCALL): Define by default.
6008 * sysdeps/unix/sysv/linux/kernel-features.h
6009 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6010 __NR_recvfrom.
6011 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6012 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6013 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6014 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6016 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6017 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6018 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6019 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6020 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6022 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6023 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6024
6025 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6026 auto-generation list.
6027 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6028 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6029 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6030 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6031 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6032 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6033 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6034 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6035 * sysdeps/unix/sysv/linux/kernel-features.h
6036 (__ASSUME_CONNECT_SYSCALL): Define.
6037 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6038 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6039 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6040 (__ASSUME_CONNECT_SYSCALL): Likewise.
6041 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6042 (__ASSUME_CONNECT_SYSCALL): Likewise.
6043 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6044 (__ASSUME_CONNECT_SYSCALL): Likewise.
6045
6046 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6047 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6048 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6049 auto-generation list.
6050 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6051 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6052 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6053 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6054 * sysdeps/unix/sysv/linux/mips/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/i386/kernel-features.h
6058 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6059 (__ASSUME_ACCEPT_SYSCALL): Undefine.
6060 * sysdeps/unix/sysv/linux/kernel-features.h
6061 (__ASSUME_ACCEPT_SYSCALL): New define.
6062 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6063 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6064 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6065 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6066 (__ASSUME_ACCEPT_SYSCALL): Define.
6067 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6068 (__ASSUME_ACCEPT_SYSCALL): Undefine.
6069 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6070 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6071 (__ASSUME_ACCEPT_SYSCALL): Undefine.
6072 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6073 (__ASSUME_ACCEPT_SYSCALL): Undefine.
6074 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6075 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6076
6077 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
6078 Zack Weinberg <zackw@panix.com>
6079
6080 * posix/test-errno.c: New file.
6081 * posix/Makefile (tests): Add test-errno.
6082 * sysdeps/unix/sysv/linux/test-errno.c: New file.
6083 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6084
6085 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
6086
6087 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6088
6089 2017-03-07 Florian Weimer <fweimer@redhat.com>
6090
6091 * time/tzset.c (compute_offset): Open-code min macro.
6092 (min, max, sign): Remove.
6093
6094 2017-03-07 Florian Weimer <fweimer@redhat.com>
6095
6096 [BZ #15576]
6097 Remove TZNAME_MAX limit from sysconf.
6098 * include/time.h (__tzname_cur_max, __tzname_max): Remove
6099 declaration.
6100 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6101 compute_tzname_max.
6102 (compute_tzname_max): Remove.
6103 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6104 (update_vars): Do not update __tzname_cur_max.
6105 (tzset_internal): Remove argument.
6106 (__tzset): Adjust call to tzset_internal.
6107 (__tz_convert): Likewise.
6108
6109 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6110 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6111 * manual/conf.texi (Sysconf Definition): Update comment.
6112
6113 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
6114
6115 [BZ #21209]
6116 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6117 AT_SECURE processes.
6118 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6119 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6120 (test_child): Likewise.
6121 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6122
6123 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6124
6125 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6126
6127 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6128
6129 * sysdeps/s390/atomic-machine.h
6130 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6131 (__arch_compare_and_exchange_val_8_acq,
6132 __arch_compare_and_exchange_val_16_acq,
6133 __arch_compare_and_exchange_val_32_acq,
6134 __arch_compare_and_exchange_val_64_acq):
6135 Delete macro.
6136 (atomic_compare_and_exchange_val_acq,
6137 atomic_compare_and_exchange_val_rel,
6138 atomic_compare_and_exchange_bool_acq,
6139 catomic_compare_and_exchange_bool_acq,
6140 atomic_exchange_acq, atomic_exchange_rel,
6141 atomic_exchange_and_add_acq,
6142 atomic_exchange_and_add_rel,
6143 catomic_exchange_and_add, atomic_or_val,
6144 atomic_or, catomic_or, atomic_bit_test_set,
6145 atomic_and_val, atomic_and, catomic_and):
6146 Define macros with help of C11 atomic builtins.
6147
6148 2017-03-03 Justus Winter <justus@gnupg.org>
6149
6150 * sysdeps/mach/hurd/ftruncate64.c: New file.
6151 * sysdeps/mach/hurd/truncate64.c: Likewise.
6152
6153 2017-03-03 Florian Weimer <fweimer@redhat.com>
6154
6155 * time/tzfile.c (NOID): Do not define.
6156 * time/tzset.c (NOID): Likewise.
6157
6158 2017-03-03 Florian Weimer <fweimer@redhat.com>
6159
6160 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6161
6162 2017-03-02 Florian Weimer <fweimer@redhat.com>
6163
6164 * elf/get-dynamic-info.h: Remove header file inclusion guard.
6165
6166 2017-03-02 Florian Weimer <fweimer@redhat.com>
6167
6168 [BZ #21015]
6169 * manual/install.texi (Configuring and compiling): Document
6170 --enable-bind-now.
6171 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6172 (build-shlib-helper): Use $(LDFLAGS-lib.so).
6173 (format.lds): Likewise.
6174 [bind-now] (LDFLAGS-c.so): Remove.
6175 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6176 be R_X86_64_GLOB_DAT.
6177 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6178 relocation can be R_386_GLOB_DAT.
6179 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6180 relocaiton can be R_ALPHA_GLOB_DAT.
6181 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6182
6183 2017-03-01 Zack Weinberg <zackw@panix.com>
6184
6185 * include/libc-pointer-arith.h: New file. Define
6186 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6187 PTR_ALIGN_DOWN here.
6188 * include/libc-internal.h: Definitions of above macros
6189 moved from here. Don't include libc-diag.h anymore either.
6190 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6191 Don't include libc-internal.h.
6192
6193 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6194 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6195 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6196 * string/strcoll_l.c, sysdeps/nacl/brk.c
6197 * sysdeps/unix/clock_settime.c
6198 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6199 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6200 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6202 Don't include libc-internal.h.
6203
6204 * elf/get-dynamic-info.h, iconv/loop.c
6205 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6206 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6207 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6208 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6209 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6211 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6212 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6213 * sysdeps/ieee754/ldbl-128/k_tanl.c
6214 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6216 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6217 Include libc-diag.h instead of libc-internal.h.
6218
6219 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6220 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6221 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6222 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6223 * sysdeps/unix/sysv/linux/spawni.c
6224 * sysdeps/x86_64/nptl/tls.h:
6225 Include libc-pointer-arith.h instead of libc-internal.h.
6226
6227 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6228 * sysdeps/x86_64/atomic-machine.h:
6229 Add multiple include guard.
6230
6231 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6232 * string/strcasestr.c: No need to include config.h.
6233 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6234 sys/auxv.h. Don't include sysdep.h.
6235 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6236
6237 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
6238 DL_LOOKUP_ADDRESS.
6239 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6240 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6241 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6242 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6243 of ARTIFICIAL_LIMIT.
6244 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6245 declaration of __clone2.
6246
6247 2017-02-28 Florian Weimer <fweimer@redhat.com>
6248
6249 * scripts/backport-support.sh (latest_commit): New file.
6250
6251 2017-02-28 Florian Weimer <fweimer@redhat.com>
6252
6253 [BZ #20257]
6254 * inet/Makefile (routines): Add deadline.
6255 (tests-static): Add tst-deadline.
6256 * inet/net-internal.h (struct deadline_current_time)
6257 (__deadline_current_time, struct deadline, __deadline_is_infinite)
6258 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6259 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6260 * inet/deadline.c: New file.
6261 * inet/tst-deadline.c: Likewise.
6262 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6263 tst-udp-timeout, tst-udp-garbage.
6264 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6265 explicitly.
6266 (tst-udp-garbage): Likewise. Also link against thread library.
6267 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6268 struct layout is part of the ABI.
6269 (clntudp_call): Rework timeout handling.
6270 * sunrpc/tst-udp-garbage.c: New file.
6271 * sunrpc/tst-udp-nonblocking.c: Likewise.
6272 * sunrpc/tst-udp-timeout.c: Likewise.
6273
6274 2017-02-28 Florian Weimer <fweimer@redhat.com>
6275
6276 [BZ #5010]
6277 * sunrpc/svc.c (svc_is_mapped): Remove.
6278 (svc_unregister): Obtain mapped status while the service is still
6279 registered.
6280 * sunrpc/Makefile [have-thread-library] (tests): Add
6281 tst-svc_register.
6282 (tst-svc_register): Link against libc.so explicitly and the thread
6283 library.
6284 * sunrpc/tst-svc_register.c: New file.
6285
6286 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
6287
6288 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6289 * sysdeps/pthread/bits/sigthread.h: Likewise.
6290
6291 2017-02-27 Florian Weimer <fweimer@redhat.com>
6292
6293 [BZ #21115]
6294 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6295 * sunrpc/Makefile (tests): Add tst-udp-error.
6296 (tst-udp-error): Link against libc.so explicitly.
6297 * sunrpc/tst-udp-error: New file.
6298
6299 2017-02-25 Zack Weinberg <zackw@panix.com>
6300
6301 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6302 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6303
6304 * sysdeps/generic/math_ldbl.h
6305 * sysdeps/ia64/fpu/math_ldbl.h
6306 * sysdeps/ieee754/ldbl-128/math_ldbl.h
6307 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6308 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6309 * sysdeps/powerpc/fpu/math_ldbl.h
6310 * sysdeps/x86_64/fpu/math_ldbl.h:
6311 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
6312 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6313 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
6314 Add copyright notices.
6315
6316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6317 Don't use EXTRACT_WORDS64.
6318
6319 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6320 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6321 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6322 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6323 Include math_ldbl.h, not math_private.h.
6324
6325 2017-02-25 Zack Weinberg <zackw@panix.com>
6326
6327 * include/libc-diag.h: New file. Define ignore_value,
6328 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6329 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6330
6331 * include/libc-internal.h: Definitions of above macros moved from
6332 here. Include libc-diag.h. Add copyright notice.
6333
6334 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6335 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6336 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6337 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6338 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6339 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6340 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6341 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6342 Include libc-diag.h instead of libc-internal.h.
6343
6344 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
6345 call to unsetenv (NULL).
6346 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
6347 call to pthread_mutexattr_destroy (NULL).
6348
6349 2017-02-25 Zack Weinberg <zackw@panix.com>
6350
6351 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6352 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6353 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
6354 gets was removed from C++ in C++14.
6355 * include/stdio.h: Remove redundant declaration of gets.
6356 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6357 be declared, since we are testing it.
6358 * stdio-common/Makefile (tst-gets.c): Compile with
6359 -Wno-deprecated-declarations.
6360 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6361 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6362 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6363 Compile with -Wno-deprecated-declarations.
6364
6365 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6366
6367 * math/libm-test-support.c (check_ulp): Use LIT() around literal
6368 numbers.
6369
6370 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6371
6372 * resolv/tst-resolv-qtypes.c (domain):
6373 Change type to const pointer to const char.
6374
6375 2017-02-24 Joseph Myers <joseph@codesourcery.com>
6376
6377 * math/Makefile (libm-tests-generated): Remove variable.
6378 (libm-tests-base-normal): New variable.
6379 (libm-tests-base-finite): Likewise.
6380 (libm-tests-base-inline): Likewise.
6381 (libm-tests-base): Likewise.
6382 (libm-tests-normal): Likewise.
6383 (libm-tests-finite): Likewise.
6384 (libm-tests-inline): Likewise.
6385 (libm-tests-vector): Likewise.
6386 (libm-tests): Define in terms of these new variables.
6387 (libm-tests-for-type): New variable.
6388 (libm-tests.o): Move definition.
6389 (tests): Move addition of $(libm-tests).
6390 (generated): Update for new and removed libm test files.
6391 ($(objpfx)libm-test.c): Remove target.
6392 ($(objpfx)libm-have-vector-test.h): Likewise.
6393 (CFLAGS-test-double-vlen2.c): Remove variable.
6394 (CFLAGS-test-double-vlen4.c): Likewise.
6395 (CFLAGS-test-double-vlen8.c): Likewise.
6396 (CFLAGS-test-float-vlen4.c): Likewise.
6397 (CFLAGS-test-float-vlen8.c): Likewise.
6398 (CFLAGS-test-float-vlen16.c): Likewise.
6399 (CFLAGS-test-float.c): Likewise.
6400 (CFLAGS-test-float-finite.c): Likewise.
6401 (CFLAGS-libm-test-support-float.c): Likewise.
6402 (CFLAGS-test-double.c): Likewise.
6403 (CFLAGS-test-double-finite.c): Likewise.
6404 (CFLAGS-libm-test-support-double.c): Likewise.
6405 (CFLAGS-test-ldouble.c): Likewise.
6406 (CFLAGS-test-ldouble-finite.c): Likewise.
6407 (CFLAGS-libm-test-support-ldouble.c): Likewise.
6408 (libm-test-inline-cflags): New variable.
6409 (CFLAGS-test-ifloat.c): Remove variable.
6410 (CFLAGS-test-idouble.c): Likewise.
6411 (CFLAGS-test-ildouble.c): Likewise.
6412 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6413 dependencies.
6414 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6415 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6416 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6417 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6418 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6419 Likewise.
6420 (dependencies on libm-test-support-*.o): Remove.
6421 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6422 rules using iterators.
6423 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6424 Likewise.
6425 ($(objpfx)libm-test-support-$(o).o): Likewise.
6426 ($(addprefix $(objpfx),$(filter-out $(tests-static)
6427 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6428 instead.
6429 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6430 define rule instead.
6431 * math/README.libm-test: Update.
6432 * math/libm-test-acos.inc: Include libm-test-driver.c.
6433 (do_test): New function.
6434 * math/libm-test-acosh.inc: Include libm-test-driver.c.
6435 (do_test): New function.
6436 * math/libm-test-asin.inc: Include libm-test-driver.c.
6437 (do_test): New function.
6438 * math/libm-test-asinh.inc: Include libm-test-driver.c.
6439 (do_test): New function.
6440 * math/libm-test-atan.inc: Include libm-test-driver.c.
6441 (do_test): New function.
6442 * math/libm-test-atan2.inc: Include libm-test-driver.c.
6443 (do_test): New function.
6444 * math/libm-test-atanh.inc: Include libm-test-driver.c.
6445 (do_test): New function.
6446 * math/libm-test-cabs.inc: Include libm-test-driver.c.
6447 (do_test): New function.
6448 * math/libm-test-cacos.inc: Include libm-test-driver.c.
6449 (do_test): New function.
6450 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6451 (do_test): New function.
6452 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6453 (do_test): New function.
6454 * math/libm-test-carg.inc: Include libm-test-driver.c.
6455 (do_test): New function.
6456 * math/libm-test-casin.inc: Include libm-test-driver.c.
6457 (do_test): New function.
6458 * math/libm-test-casinh.inc: Include libm-test-driver.c.
6459 (do_test): New function.
6460 * math/libm-test-catan.inc: Include libm-test-driver.c.
6461 (do_test): New function.
6462 * math/libm-test-catanh.inc: Include libm-test-driver.c.
6463 (do_test): New function.
6464 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6465 (do_test): New function.
6466 * math/libm-test-ccos.inc: Include libm-test-driver.c.
6467 (do_test): New function.
6468 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6469 (do_test): New function.
6470 * math/libm-test-ceil.inc: Include libm-test-driver.c.
6471 (do_test): New function.
6472 * math/libm-test-cexp.inc: Include libm-test-driver.c.
6473 (do_test): New function.
6474 * math/libm-test-cimag.inc: Include libm-test-driver.c.
6475 (do_test): New function.
6476 * math/libm-test-clog.inc: Include libm-test-driver.c.
6477 (do_test): New function.
6478 * math/libm-test-clog10.inc: Include libm-test-driver.c.
6479 (do_test): New function.
6480 * math/libm-test-conj.inc: Include libm-test-driver.c.
6481 (do_test): New function.
6482 * math/libm-test-copysign.inc: Include libm-test-driver.c.
6483 (do_test): New function.
6484 * math/libm-test-cos.inc: Include libm-test-driver.c.
6485 (do_test): New function.
6486 * math/libm-test-cosh.inc: Include libm-test-driver.c.
6487 (do_test): New function.
6488 * math/libm-test-cpow.inc: Include libm-test-driver.c.
6489 (do_test): New function.
6490 * math/libm-test-cproj.inc: Include libm-test-driver.c.
6491 (do_test): New function.
6492 * math/libm-test-creal.inc: Include libm-test-driver.c.
6493 (do_test): New function.
6494 * math/libm-test-csin.inc: Include libm-test-driver.c.
6495 (do_test): New function.
6496 * math/libm-test-csinh.inc: Include libm-test-driver.c.
6497 (do_test): New function.
6498 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6499 (do_test): New function.
6500 * math/libm-test-ctan.inc: Include libm-test-driver.c.
6501 (do_test): New function.
6502 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6503 (do_test): New function.
6504 * math/libm-test-erf.inc: Include libm-test-driver.c.
6505 (do_test): New function.
6506 * math/libm-test-erfc.inc: Include libm-test-driver.c.
6507 (do_test): New function.
6508 * math/libm-test-exp.inc: Include libm-test-driver.c.
6509 (do_test): New function.
6510 * math/libm-test-exp10.inc: Include libm-test-driver.c.
6511 (do_test): New function.
6512 * math/libm-test-exp2.inc: Include libm-test-driver.c.
6513 (do_test): New function.
6514 * math/libm-test-expm1.inc: Include libm-test-driver.c.
6515 (do_test): New function.
6516 * math/libm-test-fabs.inc: Include libm-test-driver.c.
6517 (do_test): New function.
6518 * math/libm-test-fdim.inc: Include libm-test-driver.c.
6519 (do_test): New function.
6520 * math/libm-test-floor.inc: Include libm-test-driver.c.
6521 (do_test): New function.
6522 * math/libm-test-fma.inc: Include libm-test-driver.c.
6523 (do_test): New function.
6524 * math/libm-test-fmax.inc: Include libm-test-driver.c.
6525 (do_test): New function.
6526 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6527 (do_test): New function.
6528 * math/libm-test-fmin.inc: Include libm-test-driver.c.
6529 (do_test): New function.
6530 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6531 (do_test): New function.
6532 * math/libm-test-fmod.inc: Include libm-test-driver.c.
6533 (do_test): New function.
6534 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6535 (do_test): New function.
6536 * math/libm-test-frexp.inc: Include libm-test-driver.c.
6537 (do_test): New function.
6538 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6539 (do_test): New function.
6540 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6541 (do_test): New function.
6542 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6543 (do_test): New function.
6544 * math/libm-test-hypot.inc: Include libm-test-driver.c.
6545 (do_test): New function.
6546 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6547 (do_test): New function.
6548 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6549 (do_test): New function.
6550 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6551 (do_test): New function.
6552 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6553 (do_test): New function.
6554 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6555 (do_test): New function.
6556 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6557 (do_test): New function.
6558 * math/libm-test-isinf.inc: Include libm-test-driver.c.
6559 (do_test): New function.
6560 * math/libm-test-isless.inc: Include libm-test-driver.c.
6561 (do_test): New function.
6562 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6563 (do_test): New function.
6564 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6565 (do_test): New function.
6566 * math/libm-test-isnan.inc: Include libm-test-driver.c.
6567 (do_test): New function.
6568 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6569 (do_test): New function.
6570 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6571 (do_test): New function.
6572 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6573 (do_test): New function.
6574 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6575 (do_test): New function.
6576 * math/libm-test-iszero.inc: Include libm-test-driver.c.
6577 (do_test): New function.
6578 * math/libm-test-j0.inc: Include libm-test-driver.c.
6579 (do_test): New function.
6580 * math/libm-test-j1.inc: Include libm-test-driver.c.
6581 (do_test): New function.
6582 * math/libm-test-jn.inc: Include libm-test-driver.c.
6583 (do_test): New function.
6584 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6585 (do_test): New function.
6586 * math/libm-test-llogb.inc: Include libm-test-driver.c.
6587 (do_test): New function.
6588 * math/libm-test-llrint.inc: Include libm-test-driver.c.
6589 (do_test): New function.
6590 * math/libm-test-llround.inc: Include libm-test-driver.c.
6591 (do_test): New function.
6592 * math/libm-test-log.inc: Include libm-test-driver.c.
6593 (do_test): New function.
6594 * math/libm-test-log10.inc: Include libm-test-driver.c.
6595 (do_test): New function.
6596 * math/libm-test-log1p.inc: Include libm-test-driver.c.
6597 (do_test): New function.
6598 * math/libm-test-log2.inc: Include libm-test-driver.c.
6599 (do_test): New function.
6600 * math/libm-test-logb.inc: Include libm-test-driver.c.
6601 (do_test): New function.
6602 * math/libm-test-lrint.inc: Include libm-test-driver.c.
6603 (do_test): New function.
6604 * math/libm-test-lround.inc: Include libm-test-driver.c.
6605 (do_test): New function.
6606 * math/libm-test-modf.inc: Include libm-test-driver.c.
6607 (do_test): New function.
6608 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6609 (do_test): New function.
6610 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6611 (do_test): New function.
6612 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6613 (do_test): New function.
6614 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6615 (do_test): New function.
6616 * math/libm-test-nextup.inc: Include libm-test-driver.c.
6617 (do_test): New function.
6618 * math/libm-test-pow.inc: Include libm-test-driver.c.
6619 (do_test): New function.
6620 * math/libm-test-remainder.inc: Include libm-test-driver.c.
6621 (do_test): New function.
6622 * math/libm-test-remquo.inc: Include libm-test-driver.c.
6623 (do_test): New function.
6624 * math/libm-test-rint.inc: Include libm-test-driver.c.
6625 (do_test): New function.
6626 * math/libm-test-round.inc: Include libm-test-driver.c.
6627 (do_test): New function.
6628 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6629 (do_test): New function.
6630 * math/libm-test-scalb.inc: Include libm-test-driver.c.
6631 (do_test): New function.
6632 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6633 (do_test): New function.
6634 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6635 (do_test): New function.
6636 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6637 (do_test): New function.
6638 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6639 (do_test): New function.
6640 * math/libm-test-signbit.inc: Include libm-test-driver.c.
6641 (do_test): New function.
6642 * math/libm-test-significand.inc: Include libm-test-driver.c.
6643 (do_test): New function.
6644 * math/libm-test-sin.inc: Include libm-test-driver.c.
6645 (do_test): New function.
6646 * math/libm-test-sincos.inc: Include libm-test-driver.c.
6647 (do_test): New function.
6648 * math/libm-test-sinh.inc: Include libm-test-driver.c.
6649 (do_test): New function.
6650 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6651 (do_test): New function.
6652 * math/libm-test-tan.inc: Include libm-test-driver.c.
6653 (do_test): New function.
6654 * math/libm-test-tanh.inc: Include libm-test-driver.c.
6655 (do_test): New function.
6656 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6657 (do_test): New function.
6658 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6659 (do_test): New function.
6660 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6661 (do_test): New function.
6662 * math/libm-test-trunc.inc: Include libm-test-driver.c.
6663 (do_test): New function.
6664 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6665 (do_test): New function.
6666 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6667 (do_test): New function.
6668 * math/libm-test-y0.inc: Include libm-test-driver.c.
6669 (do_test): New function.
6670 * math/libm-test-y1.inc: Include libm-test-driver.c.
6671 (do_test): New function.
6672 * math/libm-test-yn.inc: Include libm-test-driver.c.
6673 (do_test): New function.
6674 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6675 (HAVE_VECTOR): Remove macro.
6676 (START): Do not call HAVE_VECTOR.
6677 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6678 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6679 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6680 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6681 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6682 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6683 * math/test-math-vector.h (FUNC_TEST): New macro.
6684 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6685 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6686 (double-vlen4-funcs): Likewise.
6687 (double-vlen4-avx2-funcs): Likewise.
6688 (double-vlen8-funcs): Likewise.
6689 (float-vlen4-funcs): Likewise.
6690 (float-vlen8-funcs): Likewise.
6691 (float-vlen8-avx2-funcs): Likewise.
6692 (float-vlen16-funcs): Likewise.
6693 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6694 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6695 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6696 macro.
6697 (TEST_VECTOR_sin): Likewise.
6698 (TEST_VECTOR_sincos): Likewise.
6699 (TEST_VECTOR_log): Likewise.
6700 (TEST_VECTOR_exp): Likewise.
6701 (TEST_VECTOR_pow): Likewise.
6702 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6703 Likewise.
6704 (TEST_VECTOR_sin): Likewise.
6705 (TEST_VECTOR_sincos): Likewise.
6706 (TEST_VECTOR_log): Likewise.
6707 (TEST_VECTOR_exp): Likewise.
6708 (TEST_VECTOR_pow): Likewise.
6709 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6710 Likewise.
6711 (TEST_VECTOR_sinf): Likewise.
6712 (TEST_VECTOR_sincosf): Likewise.
6713 (TEST_VECTOR_logf): Likewise.
6714 (TEST_VECTOR_expf): Likewise.
6715 (TEST_VECTOR_powf): Likewise.
6716 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6717 Likewise.
6718 (TEST_VECTOR_sinf): Likewise.
6719 (TEST_VECTOR_sincosf): Likewise.
6720 (TEST_VECTOR_logf): Likewise.
6721 (TEST_VECTOR_expf): Likewise.
6722 (TEST_VECTOR_powf): Likewise.
6723 * math/gen-libm-have-vector-test.sh: Remove file.
6724 * math/libm-test.inc: Likewise.
6725 * math/libm-test-support-double.c: Likewise.
6726 * math/libm-test-support-float.c: Likewise.
6727 * math/libm-test-support-ldouble.c: Likewise.
6728 * math/test-double-finite.c: Likewise.: Likewise.
6729 * math/test-double.c: Likewise.
6730 * math/test-float-finite.c: Likewise.
6731 * math/test-float.c: Likewise.
6732 * math/test-idouble.c: Likewise.
6733 * math/test-ifloat.c: Likewise.
6734 * math/test-ildouble.c: Likewise.
6735 * math/test-ldouble-finite.c: Likewise.
6736 * math/test-ldouble.c: Likewise.
6737 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6738 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
6739 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6740 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6741 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6742 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6743 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6744 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
6745 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6746 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6747
6748 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6749 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6750
6751 * math/Makefile: Add wrappers to gen-libm-calls.
6752 * math/w_acos_template.c: New file.
6753 * math/w_acosh_template.c: Likewise.
6754 * math/w_asin_template.c: Likewise.
6755 * math/w_atan2_template.c: Likewise.
6756 * math/w_atanh_template.c: Likewise.
6757 * math/w_cosh_template.c: Likewise.
6758 * math/w_exp10_template.c: Likewise.
6759 * math/w_exp2_template.c: Likewise.
6760 * math/w_exp_template.c: Likewise.
6761 * math/w_fmod_template.c: Likewise.
6762 * math/w_hypot_template.c: Likewise.
6763 * math/w_j0_template.c: Likewise.
6764 * math/w_j1_template.c: Likewise.
6765 * math/w_jn_template.c: Likewise.
6766 * math/w_lgamma_r_template.c: Likewise.
6767 * math/w_lgamma_template.c: Likewise.
6768 * math/w_log10_template.c: Likewise.
6769 * math/w_log2_template.c: Likewise.
6770 * math/w_log_template.c: Likewise.
6771 * math/w_pow_template.c: Likewise.
6772 * math/w_remainder_template.c: Likewise.
6773 * math/w_sinh_template.c: Likewise.
6774 * math/w_sqrt_template.c: Likewise.
6775 * math/w_tgamma_template.c: Likewise.: Likewise.
6776 * sysdeps/generic/math-type-macros-double.h
6777 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
6778 the new wrappers.
6779 * sysdeps/generic/math-type-macros-float.h: Likewise.
6780 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6781
6782 2017-02-22 Joseph Myers <joseph@codesourcery.com>
6783
6784 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
6785 New enum constant and macro.
6786
6787 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6788 kernel version to 4.10.
6789
6790 2017-02-21 Joseph Myers <joseph@codesourcery.com>
6791
6792 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
6793
6794 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6795
6796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6797
6798 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6799
6800 * sysdeps/powerpc/tst-set_ppr.c: New file.
6801 Implement test cases for __ppc_set_ppr_* functions.
6802 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
6803 in the list of tests.
6804
6805 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6806
6807 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
6808 instead of test-skeleton.c.
6809 (do_test): Replaced pthread_create and pthread_join with
6810 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
6811 Removed unneeded status variable.
6812 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
6813 instead of test-skeleton.c.
6814 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
6815
6816 2017-02-20 Mike FABIAN <mfabian@redhat.com>
6817
6818 [BZ #20313]
6819 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6820 201605L, for Unicode 9.
6821
6822 2017-02-20 Joseph Myers <joseph@codesourcery.com>
6823
6824 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
6825 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6826 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6827 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6828 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6829 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6830
6831 2017-02-19 Zack Weinberg <zackw@panix.com>
6832
6833 * rt/tst-mqueue4.c: Include stdint.h.
6834
6835 2017-02-17 Joseph Myers <joseph@codesourcery.com>
6836
6837 * sysdeps/arm/libm-test-ulps: Update.
6838 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6839 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6840 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6841
6842 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6843
6844 [BZ #21029]
6845 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
6846 * sysdeps/unix/sysv/linux/i386/Makefile
6847 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
6848 (uses-6-syscall-arguments): Remove.
6849 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
6850 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
6851 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
6852 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
6853 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
6854 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
6855 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
6856 [$(subdir) = misc] (cflags-pselect.o): Likewise.
6857 [$(subdir) = misc] (cflags-pselect.os): Likewise.
6858 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
6859 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
6860 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
6861 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
6862 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
6863 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
6864 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
6865 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
6866 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
6867 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
6868 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
6869 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
6870 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
6871 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
6872 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
6873 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
6874 Likewise.
6875 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
6876 Likewise.
6877 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
6878 Likewise.
6879 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
6880 Likewise.
6881 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
6882 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
6883 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
6884 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
6885 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
6886 ebp on inline assembly.
6887 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
6888 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6889 Set if CAN_USE_REGISTER_ASM_EBP is set.
6890
6891 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
6894 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
6895
6896 2017-02-17 Joseph Myers <joseph@codesourcery.com>
6897
6898 * math/auto-libm-test-in: Add tests of catan and catanh.
6899 * math/auto-libm-test-out-catan: New generated file.
6900 * math/auto-libm-test-out-catanh: Likewise.
6901 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
6902 Move tests with finite inputs, except divide-by-zero cases, to
6903 auto-libm-test-in.
6904 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
6905 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
6906 (libm-test-funcs-noauto): Remove catan and catanh.
6907 * sysdeps/i386/fpu/libm-test-ulps: Update.
6908 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6910
6911 * math/auto-libm-test-in: Add tests of casin and casinh.
6912 * math/auto-libm-test-out-casin: New generated file.
6913 * math/auto-libm-test-out-casinh: Likewise.
6914 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
6915 Move tests with finite inputs to auto-libm-test-in.
6916 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
6917 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
6918 (libm-test-funcs-noauto): Remove casin and casinh.
6919 * sysdeps/i386/fpu/libm-test-ulps: Update.
6920 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6922
6923 * math/auto-libm-test-in: Add tests of cacos and cacosh.
6924 * math/auto-libm-test-out-cacos: New generated file.
6925 * math/auto-libm-test-out-cacosh: Likewise.
6926 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
6927 Move tests with finite inputs to auto-libm-test-in.
6928 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
6929 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
6930 (libm-test-funcs-noauto): Remove cacos and cacosh.
6931 * sysdeps/i386/fpu/libm-test-ulps: Update.
6932 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6934
6935 Revert:
6936 2017-02-16 Zack Weinberg <zackw@panix.com>
6937
6938 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6939 Don't include init-arch.h.
6940 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6941 Don't include init-arch.h.
6942
6943 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6944
6945 [BZ #21171]
6946 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
6947 +Inf and raise divide-by-zero when x is negative.
6948 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
6949 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
6950 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
6951 -Inf and raise divide-by-zero when x = +-0.
6952 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6953 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
6954 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
6955 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
6956 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6959
6960 2017-02-16 Zack Weinberg <zackw@panix.com>
6961
6962 * scripts/build-many-glibcs.py (bot_build_mail): If the
6963 bot_config does not contain all of the necessary email-
6964 related settings, just print a warning and continue.
6965
6966 2017-02-16 Zack Weinberg <zackw@panix.com>
6967
6968 * crypt/md5.h: Test _LIBC with #if defined, not #if.
6969 * dirent/opendir-tst1.c: Include sys/stat.h.
6970 * dirent/tst-fdopendir.c: Include sys/stat.h.
6971 * dirent/tst-fdopendir2.c: Include stdlib.h.
6972 * dirent/tst-scandir.c: Include stdbool.h.
6973 * elf/tst-auditmod1.c: Include link.h and stddef.h.
6974 * elf/tst-tls15.c: Include stdlib.h.
6975 * elf/tst-tls16.c: Include stdlib.h.
6976 * elf/tst-tls17.c: Include stdlib.h.
6977 * elf/tst-tls18.c: Include stdlib.h.
6978 * iconv/tst-iconv6.c: Include endian.h.
6979 * iconvdata/bug-iconv11.c: Include limits.h.
6980 * io/test-utime.c: Include stdint.h.
6981 * io/tst-faccessat.c: Include sys/stat.h.
6982 * io/tst-fchmodat.c: Include sys/stat.h.
6983 * io/tst-fchownat.c: Include sys/stat.h.
6984 * io/tst-fstatat.c: Include sys/stat.h.
6985 * io/tst-futimesat.c: Include sys/stat.h.
6986 * io/tst-linkat.c: Include sys/stat.h.
6987 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
6988 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
6989 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
6990 * io/tst-openat.c: Include stdbool.h.
6991 * io/tst-readlinkat.c: Include sys/stat.h.
6992 * io/tst-renameat.c: Include sys/stat.h.
6993 * io/tst-symlinkat.c: Include sys/stat.h.
6994 * io/tst-unlinkat.c: Include stdbool.h.
6995 * libio/bug-memstream1.c: Include stdlib.h.
6996 * libio/bug-wmemstream1.c: Include stdlib.h.
6997 * libio/tst-fwrite-error.c: Include stdlib.h.
6998 * libio/tst-memstream1.c: Include stdlib.h.
6999 * libio/tst-memstream2.c: Include stdlib.h.
7000 * libio/tst-memstream3.c: Include stdlib.h.
7001 * malloc/tst-interpose-aux.c: Include stdint.h.
7002 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7003 * nptl/tst-basic7.c: Include limits.h.
7004 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7005 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7006 * nptl/tst-cancel4_1.c: Include stddef.h.
7007 * nptl/tst-cancel4_2.c: Include stddef.h.
7008 * nptl/tst-cond16.c: Include limits.h.
7009 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7010 * nptl/tst-cond18.c: Include limits.h.
7011 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7012 * nptl/tst-cond4.c: Include stdint.h.
7013 * nptl/tst-cond6.c: Include stdint.h.
7014 * nptl/tst-stack2.c: Include limits.h.
7015 * nptl/tst-stackguard1.c: Include stddef.h.
7016 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7017 * nptl/tst-tls4moda.c: Include stddef.h.
7018 Don't include stdio.h, unistd.h, or tls.h.
7019 * nptl/tst-tls4modb.c: Include stddef.h.
7020 Don't include stdio.h, unistd.h, or tls.h.
7021 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7022 * posix/tst-getaddrinfo2.c: Include stdio.h.
7023 * posix/tst-getaddrinfo5.c: Include stdio.h.
7024 * posix/tst-pathconf.c: Include sys/stat.h.
7025 * posix/tst-posix_fadvise-common.c: Include stdint.h.
7026 * posix/tst-preadwrite-common.c: Include sys/stat.h.
7027 * posix/tst-regex.c: Include stdint.h.
7028 Don't include spawn.h or spawn_int.h.
7029 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7030 * posix/tst-vfork3.c: Include sys/stat.h.
7031 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7032 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7033 * resolv/tst-resolv-search.c: Include stdlib.h.
7034 * stdio-common/tst-fmemopen2.c: Include stdint.h.
7035 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7036 * stdlib/test-canon.c: Include sys/stat.h.
7037 * stdlib/tst-tls-atexit.c: Include stdbool.h.
7038 * string/test-memchr.c: Include stdint.h.
7039 * string/tst-cmp.c: Include stdint.h.
7040 * sysdeps/pthread/tst-timer.c: Include stdint.h.
7041 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7042 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7043 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7044 Don't include init-arch.h.
7045 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7046 Don't include init-arch.h.
7047 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7048 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7049 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7050 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7051 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7052 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7053 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7054 * time/clocktest.c: Include stdint.h.
7055 * time/tst-posixtz.c: Include stdint.h.
7056 * timezone/tst-timezone.c: Include stdint.h.
7057
7058 2017-02-16 Zack Weinberg <zackw@panix.com>
7059
7060 * string/string.h [__USE_MISC]: Include strings.h.
7061 (__bzero, bcmp, bcopy, bzero, index, rindex)
7062 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7063 (ffs, ffsl, ffsll): Don't declare.
7064 * string/strings.h: Do not suppress the file if string.h has
7065 already been included.
7066 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7067 annotations.
7068 (index, rindex): Define inline forwarders even if
7069 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7070 (ffs): Use __attribute_const__.
7071 (ffsl, ffsll): Declare here.
7072 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7073 have now been standardized.
7074 * include/string.h (__bzero): Declare here.
7075
7076 * bits/types.h: Move to posix/bits.
7077 * include/bits/types.h: New wrapper.
7078
7079 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
7080
7081 * string/bits/string2.h (strcmp): Remove define.
7082 (__strcmp_cg): Likewise.
7083 (strncmp): Likewise.
7084
7085 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
7086
7087 * include/string.h: Add __cplusplus check.
7088
7089 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7090
7091 [BZ #21134]
7092 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7093 "divide by zero" exception when the input is zero.
7094 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7095 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7096 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7097 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7098 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7099
7100 2017-02-15 Joseph Myers <joseph@codesourcery.com>
7101
7102 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7103 and include ...
7104 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
7105 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7106 to, and include ...
7107 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
7108 file.
7109 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7110 and include ...
7111 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
7112 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7113 and include ...
7114 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
7115 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7116 and include ...
7117 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
7118 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7119 and include ...
7120 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
7121 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7122 to, and include ...
7123 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
7124 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7125 and include ...
7126 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
7127
7128 2017-02-14 Joseph Myers <joseph@codesourcery.com>
7129
7130 * math/libm-test-support.h: Do not include <math-tests-arch.h>
7131 here.
7132 * math/libm-test-support.c (libm_test_init): Do not call
7133 INIT_ARCH_EXT here.
7134 * math/libm-test-driver.c: Include <math-tests-arch.h>.
7135 (main): Call INIT_ARCH_EXT.
7136
7137 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7138
7139 [BZ #21130]
7140 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7141 with the "invalid" exception raised when x is -Inf.
7142 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7143
7144 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
7145
7146 * string/bits/string2.h (strchr): Remove define.
7147
7148 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
7149
7150 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7151 tst-avx512.
7152 (test-extras): Add tst-avx-aux and tst-avx512-aux.
7153 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7154 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7155 ($(objpfx)tst-sse): New rule.
7156 ($(objpfx)tst-avx): Likewise.
7157 ($(objpfx)tst-avx512): Likewise.
7158 (CFLAGS-tst-avx-aux.c): New.
7159 (CFLAGS-tst-avxmod.c): Likewise.
7160 (CFLAGS-tst-avx512-aux.c): Likewise.
7161 (CFLAGS-tst-avx512mod.c): Likewise.
7162 * sysdeps/x86_64/tst-avx-aux.c: New file.
7163 * sysdeps/x86_64/tst-avx.c: Likewise.
7164 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7165 * sysdeps/x86_64/tst-avx512.c: Likewise.
7166 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7167 * sysdeps/x86_64/tst-avxmod.c: Likewise.
7168 * sysdeps/x86_64/tst-sse.c: Likewise.
7169 * sysdeps/x86_64/tst-ssemod.c: Likewise.
7170
7171 2017-02-09 Joseph Myers <joseph@codesourcery.com>
7172
7173 * math/auto-libm-test-in: Add more tests of csin and csinh.
7174 * math/auto-libm-test-out-csin: Regenerated.
7175 * math/auto-libm-test-out-csinh: Likewise.
7176 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7177 auto-libm-test-in.
7178 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7179
7180 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7181
7182 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7183 libm-compat-calls-auto.
7184 (libm-compat-calls): Likewise.
7185 (libm-compat-calls-auto): Rename to libm-compat-calls and add
7186 w_lgamma_compatF and k_standardF (merged from the items above).
7187 (libm-routines): Use libm-compat-calls, instead of
7188 libm-compat-calls-auto, with type-foreach.
7189
7190 2017-02-09 Joseph Myers <joseph@codesourcery.com>
7191
7192 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7193 macro.
7194 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7195 (CFLAGS-test-ifloat.c): ... this. Remove
7196 -U__LIBC_INTERNAL_MATH_INLINES.
7197 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7198 (CFLAGS-test-idouble.c): ... this. Remove
7199 -U__LIBC_INTERNAL_MATH_INLINES.
7200 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7201 (CFLAGS-test-ildouble.c): ... this. Remove
7202 -U__LIBC_INTERNAL_MATH_INLINES.
7203
7204 2017-02-08 Joseph Myers <joseph@codesourcery.com>
7205
7206 * math/libm-test-support.c: New file. Content from
7207 math/libm-test-driver.c.
7208 * math/libm-test-support.h: Likewise.
7209 * math/libm-test-support-double.c: New file.
7210 * math/libm-test-support-float.c: Likewise.
7211 * math/libm-test-support-ldouble.c: Likewise.
7212 * math/libm-test-driver.c: Remove main comment and header
7213 includes. Include libm-test-support.h.
7214 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7215 (flag_test_errno): Remove static.
7216 (flag_test_exceptions): Likewise.
7217 (flag_test_finite): Likewise.
7218 (flag_test_inline): Likewise.
7219 (flag_test_mathvec): Likewise.
7220 (test_msg): Likewise.
7221 (NO_EXCEPTION): Remove.
7222 (INVALID_EXCEPTION): Likewise.
7223 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7224 (OVERFLOW_EXCEPTION): Likewise.
7225 (UNDERFLOW_EXCEPTION): Likewise.
7226 (INEXACT_EXCEPTION): Likewise.
7227 (INVALID_EXCEPTION_OK): Likewise.
7228 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7229 (OVERFLOW_EXCEPTION_OK): Likewise.
7230 (UNDERFLOW_EXCEPTION_OK): Likewise.
7231 (NO_INEXACT_EXCEPTION): Likewise.
7232 (EXCEPTIONS_OK): Likewise.
7233 (IGNORE_ZERO_INF_SIGN): Likewise.
7234 (TEST_NAN_SIGN): Likewise.
7235 (TEST_NAN_PAYLOAD): Likewise.
7236 (NO_TEST_INLINE): Likewise.
7237 (XFAIL_TEST): Likewise.
7238 (ERRNO_UNCHANGED): Likewise.
7239 (ERRNO_EDOM): Likewise.
7240 (ERRNO_ERANGE): Likewise.
7241 (IGNORE_RESULT): Likewise.
7242 (NON_FINITE): Likewise.
7243 (TEST_SNAN): Likewise.
7244 (NO_TEST_MATHVEC): Likewise.
7245 (__CONCATX): Likewise.
7246 (TYPE_MIN): Likewise.
7247 (TYPE_TRUE_MIN): Likewise.
7248 (TYPE_MAX): Likewise.
7249 (MIN_EXP): Likewise.
7250 (MAX_EXP): Likewise.
7251 (MANT_DIG): Likewise.
7252 (FSTR_MAX): Likewise.
7253 (ulp_idx): Likewise.
7254 (qtype_str): Remove static.
7255 (TEST_COND_binary32): Remove.
7256 (TEST_COND_binary64): Likewise.
7257 (TEST_COND_binary128): Likewise.
7258 (TEST_COND_ibm128): Likewise.
7259 (TEST_COND_intel96): Likewise.
7260 (TEST_COND_m68k96): Likewise.
7261 (TEST_COND_ibm128_libgcc): Likewise.
7262 (XFAIL_IBM128_LIBGCC): Likewise.
7263 (PAYLOAD_DIG): Likewise.
7264 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7265 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7266 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7267 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7268 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7269 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7270 (TEST_COND_long32): Likewise.
7271 (TEST_COND_long64): Likewise.
7272 (TEST_COND_before_rounding): Likewise.
7273 (TEST_COND_after_rounding): Likewise.
7274 (ulps_file_name): Likewise.
7275 (ulps_file): Likewise.
7276 (output_ulps): Likewise.
7277 (output_dir): Likewise.
7278 (noErrors): Likewise.
7279 (noTests): Likewise.
7280 (noExcTests): Likewise.
7281 (noErrnoTests): Likewise.
7282 (verbose): Likewise.
7283 (output_max_error): Likewise.
7284 (output_points): Likewise.
7285 (ignore_max_ulp): Likewise.
7286 (max_error): Likewise.
7287 (real_max_error): Likewise.
7288 (imag_max_error): Likewise.
7289 (prev_max_error): Likewise.
7290 (prev_real_max_error): Likewise.
7291 (prev_imag_max_error): Likewise.
7292 (max_valid_error): Likewise.
7293 (TYPE_DECIMAL_DIG): Likewise.
7294 (TYPE_HEX_DIG): Likewise.
7295 (fmt_ftostr): Likewise.
7296 (compare_ulp_data): Likewise.
7297 (find_ulps): Likewise.
7298 (init_max_error): Likewise.
7299 (set_max_error): Likewise.
7300 (print_float): Likewise.
7301 (print_screen): Likewise.
7302 (print_screen_max_error): Likewise.
7303 (update_stats): Likewise.
7304 (print_function_ulps): Likewise.
7305 (print_complex_function_ulps): Likewise.
7306 (fpstack_test): Likewise.
7307 (print_max_error): Likewise.
7308 (print_complex_max_error): Likewise.
7309 (test_single_exception): Likewise.
7310 (test_exceptions): Likewise.
7311 (test_single_errno): Likewise.
7312 (test_errno): Likewise.
7313 (ULPDIFF): Likewise.
7314 (ulp): Likewise.
7315 (check_float_internal): Likewise.
7316 (check_float): Likewise.
7317 (check_complex): Likewise.
7318 (check_int): Likewise.
7319 (check_long): Likewise.
7320 (check_bool): Likewise.
7321 (check_longlong): Likewise.
7322 (check_intmax_t): Likewise.
7323 (check_uintmax_t): Likewise.
7324 (enable_test): Likewise.
7325 (matherr): Likewise.
7326 (initialize): Likewise.
7327 (options): Likewise.
7328 (doc): Remove static.
7329 (argp): Likewise.
7330 (parse_opt): Remove.
7331 (check_ulp): Likewise.
7332 (libm_test_init): Likewise.
7333 (libm_test_finish): Likewise.
7334 * math/Makefile (libm-test-support): New variable.
7335 (test-extras): Add libm-test-support files.
7336 (extra-test-objs): Likewise.
7337 (CFLAGS-libm-test-support-float.c): New variable.
7338 (CFLAGS-libm-test-support-double.c): Likewise.
7339 (CFLAGS-libm-test-support-ldouble.c): Likewise.
7340 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7341 libm-test-support objects.
7342
7343 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7344
7345 * math/Makefile (libm-calls): Move w_exp...
7346 (libm-compat-calls-auto): Here.
7347
7348 * math/w_expl.c: Add suffix "_compat" to filename.
7349 * sysdeps/ia64/fpu/w_expl.c: Likewise.
7350 * sysdeps/ia64/fpu/w_expf.c: Likewise.
7351 * sysdeps/ia64/fpu/w_exp.c: Likewise.
7352 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7353 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7357
7358 * math/w_expl_compat.c: New file, copied from above.
7359 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7360 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7361 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7363 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7366 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7367
7368 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7369 to filename.
7370 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7371
7372 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7373 copied from above and adjusted for the new filenames.
7374 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7375
7376 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7377
7378 * math/Makefile (libm-calls): Move w_lgammaF...
7379 (libm-compat-calls-auto): Here.
7380
7381 * math/w_lgamma.c: Add suffix "_compat2" to filename.
7382 * math/w_lgammaf.c: Likewise.
7383 * math/w_lgammal.c: Likewise.
7384
7385 * math/w_lgamma_compat2.c: New file, copied from above.
7386 * math/w_lgammaf_compat2.c: Likewise.
7387 * math/w_lgammal_compat2.c: Likewise.
7388
7389 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7390
7391 * math/Makefile (libm-calls): Move w_lgammaF_r...
7392 (libm-compat-calls-auto): Here.
7393
7394 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7395 * math/w_lgammaf_r.c: Likewise.
7396 * math/w_lgammal_r.c: Likewise.
7397 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7398 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7399 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7400
7401 * math/w_lgamma_r_compat.c: New file, copied from above.
7402 * math/w_lgammaf_r_compat.c: Likewise.
7403 * math/w_lgammal_r_compat.c: Likewise.
7404 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7405 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7406 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7407
7408 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7409 to filename.
7410 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7411
7412 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7413 copied from above and adjusted for the new filenames.
7414 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7415
7416 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
7417
7418 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7419 calculation in SYSCALL_ERROR_HANDLER().
7420
7421 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
7422
7423 * manual/contrib.texi: Fix typo.
7424
7425 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7426
7427 [BZ #21109]
7428 * elf/dl-tunable-types.h (tunable_callback_t): Accept
7429 tunable_val_t as argument.
7430 * elf/dl-tunables.c (__tunable_set_val): Add comment.
7431 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7432 argument.
7433 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7434
7435 2017-02-08 Kir Kolyshkin <kir@openvz.org>
7436
7437 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7438 Add PTRACE_EVENT_STOP.
7439 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7443 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7444 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7445
7446 2017-02-07 Joseph Myers <joseph@codesourcery.com>
7447
7448 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7449 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7450 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7451 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7452 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7453 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7454 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7455 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7456 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7457 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7458
7459 [BZ #21112]
7460 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7461 12 bits zero.
7462 (cp_l): Update for new value of cp_h.
7463 * math/auto-libm-test-in: Add another test of pow.
7464 * math/auto-libm-test-out-pow: Regenerated.
7465
7466 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7467
7468 * manual/contrib.texi: Fix typo.
7469
7470 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7471
7472 [BZ #15998]
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7474 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7476
7477 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7478
7479 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7480 STRCHR as __strchr_power8.
7481 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7482 strlen as __strlen_power8.
7483
7484 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7485
7486 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7487 unaligned load for shorter strings.
7488 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7489
7490 2017-02-06 Joseph Myers <joseph@codesourcery.com>
7491
7492 * math/libm-test-driver.c (flag_test_errno): New variable.
7493 (flag_test_exceptions): Likewise.
7494 (flag_test_finite): Likewise.
7495 (flag_test_inline): Likewise.
7496 (flag_test_mathvec): Likewise.
7497 (test_msg): Likewise.
7498 (ulp_idx): Likewise.
7499 (qtype_str): Likewise.
7500 (ULP_IDX): Remove macro.
7501 (QTYPE_STR): Likewise.
7502 (find_ulps): Use ulp_idx not ULP_IDX.
7503 (print_function_ulps): Use qtype_str, printed with %s, not
7504 QTYPE_STR, printed with concatentation to format string.
7505 (print_complex_function_ulps): Likewise.
7506 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7507 (test_errno): Use flag_test_errno not TEST_ERRNO.
7508 (enable_test): Use flag_test_inline, flag_test_finite and
7509 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7510 TEST_MATHVEC.
7511 (libm_test_init): New function. Factored out of main.
7512 (libm_test_finish): Likewise.
7513 (main): Call libm_test_init and libm_test_finish and move most
7514 code to those functions.
7515
7516 * math/libm-test-driver.c (STRX): New macro.
7517 (STR): Likewise.
7518 (STR_FLOAT): Likewise.
7519 (STR_VEC_LEN): Likewise.
7520 (TEST_MSG): Likewise. Define here instead of expecting to be
7521 defined by including file.
7522 * math/test-double-finite.c (TEST_MSG): Remove macro.
7523 * math/test-double-vlen2.h (TEST_MSG): Likewise.
7524 * math/test-double-vlen4.h (TEST_MSG): Likewise.
7525 * math/test-double-vlen8.h (TEST_MSG): Likewise.
7526 * math/test-double.c (TEST_MSG): Likewise.
7527 * math/test-float-finite.c (TEST_MSG): Likewise.
7528 * math/test-float-vlen16.h (TEST_MSG): Likewise.
7529 * math/test-float-vlen4.h (TEST_MSG): Likewise.
7530 * math/test-float-vlen8.h (TEST_MSG): Likewise.
7531 * math/test-float.c (TEST_MSG): Likewise.
7532 * math/test-idouble.c (TEST_MSG): Likewise.
7533 * math/test-ifloat.c (TEST_MSG): Likewise.
7534 * math/test-ildouble.c (TEST_MSG): Likewise.
7535 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7536 * math/test-ldouble.c (TEST_MSG): Likewise.
7537
7538 * math/libm-test.inc: Move all tests of individual functions to
7539 libm-test-*.inc and #include libm-test-*.c files.
7540 (acos_test_data): Remove.
7541 (acos_test): Likewise.
7542 (acosh_test_data): Likewise.
7543 (acosh_test): Likewise.
7544 (asin_test_data): Likewise.
7545 (asin_test): Likewise.
7546 (asinh_test_data): Likewise.
7547 (asinh_test): Likewise.
7548 (atan_test_data): Likewise.
7549 (atan_test): Likewise.
7550 (atanh_test_data): Likewise.
7551 (atanh_test): Likewise.
7552 (atan2_test_data): Likewise.
7553 (atan2_test): Likewise.
7554 (cabs_test_data): Likewise.
7555 (cabs_test): Likewise.
7556 (cacos_test_data): Likewise.
7557 (cacos_test): Likewise.
7558 (cacosh_test_data): Likewise.
7559 (cacosh_test): Likewise.
7560 (canonicalize_test_data): Likewise.
7561 (canonicalize_test): Likewise.
7562 (carg_test_data): Likewise.
7563 (carg_test): Likewise.
7564 (casin_test_data): Likewise.
7565 (casin_test): Likewise.
7566 (casinh_test_data): Likewise.
7567 (casinh_test): Likewise.
7568 (catan_test_data): Likewise.
7569 (catan_test): Likewise.
7570 (catanh_test_data): Likewise.
7571 (catanh_test): Likewise.
7572 (cbrt_test_data): Likewise.
7573 (cbrt_test): Likewise.
7574 (ccos_test_data): Likewise.
7575 (ccos_test): Likewise.
7576 (ccosh_test_data): Likewise.
7577 (ccosh_test): Likewise.
7578 (ceil_test_data): Likewise.
7579 (ceil_test): Likewise.
7580 (cexp_test_data): Likewise.
7581 (cexp_test): Likewise.
7582 (cimag_test_data): Likewise.
7583 (cimag_test): Likewise.
7584 (clog_test_data): Likewise.
7585 (clog_test): Likewise.
7586 (clog10_test_data): Likewise.
7587 (clog10_test): Likewise.
7588 (conj_test_data): Likewise.
7589 (conj_test): Likewise.
7590 (copysign_test_data): Likewise.
7591 (copysign_test): Likewise.
7592 (cos_test_data): Likewise.
7593 (cos_test): Likewise.
7594 (cosh_test_data): Likewise.
7595 (cosh_test): Likewise.
7596 (cpow_test_data): Likewise.
7597 (cpow_test): Likewise.
7598 (cproj_test_data): Likewise.
7599 (cproj_test): Likewise.
7600 (creal_test_data): Likewise.
7601 (creal_test): Likewise.
7602 (csin_test_data): Likewise.
7603 (csin_test): Likewise.
7604 (csinh_test_data): Likewise.
7605 (csinh_test): Likewise.
7606 (csqrt_test_data): Likewise.
7607 (csqrt_test): Likewise.
7608 (ctan_test_data): Likewise.
7609 (ctan_test): Likewise.
7610 (ctanh_test_data): Likewise.
7611 (ctanh_test): Likewise.
7612 (erf_test_data): Likewise.
7613 (erf_test): Likewise.
7614 (erfc_test_data): Likewise.
7615 (erfc_test): Likewise.
7616 (exp_test_data): Likewise.
7617 (exp_test): Likewise.
7618 (exp10_test_data): Likewise.
7619 (exp10_test): Likewise.
7620 (pow10_test): Likewise.
7621 (exp2_test_data): Likewise.
7622 (exp2_test): Likewise.
7623 (expm1_test_data): Likewise.
7624 (expm1_test): Likewise.
7625 (fabs_test_data): Likewise.
7626 (fabs_test): Likewise.
7627 (fdim_test_data): Likewise.
7628 (fdim_test): Likewise.
7629 (floor_test_data): Likewise.
7630 (floor_test): Likewise.
7631 (fma_test_data): Likewise.
7632 (fma_test): Likewise.
7633 (fmax_test_data): Likewise.
7634 (fmax_test): Likewise.
7635 (fmaxmag_test_data): Likewise.
7636 (fmaxmag_test): Likewise.
7637 (fmin_test_data): Likewise.
7638 (fmin_test): Likewise.
7639 (fminmag_test_data): Likewise.
7640 (fminmag_test): Likewise.
7641 (fmod_test_data): Likewise.
7642 (fmod_test): Likewise.
7643 (fpclassify_test_data): Likewise.
7644 (fpclassify_test): Likewise.
7645 (frexp_test_data): Likewise.
7646 (frexp_test): Likewise.
7647 (fromfp_test_data): Likewise.
7648 (fromfp_test): Likewise.
7649 (fromfpx_test_data): Likewise.
7650 (fromfpx_test): Likewise.
7651 (getpayload_test_data): Likewise.
7652 (getpayload_test): Likewise.
7653 (hypot_test_data): Likewise.
7654 (hypot_test): Likewise.
7655 (ilogb_test_data): Likewise.
7656 (ilogb_test): Likewise.
7657 (iscanonical_test_data): Likewise.
7658 (iscanonical_test): Likewise.
7659 (iseqsig_test_data): Likewise.
7660 (iseqsig_test): Likewise.
7661 (isfinite_test_data): Likewise.
7662 (isfinite_test): Likewise.
7663 (finite_test): Likewise.
7664 (isgreater_test_data): Likewise.
7665 (isgreater_test): Likewise.
7666 (isgreaterequal_test_data): Likewise.
7667 (isgreaterequal_test): Likewise.
7668 (isinf_test_data): Likewise.
7669 (isinf_test): Likewise.
7670 (isless_test_data): Likewise.
7671 (isless_test): Likewise.
7672 (islessequal_test_data): Likewise.
7673 (islessequal_test): Likewise.
7674 (islessgreater_test_data): Likewise.
7675 (islessgreater_test): Likewise.
7676 (isnan_test_data): Likewise.
7677 (isnan_test): Likewise.
7678 (isnormal_test_data): Likewise.
7679 (isnormal_test): Likewise.
7680 (issignaling_test_data): Likewise.
7681 (issignaling_test): Likewise.
7682 (issubnormal_test_data): Likewise.
7683 (issubnormal_test): Likewise.
7684 (isunordered_test_data): Likewise.
7685 (isunordered_test): Likewise.
7686 (iszero_test_data): Likewise.
7687 (iszero_test): Likewise.
7688 (j0_test_data): Likewise.
7689 (j0_test): Likewise.
7690 (j1_test_data): Likewise.
7691 (j1_test): Likewise.
7692 (jn_test_data): Likewise.
7693 (jn_test): Likewise.
7694 (lgamma_test_data): Likewise.
7695 (lgamma_test): Likewise.
7696 (gamma_test): Likewise.
7697 (llogb_test_data): Likewise.
7698 (llogb_test): Likewise.
7699 (lrint_test_data): Likewise.
7700 (lrint_test): Likewise.
7701 (llrint_test_data): Likewise.
7702 (llrint_test): Likewise.
7703 (log_test_data): Likewise.
7704 (log_test): Likewise.
7705 (log10_test_data): Likewise.
7706 (log10_test): Likewise.
7707 (log1p_test_data): Likewise.
7708 (log1p_test): Likewise.
7709 (log2_test_data): Likewise.
7710 (log2_test): Likewise.
7711 (logb_test_data): Likewise.
7712 (logb_test): Likewise.
7713 (lround_test_data): Likewise.
7714 (lround_test): Likewise.
7715 (llround_test_data): Likewise.
7716 (llround_test): Likewise.
7717 (modf_test_data): Likewise.
7718 (modf_test): Likewise.
7719 (nearbyint_test_data): Likewise.
7720 (nearbyint_test): Likewise.
7721 (nextafter_test_data): Likewise.
7722 (nextafter_test): Likewise.
7723 (nextup_test_data): Likewise.
7724 (nextup_test): Likewise.
7725 (nextdown_test_data): Likewise.
7726 (nextdown_test): Likewise.
7727 (nexttoward_test_data): Likewise.
7728 (nexttoward_test): Likewise.
7729 (pow_test_data): Likewise.
7730 (pow_test): Likewise.
7731 (remainder_test_data): Likewise.
7732 (remainder_test): Likewise.
7733 (drem_test): Likewise.
7734 (remquo_test_data): Likewise.
7735 (remquo_test): Likewise.
7736 (rint_test_data): Likewise.
7737 (rint_test): Likewise.
7738 (round_test_data): Likewise.
7739 (round_test): Likewise.
7740 (roundeven_test_data): Likewise.
7741 (roundeven_test): Likewise.
7742 (scalb_test_data): Likewise.
7743 (scalb_test): Likewise.
7744 (scalbn_test_data): Likewise.
7745 (scalbn_test): Likewise.
7746 (ldexp_test): Likewise.
7747 (scalbln_test_data): Likewise.
7748 (scalbln_test): Likewise.
7749 (setpayload_test_data): Likewise.
7750 (setpayload_test): Likewise.
7751 (setpayloadsig_test_data): Likewise.
7752 (setpayloadsig_test): Likewise.
7753 (signbit_test_data): Likewise.
7754 (signbit_test): Likewise.
7755 (sin_test_data): Likewise.
7756 (sin_test): Likewise.
7757 (sincos_test_data): Likewise.
7758 (sincos_test): Likewise.
7759 (sinh_test_data): Likewise.
7760 (sinh_test): Likewise.
7761 (sqrt_test_data): Likewise.
7762 (sqrt_test): Likewise.
7763 (tan_test_data): Likewise.
7764 (tan_test): Likewise.
7765 (tanh_test_data): Likewise.
7766 (tanh_test): Likewise.
7767 (tgamma_test_data): Likewise.
7768 (tgamma_test): Likewise.
7769 (totalorder_test_data): Likewise.
7770 (totalorder_test): Likewise.
7771 (totalordermag_test_data): Likewise.
7772 (totalordermag_test): Likewise.
7773 (trunc_test_data): Likewise.
7774 (trunc_test): Likewise.
7775 (ufromfp_test_data): Likewise.
7776 (ufromfp_test): Likewise.
7777 (ufromfpx_test_data): Likewise.
7778 (ufromfpx_test): Likewise.
7779 (y0_test_data): Likewise.
7780 (y0_test): Likewise.
7781 (y1_test_data): Likewise.
7782 (y1_test): Likewise.
7783 (yn_test_data): Likewise.
7784 (yn_test): Likewise.
7785 (significand_test_data): Likewise.
7786 (significand_test): Likewise.
7787 * math/Makefile (auto-libm-test-out-files): Remove variable.
7788 (libm-test-funcs-noauto): New variable.
7789 (libm-test-funcs-all): Likewise.
7790 (libm-test-c-auto): Likewise.
7791 (libm-test-c-noauto): Likewise.
7792 (libm-tests-generated): Add $(libm-test-c-auto) and
7793 $(libm-test-c-noauto).
7794 (generated): Do not add auto-libm-test-out.
7795 (libm-test-c-auto-obj): New variable.
7796 (libm-test-c-noauto-obj): Likewise.
7797 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
7798 ($(libm-test-c-noauto-obj)): New static pattern rule.
7799 ($(libm-test-c-auto-obj)): Likewise.
7800 (libm-test-incs): New variable.
7801 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
7802 and pass it to gen-libm-have-vector-test.sh.
7803 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
7804 be passed on command line.
7805 * math/libm-test-acos.inc: New file. Content from
7806 math/libm-test.inc.
7807 * math/libm-test-acosh.inc: Likewise.
7808 * math/libm-test-asin.inc: Likewise.
7809 * math/libm-test-asinh.inc: Likewise.
7810 * math/libm-test-atan.inc: Likewise.
7811 * math/libm-test-atan2.inc: Likewise.
7812 * math/libm-test-atanh.inc: Likewise.
7813 * math/libm-test-cabs.inc: Likewise.
7814 * math/libm-test-cacos.inc: Likewise.
7815 * math/libm-test-cacosh.inc: Likewise.
7816 * math/libm-test-canonicalize.inc: Likewise.
7817 * math/libm-test-carg.inc: Likewise.
7818 * math/libm-test-casin.inc: Likewise.
7819 * math/libm-test-casinh.inc: Likewise.
7820 * math/libm-test-catan.inc: Likewise.
7821 * math/libm-test-catanh.inc: Likewise.
7822 * math/libm-test-cbrt.inc: Likewise.
7823 * math/libm-test-ccos.inc: Likewise.
7824 * math/libm-test-ccosh.inc: Likewise.
7825 * math/libm-test-ceil.inc: Likewise.
7826 * math/libm-test-cexp.inc: Likewise.
7827 * math/libm-test-cimag.inc: Likewise.
7828 * math/libm-test-clog.inc: Likewise.
7829 * math/libm-test-clog10.inc: Likewise.
7830 * math/libm-test-conj.inc: Likewise.
7831 * math/libm-test-copysign.inc: Likewise.
7832 * math/libm-test-cos.inc: Likewise.
7833 * math/libm-test-cosh.inc: Likewise.
7834 * math/libm-test-cpow.inc: Likewise.
7835 * math/libm-test-cproj.inc: Likewise.
7836 * math/libm-test-creal.inc: Likewise.
7837 * math/libm-test-csin.inc: Likewise.
7838 * math/libm-test-csinh.inc: Likewise.
7839 * math/libm-test-csqrt.inc: Likewise.
7840 * math/libm-test-ctan.inc: Likewise.
7841 * math/libm-test-ctanh.inc: Likewise.
7842 * math/libm-test-erf.inc: Likewise.
7843 * math/libm-test-erfc.inc: Likewise.
7844 * math/libm-test-exp.inc: Likewise.
7845 * math/libm-test-exp10.inc: Likewise.
7846 * math/libm-test-exp2.inc: Likewise.
7847 * math/libm-test-expm1.inc: Likewise.
7848 * math/libm-test-fabs.inc: Likewise.
7849 * math/libm-test-fdim.inc: Likewise.
7850 * math/libm-test-floor.inc: Likewise.
7851 * math/libm-test-fma.inc: Likewise.
7852 * math/libm-test-fmax.inc: Likewise.
7853 * math/libm-test-fmaxmag.inc: Likewise.
7854 * math/libm-test-fmin.inc: Likewise.
7855 * math/libm-test-fminmag.inc: Likewise.
7856 * math/libm-test-fmod.inc: Likewise.
7857 * math/libm-test-fpclassify.inc: Likewise.
7858 * math/libm-test-frexp.inc: Likewise.
7859 * math/libm-test-fromfp.inc: Likewise.
7860 * math/libm-test-fromfpx.inc: Likewise.
7861 * math/libm-test-getpayload.inc: Likewise.
7862 * math/libm-test-hypot.inc: Likewise.
7863 * math/libm-test-ilogb.inc: Likewise.
7864 * math/libm-test-iscanonical.inc: Likewise.
7865 * math/libm-test-iseqsig.inc: Likewise.
7866 * math/libm-test-isfinite.inc: Likewise.
7867 * math/libm-test-isgreater.inc: Likewise.
7868 * math/libm-test-isgreaterequal.inc: Likewise.
7869 * math/libm-test-isinf.inc: Likewise.
7870 * math/libm-test-isless.inc: Likewise.
7871 * math/libm-test-islessequal.inc: Likewise.
7872 * math/libm-test-islessgreater.inc: Likewise.
7873 * math/libm-test-isnan.inc: Likewise.
7874 * math/libm-test-isnormal.inc: Likewise.
7875 * math/libm-test-issignaling.inc: Likewise.
7876 * math/libm-test-issubnormal.inc: Likewise.
7877 * math/libm-test-isunordered.inc: Likewise.
7878 * math/libm-test-iszero.inc: Likewise.
7879 * math/libm-test-j0.inc: Likewise.
7880 * math/libm-test-j1.inc: Likewise.
7881 * math/libm-test-jn.inc: Likewise.
7882 * math/libm-test-lgamma.inc: Likewise.
7883 * math/libm-test-llogb.inc: Likewise.
7884 * math/libm-test-llrint.inc: Likewise.
7885 * math/libm-test-llround.inc: Likewise.
7886 * math/libm-test-log.inc: Likewise.
7887 * math/libm-test-log10.inc: Likewise.
7888 * math/libm-test-log1p.inc: Likewise.
7889 * math/libm-test-log2.inc: Likewise.
7890 * math/libm-test-logb.inc: Likewise.
7891 * math/libm-test-lrint.inc: Likewise.
7892 * math/libm-test-lround.inc: Likewise.
7893 * math/libm-test-modf.inc: Likewise.
7894 * math/libm-test-nearbyint.inc: Likewise.
7895 * math/libm-test-nextafter.inc: Likewise.
7896 * math/libm-test-nextdown.inc: Likewise.
7897 * math/libm-test-nexttoward.inc: Likewise.
7898 * math/libm-test-nextup.inc: Likewise.
7899 * math/libm-test-pow.inc: Likewise.
7900 * math/libm-test-remainder.inc: Likewise.
7901 * math/libm-test-remquo.inc: Likewise.
7902 * math/libm-test-rint.inc: Likewise.
7903 * math/libm-test-round.inc: Likewise.
7904 * math/libm-test-roundeven.inc: Likewise.
7905 * math/libm-test-scalb.inc: Likewise.
7906 * math/libm-test-scalbln.inc: Likewise.
7907 * math/libm-test-scalbn.inc: Likewise.
7908 * math/libm-test-setpayload.inc: Likewise.
7909 * math/libm-test-setpayloadsig.inc: Likewise.
7910 * math/libm-test-signbit.inc: Likewise.
7911 * math/libm-test-significand.inc: Likewise.
7912 * math/libm-test-sin.inc: Likewise.
7913 * math/libm-test-sincos.inc: Likewise.
7914 * math/libm-test-sinh.inc: Likewise.
7915 * math/libm-test-sqrt.inc: Likewise.
7916 * math/libm-test-tan.inc: Likewise.
7917 * math/libm-test-tanh.inc: Likewise.
7918 * math/libm-test-tgamma.inc: Likewise.
7919 * math/libm-test-totalorder.inc: Likewise.
7920 * math/libm-test-totalordermag.inc: Likewise.
7921 * math/libm-test-trunc.inc: Likewise.
7922 * math/libm-test-ufromfp.inc: Likewise.
7923 * math/libm-test-ufromfpx.inc: Likewise.
7924 * math/libm-test-y0.inc: Likewise.
7925 * math/libm-test-y1.inc: Likewise.
7926 * math/libm-test-yn.inc: Likewise.
7927 * math/README.libm-test: Update.
7928
7929 * math/gen-auto-libm-tests.c: Update comment about use of program.
7930 (generate_output): Add argument FUNCTION.
7931 (main): Require extra argument. Pass function name to
7932 generate_output.
7933 * math/Makefile (generated): Add auto-libm-test-out.
7934 (libm-test-funcs-auto): New variable.
7935 (auto-libm-test-out-files): New variable.
7936 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
7937 Concatenate those files to form $(objpfx)auto-libm-test-out and
7938 use it as input to gen-libm-test.pl.
7939 * math/README.libm-test: Update.
7940 * math/auto-libm-test-out: Remove.
7941 * math/auto-libm-test-out-acos: New generated file.
7942 * math/auto-libm-test-out-acosh: Likewise.
7943 * math/auto-libm-test-out-asin: Likewise.
7944 * math/auto-libm-test-out-asinh: Likewise.
7945 * math/auto-libm-test-out-atan: Likewise.
7946 * math/auto-libm-test-out-atan2: Likewise.
7947 * math/auto-libm-test-out-atanh: Likewise.
7948 * math/auto-libm-test-out-cabs: Likewise.
7949 * math/auto-libm-test-out-carg: Likewise.
7950 * math/auto-libm-test-out-cbrt: Likewise.
7951 * math/auto-libm-test-out-ccos: Likewise.
7952 * math/auto-libm-test-out-ccosh: Likewise.
7953 * math/auto-libm-test-out-cexp: Likewise.
7954 * math/auto-libm-test-out-clog: Likewise.
7955 * math/auto-libm-test-out-clog10: Likewise.
7956 * math/auto-libm-test-out-cos: Likewise.
7957 * math/auto-libm-test-out-cosh: Likewise.
7958 * math/auto-libm-test-out-cpow: Likewise.
7959 * math/auto-libm-test-out-csin: Likewise.
7960 * math/auto-libm-test-out-csinh: Likewise.
7961 * math/auto-libm-test-out-csqrt: Likewise.
7962 * math/auto-libm-test-out-ctan: Likewise.
7963 * math/auto-libm-test-out-ctanh: Likewise.
7964 * math/auto-libm-test-out-erf: Likewise.
7965 * math/auto-libm-test-out-erfc: Likewise.
7966 * math/auto-libm-test-out-exp: Likewise.
7967 * math/auto-libm-test-out-exp10: Likewise.
7968 * math/auto-libm-test-out-exp2: Likewise.
7969 * math/auto-libm-test-out-expm1: Likewise.
7970 * math/auto-libm-test-out-fma: Likewise.
7971 * math/auto-libm-test-out-hypot: Likewise.
7972 * math/auto-libm-test-out-j0: Likewise.
7973 * math/auto-libm-test-out-j1: Likewise.
7974 * math/auto-libm-test-out-jn: Likewise.
7975 * math/auto-libm-test-out-lgamma: Likewise.
7976 * math/auto-libm-test-out-log: Likewise.
7977 * math/auto-libm-test-out-log10: Likewise.
7978 * math/auto-libm-test-out-log1p: Likewise.
7979 * math/auto-libm-test-out-log2: Likewise.
7980 * math/auto-libm-test-out-pow: Likewise.
7981 * math/auto-libm-test-out-sin: Likewise.
7982 * math/auto-libm-test-out-sincos: Likewise.
7983 * math/auto-libm-test-out-sinh: Likewise.
7984 * math/auto-libm-test-out-sqrt: Likewise.
7985 * math/auto-libm-test-out-tan: Likewise.
7986 * math/auto-libm-test-out-tanh: Likewise.
7987 * math/auto-libm-test-out-tgamma: Likewise.
7988 * math/auto-libm-test-out-y0: Likewise.
7989 * math/auto-libm-test-out-y1: Likewise.
7990 * math/auto-libm-test-out-yn: Likewise.
7991
7992 * math/Makefile (generated): Do not include libm-test.stmp.
7993 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
7994 on $(objpfx)libm-test.stmp.
7995 ($(objpfx)libm-test.stmp): Remove rule.
7996 ($(objpfx)libm-test-ulps.h): New rule.
7997 ($(objpfx)libm-test.c): Likewise.
7998 ($(objpfx)libm-have-vector-test.h): Likewise.
7999 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8000 individual generated files, not libm-test.stmp.
8001
8002 * math/gen-libm-test.pl ($output_dir): Remove variable.
8003 ($srcdir): Likewise.
8004 ($opt_a): New variable.
8005 ($opt_c): Likewise.
8006 ($opt_C): Likewise.
8007 ($opt_H): Likewise.
8008 (-n): Make option take argument and use it as NewUlps output.
8009 (-a): New option. Use its argument for auto-libm-test-out input.
8010 (-c): New option. Use its argument for libm-test.inc input.
8011 (-C): New option. Use its argument for libm-test.c output.
8012 (-H): New option. Use its argument for libm-test-ulps.h output.
8013 (top level): Only process inputs needed to generate outputs
8014 specified by command-line options. Only generate outputs
8015 specified by command-line options.
8016 * math/README.libm-test: Update example gen-libm-test.pl command.
8017 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8018 commands.
8019 (regen-ulps): Likewise.
8020
8021 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
8022
8023 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8024 * include/string.h (index): Remove define.
8025 (rindex): Likewise.
8026 * misc/getttyent.c (__getttyent): Rename index to strchr.
8027 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8028 * sunrpc/rpc_main.c (mkfile_output): Likewise.
8029
8030 2017-02-06 Joseph Myers <joseph@codesourcery.com>
8031
8032 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
8033 * math/libm-test.inc: Move all contents, other than tests of
8034 individual functions, to libm-test-driver.c.
8035 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8036 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8037 [!FE_UPWARD] (FE_UPWARD): Likewise.
8038 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8039 (NO_EXCEPTION): Likewise.
8040 (INVALID_EXCEPTION): Likewise.
8041 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8042 (OVERFLOW_EXCEPTION): Likewise.
8043 (UNDERFLOW_EXCEPTION): Likewise.
8044 (INEXACT_EXCEPTION): Likewise.
8045 (INVALID_EXCEPTION_OK): Likewise.
8046 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8047 (OVERFLOW_EXCEPTION_OK): Likewise.
8048 (UNDERFLOW_EXCEPTION_OK): Likewise.
8049 (NO_INEXACT_EXCEPTION): Likewise.
8050 (EXCEPTIONS_OK): Likewise.
8051 (IGNORE_ZERO_INF_SIGN): Likewise.
8052 (TEST_NAN_SIGN): Likewise.
8053 (TEST_NAN_PAYLOAD): Likewise.
8054 (NO_TEST_INLINE): Likewise.
8055 (XFAIL_TEST): Likewise.
8056 (ERRNO_UNCHANGED): Likewise.
8057 (ERRNO_EDOM): Likewise.
8058 (ERRNO_ERANGE): Likewise.
8059 (IGNORE_RESULT): Likewise.
8060 (NON_FINITE): Likewise.
8061 (TEST_SNAN): Likewise.
8062 (NO_TEST_MATHVEC): Likewise.
8063 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8064 (__CONCATX): Likewise.
8065 (TYPE_MIN): Likewise.
8066 (TYPE_TRUE_MIN): Likewise.
8067 (TYPE_MAX): Likewise.
8068 (MIN_EXP): Likewise.
8069 (MAX_EXP): Likewise.
8070 (MANT_DIG): Likewise.
8071 (FSTR_MAX): Likewise.
8072 (ULP_IDX): Likewise.
8073 (QTYPE_STR): Likewise.
8074 (TEST_COND_binary32): Likewise.
8075 (TEST_COND_binary64): Likewise.
8076 (TEST_COND_binary128): Likewise.
8077 (TEST_COND_ibm128): Likewise.
8078 (TEST_COND_intel96): Likewise.
8079 (TEST_COND_m68k96): Likewise.
8080 (TEST_COND_ibm128_libgcc): Likewise.
8081 (XFAIL_IBM128_LIBGCC): Likewise.
8082 (PAYLOAD_DIG): Likewise.
8083 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8084 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8085 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8086 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8087 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8088 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8089 (TEST_COND_long32): Likewise.
8090 (TEST_COND_long64): Likewise.
8091 (TEST_COND_before_rounding): Likewise.
8092 (TEST_COND_after_rounding): Likewise.
8093 (lit_pi_3_m_4_d): Likewise.
8094 (lit_pi_3_m_4_ln10_m_d): Likewise.
8095 (lit_pi_2_ln10_m_d): Likewise.
8096 (lit_pi_4_ln10_m_d): Likewise.
8097 (lit_pi_ln10_d): Likewise.
8098 (lit_pi_2_d): Likewise.
8099 (lit_pi_4_d): Likewise.
8100 (lit_pi): Likewise.
8101 (lit_e): Likewise.
8102 (ulps_file_name): Likewise.
8103 (ulps_file): Likewise.
8104 (output_ulps): Likewise.
8105 (output_dir): Likewise.
8106 (noErrors): Likewise.
8107 (noTests): Likewise.
8108 (noExcTests): Likewise.
8109 (noErrnoTests): Likewise.
8110 (verbose): Likewise.
8111 (output_max_error): Likewise.
8112 (output_points): Likewise.
8113 (ignore_max_ulp): Likewise.
8114 (plus_zero): Likewise.
8115 (minus_zero): Likewise.
8116 (plus_infty): Likewise.
8117 (minus_infty): Likewise.
8118 (qnan_value_pl): Likewise.
8119 (qnan_value): Likewise.
8120 (snan_value_pl): Likewise.
8121 (snan_value): Likewise.
8122 (max_value): Likewise.
8123 (min_value): Likewise.
8124 (min_subnorm_value): Likewise.
8125 (snan_value_ld): Likewise.
8126 (max_error): Likewise.
8127 (real_max_error): Likewise.
8128 (imag_max_error): Likewise.
8129 (prev_max_error): Likewise.
8130 (prev_real_max_error): Likewise.
8131 (prev_imag_max_error): Likewise.
8132 (max_valid_error): Likewise.
8133 (TYPE_DECIMAL_DIG): Likewise.
8134 (TYPE_HEX_DIG): Likewise.
8135 (fmt_ftostr): Likewise.
8136 (compare_ulp_data): Likewise.
8137 (find_ulps): Likewise.
8138 (init_max_error): Likewise.
8139 (set_max_error): Likewise.
8140 (print_float): Likewise.
8141 (print_screen): Likewise.
8142 (print_screen_max_error): Likewise.
8143 (update_stats): Likewise.
8144 (print_function_ulps): Likewise.
8145 (print_complex_function_ulps): Likewise.
8146 (fpstack_test): Likewise.
8147 (print_max_error): Likewise.
8148 (print_complex_max_error): Likewise.
8149 (test_single_exception): Likewise.
8150 (test_exceptions): Likewise.
8151 (test_single_errno): Likewise.
8152 (test_errno): Likewise.
8153 (ULPDIFF): Likewise.
8154 (ulp): Likewise.
8155 (check_float_internal): Likewise.
8156 (check_float): Likewise.
8157 (check_complex): Likewise.
8158 (check_int): Likewise.
8159 (check_long): Likewise.
8160 (check_bool): Likewise.
8161 (check_longlong): Likewise.
8162 (check_intmax_t): Likewise.
8163 (check_uintmax_t): Likewise.
8164 (enable_test): Likewise.
8165 (struct test_f_f_data): Likewise.
8166 (struct test_ff_f_data): Likewise.
8167 (struct test_fj_f_data): Likewise.
8168 (struct test_fi_f_data): Likewise.
8169 (struct test_fl_f_data): Likewise.
8170 (struct test_if_f_data): Likewise.
8171 (struct test_fff_f_data): Likewise.
8172 (struct test_fiu_M_data): Likewise.
8173 (struct test_fiu_U_data): Likewise.
8174 (struct test_c_f_data): Likewise.
8175 (struct test_f_f1_data): Likewise.
8176 (struct test_fF_f1_data): Likewise.
8177 (struct test_ffI_f1_data): Likewise.
8178 (struct test_c_c_data): Likewise.
8179 (struct test_cc_c_data): Likewise.
8180 (struct test_f_i_data): Likewise.
8181 (struct test_ff_i_data): Likewise.
8182 (struct test_f_l_data): Likewise.
8183 (struct test_f_L_data): Likewise.
8184 (struct test_fFF_11_data): Likewise.
8185 (struct test_Ff_b1_data): Likewise.
8186 (IF_ROUND_INIT_): Likewise.
8187 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8188 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8189 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8190 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8191 (ROUND_RESTORE_): Likewise.
8192 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8193 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8194 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8195 (ROUND_RESTORE_FE_UPWARD): Likewise.
8196 (RM_): Likewise.
8197 (RM_FE_DOWNWARD): Likewise.
8198 (RM_FE_TONEAREST): Likewise.
8199 (RM_FE_TOWARDZERO): Likewise.
8200 (RM_FE_UPWARD): Likewise.
8201 (COMMON_TEST_SETUP): Likewise.
8202 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8203 (COMMON_TEST_CLEANUP): Likewise.
8204 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8205 (RUN_TEST_f_f): Likewise.
8206 (RUN_TEST_LOOP_f_f): Likewise.
8207 (RUN_TEST_fp_f): Likewise.
8208 (RUN_TEST_LOOP_fp_f): Likewise.
8209 (RUN_TEST_2_f): Likewise.
8210 (RUN_TEST_LOOP_2_f): Likewise.
8211 (RUN_TEST_ff_f): Likewise.
8212 (RUN_TEST_LOOP_ff_f): Likewise.
8213 (RUN_TEST_LOOP_fj_f): Likewise.
8214 (RUN_TEST_fi_f): Likewise.
8215 (RUN_TEST_LOOP_fi_f): Likewise.
8216 (RUN_TEST_fl_f): Likewise.
8217 (RUN_TEST_LOOP_fl_f): Likewise.
8218 (RUN_TEST_if_f): Likewise.
8219 (RUN_TEST_LOOP_if_f): Likewise.
8220 (RUN_TEST_fff_f): Likewise.
8221 (RUN_TEST_LOOP_fff_f): Likewise.
8222 (RUN_TEST_fiu_M): Likewise.
8223 (RUN_TEST_LOOP_fiu_M): Likewise.
8224 (RUN_TEST_fiu_U): Likewise.
8225 (RUN_TEST_LOOP_fiu_U): Likewise.
8226 (RUN_TEST_c_f): Likewise.
8227 (RUN_TEST_LOOP_c_f): Likewise.
8228 (RUN_TEST_f_f1): Likewise.
8229 (RUN_TEST_LOOP_f_f1): Likewise.
8230 (RUN_TEST_fF_f1): Likewise.
8231 (RUN_TEST_LOOP_fF_f1): Likewise.
8232 (RUN_TEST_fI_f1): Likewise.
8233 (RUN_TEST_LOOP_fI_f1): Likewise.
8234 (RUN_TEST_ffI_f1_mod8): Likewise.
8235 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8236 (RUN_TEST_Ff_b1): Likewise.
8237 (RUN_TEST_LOOP_Ff_b1): Likewise.
8238 (RUN_TEST_Ffp_b1): Likewise.
8239 (RUN_TEST_LOOP_Ffp_b1): Likewise.
8240 (RUN_TEST_c_c): Likewise.
8241 (RUN_TEST_LOOP_c_c): Likewise.
8242 (RUN_TEST_cc_c): Likewise.
8243 (RUN_TEST_LOOP_cc_c): Likewise.
8244 (RUN_TEST_f_i): Likewise.
8245 (RUN_TEST_LOOP_f_i): Likewise.
8246 (RUN_TEST_f_i_tg): Likewise.
8247 (RUN_TEST_LOOP_f_i_tg): Likewise.
8248 (RUN_TEST_ff_b): Likewise.
8249 (RUN_TEST_LOOP_ff_b): Likewise.
8250 (RUN_TEST_ff_i_tg): Likewise.
8251 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8252 (RUN_TEST_f_b): Likewise.
8253 (RUN_TEST_LOOP_f_b): Likewise.
8254 (RUN_TEST_f_b_tg): Likewise.
8255 (RUN_TEST_LOOP_f_b_tg): Likewise.
8256 (RUN_TEST_f_l): Likewise.
8257 (RUN_TEST_LOOP_f_l): Likewise.
8258 (RUN_TEST_f_L): Likewise.
8259 (RUN_TEST_LOOP_f_L): Likewise.
8260 (RUN_TEST_fFF_11): Likewise.
8261 (RUN_TEST_LOOP_fFF_11): Likewise.
8262 (VEC_SUFF): Likewise.
8263 (STR_CONCAT): Likewise.
8264 (STR_CON3): Likewise.
8265 (HAVE_VECTOR): Likewise.
8266 (START): Likewise.
8267 (END): Likewise.
8268 (END_COMPLEX): Likewise.
8269 (ALL_RM_TEST): Likewise.
8270 (matherr): Likewise.
8271 (initialize): Likewise.
8272 (options): Likewise.
8273 (doc): Likewise.
8274 (parse_opt): Likewise.
8275 (argp): Likewise.
8276 (check_ulp): Likewise.
8277 (main): Likewise.
8278 (do_test): New function. Call tests of individual functions
8279 previously called from main.
8280
8281 * math/libm-test.inc: Remove comment listing functions tested and
8282 not tested.
8283
8284 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8285
8286 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8287 (allocate_stack): Remove COLORING_INCREMENT usage.
8288 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8289 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8290
8291 2017-02-06 Joseph Myers <joseph@codesourcery.com>
8292
8293 * manual/libm-err-tab.pl (@all_functions): Change to
8294 %all_functions. Initialize as empty.
8295 (parse_ulps): Add to %all_functions based on functions found in
8296 ulps files. Ignore results for non-default rounding modes and
8297 vector functions.
8298 (print_platforms): Use %all_platforms.
8299 * manual/math.texi (Errors in Math Functions): Document omissions
8300 from the table.
8301
8302 * math/Makefile (before-compile): Remove.
8303
8304 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8305
8306 [BZ #21075]
8307 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8308 unused assignment.
8309 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8310
8311 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8312
8313 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8314 Add __glibc_unlikely hint.
8315
8316 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8317
8318 [BZ #16640]
8319 * sysdeps/i386/i686/strtok.S: Remove file.
8320 * sysdeps/i386/i686/strtok_r.S: Likewise.
8321 * sysdeps/i386/strtok.S: Likewise.
8322 * sysdeps/i386/strtok_r.S: Likewise.
8323 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8324 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8325 * sysdeps/x86_64/strtok.S: Likewise.
8326 * sysdeps/x86_64/strtok_r.S: Likewise.
8327
8328 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8329 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8330 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8331 (__ASSUME_FADVISE64_AS_64_64): Define.
8332 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8333 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8334 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8335 __ALIGNMENT_ARG usage.
8336 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8337 __NR_fadvise64_64 if it is not defined.
8338
8339 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
8340
8341 * version.h (RELEASE): Set to "development"
8342 (VERSION): Set to 2.25.90.
8343 * NEWS: Add 2.26 section.
8344
8345 * version.h (RELEASE): Set to "stable"
8346 (VERSION): Set to 2.25.
8347 * include/features.h (__GLIBC_MINOR__): Set to 25.
8348
8349 * manual/contrib.texi: Add more contributors from this release
8350 and past releases.
8351
8352 * NEWS (2.25): Add list of bugs fixed.
8353
8354 * NEWS: Add missing news items.
8355
8356 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
8357
8358 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8359 parent if child exited in that manner. Print WEXITSTATUS
8360 instead of the raw status.
8361 (do_test_prep): Rename to do_test.
8362 (do_test): Return the result of run_executable_sgid.
8363 (TEST_FUNCTION_ARGV): Adjust.
8364
8365 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
8366 Florian Weimer <fweimer@redhat.com>
8367 Carlos O'Donell <carlos@redhat.com>
8368
8369 [BZ #20915]
8370 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8371 Do not initialize DTV.
8372 * nptl/allocatestack.c (init_one_static_tls): Likewise.
8373
8374 2017-02-03 David S. Miller <davem@davemloft.net>
8375
8376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8385 (libm-sysdep_routines): Update.
8386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8391 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8392 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8393 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8394 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8396 Likewise.
8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8399 Likewise.
8400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8402 Likewise.
8403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8405 Likewise.
8406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8408 (libm-sysdep_routines): Update.
8409
8410 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
8411
8412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8413 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8414 against unrelocated shared library.
8415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8416
8417 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8418
8419 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8420 * elf/tst-env-setuid-tunables.c
8421 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8422 GLIBC_TUNABLES is removed in a setgid process.
8423
8424 [BZ #21073]
8425 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8426 * elf/dl-tunables.c (tunables_strdup): Remove.
8427 (get_next_env): Also return the previous envp.
8428 (parse_tunables): Erase tunables of category
8429 TUNABLES_SECLEVEL_SXID_ERASE.
8430 (maybe_enable_malloc_check): Make MALLOC_CHECK_
8431 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8432 (__tunables_init)[TUNABLES_FRONTEND ==
8433 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8434 after parsing.
8435 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8436 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8437 * elf/dl-tunables.h (struct _tunable): Change member is_secure
8438 to security_level.
8439 * elf/dl-tunables.list: Add security_level annotations for all
8440 tunables.
8441 * scripts/gen-tunables.awk: Recognize and generate enum values
8442 for security_level.
8443 * elf/tst-env-setuid.c: New test case.
8444 * elf/tst-env-setuid-tunables: new test case.
8445 * elf/Makefile (tests-static): Add them.
8446
8447 2017-02-01 Richard Henderson <rth@twiddle.net>
8448
8449 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8450 adjusting the byte count.
8451
8452 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
8453
8454 * conform/Makefile (linknamespace-libs): Define.
8455
8456 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8457 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8458 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8459 operands.
8460
8461 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
8462
8463 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8464
8465 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
8466
8467 [BZ #21081]
8468 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8469 (L(stosb)): Add VZEROUPPER before ret.
8470
8471 2016-01-28 Carlos O'Donell <carlos@redhat.com>
8472 Alexey Makhalov <amakhalov@vmware.com>
8473 Florian Weimer <fweimer@redhat.com>
8474
8475 [BZ #20116]
8476 * nptl/pthread_create.c: Document concurrency notes.
8477 Enhance thread creation notes.
8478 (create_thread): Use bool *stopped_start.
8479 (START_THREAD_DEFN): Comment ownership of PD.
8480 (__pthread_create_2_1): Add local bool stopped_start and use
8481 that instead of pd->stopped_start where appropriate.
8482 * nptl/createthread.c (create_thread): Use bool *stopped_start.
8483 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8484 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8485 * nptl/tst-create-detached.c: New file.
8486 * nptl/Makefile (tests): Add tst-create-detached.
8487 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8488 Reference the enhanced thread creation notes.
8489 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8490 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8491 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8492 (__pthread_current_priority): Likewise.
8493 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8494 xpthread_attr_init, xpthread_attr_setdetachstate, and
8495 xpthread_attr_setstacksize.
8496 * support/xpthread_attr_destroy.c: New file.
8497 * support/xpthread_attr_init.c: New file.
8498 * support/xpthread_attr_setdetachstate.c: New file.
8499 * support/xpthread_attr_setstacksize.c: New file.
8500 * support/xthread.h: Define prototypes for xpthread_attr_destroy
8501 xpthread_attr_init, xpthread_attr_setdetachstate, and
8502 xpthread_attr_setstacksize.
8503
8504 2017-01-27 Florian Weimer <fweimer@redhat.com>
8505
8506 * nptl/Makefile (tests): Add tst-robust-fork.
8507 * nptl/tst-robust-fork.c: New file.
8508 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8509 xpthread_mutex_consistent, xpthread_mutex_destroy,
8510 xpthread_mutex_init, xpthread_mutexattr_destroy,
8511 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8512 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8513 xpthread_mutexattr_settype.
8514 * support/xmmap.c: New file.
8515 * support/xmunmap.c: Likewise.
8516 * support/xpthread_mutex_consistent.c: Likewise.
8517 * support/xpthread_mutex_destroy.c: Likewise.
8518 * support/xpthread_mutex_init.c: Likewise.
8519 * support/xpthread_mutexattr_destroy.c: Likewise.
8520 * support/xpthread_mutexattr_init.c: Likewise.
8521 * support/xpthread_mutexattr_setprotocol.c: Likewise.
8522 * support/xpthread_mutexattr_setpshared.c: Likewise.
8523 * support/xpthread_mutexattr_setrobust.c: Likewise.
8524 * support/xpthread_mutexattr_settype.c: Likewise.
8525 * support/xthread.h (xpthread_mutexattr_destroy)
8526 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8527 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8528 (xpthread_mutexattr_settype, xpthread_mutex_init)
8529 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8530 * support/xunistd.h (xmmap, xmunmap): Likewise.
8531
8532 2017-01-25 Florian Weimer <fweimer@redhat.com>
8533
8534 * string/Makefile (xtests): Add comment.
8535 (LOCALES): Add en_GB.UTF-8.
8536 (tst-strcoll-overflow.out): Depend on generated locales.
8537 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8538 (SIZE, TIMEOUT): Update comments.
8539 (do_test): Define as static. Fail test if setlocale fails.
8540 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
8541 messages.
8542 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8543 TIMEOUT at 300 seconds should be enough to run this test
8544 successfully.
8545
8546 2017-01-24 Jakub Jelinek <jakub@redhat.com>
8547
8548 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8549 /* FALLTHRU */ comments.
8550
8551 2017-01-24 James Clarke <jrtc27@jrtc27.com>
8552
8553 [BZ #21053]
8554 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8555 constants instead of the old R* ones.
8556 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8557 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8558 (NGREG): ... to this, to fit in with other architectures.
8559 (gpregset_t): Use new NGREG macro.
8560 [__USE_GNU]: Remove condition; all architectures other than tile
8561 are unconditional.
8562 (R*): Rename to REG_R*.
8563
8564 2017-01-20 DJ Delorie <dj@redhat.com>
8565
8566 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8567 (tunable_set_val_if_valid_range_signed) ... this, and ...
8568 (tunable_set_val_if_valid_range_unsigned) ... this.
8569 (tunable_initialize): Call the correct one of the above based on type.
8570
8571 2017-01-20 Joseph Myers <joseph@codesourcery.com>
8572
8573 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8574 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8575 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8576 * sysdeps/microblaze/libm-test-ulps: Likewise.
8577 * sysdeps/sh/libm-test-ulps: Likewise.
8578
8579 * math/README.libm-test: Update list of characters for input and
8580 output types.
8581
8582 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8583
8584 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8585 (__lll_unlock_elision): Fix adapt_count decrement.
8586
8587 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
8588
8589 * README.pretty-printers (Known issues): Warn about printers not
8590 always covering everything.
8591 * nptl/nptl-printers.py (MutexPrinter): Change output.
8592 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8593
8594 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8595
8596 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8597 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8598 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8599 (__lll_lock_elision): Do not test futex before starting a
8600 transaction. Use __glibc_likely instead of __builtin_expect.
8601 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8602 (__lll_trylock_elision): Do not test futex before starting a
8603 transaction. Use __glibc_likely instead of __builtin_expect.
8604
8605 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
8606
8607 * po/Makefile (update-translations): New target.
8608
8609 2017-01-19 Joseph Myers <joseph@codesourcery.com>
8610
8611 [BZ #21061]
8612 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8613
8614 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
8615
8616 * elf/dl-tunables (get_next_env): Always advance envp.
8617 * stdlib/tst-empty-env.c: New test case.
8618 * stdlib/Makefile (tests): Use it.
8619
8620 2017-01-19 Joseph Myers <joseph@codesourcery.com>
8621
8622 [BZ #21047]
8623 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8624 name for instruction.
8625 [!__SOFTFP__] (_FPU_SETCW): Likewise.
8626
8627 2017-01-18 Joseph Myers <joseph@codesourcery.com>
8628
8629 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8630 for make install.
8631
8632 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8633
8634 * po/bg.po: Merge from Translation Project.
8635 * po/fr.po: Likewise.
8636 * po/ko.po: Likewise.
8637 * po/nl.po: Likewise.
8638 * po/sv.po: Likewise.
8639
8640 2017-01-18 Joseph Myers <joseph@codesourcery.com>
8641
8642 * manual/install.texi (Tools for Compilation): Update GCC version
8643 known to work to build glibc.
8644 * INSTALL: Regenerated.
8645
8646 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8647
8648 [BZ #21006]
8649 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8650
8651 2017-01-16 Joseph Myers <joseph@codesourcery.com>
8652
8653 [BZ #21045]
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8655 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8656 to __sigprocmask.
8657
8658 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
8659
8660 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8661 wrap-around.
8662 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8663
8664 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8665
8666 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
8667
8668 * NEWS: Fix typo.
8669
8670 2016-01-13 Torvald Riegel <triegel@redhat.com>
8671
8672 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8673 barriers and comments.
8674 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8675 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8676 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8677
8678 2016-01-13 Torvald Riegel <triegel@redhat.com>
8679
8680 [BZ #19402]
8681 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8682 mutexes.
8683
8684 2016-01-13 Torvald Riegel <triegel@redhat.com>
8685
8686 [BZ #20985]
8687 * nptl/Makefile: Adapt.
8688 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8689 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8690 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8691 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8692 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8693 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8694 lll_robust* functions and adapt.
8695 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8696 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8697 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8698 __lll_robust_timedlock, __lll_robust_unlock): Remove.
8699 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8700 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8701 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8702 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8703 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8704 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8705 __lll_robust_timedlock, __lll_robust_unlock): Remove.
8706 * nptl/lowlevelrobustlock.c: Remove file.
8707 * nptl/lowlevelrobustlock.sym: Likewise.
8708 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8709 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8710
8711 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8712
8713 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8714
8715 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
8716
8717 * po/cs.po: Merge translations from the Translation Project.
8718 * po/de.po: Likewise.
8719 * po/pl.po: Likewise.
8720 * po/ru.po: Likewise.
8721 * po/tr.po: Likewise.
8722 * po/uk.po: Likewise.
8723 * po/vi.po: Likewise.
8724 * po/zh_CN.po: Likewise.
8725
8726 2017-01-12 Joseph Myers <joseph@codesourcery.com>
8727
8728 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
8729
8730 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
8731 object.
8732
8733 2017-01-11 Joseph Myers <joseph@codesourcery.com>
8734
8735 [BZ #16458]
8736 * bits/uintn-identity.h: New file.
8737 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
8738 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
8739 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
8740 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
8741 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
8742 * string/endian.h: Include <bits/uintn-identity.h>.
8743 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
8744 __uint16_identity.
8745 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
8746 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
8747 __uint32_identity.
8748 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
8749 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
8750 __uint64_identity.
8751 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
8752 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
8753 __uint16_identity.
8754 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
8755 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
8756 __uint32_identity.
8757 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
8758 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
8759 __uint64_identity.
8760 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
8761 * string/Makefile (headers): Add bits/uintn-identity.h.
8762 (tests): Add test-endian-types.
8763 * string/test-endian-types.c: New file.
8764 * inet/Makefile (tests): Add test-hnto-types.
8765 * inet/test-hnto-types.c: New file.
8766
8767 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8768
8769 * po/be.po: Update from Translation Project.
8770 * po/bg.po: Likewise.
8771 * po/ca.po: Likewise.
8772 * po/cs.po: Likewise.
8773 * po/da.po: Likewise.
8774 * po/de.po: Likewise.
8775 * po/el.po: Likewise.
8776 * po/eo.po: Likewise.
8777 * po/es.po: Likewise.
8778 * po/fi.po: Likewise.
8779 * po/fr.po: Likewise.
8780 * po/gl.po: Likewise.
8781 * po/hr.po: Likewise.
8782 * po/hu.po: Likewise.
8783 * po/ia.po: Likewise.
8784 * po/id.po: Likewise.
8785 * po/it.po: Likewise.
8786 * po/ja.po: Likewise.
8787 * po/ko.po: Likewise.
8788 * po/lt.po: Likewise.
8789 * po/nb.po: Likewise.
8790 * po/nl.po: Likewise.
8791 * po/pl.po: Likewise.
8792 * po/pt_BR.po: Likewise.
8793 * po/ru.po: Likewise.
8794 * po/rw.po: Likewise.
8795 * po/sk.po: Likewise.
8796 * po/sl.po: Likewise.
8797 * po/sv.po: Likewise.
8798 * po/tr.po: Likewise.
8799 * po/uk.po: Likewise.
8800 * po/vi.po: Likewise.
8801 * po/zh_CN.po: Likewise.
8802 * po/zh_TW.po: Likewise.
8803
8804 2017-01-11 Joseph Myers <joseph@codesourcery.com>
8805
8806 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
8807 -Wformat-truncation instead of -Wformat-length.
8808 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
8809 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
8810 GCC 7.
8811 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
8812 (do_test): Ignore -Wformat-truncation for GCC 7.
8813
8814 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
8815 buffer used to print long int value.
8816
8817 * elf/sotruss-lib.c (init): Increase space allocated for pid by
8818 one byte. Print it with %ld, cast to long int.
8819
8820 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8821
8822 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
8823 (re.fullmatch, subprocess.run): Likewise.
8824
8825 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8826
8827 * po/libc.pot: Regenerate.
8828
8829 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
8830
8831 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
8832 (min_strlen): Likewise.
8833 (disable_tunable): Likewise.
8834 (maybe_disable_malloc_check): Rename to
8835 maybe_enable_malloc_check.
8836 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
8837 if /etc/suid-debug file exists.
8838 (__tunables_init): Update caller.
8839 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
8840 secure.
8841
8842 2016-01-10 Torvald Riegel <triegel@redhat.com>
8843
8844 * nptl/DESIGN-rwlock.txt: Remove.
8845 * nptl/lowlevelrwlock.sym: Remove.
8846 * nptl/Makefile: Add new tests.
8847 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
8848 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
8849 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
8850 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
8851 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
8852 PTHREAD_RWLOCK_FUTEX_USED): New.
8853 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
8854 implementation.
8855 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
8856 (__pthread_rwlock_rdlock): Adapt.
8857 * nptl/pthread_rwlock_timedrdlock.c
8858 (pthread_rwlock_timedrdlock): Adapt.
8859 * nptl/pthread_rwlock_timedwrlock.c
8860 (pthread_rwlock_timedwrlock): Adapt.
8861 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
8862 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
8863 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
8864 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
8865 (__pthread_rwlock_wrlock): Adapt.
8866 * nptl/tst-rwlock10.c: Adapt.
8867 * nptl/tst-rwlock11.c: Adapt.
8868 * nptl/tst-rwlock17.c: New file.
8869 * nptl/tst-rwlock18.c: New file.
8870 * nptl/tst-rwlock19.c: New file.
8871 * nptl/tst-rwlock2b.c: New file.
8872 * nptl/tst-rwlock8.c: Adapt.
8873 * nptl/tst-rwlock9.c: Adapt.
8874 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8875 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8876 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8877 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8878 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8879 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8880 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8881 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8882 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8883 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8884 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8885 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8886 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8887 (pthread_rwlock_t): Adapt.
8888 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8889 (pthread_rwlock_t): Adapt.
8890 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8891 * nptl/nptl-printers.py (): Adapt.
8892 * nptl/nptl_lock_constants.pysym: Adapt.
8893 * nptl/test-rwlock-printers.py: Adapt.
8894 * nptl/test-rwlockattr-printers.c: Adapt.
8895 * nptl/test-rwlockattr-printers.py: Adapt.
8896
8897 2017-01-10 Joseph Myers <joseph@codesourcery.com>
8898
8899 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
8900 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
8901 (fma_test_data): Likewise.
8902 (hypot_test_data): Likewise.
8903 (log1p_test_data): Likewise.
8904 (modf_test_data): Likewise.
8905 (pow_test_data): Likewise.
8906 (remainder_test_data): Likewise.
8907 (remquo_test_data): Likewise.
8908 (scalb_test_data): Likewise.
8909 (scalbn_test_data): Likewise.
8910 (scalbln_test_data): Likewise.
8911 * math/gen-libm-test.pl (parse_args): Transform
8912 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
8913 on the rounding mode.
8914
8915 2017-01-09 Joseph Myers <joseph@codesourcery.com>
8916
8917 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
8918 xfail-rounding:ibm128-libgcc automatically to tests overflowing
8919 and those that can underflow to zero.
8920 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
8921 add others.
8922 * math/auto-libm-test-out: Regenerated.
8923
8924 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
8925 supported.
8926 (feholdexcept_tests): Skip tests requiring exceptions or rounding
8927 modes support if not supported.
8928
8929 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
8930 Add libc.so PLT entry.
8931 (__tls_get_addr): Make ld.so PLT entry optional.
8932
8933 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8934
8935 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
8936 * string/bits/string3.h: ... here.
8937
8938 2017-01-05 Joseph Myers <joseph@codesourcery.com>
8939
8940 [BZ #21028]
8941 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
8942 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
8943 if EXCEPTION_TESTS returns false.
8944
8945 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8946
8947 [BZ #20558]
8948 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
8949 strings_fortified.h.
8950 [__USE_MISC] (bzero): Likewise.
8951 [__USE_MISC] (explicit_bzero): Likewise.
8952 * string/strings.h: Include strings_fortified.h.
8953 * string/Makefile (headers): Add strings_fortified.h.
8954 * string/bits/strings_fortified.h: New file.
8955 * include/bits/strings_fortified.h: Likewise.
8956
8957 2017-01-05 Joseph Myers <joseph@codesourcery.com>
8958
8959 * elf/tst-tls13.c (TIMEOUT): Remove.
8960 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
8961 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
8962 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
8963 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
8964 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
8965
8966 [BZ #21026]
8967 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
8968 (readahead): New syscall entry.
8969
8970 2017-01-04 Joseph Myers <joseph@codesourcery.com>
8971
8972 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
8973 around tests of strncat with large sizes.
8974
8975 * malloc/tst-malloc.c: Include <libc-internal.h>.
8976 (do_test): Disable -Walloc-size-larger-than= around tests of
8977 malloc with negative sizes.
8978 * malloc/tst-mcheck.c: Include <libc-internal.h>.
8979 (do_test): Disable -Walloc-size-larger-than= around tests of
8980 malloc and realloc with negative sizes.
8981 * malloc/tst-realloc.c: Include <libc-internal.h>.
8982 (do_test): Disable -Walloc-size-larger-than= around tests of
8983 realloc with negative sizes.
8984
8985 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
8986 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
8987 allowed to 16 ulps.
8988 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
8989 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
8990 * math/auto-libm-test-out: Regenerated.
8991
8992 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8993
8994 * math/Makefile (libm-calls): Move wrappers...
8995 (libm-compat-call-auto): Here.
8996 (libm-routines): Add items in libm-compat-calls-auto.
8997 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
8998 the filenames of the wrappers that have been renamed.
8999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9001
9002 * math/w_acos.c: Add _compat suffix to filename.
9003 * math/w_acosf.c: Likewise.
9004 * math/w_acosh.c: Likewise.
9005 * math/w_acoshf.c: Likewise.
9006 * math/w_acoshl.c: Likewise.
9007 * math/w_acosl.c: Likewise.
9008 * math/w_asin.c: Likewise.
9009 * math/w_asinf.c: Likewise.
9010 * math/w_asinl.c: Likewise.
9011 * math/w_atan2.c: Likewise.
9012 * math/w_atan2f.c: Likewise.
9013 * math/w_atan2l.c: Likewise.
9014 * math/w_atanh.c: Likewise.
9015 * math/w_atanhf.c: Likewise.
9016 * math/w_atanhl.c: Likewise.
9017 * math/w_cosh.c: Likewise.
9018 * math/w_coshf.c: Likewise.
9019 * math/w_coshl.c: Likewise.
9020 * math/w_exp10.c: Likewise.
9021 * math/w_exp10f.c: Likewise.
9022 * math/w_exp10l.c: Likewise.
9023 * math/w_exp2.c: Likewise.
9024 * math/w_exp2f.c: Likewise.
9025 * math/w_exp2l.c: Likewise.
9026 * math/w_fmod.c: Likewise.
9027 * math/w_fmodf.c: Likewise.
9028 * math/w_fmodl.c: Likewise.
9029 * math/w_hypot.c: Likewise.
9030 * math/w_hypotf.c: Likewise.
9031 * math/w_hypotl.c: Likewise.
9032 * math/w_j0.c: Likewise.
9033 * math/w_j0f.c: Likewise.
9034 * math/w_j0l.c: Likewise.
9035 * math/w_j1.c: Likewise.
9036 * math/w_j1f.c: Likewise.
9037 * math/w_j1l.c: Likewise.
9038 * math/w_jn.c: Likewise.
9039 * math/w_jnf.c: Likewise.
9040 * math/w_jnl.c: Likewise.
9041 * math/w_log10.c: Likewise.
9042 * math/w_log10f.c: Likewise.
9043 * math/w_log10l.c: Likewise.
9044 * math/w_log2.c: Likewise.
9045 * math/w_log2f.c: Likewise.
9046 * math/w_log2l.c: Likewise.
9047 * math/w_log.c: Likewise.
9048 * math/w_logf.c: Likewise.
9049 * math/w_logl.c: Likewise.
9050 * math/w_pow.c: Likewise.
9051 * math/w_powf.c: Likewise.
9052 * math/w_powl.c: Likewise.
9053 * math/w_remainder.c: Likewise.
9054 * math/w_remainderf.c: Likewise.
9055 * math/w_remainderl.c: Likewise.
9056 * math/w_scalb.c: Likewise.
9057 * math/w_scalbf.c: Likewise.
9058 * math/w_scalbl.c: Likewise.
9059 * math/w_sinh.c: Likewise.
9060 * math/w_sinhf.c: Likewise.
9061 * math/w_sinhl.c: Likewise.
9062 * math/w_sqrt.c: Likewise.
9063 * math/w_sqrtf.c: Likewise.
9064 * math/w_sqrtl.c: Likewise.
9065 * math/w_tgamma.c: Likewise.
9066 * math/w_tgammaf.c: Likewise.
9067 * math/w_tgammal.c: Likewise.
9068
9069 * math/w_acos_compat.c: New file copied from above and
9070 adjusted for new #includes path
9071 * math/w_acosf_compat.c: Likewise.
9072 * math/w_acosh_compat.c: Likewise.
9073 * math/w_acoshf_compat.c: Likewise.
9074 * math/w_acoshl_compat.c: Likewise.
9075 * math/w_acosl_compat.c: Likewise.
9076 * math/w_asin_compat.c: Likewise.
9077 * math/w_asinf_compat.c: Likewise.
9078 * math/w_asinl_compat.c: Likewise.
9079 * math/w_atan2_compat.c: Likewise.
9080 * math/w_atan2f_compat.c: Likewise.
9081 * math/w_atan2l_compat.c: Likewise.
9082 * math/w_atanh_compat.c: Likewise.
9083 * math/w_atanhf_compat.c: Likewise.
9084 * math/w_atanhl_compat.c: Likewise.
9085 * math/w_cosh_compat.c: Likewise.
9086 * math/w_coshf_compat.c: Likewise.
9087 * math/w_coshl_compat.c: Likewise.
9088 * math/w_exp10_compat.c: Likewise.
9089 * math/w_exp10f_compat.c: Likewise.
9090 * math/w_exp10l_compat.c: Likewise.
9091 * math/w_exp2_compat.c: Likewise.
9092 * math/w_exp2f_compat.c: Likewise.
9093 * math/w_exp2l_compat.c: Likewise.
9094 * math/w_fmod_compat.c: Likewise.
9095 * math/w_fmodf_compat.c: Likewise.
9096 * math/w_fmodl_compat.c: Likewise.
9097 * math/w_hypot_compat.c: Likewise.
9098 * math/w_hypotf_compat.c: Likewise.
9099 * math/w_hypotl_compat.c: Likewise.
9100 * math/w_j0_compat.c: Likewise.
9101 * math/w_j0f_compat.c: Likewise.
9102 * math/w_j0l_compat.c: Likewise.
9103 * math/w_j1_compat.c: Likewise.
9104 * math/w_j1f_compat.c: Likewise.
9105 * math/w_j1l_compat.c: Likewise.
9106 * math/w_jn_compat.c: Likewise.
9107 * math/w_jnf_compat.c: Likewise.
9108 * math/w_jnl_compat.c: Likewise.
9109 * math/w_log10_compat.c: Likewise.
9110 * math/w_log10f_compat.c: Likewise.
9111 * math/w_log10l_compat.c: Likewise.
9112 * math/w_log2_compat.c: Likewise.
9113 * math/w_log2f_compat.c: Likewise.
9114 * math/w_log2l_compat.c: Likewise.
9115 * math/w_log_compat.c: Likewise.
9116 * math/w_logf_compat.c: Likewise.
9117 * math/w_logl_compat.c: Likewise.
9118 * math/w_pow_compat.c: Likewise.
9119 * math/w_powf_compat.c: Likewise.
9120 * math/w_powl_compat.c: Likewise.
9121 * math/w_remainder_compat.c: Likewise.
9122 * math/w_remainderf_compat.c: Likewise.
9123 * math/w_remainderl_compat.c: Likewise.
9124 * math/w_scalb_compat.c: Likewise.
9125 * math/w_scalbf_compat.c: Likewise.
9126 * math/w_scalbl_compat.c: Likewise.
9127 * math/w_sinh_compat.c: Likewise.
9128 * math/w_sinhf_compat.c: Likewise.
9129 * math/w_sinhl_compat.c: Likewise.
9130 * math/w_sqrt_compat.c: Likewise.
9131 * math/w_sqrtf_compat.c: Likewise.
9132 * math/w_sqrtl_compat.c: Likewise.
9133 * math/w_tgamma_compat.c: Likewise.
9134 * math/w_tgammaf_compat.c: Likewise.
9135 * math/w_tgammal_compat.c: Likewise.
9136
9137 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9138 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9139 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9140 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9141 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9142 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9143 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9144 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9145 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9146 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9147 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9148 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9149 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9150 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9151 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9152 * sysdeps/ia64/fpu/w_powl.c: Likewise.
9153 * sysdeps/ia64/fpu/w_powf.c: Likewise.
9154 * sysdeps/ia64/fpu/w_pow.c: Likewise.
9155 * sysdeps/ia64/fpu/w_logl.c: Likewise.
9156 * sysdeps/ia64/fpu/w_logf.c: Likewise.
9157 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9158 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9159 * sysdeps/ia64/fpu/w_log2.c: Likewise.
9160 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9161 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9162 * sysdeps/ia64/fpu/w_log10.c: Likewise.
9163 * sysdeps/ia64/fpu/w_log.c: Likewise.
9164 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9165 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9166 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9167 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9168 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9169 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9170 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9171 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9172 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9173 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9174 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9175 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9176 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9177 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9178 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9179 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9180 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9181 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9182 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9183 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9184 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9185 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9186 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9187 * sysdeps/ia64/fpu/w_asin.c: Likewise.
9188 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9189 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9190 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9191 * sysdeps/ia64/fpu/w_acos.c: Likewise.
9192 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9193 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9194 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9195 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9196 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9197 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9200 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9202 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9203 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9204 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9206 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9208 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9209 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9210 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9212 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9214 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9215 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9216 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9217 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9218 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9220 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9221 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9222 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9223 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9224 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9226 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9227 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9228 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9230 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9232 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9234 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9236 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9238 Likewise.
9239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9240 Likewise.
9241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9243 Likewise.
9244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9245 Likewise.
9246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9248 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9249 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9250 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9251 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9252 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9261
9262 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9263 and adjusted for new #includes path
9264 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9265 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9266 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9267 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9268 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9269 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9270 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9271 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9272 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9273 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9274 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9275 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9276 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9277 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9278 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9279 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9280 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9281 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9282 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9283 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9284 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9285 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9286 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9287 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9288 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9289 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9290 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9291 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9292 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9293 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9294 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9295 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9296 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9297 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9298 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9299 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9300 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9301 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9302 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9303 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9304 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9305 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9306 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9307 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9308 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9309 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9310 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9311 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9312 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9313 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9314 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9315 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9316 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9317 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9318 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9319 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9320 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9321 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9322 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9323 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9324 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9325 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9326 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9327 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9328 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9329 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9330 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9331 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9332 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9333 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9334 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9335 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9336 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9337 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9338 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9339 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9340 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9341 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9342 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9343 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9344 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9345 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9346 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9347 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9348 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9349 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9350 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9351 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9352 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9353 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9354 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9355 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9356 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9357 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9358 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9359 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9360 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9361 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9362 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9364 Likewise.
9365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9366 Likewise.
9367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9368 Likewise.
9369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9370 Likewise.
9371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9372 Likewise.
9373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9374 Likewise.
9375 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9376 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9377 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9378 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9379 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9380 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9382 Likewise.
9383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9384 Likewise.
9385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9386 Likewise.
9387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9388 Likewise.
9389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9391 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9392 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9393
9394 2017-01-04 Joseph Myers <joseph@codesourcery.com>
9395
9396 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9397 __jmp_buf_internal_tag.
9398
9399 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9400 preserve NaN payload if [__mips_nan2008].
9401 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9402
9403 [BZ #21022]
9404 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9405
9406 2017-01-03 Joseph Myers <joseph@codesourcery.com>
9407
9408 * sysdeps/i386/fpu/libm-test-ulps: Update.
9409
9410 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9411
9412 * sysdeps/ia64/strcat.c: Remove file.
9413 * sysdeps/powerpc/strcat.c: Likewise.
9414 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9415 C implementation.
9416 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9417 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9418
9419 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9420 Steven Munroe <sjmunroe@us.ibm.com>
9421 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9422
9423 [BZ #20822]
9424 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9425 (__lll_lock_elision): Access adapt_count via C11 atomics.
9426 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9427 (__lll_trylock_elision): Likewise.
9428 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9429 (__lll_unlock_elision): Update adapt_count variable inside the
9430 critical section using C11 atomics.
9431
9432 2017-01-03 Joseph Myers <joseph@codesourcery.com>
9433
9434 * math/test-fenvinline.c (do_test): Disable tests of raised
9435 exceptions if !EXCEPTION_TESTS (FLOAT).
9436
9437 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9438
9439 [BZ #19390]
9440 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9441 maximum string size.
9442 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9443 in pointer addition.
9444 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9445 Likewise.
9446
9447 2017-01-03 Joseph Myers <joseph@codesourcery.com>
9448
9449 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9450 passed to tst-ldconfig-X.sh.
9451
9452 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
9453
9454 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9455
9456 2017-01-02 Joseph Myers <joseph@codesourcery.com>
9457
9458 [BZ #21019]
9459 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9460 New syscall entry.
9461 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9462 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9463 lseek.
9464
9465 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9466 power4 glibc for powerpc-linux-gnu.
9467
9468 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9469
9470 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9471 semctl.
9472
9473 2017-01-02 Joseph Myers <joseph@codesourcery.com>
9474
9475 * math/test-nearbyint-except.c: Include <stdbool.h>.
9476 (any_supported): New variable.
9477 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
9478 set any_supported.
9479 (do_test): Return 77 if no floating-point type supported
9480 exceptions.
9481
9482 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9483 condition on [__mips_hard_float].
9484
9485 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9486
9487 [BZ #21014]
9488 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9489 in pointer addition.
9490 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9491
9492 2017-01-02 Torvald Riegel <triegel@redhat.com>
9493
9494 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9495 new condvar.
9496
9497 2017-01-02 Joseph Myers <joseph@codesourcery.com>
9498
9499 * scripts/build-many-glibcs.py (Context.checkout): Default
9500 binutils version to 2.28 branch.
9501
9502 2017-01-01 Florian Weimer <fweimer@redhat.com>
9503
9504 * support/support_format_netent.c (support_format_netent): Work
9505 around alpha struct netent definition difference.
9506
9507 2017-01-01 Florian Weimer <fweimer@redhat.com>
9508
9509 * support/xwrite.c (xwrite): Use %td for pointer difference.
9510
9511 2017-01-01 Florian Weimer <fweimer@redhat.com>
9512
9513 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9514 have-tunables only.
9515 (tests-static): Add tst-malloc-usable-static-tunables for
9516 have-tunables only.
9517
9518 2017-01-01 Joseph Myers <joseph@codesourcery.com>
9519
9520 * scripts/config.guess: Update to version 2017-01-01.
9521 * scripts/config.sub: Update to version 2017-01-01.
9522
9523 * NEWS: Update copyright dates.
9524 * catgets/gencat.c (print_version): Likewise.
9525 * csu/version.c (banner): Likewise.
9526 * debug/catchsegv.sh: Likewise.
9527 * debug/pcprofiledump.c (print_version): Likewise.
9528 * debug/xtrace.sh (do_version): Likewise.
9529 * elf/ldconfig.c (print_version): Likewise.
9530 * elf/ldd.bash.in: Likewise.
9531 * elf/pldd.c (print_version): Likewise.
9532 * elf/sotruss.sh: Likewise.
9533 * elf/sprof.c (print_version): Likewise.
9534 * iconv/iconv_prog.c (print_version): Likewise.
9535 * iconv/iconvconfig.c (print_version): Likewise.
9536 * locale/programs/locale.c (print_version): Likewise.
9537 * locale/programs/localedef.c (print_version): Likewise.
9538 * login/programs/pt_chown.c (print_version): Likewise.
9539 * malloc/memusage.sh (do_version): Likewise.
9540 * malloc/memusagestat.c (print_version): Likewise.
9541 * malloc/mtrace.pl: Likewise.
9542 * manual/libc.texinfo: Likewise.
9543 * nptl/version.c (banner): Likewise.
9544 * nscd/nscd.c (print_version): Likewise.
9545 * nss/getent.c (print_version): Likewise.
9546 * nss/makedb.c (print_version): Likewise.
9547 * posix/getconf.c (main): Likewise.
9548 * scripts/test-installation.pl: Likewise.
9549 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9550
9551 * All files with FSF copyright notices: Update copyright dates
9552 using scripts/update-copyrights.
9553 * intl/plural.c: Regenerated.
9554 * locale/programs/charmap-kw.h: Likewise.
9555 * locale/programs/locfile-kw.h: Likewise.
9556
9557 2016-12-31 Florian Weimer <fweimer@redhat.com>
9558
9559 [BZ #20593]
9560 Update DNS RR type definitions.
9561 * scripts/gen-rrtypes.py: New file.
9562 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9563 BIND-internal RR type not used on the Internet. Add ns_t_ds,
9564 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9565 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9566 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9567 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9568 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9569 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9570 ns_t_ta, ns_t_dlv.
9571 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9572 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9573 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9574 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9575 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9576 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9577 Define.
9578 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
9579 entry for ns_t_zxfr.
9580
9581 2016-12-31 Florian Weimer <fweimer@redhat.com>
9582
9583 [BZ #18784]
9584 CVE-2015-5180
9585 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9586 T_UNSPEC. Adjust value.
9587 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9588 * resolv/res_query.c (__libc_res_nquery): Likewise.
9589 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9590 QTYPEs.
9591 * resolv/tst-resolv-qtypes.c: New file.
9592 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9593 (tst-resolv-qtypes): Link against libresolv and libpthread.
9594
9595 2016-12-31 Florian Weimer <fweimer@redhat.com>
9596
9597 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9598
9599 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
9600
9601 * manual/tunables.texi: New chapter.
9602 * manual/Makefile (chapters): Add it.
9603 * manual/probes.texi (@node): Point to the Tunables chapter.
9604
9605 * Makeconfig (have-tunables): Check for non-negative instead
9606 of positive.
9607 * configure.ac: Add 'valstring' as a valid value for
9608 --enable-tunables.
9609 * configure: Regenerate.
9610 * elf/Makefile (have-tunables): Check for non-negative instead
9611 of positive.
9612 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9613 dl-tunables.c.
9614 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9615 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9616 (tunables_strdup): Likewise.
9617 (disable_tunables): Likewise.
9618 (parse_tunables): Likewise.
9619 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9620 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9621 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9622 (TUNABLES_FRONTEND_yes): New macro, define as
9623 TUNABLES_FRONTEND_valstring by default.
9624 * manual/install.texi: Document new acceptable values for
9625 --enable-tunables.
9626 * INSTALL: Regenerate.
9627
9628 * config.make.in (have-loop-to-function): Define.
9629 * elf/Makefile (CFLAGS-dl-tunables.c): Add
9630 -fno-tree-loop-distribute-patterns.
9631 * elf/dl-tunables.c: Include libc-internals.h.
9632 (GLIBC_TUNABLES): New macro.
9633 (tunables_strdup): New function.
9634 (parse_tunables): New function.
9635 (min_strlen): New function.
9636 (__tunables_init): Use the new functions and macro.
9637 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9638 * malloc/tst-malloc-usable-tunables.c: New test case.
9639 * malloc/tst-malloc-usable-static-tunables.c: New test case.
9640 * malloc/Makefile (tests, tests-static): Add tests.
9641
9642 * manual/install.texi: Add --enable-tunables option.
9643 * INSTALL: Regenerate.
9644 * README.tunables: New file.
9645 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9646 (before-compile): Generate dl-tunable-list.h early.
9647 * config.h.in: Add HAVE_TUNABLES.
9648 * config.make.in: Add have-tunables.
9649 * configure.ac: Add --enable-tunables option.
9650 * configure: Regenerate.
9651 * csu/init-first.c (__libc_init_first): Move
9652 __libc_init_secure earlier...
9653 * csu/init-first.c (LIBC_START_MAIN):... to here.
9654 Include dl-tunables.h, libc-internal.h.
9655 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9656 binaries.
9657 * elf/Makefile (dl-routines): Add dl-tunables.
9658 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9659 namespace.
9660 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9661 only when !HAVE_TUNABLES.
9662 * elf/rtld.c (process_envvars): Likewise.
9663 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9664 (_dl_sysdep_start): Call __tunables_init.
9665 * elf/dl-tunable-types.h: New file.
9666 * elf/dl-tunables.c: New file.
9667 * elf/dl-tunables.h: New file.
9668 * elf/dl-tunables.list: New file.
9669 * malloc/tst-malloc-usable-static.c: New test case.
9670 * malloc/Makefile (tests-static): Add it.
9671 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9672 Define TUNABLE_NAMESPACE.
9673 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9674 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
9675 callback functions.
9676 (ptmalloc_init): Set tunable values.
9677 * scripts/gen-tunables.awk: New file.
9678 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9679 (_dl_sysdep_start): Call __tunables_init.
9680
9681 2016-12-31 Florian Weimer <fweimer@redhat.com>
9682
9683 * resolv/resolv.h (RES_BLAST): Deprecate.
9684 * resolv/res_debug.c (p_option): Remove RES_BLAST.
9685 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9686 to RES_BLAST.
9687
9688 2016-12-27 Florian Weimer <fweimer@redhat.com>
9689
9690 [BZ #19582]
9691 Deprecate RES_USE_INET6.
9692 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9693 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9694 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9695 RES_USE_INET6.
9696 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9697 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9698 (_nss_nisplus_gethostbyaddr_r): Likewise.
9699 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9700 of res_use_inet6.
9701 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9702 instead of RES_USE_INET6.
9703 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9704 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9705 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9706 Likewise.
9707 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9708 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9709 Likewise.
9710 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9711 (_nss_dns_gethostbyname_r): Likewise.
9712 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9713 alternate RES_USE_INET6 handling.
9714 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9715 instead of RES_USE_INET6.
9716 * resolv/res_init.c (res_setoptions): Likewise.
9717 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
9718 * resolv/resolv-internal.h: New file.
9719 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
9720 make the deprecation warning non-fatal.
9721 * resolv/README (Using the resolver in multi-threaded code): Drop
9722 reference to RES_USE_INET6.
9723 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
9724 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
9725
9726 2016-12-31 Florian Weimer <fweimer@redhat.com>
9727
9728 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
9729 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
9730 tst-resolv-search.
9731 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
9732 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
9733 with libresolv and libpthread.
9734 * resolv/tst-bug18665.c: New file.
9735 * resolv/tst-bug18665-tcp: Likewise.
9736 * resolv/tst-res_use_inet6: Likewise.
9737 * resolv/tst-resolv-basic: Likewise.
9738 * resolv/tst-resolv-network: Likewise.
9739 * resolv/tst-resolv-search: Likewise.
9740 * support/Makefile (libsupport-routines): Add check_addrinfo,
9741 check_dns_packet, check_hostent, check_netent, resolv_test,
9742 support_format_address_family, support_format_addrinfo,
9743 support_format_dns_packet, support_format_herrno,
9744 support_format_hostent, support_format_netent, support_run_diff,
9745 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
9746 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
9747 xstrdup, xwrite.
9748 * support/check_addrinfo.c: New file.
9749 * support/check_dns_packet.c: Likewise.
9750 * support/check_hostent.c: Likewise.
9751 * support/check_netent.c: Likewise.
9752 * support/check_nss.h: Likewise.
9753 * support/format_nss.h: Likewise.
9754 * support/resolv_test.c: Likewise.
9755 * support/resolv_test.h: Likewise.
9756 * support/run_diff.h: Likewise.
9757 * support/support_format_address_family.c: Likewise.
9758 * support/support_format_addrinfo.c: Likewise.
9759 * support/support_format_dns_packet.c: Likewise.
9760 * support/support_format_herrno.c: Likewise.
9761 * support/support_format_hostent.c: Likewise.
9762 * support/support_format_netent.c: Likewise.
9763 * support/support_run_diff.c: Likewise.
9764 * support/xaccept.c: Likewise.
9765 * support/xbind.c: Likewise.
9766 * support/xconnect.c: Likewise.
9767 * support/xfclose.c: Likewise.
9768 * support/xfopen.c: Likewise.
9769 * support/xgetsockname.c: Likewise.
9770 * support/xlisten.c: Likewise.
9771 * support/xmemstream.c: Likewise.
9772 * support/xmemstream.h: Likewise.
9773 * support/xpoll.c: Likewise.
9774 * support/xpthread_once.c: Likewise.
9775 * support/xrecvfrom.c: Likewise.
9776 * support/xsendto.c: Likewise.
9777 * support/xsetsockopt.c: Likewise.
9778 * support/xstdio.h: Likewise.
9779 * support/xstrdup.c: Likewise.
9780 * support/support.h (xstrdup): Declare.
9781 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
9782 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
9783 * support/xthread.h (xpthread_once): Likwise.
9784 * support/xunistd.h (xwrite): Declare.
9785
9786 2016-12-31 Florian Weimer <fweimer@redhat.com>
9787
9788 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
9789 (test_verbose): Declare.
9790 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
9791 * support/support_test_main.c (default_options): Likewise.
9792 (usage, support_test_main): Handle 'v'.
9793 (test_verbose): Define.
9794 * support/tst-support_record_failure.c (do_test): Use
9795 test_verbose.
9796 * support/tst-support_record_failure-2.sh (different_status): Add
9797 --verbose test.
9798
9799 2016-12-31 Florian Weimer <fweimer@redhat.com>
9800
9801 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
9802 test failures are recorded.
9803 * support/check.c (support_print_failure_impl): Call
9804 support_record_failure.
9805 (support_exit_failure_impl): Call support_record_failure if status
9806 indicates failure.
9807 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
9808 * support/xasprintf.c (xasprintf): Likewise.
9809 * support/xfork.c (xfork): Likewise.
9810 * support/xpthread_check_return.c (xpthread_check_return):
9811 Likewise.
9812 * support/xsocket.c (xsocket): Likeweise.
9813 * support/xwaitpid.c (xwaitpid): Likewise.
9814 * support/support_record_failure.c (struct test_failures): Adjust
9815 to coding style.
9816 * support/support_test_verify_impl.c (support_test_verify_impl):
9817 Adjust error messages.
9818 * support/tst-support_record_failure-2.sh (different_status):
9819 Adjust error messages.
9820
9821 2016-12-31 Florian Weimer <fweimer@redhat.com>
9822
9823 * support/namespace.h: New file.
9824 * support/support_become_root.c: Likewise.
9825 * support/support_enter_network_namespace.c: Likewise.
9826 * support/tst-support-namespace.c: Likewise.
9827 * support/xsocket.c: Likewise.
9828 * support/xsocket.h: Likewise.
9829 * support/Makefile (libsupport-routines): Add support_become_root,
9830 support_enter_network_namespace, xsocket.
9831 (tests): Add tst-support-namespace.
9832
9833 2016-12-31 Florian Weimer <fweimer@redhat.com>
9834
9835 [BZ #17252]
9836 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
9837 __USE_GNU.
9838
9839 2016-12-31 Torvald Riegel <triegel@redhat.com>
9840
9841 [BZ #13165]
9842 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
9843 use new algorithm.
9844 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9845 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9846 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9847 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9848 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
9849 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
9850 __condvar_cleanup_waiting, __condvar_dec_grefs,
9851 __pthread_cond_wait_common): New.
9852 (__condvar_cleanup): Remove.
9853 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
9854 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
9855 Likewise.
9856 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
9857 Likewise.
9858 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
9859 * nptl/tst-cond1.c: Add comment.
9860 * nptl/tst-cond20.c (do_test): Adapt.
9861 * nptl/tst-cond22.c (do_test): Likewise.
9862 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
9863 structure.
9864 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9865 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9866 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9867 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
9868 Likewise.
9869 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9870 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9871 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9872 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9873 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9874 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
9875 Likewise.
9876 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
9877 Likewise.
9878 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9879 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
9880 (COND_CLOCK_BITS): Adapt.
9881 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
9882 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
9883 __PTHREAD_COND_SHARED_MASK): New.
9884 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
9885 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
9886 * nptl/nptl_lock_constants.pysym: Adapt.
9887 * nptl/test-cond-printers.py: Adapt.
9888 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
9889 cond_compat_check_and_clear): Adapt.
9890 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
9891 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9892 (__pthread_cond_timedwait): ... and move here.
9893 * nptl/DESIGN-condvar.txt: Remove file.
9894 * nptl/lowlevelcond.sym: Likewise.
9895 * nptl/pthread_cond_timedwait.c: Likewise.
9896 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
9897 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
9898 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
9899 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
9900 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
9901 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
9902 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
9903 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
9904 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
9905 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
9906 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
9907 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
9908 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
9909 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
9910 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
9911 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
9912
9913 2016-12-31 Joseph Myers <joseph@codesourcery.com>
9914
9915 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9916 (fromfp): New declaration.
9917 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9918 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9919 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9920 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
9921 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
9922 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9923 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9924 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9925 * math/math.h: Include <bits/types.h>.
9926 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
9927 constant and macro.
9928 (FP_INT_DOWNWARD): Likewise.
9929 (FP_INT_TOWARDZERO): Likewise.
9930 (FP_INT_TONEARESTFROMZERO): Likewise.
9931 (FP_INT_TONEAREST): Likewise.
9932 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
9933 (fromfpf): Likewise.
9934 (fromfpl): Likewise.
9935 (ufromfp): Likewise.
9936 (ufromfpf): Likewise.
9937 (ufromfpl): Likewise.
9938 (fromfpx): Likewise.
9939 (fromfpxf): Likewise.
9940 (fromfpxl): Likewise.
9941 (ufromfpx): Likewise.
9942 (ufromfpxf): Likewise.
9943 (ufromfpxl): Likewise.
9944 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
9945 s_fromfpxF and s_ufromfpxF.
9946 * math/gen-fromfp-tests.py: New file.
9947 * math/gen-fromfp-tests-inputs: Likewise.
9948 * math/libm-test.inc: Include <stdint.h>
9949 (check_intmax_t): New function.
9950 (check_uintmax_t): Likewise.
9951 (struct test_fiu_M_data): New type.
9952 (struct test_fiu_U_data): Likewise.
9953 (RUN_TEST_fiu_M): New macro.
9954 (RUN_TEST_LOOP_fiu_M): Likewise.
9955 (RUN_TEST_fiu_U): Likewise.
9956 (RUN_TEST_LOOP_fiu_U): Likewise.
9957 (fromfp_test_data): New array.
9958 (fromfp_test): New function.
9959 (fromfpx_test_data): New array.
9960 (fromfpx_test): New function.
9961 (ufromfp_test_data): New array.
9962 (ufromfp_test): New function.
9963 (ufromfpx_test_data): New array.
9964 (ufromfpx_test): New function.
9965 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
9966 ufromfpx_test.
9967 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
9968 characters.
9969 * math/test-tgmath-ret.c: Include <stdint.h>.
9970 (rm): New variable.
9971 (width): Likewise.
9972 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
9973 called function.
9974 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
9975 CHECK_RET_CONST_TYPE.
9976 (CHECK_RET_CONST_DOUBLE): Likewise.
9977 (CHECK_RET_CONST_LDOUBLE): Likewise.
9978 (CHECK_RET_CONST): Take extra arguments and pass them to calls
9979 macros.
9980 (fromfp): New CHECK_RET_CONST call.
9981 (ufromfp): Likewise.
9982 (fromfpx): Likewise.
9983 (ufromfpx): Likewise.
9984 (do_test): Call check_return_fromfp, check_return_ufromfp,
9985 check_return_fromfpx and check_return_ufromfpx.
9986 * math/test-tgmath.c: Include <stdint.h>
9987 (NCALLS): Increase to 138.
9988 (F(compile_test)): Initialize i. Call fromfp functions.
9989 (F(fromfp)): New function.
9990 (F(fromfpx)): Likewise.
9991 (F(ufromfp)): Likewise.
9992 (F(ufromfpx)): Likewise.
9993 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
9994 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
9995 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
9996 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
9997 ufromfpxl.
9998 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
9999 ufromfp and ufromfpx.
10000 * math/fromfp.h: New file.
10001 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10006 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10007 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10008 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10009 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10010 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10011 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10013 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10018 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10021 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10023 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10025 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10026 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10027 ufromfp, fromfpx and ufromfpx.
10028 (CFLAGS-nldbl-fromfp.c): New variable.
10029 (CFLAGS-nldbl-fromfpx.c): Likewise.
10030 (CFLAGS-nldbl-ufromfp.c): Likewise.
10031 (CFLAGS-nldbl-ufromfpx.c): Likewise.
10032 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10033 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10034 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10035 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10036 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10037 * sysdeps/nacl/libm.abilist: Update.
10038 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10039 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10040 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10041 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10042 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10043 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10044 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10045 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10046 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10047 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10048 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10049 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10051 Likewise.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10053 Likewise.
10054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10055 Likewise.
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10057 Likewise.
10058 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10059 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10060 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10061 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10062 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10064 Likewise.
10065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10066 Likewise.
10067 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10068 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10069 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10070
10071 2016-12-30 Florian Weimer <fweimer@redhat.com>
10072
10073 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10074 compat-gethnamaddr.
10075 (CPPFLAGS): Remove.
10076 * resolv/gethnamaddr.c: Rename ...
10077 * resolv/compat-gethnamaddr.c: ... to this file.
10078 (_endhtent): Make static.
10079 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
10080 symbol.
10081 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
10082 compat symbol.
10083 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
10084 symbol.
10085 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10086 Turn into compat symbol.
10087 * include/resolv.h (_endhtent): Remove declaration.
10088
10089 2016-12-30 Joseph Myers <joseph@codesourcery.com>
10090
10091 * bits/types.h (__intmax_t): New typedef.
10092 (__uintmax_t): Likewise.
10093 * sysdeps/generic/stdint.h: Include <bits/types.h>.
10094 (intmax_t): Define using __intmax_t.
10095 (uintmax_t): Define using __uintmax_t.
10096
10097 * support/Makefile (tests-special): Make definition conditional on
10098 [$(run-built-tests) = yes].
10099 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10100 on [$(run-built-tests) = yes].
10101
10102 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
10103
10104 * Rules (tests): Add tests-printers-programs to tests to be
10105 built.
10106
10107 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10108
10109 * sysvipc/Makefile (tests): Add test-sysvshm.
10110 * sysvipc/test-sysvshm.c: New file.
10111
10112 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10113 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10114 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10115 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10116 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10117 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10118 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10119 Likewise.
10120 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10121 Likewise.
10122 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10123 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10124 is defined.
10125
10126 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10127 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10128 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10129 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10130 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10131 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10132 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10133 Likewise.
10134 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10135 Likewise.
10136 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10137 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10138 defined.
10139
10140 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10141 oldshmctl.
10142 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10143 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10144 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10145 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10146 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10147 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10148 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10149 Likewise.
10150 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10151 Likewise.
10152 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10153 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10154 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10155 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10156 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10157 implementation.
10158 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10159 if it is defined.
10160
10161 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10162 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10163 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10164 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10165 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10166 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10167 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10168 Likewise.
10169 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10170 Likewise.
10171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10172 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10173 Define to __NR_osf_shmat.
10174 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10175 defined.
10176
10177 * sysvipc/Makefile (tests): Add test-sysvsem.
10178 * sysvipc/test-sysvsem.c: New file.
10179
10180 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10181 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10182 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10183 Likewise.
10184 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10185 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10186 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10187 Likewise.
10188 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10189 Likewise.
10190 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10191 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10192 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10193 add a comment about s390 syscall difference from default one.
10194 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10195 syscall if it is defined.
10196
10197 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10198 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10199 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10200 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10201 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10202 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10203 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10204 Likewise.
10205 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10206 Likewise.
10207 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10208 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10209 defined.
10210
10211 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10212 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10213 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10214 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10215 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10216 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10217 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10218 Likewise.
10219 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10220 Likewise.
10221 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10222 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10223 if it is defined.
10224
10225 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10226 oldsemctl.
10227 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10228 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10229 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10230 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10231 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10232 implementation.
10233 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10234 syscall if it is defined.
10235 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10236 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10237 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10238 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10239 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10240 Likewise.
10241 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10242
10243 * sysvipc/Makefile (tests): Add test-sysvmsg.
10244 * sysvipc/test-sysvmsg.c: New file.
10245 * support/check.h (FAIL_UNSUPPORTED): New define.
10246
10247 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10248 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10249 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10250 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10251 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10252 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10253 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10254 Likewise.
10255 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10256 Likewise.
10257 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10258 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10259 define.
10260
10261 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10262 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10263 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10264 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10265 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10266 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10267 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10268 Likewise.
10269 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10270 Likewise.
10271 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10272 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10273 if defined.
10274
10275 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10276 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10277 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10278 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10279 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10280 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10281 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10282 Likewise.
10283 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10284 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10285 Likewise.
10286 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10287 if defined.
10288 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10289
10290 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10291 oldmsgctl.
10292 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10293 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10294 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10295 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10296 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10297 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10298 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10299 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10300 Likewise.
10301 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10302 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10303 implementation.
10304 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10305 if defined.
10306
10307 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10308 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10309 definition and define its own.
10310 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10311 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10312 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10313 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10314 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10315 definitions to common header.
10316 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10317 operation from ipc_ops.h.
10318
10319 * sysdeps/unix/sysv/linux/kernel-features.h
10320 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10321 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10322 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10323 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10324 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10325 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10326 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10327 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10328 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10329 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10330 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10331 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10332 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10333 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10334 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10335
10336 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10337
10338 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10339 overflow in pointer addition.
10340
10341 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10342
10343 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10344 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10346 (strchr): Add __strchr_power8 to list of strchr functions.
10347 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10348 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10349 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10350 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10351 (strchr): Add __strchr_power8 to ifunc list.
10352 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10353 (__strchrnul): Add __strchrnul_power8 to ifunc list.
10354 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10355 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10356
10357 2016-12-28 Florian Weimer <fweimer@redhat.com>
10358
10359 * support/Makefile (libsupport-routines): Add
10360 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10361 (tests): Add tst-support_record_failure.
10362 (tests-special): tst-support_record_failure-2.
10363 (tst-support_record_failure-2.out): Depend on
10364 tst-support_record_failure-2.sh and tst-support_record_failure.
10365 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10366 (support_test_verify_impl, support_record_failure)
10367 (support_report_failure, support_report_failure_reset): Declare.
10368 * support/support_test_main.c (adjust_exit_status): New function.
10369 (support_test_main): Call it to incorporate record test failures.
10370 * support/support_test_verify_impl.c: New file.
10371 * support/support_record_failure.c: Likewise.
10372 * support/tst-support_record_failure.c: Likewise.
10373 * support/tst-support_record_failure-2.sh: Likewise.
10374 * support/xunistd.h: Likewise.
10375 * support/xfork.c: Likewise.
10376 * support/xwaitpid.c: Likewise.
10377
10378 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
10379
10380 * scripts/check-c++-types.sh: Add comments.
10381
10382 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
10383
10384 [BZ #19514]
10385 * resolv/res_send.c: Fix typo in comment.
10386 * sysdeps/i386/i386-mcount.S: Likewise.
10387 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10388 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10389 * sysdeps/sparc/sparc-mcount.S: Likewise.
10390
10391 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10392
10393 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10394 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10395 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10396 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10397 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10398 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10399 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10400 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10401
10402 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10403
10404 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10405
10406 2016-12-27 Florian Weimer <fweimer@redhat.com>
10407
10408 [BZ #17252]
10409 * posix/unistd.h (getentropy): Declare.
10410
10411 2016-12-27 Florian Weimer <fweimer@redhat.com>
10412
10413 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10414 Remove.
10415 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10416 (cmd): Remove spoof, nospoof, spoofalert.
10417 (parse_line): Ignore spoof-related lines.
10418 (do_init): Do not process RESOLV_SPOOF_CHECK.
10419
10420 2016-12-27 Florian Weimer <fweimer@redhat.com>
10421
10422 [BZ #20964]
10423 sunrpc: Always obtain AF_INET addresses from NSS.
10424 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10425 * sunrpc/rpc_gethostbyname.c: New file.
10426 * sunrpc/Makefile (routines): Add it.
10427 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10428 * sunrpc/clnt_simp.c (callrpc): Likewise.
10429 * sunrpc/getrpcport.c (getrpcport): Likewise.
10430
10431 2016-12-27 Florian Weimer <fweimer@redhat.com>
10432
10433 * sunrpc/rpcinfo.c: Remove.
10434 * sunrpc/Makefile: Remove comments referring to rpcinfo.
10435
10436 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10437
10438 [BZ #19387]
10439 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10440 addition.
10441 * string/test-memchr.c (do_test): Remove alignment limitation.
10442 (test_main): Add test that trigger BZ #19387.
10443
10444 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10445
10446 [BZ #7065]
10447 Enable stack protectore if requested by ./configure.
10448 * Makeconfig (+stack-protector): New variable.
10449 (+cflags): Use it.
10450
10451 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10452
10453 [BZ #7065]
10454 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10455 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10456 (__rt_sigreturn_stub): Use inhibit_stack_protector.
10457 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10458 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10459
10460 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10461
10462 [BZ #7065]
10463 * login/Makefile (pt_chown-cflags): Remove.
10464 * nscd/Makefile (CFLAGS-nscd): Likewise.
10465 * resolv/Makefile (CFLAGS-libresolv): Likewise.
10466
10467 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10468
10469 [BZ #7065]
10470 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10471 non-libc-linking testcase.
10472
10473 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10474 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10475 Florian Weimer <fweimer@redhat.com>
10476
10477 [BZ #7065]
10478 PLT avoidance for __stack_chk_fail*.
10479 * debug/Makefile (CFLAGS-stack_chk_fail.c)
10480 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10481 * debug/stack_chk_fail.c (__stack_chk_fail): Add
10482 __stack_chk_fail_local alias.
10483 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10484 (__stack_chk_fail): Turn into hidden reference to
10485 __stack_chk_fail_local.
10486
10487 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10488
10489 [BZ #7065]
10490 * configure.ac: Add check for unsupported stack-protection level.
10491 (libc_cv_predef_stack_protector): Remove.
10492 (no_ssp): New variable.
10493 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10494 (stack_protector): Set to -fno-stack-protector similarly.
10495 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10496 (libc_cv_asm_set_directive): Likewise.
10497 (libc_cv_protected_data): Likewise.
10498 (libc_cv_z_combreloc): Likewise.
10499 (libc_cv_hashstyle): Likewise.
10500 (libc_cv_has_glob_dat): Likewise.
10501 (libc_cv_output_format): Likewise.
10502 (libc_cv_output_format): Likewise.
10503 (libc_cv_ehdr_start): Likewise.
10504 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10505 (LIBC_LINKER_FEATURE): Likewise.
10506 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10507
10508 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10509
10510 [BZ #7065]
10511 * elf/Makefile (dummy-stack-chk-fail): New.
10512 (librtld.map): Use it.
10513
10514 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10515
10516 [BZ #7065]
10517 Compile the dynamic linker without stack protection.
10518 * elf/Makefile (elide-stack-protector): New.
10519 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10520 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10521 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10522 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10523
10524 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10525
10526 [BZ #7065]
10527 * config.make.in (have-ssp, no-stack-protector): New.
10528 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10529 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10530 (CFLAGS-sbrk.op): Likewise.
10531 (CFLAGS-brk.o): Likewise.
10532 (CFLAGS-brk.op): Likewise.
10533 * string/Makefile (CFLAGS-memcpy.c): Likewise.
10534 (CFLAGS-wordcopy.c): Likewise.
10535
10536 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10537
10538 [BZ #7065]
10539 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10540 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10541 * include/libc-symbols.h (inhibit_stack_protector): New macro.
10542 (__ifunc_resolver): Use it.
10543 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10544 inhibit_stack_protector.
10545 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10546 * elf/ifuncmain7.c (foo_ifunc): Likewise.
10547 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10548 (foo_protected_ifunc): Likewise.
10549 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10550 (foo_protected_ifunc): Likewise.
10551 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10552 * sysdeps/nacl/nacl_interface_query.c
10553 (nacl_interface_query_ifunc): Likewise.
10554 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10555 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10556 Likewise.
10557 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10558 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10559 the generated vDSO syscall resolver.
10560
10561 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10562 Florian Weimer <fweimer@redhat.com>
10563
10564 [BZ #7065]
10565 Initialize the stack guard earlier when linking statically.
10566 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10567 (__pthread_initialize_minimal): Declare.
10568 * csu/libc-start.c (__pthread_initialize_minimal): Remove
10569 declaration.
10570 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
10571 stack canary and apply_irel initialization up. Call
10572 __pthread_initialize_minimal only if linked in.
10573 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10574 constant values.
10575 (__pthread_initialize_minimal): Remove.
10576 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10577 (__pthread_initialize_minimal_internal): Do not call
10578 __libc_setup_tls.
10579
10580 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
10581
10582 [BZ #7065]
10583 * configure.ac (libc_cv_ssp): Move up.
10584 (libc_cv_ssp_strong): Likewise.
10585 (libc_cv_ssp_all): New.
10586 (stack_protector): Augment, adding -fstack-protector-all.
10587 (no_stack_protector): New.
10588 (STACK_PROTECTOR_LEVEL): New.
10589 (AC_ARG_ENABLE(stack-protector)): New configure flag.
10590 * manual/install.texi (--enable-stack-protector): Document it.
10591 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10592
10593 2016-12-24 Carlos O'Donell <carlos@redhat.com>
10594
10595 * README.pretty-printers: Must specify CPPFLAGS-* also.
10596 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10597 (CPPFLAGS-test-mutex-printers.c): Define.
10598 (CPPFLAGS-test-condattr-printers.c): Define.
10599 (CPPFLAGS-test-cond-printers.c): Define.
10600 (CPPFLAGS-test-rwlockattr-printers.c): Define.
10601 (CPPFLAGS-test-rwlock-printers.c): Define.
10602
10603 * nss/Makefile [ifeq (yes,$(have-thread-library))]
10604 (tests): Add tst-cancel-getpwuid_r.
10605 * nss/tst-cancel-getpwuid_r.c: New file.
10606
10607 [BZ #11941]
10608 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10609 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10610 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10611 tst-nodelete-dlclose.
10612 (modules-names): Add tst-nodelete-dlclose-dso and
10613 tst-nodelete-dlclose-plugin.
10614 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10615 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10616 ($(objpfx)tst-nodelete-dlclose): Define.
10617 ($(objpfx)tst-nodelete-dlclose.out): Define.
10618
10619 2016-12-23 Florian Weimer <fweimer@redhat.com>
10620
10621 * scripts/test_printers_common.py: Log GDB output in case of
10622 Python detection failure.
10623
10624 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
10625
10626 * configure.ac: Check for python3 or python.
10627 * configure: Regenerated.
10628 * config.make.in (PYTHON): New variable.
10629 * benchtests/Makefile: Don't define PYTHON.
10630 (bench): Define target only if PYTHON was defined.
10631 * Rules: Don't define PYTHON.
10632 Define pretty printer targets only if PYTHON was defined.
10633 (tests-printers): Add to tests-unsupported if PYTHON is not
10634 found.
10635 (python-flags, python-invoke): Remove.
10636 (tests-printers-out): Use PYTHON instead of python-invoke.
10637
10638 2016-12-21 Joseph Myers <joseph@codesourcery.com>
10639
10640 [BZ #20978]
10641 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10642 Compare name == NULL, not name != NULL.
10643
10644 * manual/texinfo.tex: Update to version 2016-09-18.18 with
10645 trailing whitespace removed.
10646 * scripts/config.guess: Update to version 2016-10-02.
10647 * scripts/config.sub: Update to version 2016-11-19.
10648 * scripts/install-sh: Update to version 2016-01-11.22.
10649 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10650 * scripts/move-if-change: Update to version 2016-01-11 22:04.
10651
10652 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
10653
10654 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10655 (do_one_test) Restore original string so iteration works.
10656 * string/string-inlines.c (do_test): Create better input strings.
10657 (test_main) Reduce number of testruns.
10658 * string/string-inlines.c (__old_strsep_1c): New function.
10659 (__old_strsep_2c): Likewise.
10660 (__old_strsep_3c): Likewise.
10661 * string/strsep.c (__strsep): Remove case of small delim string.
10662 Call strcspn directly rather than strpbrk.
10663 * string/bits/string2.h (__strsep): Remove define.
10664 (__strsep_1c): Remove.
10665 (__strsep_2c): Remove.
10666 (__strsep_3c): Remove.
10667 (strsep): Remove.
10668 * sysdeps/unix/sysv/linux/internal_statvfs.c
10669 (__statvfs_getflags): Rename to __strsep.
10670
10671 2016-12-21 Florian Weimer <fweimer@redhat.com>
10672
10673 * csu/libc-tls.c (_dl_tls_setup): Remove.
10674 * elf/dl-tls.c (_dl_tls_setup): Likewise.
10675 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10676 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10677
10678 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
10679
10680 [BZ #7065]
10681 * sysdeps/x86_64/Makefile [$(subdir) = elf]
10682 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10683
10684 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
10685 Florian Weimer <fweimer@redhat.com>
10686
10687 [BZ #7065]
10688 * csu/Makefile (tests): Empty assignment and document it.
10689 (tests-static): Remove.
10690 * csu/tst-empty.c: Move to...
10691 * misc/tst-empty.c: ... here. Switch to new test driver.
10692 * csu/tst-atomic.c: Move to...
10693 * misc/tst-atomic.c: ... here. Switch to new test driver.
10694 * csu/tst-atomic-long.c: Move to...
10695 * misc/tst-atomic-long.c: ... here.
10696 * misc/Makefile (tests): Add tst-empty, tst-atomic,
10697 tst-atomic-long.
10698 (tests-static): Add tst-empty.
10699
10700 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
10701
10702 * manual/nss.texi: Change incorrect @vtable to @table.
10703 * manual/arith.texi: Convert @tables of variables to @vtables
10704 and remove unnecessary indexing.
10705 * manual/filesys.texi: Likewise.
10706 * manual/llio.texi: Likewise.
10707 * manual/memory.texi: Likewise.
10708 * manual/process.texi: Likewise.
10709 * manual/resource.texi: Likewise.
10710 * manual/search.texi: Likewise.
10711 * manual/signal.texi: Likewise.
10712 * manual/socket.texi: Likewise.
10713 * manual/stdio.texi: Likewise.
10714 * manual/sysinfo.texi: Likewise.
10715 * manual/syslog.texi: Likewise.
10716 * manual/terminal.texi: Likewise.
10717 * manual/time.texi: Likewise.
10718 * manual/users.texi: Likewise.
10719
10720 2016-12-21 Joseph Myers <joseph@codesourcery.com>
10721
10722 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10723 (roundeven): New declaration.
10724 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
10725 macro.
10726 * math/Versions (roundeven): New libm symbol at version
10727 GLIBC_2.25.
10728 (roundevenf): Likewise.
10729 (roundevenl): Likewise.
10730 * math/Makefile (libm-calls): Add s_roundevenF.
10731 * math/libm-test.inc (roundeven_test_data): New array.
10732 (roundeven_test): New function.
10733 (main): Call roundeven_test.
10734 * math/test-tgmath.c (NCALLS): Increase to 134.
10735 (F(compile_test)): Call roundeven.
10736 (F(roundeven)): New function.
10737 * manual/arith.texi (Rounding Functions): Document roundeven,
10738 roundevenf and roundevenl.
10739 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
10740 * include/math.h (roundeven): Use libm_hidden_proto.
10741 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
10742 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
10743 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10748 roundeven.
10749 (CFLAGS-nldbl-roundeven.c): New variable.
10750 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
10751 * sysdeps/nacl/libm.abilist: Update.
10752 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10753 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10754 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10755 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10759 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10760 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10761 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10762 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10763 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10765 Likewise.
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10767 Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10769 Likewise.
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10771 Likewise.
10772 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10773 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10774 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10775 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10776 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10778 Likewise.
10779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10780 Likewise.
10781 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10782 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10783 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10784
10785 2016-12-20 Joseph Myers <joseph@codesourcery.com>
10786
10787 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
10788 preprocessor indentation inside #if.
10789
10790 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10791
10792 * math/libm-test.inc (fmt_ftostr): New function.
10793 (print_float, check_float_internal): Replace some uses of
10794 FTOSTR with uses of fmt_ftostr.
10795 (print_max_error, print_complex_max_error, print_function_ulps)
10796 (print_complex_function_ulps): Remove uses of the macros
10797 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
10798 * math/test-double.h (FTOSTR): Define to strfromd.
10799 (PRINTF_EXPR): Delete.
10800 (PRINTF_XEXPR): Likewise.
10801 (PRINTF_NEXPR): Likewise.
10802 * math/test-float.h (FTOSTR): Define to strfromf.
10803 (PRINTF_EXPR): Delete.
10804 (PRINTF_XEXPR): Likewise.
10805 (PRINTF_NEXPR): Likewise.
10806 * math/test-ldouble.h (FTOSTR): Define to strfroml.
10807 (PRINTF_EXPR): Delete.
10808 (PRINTF_XEXPR): Likewise.
10809 (PRINTF_NEXPR): Likewise.
10810
10811 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10812
10813 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10814 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
10815 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10816 (__lll_lock_elision): Decrement adapt_count while unlocking
10817 instead of before locking.
10818 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10819 (__lll_trylock_elision): Likewise.
10820 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
10821 (__lll_unlock_elision): Likewise.
10822
10823 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10824
10825 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
10826 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
10827 Use __libc_tbegin_retry macro.
10828
10829 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10830
10831 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
10832 Add -msoft-float.
10833 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
10834 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10835 Use __libc_t* transaction macros instead of __builtin_t*.
10836 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10837 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10838
10839 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10840
10841 * sysdeps/unix/sysv/linux/s390/elision-lock.c
10842 (__lll_lock_elision): Use atomics to load / store adapt_count.
10843 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10844 (__lll_trylock_elision): Likewise.
10845
10846 2016-12-20 Florian Weimer <fweimer@redhat.com>
10847
10848 Do not require memset elimination in explicit_bzero test.
10849 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
10850 (enum test_expectation): Add NO_EXPECTATIONS.
10851 (subtests): NO_EXPECTATIONS for ordinary clear.
10852 (check_test_buffer): Handle NO_EXPECTATIONS.
10853 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
10854
10855 2016-12-20 Joseph Myers <joseph@codesourcery.com>
10856
10857 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10858 (fmaxmag): New declaration.
10859 (fminmag): Likewise.
10860 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
10861 macro.
10862 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
10863 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
10864 (fmaxmagf): Likewise.
10865 (fmaxmagl): Likewise.
10866 (fminmag): Likewise.
10867 (fminmagf): Likewise.
10868 (fminmagl): Likewise.
10869 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
10870 * math/s_fmaxmag_template.c: New file.
10871 * math/s_fminmag_template.c: Likewise.
10872 * math/libm-test.inc (fmaxmag_test_data): New array.
10873 (fmaxmag_test): New function.
10874 (fminmag_test_data): New array.
10875 (fminmag_test): New function.
10876 (main): Call fmaxmag_test and fminmag_test.
10877 * math/test-tgmath.c (NCALLS): Increase to 132.
10878 (F(compile_test)): Call fmaxmag and fminmag.
10879 (F(fminmag)): New function.
10880 (F(fmaxmag)): Likewise.
10881 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
10882 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
10883 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
10884 fminmag.
10885 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
10886 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
10887 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
10888 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
10889 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
10890 and fminmag.
10891 (CFLAGS-nldbl-fmaxmag.c): New variable.
10892 (CFLAGS-nldbl-fminmag.c): Likewise.
10893 * sysdeps/nacl/libm.abilist: Update.
10894 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10904 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10905 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10907 Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10909 Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10911 Likewise.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10913 Likewise.
10914 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10920 Likewise.
10921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10922 Likewise.
10923 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10926
10927 2016-12-19 Torvald Riegel <triegel@redhat.com>
10928
10929 [BZ #20973]
10930 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
10931 wake-up in robust mutexes.
10932 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10933
10934 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10935
10936 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
10937 (CFLAGS-bench-fmaxf.c): New rule.
10938 (CFLAGS-bench-fminf.c): Likewise.
10939 * benchtests/fmaxf-inputs: New file.
10940 * benchtests/fminf-inputs: Likewise.
10941
10942 * benchtests/Makefile (bench-math): Add fmin and fmax.
10943 (CFLAGS-bench-fmax.c): New rule.
10944 (CFLAGS-bench-fmin.c): Likewise.
10945 * benchtests/fmax-inputs: New file.
10946 * benchtests/fmin-inputs: Likewise.
10947
10948 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
10949 parenthesis.
10950 (CMDLINE_PROCESS): Define using function instead of macro.
10951 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
10952 of test-skeleton.
10953 * benchtests/bench-memchr.c: Likewise.
10954 * benchtests/bench-memcmp.c: Likewise.
10955 * benchtests/bench-memcpy-large.c: Likewise.
10956 * benchtests/bench-memcpy.c: Likewise.
10957 * benchtests/bench-memmem.c: Likewise.
10958 * benchtests/bench-memmove-large.c: Likewise.
10959 * benchtests/bench-memmove.c: Likewise.
10960 * benchtests/bench-memset-large.c: Likewise.
10961 * benchtests/bench-memset.c: Likewise.
10962 * benchtests/bench-rawmemchr.c: Likewise.
10963 * benchtests/bench-strcasecmp.c: Likewise.
10964 * benchtests/bench-strcasestr.c: Likewise.
10965 * benchtests/bench-strcat.c: Likewise.
10966 * benchtests/bench-strchr.c: Likewise.
10967 * benchtests/bench-strcmp.c: Likewise.
10968 * benchtests/bench-strcpy.c: Likewise.
10969 * benchtests/bench-strcpy_chk.c: Likewise.
10970 * benchtests/bench-strlen.c: Likewise.
10971 * benchtests/bench-strncasecmp.c: Likewise.
10972 * benchtests/bench-strncmp.c: Likewise.
10973 * benchtests/bench-strncpy.c: Likewise.
10974 * benchtests/bench-strnlen.c: Likewise.
10975 * benchtests/bench-strpbrk.c: Likewise.
10976 * benchtests/bench-strrchr.c: Likewise.
10977 * benchtests/bench-strsep.c: Likewise.
10978 * benchtests/bench-strspn.c: Likewise.
10979 * benchtests/bench-strstr.c: Likewise.
10980 * benchtests/bench-strtok.c: Likewise.
10981
10982 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
10983
10984 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
10985 stepping identification.
10986 (init_cpu_features): Add handle of Haswell.
10987
10988 2016-11-25 Jim Meyering <meyering@fb.com>
10989
10990 [BZ #20386]
10991 Let gcc detect assert(a = 1) errors.
10992 * assert/assert.h (assert): Rewrite, retaining the old definintion
10993 when required, but otherwise putting the expression as-is in an "if"
10994 expression (hence, with no added parentheses) within a statement
10995 expression.
10996
10997 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
10998
10999 * benchtests/Makefile (binaries-benchset): Depend on libsupport
11000 DSO.
11001
11002 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
11003
11004 * Rules (python-flags, python-invoke): New.
11005 ($(test-printers-out)): Use $(python-flags).
11006
11007 2016-12-16 Joseph Myers <joseph@codesourcery.com>
11008
11009 * manual/arith.texi (Math Error Reporting): Document that sNaN
11010 arguments are not considered domain errors.
11011
11012 2016-12-16 Zack Weinberg <zackw@panix.com>
11013 Florian Weimer <fweimer@redhat.com>
11014 Nick Mathewson <nickm@torproject.org>
11015
11016 * string/explicit_bzero.c: New routine.
11017 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11018 * string/Makefile (routines, strop-tests, tests): Add them.
11019 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11020 * string/string.h [__USE_MISC]: Declare explicit_bzero.
11021
11022 * debug/explicit_bzero_chk.c: New routine.
11023 * debug/Makefile (routines): Add it.
11024 * debug/tst-chk1.c: Test fortification of explicit_bzero.
11025 * string/bits/string3.h: Fortify explicit_bzero.
11026
11027 * manual/string.texi: Document explicit_bzero.
11028 * NEWS: Mention addition of explicit_bzero.
11029
11030 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11031 data before returning, using explicit_bzero.
11032 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11033 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11034 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11035
11036 * include/string.h: Redirect internal uses of explicit_bzero
11037 to __explicit_bzero_chk[_internal].
11038 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11039 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11040 * sysdeps/arm/nacl/libc.abilist
11041 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11042 * sysdeps/unix/sysv/linux/alpha/libc.abilist
11043 * sysdeps/unix/sysv/linux/arm/libc.abilist
11044 * sysdeps/unix/sysv/linux/hppa/libc.abilist
11045 * sysdeps/unix/sysv/linux/i386/libc.abilist
11046 * sysdeps/unix/sysv/linux/ia64/libc.abilist
11047 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11048 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11049 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11050 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11051 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11052 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11053 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11054 * sysdeps/unix/sysv/linux/nios2/libc.abilist
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11059 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11060 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11061 * sysdeps/unix/sysv/linux/sh/libc.abilist
11062 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11063 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11066 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11067 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11068 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11069 Add entries for explicit_bzero and __explicit_bzero_chk.
11070
11071 2016-12-16 Joseph Myers <joseph@codesourcery.com>
11072
11073 * math/fenv.h
11074 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11075 (FE_SNANS_ALWAYS_SIGNAL): New macro.
11076 * math/test-fe-snans-always-signal.c: New file.
11077 * math/Makefile (tests): Add test-fe-snans-always-signal.
11078 (CFLAGS-test-fe-snans-always-signal.c): New variable.
11079 * manual/arith.texi (Infinity and NaN): Document
11080 FE_SNANS_ALWAYS_SIGNAL.
11081
11082 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11083
11084 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11085 bracket.
11086
11087 2016-12-16 Joseph Myers <joseph@codesourcery.com>
11088
11089 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11090 before calling execv.
11091
11092 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11093
11094 [BZ #20971]
11095 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11096 overflow in pointer addition.
11097 * string/test-memchr.c (do_test): Add an argument to pass as
11098 the size on memchr.
11099 (test_main): Add check for SIZE_MAX.
11100
11101 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11102
11103 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11104 (libm-calls): Add w_scalblnF.
11105 * math/w_scalbln.c: Remove.
11106 * math/w_scalblnf.c: Likewise.
11107 * math/w_scalblnl.c: Likewise.
11108 * math/w_scalbln_template.c: New file with type-generic
11109 implementation based on math/w_scalbln.c.
11110 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11111 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11112
11113 2016-12-15 Joseph Myers <joseph@codesourcery.com>
11114
11115 [BZ #20947]
11116 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11117 either is a signaling NaN.
11118 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
11119 follow fmaxl more closely.
11120 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11121 when either is a signaling NaN.
11122 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11123 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11124 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11125 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11126 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11127 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11128 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11129 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11130 (fmin_test_data): Likewise.
11131
11132 2016-12-15 Andreas Schwab <schwab@suse.de>
11133
11134 * support/support_test_main.c (support_test_main): Don't shadow
11135 file-local variable test_pid.
11136
11137 2016-12-15 Joseph Myers <joseph@codesourcery.com>
11138
11139 [BZ #20947]
11140 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11141 either is a signaling NaN.
11142 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11143
11144 2016-12-14 Joseph Myers <joseph@codesourcery.com>
11145
11146 [BZ #20947]
11147 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11148 when either is a signaling NaN.
11149 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11150
11151 * bits/long-double.h: New file.
11152 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11153 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11154 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11155 * sysdeps/mips/bits/long-double.h: Likewise.
11156 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11157 * math/Makefile (headers): Add bits/long-double.h.
11158 * misc/sys/cdefs.h: Include <bits/long-double.h>.
11159 * stdlib/strtold.c: Include <bits/long-double.h> instead of
11160 <bits/wordsize.h>.
11161 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11162 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11163 * math/math.h: Do not include <bits/mathdef.h>.
11164 * sysdeps/aarch64/bits/mathdef.h: Remove file.
11165 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11166 inclusion.
11167 * sysdeps/ia64/bits/mathdef.h: Remove file.
11168 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11169 * sysdeps/mips/bits/mathdef.h: Likewise.
11170 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11171 * sysdeps/s390/bits/mathdef.h: Likewise.
11172 * sysdeps/sparc/bits/mathdef.h: Likewise.
11173 * sysdeps/x86/bits/mathdef.h: Likewise.
11174 * sysdeps/s390/s390-32/bits/wordsize.h
11175 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11176 conditional code.
11177 * sysdeps/s390/s390-64/bits/wordsize.h
11178 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11179 Likewise.
11180 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11181 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11182 Likewise.
11183 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11184 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11185 Likewise.
11186 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11187 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11188 Likewise.
11189
11190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11191 <linux/falloc.h>.
11192 (FALLOC_FL_KEEP_SIZE): Remove.
11193 (FALLOC_FL_PUNCH_HOLE): Likewise.
11194 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11195 (FALLOC_FL_ZERO_RANGE): Likewise.
11196
11197 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11198
11199 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11200
11201 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11202
11203 * sysdeps/unix/sysv/linux/renameat.c: New file.
11204 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11205
11206 * sysdeps/unix/sysv/linux/rename.c: New file.
11207 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11208
11209 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
11210
11211 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11212 * string/strtok.c (strtok): Change to tailcall __strtok_r.
11213 * string/strtok_r.c (__strtok_r): Optimize for performance.
11214 * string/string-inlines.c (__old_strtok_r_1c): New function.
11215 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11216
11217 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11218
11219 * math/Makefile (gen-libm-calls): Add w_log1pF.
11220 (libm-calls): Remove w_log1pF.
11221 * math/w_log1p.c: Remove.
11222 * math/w_log1pf.c: Likewise.
11223 * math/w_log1pl.c: Likewise.
11224 * math/w_log1p_template.c: New file with type-generic
11225 implementation based on math/w_log1p.c.
11226 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11227 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11228
11229 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
11230
11231 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11232
11233 2016-12-14 Joseph Myers <joseph@codesourcery.com>
11234
11235 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11236 kernel version to 4.9.
11237
11238 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
11239
11240 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11241 ($(inst_libdir)/libm.a): Fix rule to create the target only.
11242
11243 2016-12-13 Andreas Schwab <schwab@suse.de>
11244
11245 * sysdeps/powerpc/dl-procinfo.c: Don't define
11246 _dl_powerpc_platforms.
11247 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11248 constants instead of referencing _dl_powerpc_platforms.
11249 (_dl_platform_string): Remove.
11250
11251 2016-12-13 Florian Weimer <fweimer@redhat.com>
11252
11253 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11254
11255 2016-12-13 Florian Weimer <fweimer@redhat.com>
11256
11257 * Rules (binaries-shared-tests, binaries-pie-tests)
11258 (binaries-static-tests): Link with $(link-extra-libs-tests).
11259 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11260 Remove $(link-extra-libs-tests).
11261
11262 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11263
11264 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11265 (sysdep_routines): Add strncmp_power9.
11266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11267 (strncmp): Add __strncmp_power9 to list of strncmp functions.
11268 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11269 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11270 (strncmp): Add __strncmp_power9 to ifunc list.
11271 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11272
11273 2016-12-12 Florian Weimer <fweimer@redhat.com>
11274
11275 [BZ #17252]
11276 Add getentropy, getrandom.
11277 * stdlib/sys/random.h: New file.
11278 (headers): Add it.
11279 * stdlib/Makefile (routines): Add getentropy, getrandom.
11280 (tests): Add tst-getrandom.
11281 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11282 * stdlib/getentropy.c: New file.
11283 * stdlib/getrandom.c: Likewise.
11284 * stdlib/tst-getrandom.c: Likewise.
11285 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11286 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11287 * manual/crypt.texi (Unpredictable Bytes): New section.
11288 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11289 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11290 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11305 Likewise.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11307 Likewise.
11308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11320
11321 2016-12-10 Florian Weimer <fweimer@redhat.com>
11322
11323 [BZ #20956]
11324 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11325 as additional compiler barriers.
11326 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11327 (fn2, do_test): Declare with external linkage.
11328 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11329 (do_test): Declare with external linkage.
11330 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11331 (do_test): Declare with external linkage.
11332 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11333 (do_test): Declare with external linkage.
11334
11335 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
11336
11337 * support/support_test_main.c (support_test_main): Use correct
11338 timeout.
11339
11340 2016-12-09 Carlos O'Donell <carlos@redhat.com>
11341 Florian Weimer <fweimer@redhat.com>
11342
11343 [BZ #16421]
11344 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11345 and __u6_addr32 members.
11346 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11347 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11348 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11349 Use __u6_addr32.
11350 * inet/tst-checks.c: Use <support/test-driver.c>
11351 * inet/tst-checks-posix.c: New file.
11352 * inet/Makefile (tests): Add it.
11353 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11354
11355 2016-12-09 Florian Weimer <fweimer@redhat.com>
11356
11357 New subdirectory support for build and test infrastructure.
11358 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
11359 setting install-lib.
11360 * Makeconfig (link-extra-libs-tests): Define.
11361 (+link-pie-tests, +link-static-tests, +link-tests): Use
11362 link-extra-libs-tests.
11363 (rpath-dirs, all-subdirs): Add support.
11364 (built-modules): Add libsupport.
11365 (libsupport): Define.
11366 * support: New directory.
11367 * support/Makefile: New file.
11368 * support/check.c: Likewise.
11369 * support/check.h: Likewise.
11370 * support/delayed_exit.c: Likewise.
11371 * support/ignore_stderr.c: Likewise.
11372 * support/oom_error.c: Likewise.
11373 * support/set_fortify_handler.c: Likewise.
11374 * support/support.h: Likewise.
11375 * support/temp_file-internal.h: Likewise.
11376 * support/temp_file.c: Likewise.
11377 * support/test-driver.c: Likewise.
11378 * support/test-driver.h: Likewise.
11379 * support/test_main.c: Likewise.
11380 * support/write_message.c: Likewise.
11381 * support/xasprintf.c: Likewise.
11382 * support/xcalloc.c: Likewise.
11383 * support/xmalloc.c: Likewise.
11384 * support/xpthread_barrier_destroy.c: Likewise.
11385 * support/xpthread_barrier_init.c: Likewise.
11386 * support/xpthread_barrier_wait.c: Likewise.
11387 * support/xpthread_cancel.c: Likewise.
11388 * support/xpthread_check_return.c: Likewise.
11389 * support/xpthread_cond_wait.c: Likewise.
11390 * support/xpthread_create.c: Likewise.
11391 * support/xpthread_detach.c: Likewise.
11392 * support/xpthread_join.c: Likewise.
11393 * support/xpthread_mutex_lock.c: Likewise.
11394 * support/xpthread_mutex_unlock.c: Likewise.
11395 * support/xpthread_sigmask.c: Likewise.
11396 * support/xpthread_spin_lock.c: Likewise.
11397 * support/xpthread_spin_unlock.c: Likewise.
11398 * support/xrealloc.c: Likewise.
11399 * support/xsignal.h: Likewise.
11400 * support/xthread.h: Likewise.
11401 * support_tempfile.h: Likewise.
11402 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11403 (TEST_DATA_LIMIT): Remove unused macro.
11404 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
11405 <support/check.h>.
11406 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11407 (ignore_stderr, set_fortify_handler): Remove. Now in
11408 <support/support.h>.
11409 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
11410 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11411 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11412 (xpthread_join): Remove. Now in <support/xthread.h>.
11413 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11414 Introduce legacy wrappers.
11415 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11416 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11417 (write_message): Remove.
11418 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11419 test-skeleton.c.
11420 * io/test-open-tmpfile: Likewise.
11421 * io/tst-posix_fallocate-common.c: Likewise.
11422 * libio/tst-fseek.c: Likewise.
11423 * malloc/tst-malloc-backtrace.c: Likewise.
11424 * malloc/tst-malloc-fork-deadlock.c: Likewise.
11425 * malloc/tst-malloc-thread-exit.c: Likewise.
11426 * nptl/tst-cancel7.c: Likewise.
11427 * nptl/tst-cleanup0.c: Likewise.
11428 * posix/tst-posix_fadvise-common.c: Likewise.
11429 * rt/tst-shm.c: Likewise.
11430 * time/bug-getdate1.c: Likewise.
11431 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11432 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11433 * elf/Makefile (tst-piemod1.so): Link against libsupport.
11434
11435 2016-12-08 Joseph Myers <joseph@codesourcery.com>
11436
11437 * Rules [$(run-built-tests) != no] (tests-expected): Add
11438 $(tests-printers).
11439 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11440
11441 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
11442
11443 [BZ #20539]
11444 * math/Makefile (install-lib-ldscripts): Add libm.a.
11445 (install_subdir): Remove.
11446 (install-others): Add.
11447 ($(inst_libdir)/libm.a): Add rule for installation as
11448 linker script.
11449 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11450
11451 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
11452
11453 * INSTALL: Regenerated.
11454 * Makeconfig: Add comments and whitespace to make the control flow
11455 clearer.
11456 (+link-printers-tests, +link-pie-printers-tests,
11457 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11458 built-rtld-LDFLAGS, link-libc-rpath,
11459 link-libc-tests-after-rpath-link,
11460 link-libc-printers-tests): New.
11461 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11462 link-libc-tests): Use the new variables as required.
11463 * Makerules ($(py-const)): New rule.
11464 generated: Add $(py-const).
11465 * README.pretty-printers: New file.
11466 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11467 (others): Depend on $(py-const).
11468 (tests): Depend on $(tests-printers-programs) or
11469 $(tests-printers-out),
11470 as required. Pass $(tests-printers) to merge-test-results.sh.
11471 * manual/install.texi: Add requirements for testing the pretty
11472 printers.
11473 * nptl/Makefile (gen-py-const-headers, pretty-printers,
11474 tests-printers, CFLAGS-test-mutexattr-printers.c
11475 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11476 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11477 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11478 * nptl/nptl-printers.py: New file.
11479 * nptl/nptl_lock_constants.pysym: Likewise.
11480 * nptl/test-cond-printers.c: Likewise.
11481 * nptl/test-cond-printers.py: Likewise.
11482 * nptl/test-condattr-printers.c: Likewise.
11483 * nptl/test-condattr-printers.py: Likewise.
11484 * nptl/test-mutex-printers.c: Likewise.
11485 * nptl/test-mutex-printers.py: Likewise.
11486 * nptl/test-mutexattr-printers.c: Likewise.
11487 * nptl/test-mutexattr-printers.py: Likewise.
11488 * nptl/test-rwlock-printers.c: Likewise.
11489 * nptl/test-rwlock-printers.py: Likewise.
11490 * nptl/test-rwlockattr-printers.c: Likewise.
11491 * nptl/test-rwlockattr-printers.py: Likewise.
11492 * scripts/gen-py-const.awk: Likewise.
11493 * scripts/test_printers_common.py: Likewise.
11494 * scripts/test_printers_exceptions.py: Likewise.
11495
11496 2016-12-07 Joseph Myers <joseph@codesourcery.com>
11497
11498 * scripts/build-many-glibcs.py (Context.__init__): Take strip
11499 argument.
11500 (Glibc.build_glibc): Strip installed shared libraries if
11501 requested.
11502 (get_parser): Add --strip option.
11503 (main): Update Context call.
11504
11505 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11506 Dominik Vogt <vogt@linux.vnet.ibm.com>
11507
11508 [BZ #20847]
11509 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11510 array bounds for else branch.
11511 (__execvpe): Style fixes.
11512 * posix/tst-vfork3.c (run_script): New function.
11513 (create_script): Likewise.
11514 (do_test): Use run_script internal function.
11515 (do_prepare): Use create_script internal function.
11516
11517 2016-12-07 Andreas Schwab <schwab@suse.de>
11518
11519 * sysdeps/unix/sysv/linux/x86/elision-conf.h
11520 (__elision_available): Don't declare.
11521 * sysdeps/unix/sysv/linux/x86/elision-conf.c
11522 (__elision_available): Don't define.
11523 (elision_init): Don't set __elision_available.
11524
11525 2016-12-07 Joseph Myers <joseph@codesourcery.com>
11526
11527 [BZ #20940]
11528 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11529 return Inf for arguments Inf and sNaN.
11530 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11531 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11532 Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11534 Likewise.
11535 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11536 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11537 for arguments Inf and sNaN. When returning a NaN, compute it by
11538 arithmetic on the arguments.
11539 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11540 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11541 arguments.
11542
11543 2016-12-06 Joseph Myers <joseph@codesourcery.com>
11544
11545 [BZ #20916]
11546 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11547 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
11548 to compute result.
11549 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11550 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11551
11552 2016-12-05 Torvald Riegel <triegel@redhat.com>
11553
11554 * include/atomic.h (__atomic_check_size_ls): New.
11555 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11556 atomic_store_release): Use it.
11557 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11558 (elision_adapt, ELIDE_LOCK): Use atomics.
11559 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11560 atomics and improve code comments.
11561 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11562 (__lll_trylock_elision): Likewise.
11563
11564 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11565
11566 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11567 programs.
11568
11569 2016-12-02 Joseph Myers <joseph@codesourcery.com>
11570
11571 [BZ #20916]
11572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11573 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
11574 arguments to compute result.
11575 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11576 1 for arguments (sNaN, 0) or (1, sNaN).
11577 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11578 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11579
11580 [BZ #20919]
11581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11582 NaN first argument when raised to power 0.
11583 * math/w_pow.c (__pow): Do not check for NaN or zero results from
11584 raising to power zero.
11585 * math/w_powf.c (__powf): Likewise.
11586 * math/w_powl.c (__powl): Likewise.
11587 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11588 pow (0, 0) or pow (NaN, 0).
11589
11590 2016-12-02 Carlos O'Donell <carlos@redhat.com>
11591
11592 [BZ #20918]
11593 * configure.ac: Test for static NSS cryptographic libraries and set
11594 libc_cv_static_nss_crypt.
11595 * configure: Regenerate.
11596 * config.make.in (static-nss-crypt): Define.
11597 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11598 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11599 (CFLAGS-tst-linkall-static.c): Define.
11600 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11601 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11602 ($(objpfx)tst-linkall-static): Define.
11603 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11604 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11605
11606 2016-12-02 Florian Weimer <fweimer@redhat.com>
11607
11608 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11609 (one-hundred, tst-tls-many-dynamic-modules): Define.
11610 (modules-names): Add $(tst-tls-many-dynamic-modules).
11611 (tst-tls-manydynamic%mod.os): Build with special preprocessor
11612 macros.
11613 (tst-tls-manydynamic): Link against libdl, libpthread.
11614 (tst-tls-manydynamic.out): The test needs the test modules at run
11615 time.
11616 * elf/tst-tls-manydynamic.c: New file.
11617 * elf/tst-tls-manydynamic.h: Likewise.
11618 * elf/tst-tls-manydynamicmod.c: Likewise.
11619
11620 2016-12-02 Florian Weimer <fweimer@redhat.com>
11621
11622 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11623 (TLS_DTV_UNALLOCATED): Add.
11624 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11625 offsets.
11626
11627 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
11628
11629 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11630
11631 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
11632
11633 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11634 Add -fno-optimize-sibling-calls.
11635
11636 2016-12-02 Joseph Myers <joseph@codesourcery.com>
11637
11638 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11639 New declaration.
11640 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11641 macro.
11642 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11643 New macro.
11644 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11645 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11646 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11647 (llogbf): Likewise.
11648 (llogbl): Likewise.
11649 * math/Makefile (gen-libm-calls): Add w_llogbF.
11650 (tests): Add test-fp-llogb-constants.
11651 * math/w_llogb_template.c: New file. Based on
11652 math/w_ilogb_template.c.
11653 * math/libm-test.inc (llogb_test_data): New array.
11654 (llogb_test): New function.
11655 (main): Call llogb_test.
11656 * math/test-fp-llogb-constants.c: New file. Based on
11657 math/test-fp-ilogb-constants.c.
11658 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11659 (do_test): Call check_return_llogb.
11660 * math/test-tgmath.c (NCALLS): Increase to 126.
11661 (F(compile_test)): Call llogb.
11662 (F(llogb)): New function.
11663 * manual/math.texi (Exponents and Logarithms): Document llogb,
11664 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11665 * manual/libm-err-tab.pl (@all_functions): Add llogb.
11666 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11667 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11669 (CFLAGS-nldbl-llogb.c): New variable.
11670 * sysdeps/nacl/libm.abilist: Update.
11671 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11680 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11682 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11684 Likewise.
11685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11686 Likewise.
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11688 Likewise.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11690 Likewise.
11691 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11697 Likewise.
11698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11699 Likewise.
11700 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11701 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11703
11704 2016-12-01 Joseph Myers <joseph@codesourcery.com>
11705
11706 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11707 _Float128 instead of long double.
11708 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11709
11710 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11711 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11712 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11713 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11714 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11715 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11716 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11717 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
11718 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
11719 Likewise.
11720
11721 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11722
11723 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
11724 Remove redirection to __strrchr_ppc.
11725
11726 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11727
11728 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11729 (sysdep_routines): Add strcmp_power9.
11730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11731 (strcmp): Add __strcmp_power9 to list of strcmp functions.
11732 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
11733 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11734 (strcmp): Add __strcmp_power9 to ifunc list.
11735 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
11736
11737 2016-12-01 Joseph Myers <joseph@codesourcery.com>
11738
11739 * bits/fp-logb.h: New file.
11740 * sysdeps/ia64/bits/fp-logb.h: Likewise.
11741 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
11742 * sysdeps/x86/bits/fp-logb.h: Likewise.
11743 * math/Makefile (headers): Add bits/fp-logb.h.
11744 * math/math.h: Include <bits/fp-logb.h>.
11745 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
11746 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
11747 * bits/mathdef.h (FP_ILOGB0): Remove.
11748 (FP_ILOGBNAN): Likewise.
11749 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
11750 (FP_ILOGBNAN): Likewise.
11751 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
11752 (FP_ILOGBNAN): Likewise.
11753 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
11754 (FP_ILOGBNAN): Likewise.
11755 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
11756 (FP_ILOGBNAN): Likewise.
11757 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
11758 (FP_ILOGBNAN): Likewise.
11759 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
11760 (FP_ILOGBNAN): Likewise.
11761 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
11762 (FP_ILOGBNAN): Likewise.
11763 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
11764 (FP_ILOGBNAN): Likewise.
11765 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
11766 (FP_ILOGBNAN): Likewise.
11767
11768 * scripts/build-many-glibcs.py: Add bot to usage message. Import
11769 time module.
11770 (Context.__init__): Initialize self.logsdir_old.
11771 (Context.run_builds): Handle bot action.
11772 (Context.bot_cycle): Copy logs directory before running builds.
11773 (Context.bot_run_self): Take argument for whether to check
11774 subprocess result. Flush stdout before running subprocess.
11775 (Context.bot): New function.
11776 (get_parser): Allow bot action.
11777
11778 2016-11-30 Joseph Myers <joseph@codesourcery.com>
11779
11780 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
11781 Import email.mime.text, email.utils and smtplib modules.
11782 (Context.__init__): Initialize self.bot_config_json.
11783 (Context.run_builds): Handle bot-cycle action.
11784 (Context.load_bot_config_json): New function.
11785 (Context.part_build_old): Likewise.
11786 (Context.bot_cycle): Likewise.
11787 (Context.bot_build_mail): Likewise.
11788 (Context.bot_run_self): Likewise.
11789 (get_parser): Allow bot-cycle action.
11790
11791 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11792
11793 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
11794 Remove redirection to __stpcpy_ppc.
11795
11796 2016-11-30 Florian Weimer <fweimer@redhat.com>
11797
11798 Remove __libc_memalign from ld.so because it is unused.
11799 * elf/dl-minimal.c: Update comment on the malloc implementation.
11800 (malloc): Renamed from __libc_memalign, replacing the original
11801 malloc implementation. Replace the align parameter with
11802 MALLOC_ALIGNMENT.
11803 * elf/Versions (ld): Update comment and remove __libc_memalign.
11804 * sysdeps/nacl/ld.abilist: Likewise.
11805 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11806 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11807 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11808 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11812 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11813 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11814 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11815 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11816 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11817 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11821 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11822 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11823 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11824 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11825 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
11827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
11828 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11831 * sysdeps/generic/localplt.data (ld.so): Likewise.
11832 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11833 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11834 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11835 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11836 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11837 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11838 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11839 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
11840 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11842 (ld.so): Likewise.
11843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11844 (ld.so): Likewise.
11845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11846 Likewise.
11847 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11848 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
11850 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
11851 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11852
11853 2016-11-30 Florian Weimer <fweimer@redhat.com>
11854
11855 [BZ #16628]
11856 Implement _dl_catch_error, _dl_signal_error in libc.so.
11857 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
11858 (catch_hook): Define as thread-local or regular variable,
11859 depending on DL_ERROR_BOOTSTRAP.
11860 (CATCH_HOOK): Remove.
11861 (dl_signal_error, _dl_catch_error): Use
11862 catch_hook. Add hidden definition for libc.
11863 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
11864 for DL_ERROR_BOOTSTRAP only.
11865 * elf/dl-error.c: New file.
11866 * elf/dl-error-minimal.c: Likewise.
11867 * elf/tst-latepthread.c: Likewise.
11868 * elf/tst-latepthreadmod.c: Likewise.
11869 * elf/Makefile (routines): Add dl-error.
11870 (dl-routines): Remove dl-error.
11871 (rtld-routines): Add dl-error-minimal.
11872 [build-shared] (tests): Add tst-latepthread.
11873 (module-names): Add tst-latepthreadmod.
11874 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
11875 symbol.
11876 (tst-latepthreadmod.so): Link against libpthread.
11877 (tst-latepthread): Link against libdbl.
11878 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
11879 _dl_catch_error.
11880 [ld] (GLIBC_PRIVATE): Likewise.
11881 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
11882 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
11883 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
11884 directly.
11885 * elf/dl-tsd.c: Remove file.
11886 * elf/rtld.c (_rtld_global_ro): Remove initializers for
11887 _dl_catch_error, _dl_signal_error.
11888 (_dl_initial_error_catch_tsd): Remove definition.
11889 (do_preload): Remove initialization of dl_error_catch_tsd.
11890 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
11891 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
11892 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11893 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11894 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
11895 set dl_error_catch_tsd.
11896 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
11897 _dl_error_catch_tsd member.
11898 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
11899 members.
11900 (_dl_initial_error_catch_tsd): Remove declaration.
11901 (_dl_dprintf): Provide definition for use outside of ld.so.
11902 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
11903 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
11904 prototype for libc.
11905 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
11906 _dl_catch_error.
11907 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11908 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11909 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11910 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11911 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11912 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11913 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11914 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
11915 Likewise.
11916 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11918 (ld.so): Likewise.
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11920 (ld.so): Likewise.
11921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11922 Likewise.
11923 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11924 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11925 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
11926 Likewise.
11927 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
11928 Likewise.
11929 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11930
11931 2016-11-30 Florian Weimer <fweimer@redhat.com>
11932
11933 [BZ #4099]
11934 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
11935 _IO_BUFSIZ (8192).
11936
11937 2016-11-30 Carlos O'Donell <carlos@redhat.com>
11938
11939 * PROJECTS: Remove file.
11940
11941 2016-11-29 Florian Weimer <fweimer@redhat.com>
11942
11943 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
11944
11945 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
11946 Steve Ellcey <sellcey@caviumnetworks.com>
11947
11948 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
11949 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
11950 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
11951 fxstatat.
11952 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
11953 lxstat.
11954 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
11955 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
11956 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
11957 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
11958 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
11959 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
11960 __xstat.
11961
11962 2016-11-29 Florian Weimer <fweimer@redhat.com>
11963
11964 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
11965 Define.
11966 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
11967 definition.
11968
11969 2016-11-29 Florian Weimer <fweimer@redhat.com>
11970
11971 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
11972 version and turn into strong alias. Remove compat symbol.
11973
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11975 (__longjmp): Remove.
11976
11977 2016-11-29 Joseph Myers <joseph@codesourcery.com>
11978
11979 * bits/fp-fast.h: New file.
11980 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
11981 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
11982 * math/Makefile (headers): Add bits/fp-fast.h.
11983 * math/math.h: Include <bits/fp-fast.h>.
11984 * bits/mathdef.h (FP_FAST_FMA): Remove.
11985 (FP_FAST_FMAF): Likewise.
11986 (FP_FAST_FMAL): Likewise.
11987 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
11988 (FP_FAST_FMAF): Likewise.
11989 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
11990 (FP_FAST_FMAF): Likewise.
11991 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
11992 (FP_FAST_FMAF): Likewise.
11993 (FP_FAST_FMAL): Likewise.
11994 * sysdeps/arm/bits/mathdef.h: Remove file.
11995 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
11996 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11997 * sysdeps/tile/bits/mathdef.h: Likewise.
11998
11999 2016-11-28 Joseph Myers <joseph@codesourcery.com>
12000
12001 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
12002 * math/w_ilogb.c: Remove.
12003 * math/w_ilogbf.c: Likewise.
12004 * math/w_ilogbl.c: Likewise.
12005 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12006 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12007 * math/Makefile (gen-libm-calls): Add w_ilogbF.
12008 (libm-calls): Remove w_ilogbF.
12009 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12010 (LDOUBLE_ilogbl_libm_version): New macro.
12011
12012 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12013
12014 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12015 [!__STRICT_ANSI__ && !__cplusplus].
12016
12017 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 [BZ #20750]
12020 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12021 of PIC.
12022
12023 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12024 Yury Norov <ynorov@caviumnetworks.com>
12025 Steve Ellcey <sellcey@caviumnetworks.com>
12026
12027 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12028 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12029 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12030 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12031 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12032 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12033 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12034 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12035 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12036 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12037 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12038 to get correct reg name for ILP32.
12039 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12040 (RELA_SIZE): New Macro.
12041 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12042 to support ILP32.
12043 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12044 cast for ILP32 mode.
12045 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12046 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12047 * sysdeps/aarch64/memset.S (__memset): Ditto.
12048 * sysdeps/aarch64/strchr.S (strchr): Ditto.
12049 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12050 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12051 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12052 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12053 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12054 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12055 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12056 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12057 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12058 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12059 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12060 change PTR_MANGLE call to use register numbers instead of names.
12061 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12062 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12063 ILP32 mode, change PTR_MANGLE calls to use register numbers.
12064 * sysdeps/aarch64/start.S (_start): Ditto.
12065 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12066 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12067 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12068 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12069 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12070 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12071 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12072 Make defined values dependent on __ILP32__.
12073 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12074 (sem_t): Change __align type.
12075 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12076 PTR_SIZE): New Macros.
12077 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12078 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12079 Set when in ILP32 mode.
12080 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12081 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12082 Set elf flags for ILP32.
12083 (add_system_dir): Set ILP32 library directories.
12084 * sysdeps/unix/sysv/linux/aarch64/init-first.c
12085 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12086 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12087 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12088 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12089 New Macros.
12090 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12091
12092 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
12093
12094 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12095 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12096 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12097
12098 2016-11-28 Joseph Myers <joseph@codesourcery.com>
12099
12100 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12101 <asm/cachectl.h>.
12102
12103 2016-11-27 Zack Weinberg <zackw@panix.com>
12104
12105 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12106 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12107
12108 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12109
12110 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12111 error_t to fix usage in C++ programs.
12112
12113 2016-11-26 Joseph Myers <joseph@codesourcery.com>
12114
12115 * scripts/build-many-glibcs.py: Import datetime module.
12116 (Context.__init__): Load JSON build state. Initialize list of
12117 status logs.
12118 (Context.run_builds): Update saved build state.
12119 (Context.add_makefile_cmdlist): Update list of status logs.
12120 (Context.load_build_state_json): New function.
12121 (Context.store_build_state_json): Likewise.
12122 (Context.clear_last_build_state): Likewise.
12123 (Context.update_build_state): Likewise.
12124 (CommandList.status_logs): Likewise.
12125
12126 2016-11-25 Joseph Myers <joseph@codesourcery.com>
12127
12128 * scripts/build-many-glibcs.py (Context.__init__): Save text of
12129 script being executed.
12130 (Context.get_script_text): New function.
12131 (Context.exec_self): Likewise.
12132 (Context.checkout): Re-exec script if changed by checkout process.
12133
12134 2016-11-24 Joseph Myers <joseph@codesourcery.com>
12135
12136 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12137 (setpayloadsig): New declaration.
12138 * math/Versions (setpayloadsig): New libm symbol at version
12139 GLIBC_2.25.
12140 (setpayloadsigf): Likewise.
12141 (setpayloadsigl): Likewise.
12142 * math/Makefile (libm-calls): Add s_setpayloadsigF.
12143 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12144 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12145 (setpayloadsig_test_data): New array.
12146 (setpayloadsig_test): New function.
12147 (main): Call setpayloadsig_test.
12148 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12149 setpayloadsigf and setpayloadsigl.
12150 * manual/libm-err-tab.pl: Update comment on interfaces without
12151 ulps tabulated.
12152 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12153 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12157 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12158 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12159 setpayloadsig.
12160 (CFLAGS-nldbl-setpayloadsig.c): New variable.
12161 * sysdeps/nacl/libm.abilist: Update.
12162 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12175 Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12177 Likewise.
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12179 Likewise.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12181 Likewise.
12182 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12188 Likewise.
12189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12190 Likewise.
12191 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12194
12195 * scripts/build-many-glibcs.py: Import json module.
12196 (Context.__init__): Take replace_sources argument. Load
12197 versions.json.
12198 (Context.load_versions_json): New function.
12199 (Context.store_json): Likewise.
12200 (Context.store_versions_json): Likewise.
12201 (Context.set_component_version): Likewise.
12202 (Context.checkout): Update versions.json. Check for and handle
12203 changes of version. Prefer previously explicitly specified
12204 version to default version.
12205 (Context.checkout_vcs): Return a revision identifier.
12206 (Context.git_checkout): Likewise.
12207 (Context.gcc_checkout): Likewise.
12208 (get_parser): Add --replace-sources option.
12209 (main): Pass replace_sources argument to Context call.
12210
12211 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12212
12213 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12214 * nptl/allocatestack.c (allocate_stack): Likewise.
12215 (__reclaim_stacks): Likewise.
12216 (setxid_signal_thread): Obtain pid through syscall.
12217 * nptl/nptl-init.c (sigcancel_handler): Likewise.
12218 (sighandle_setxid): Likewise.
12219 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12220 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12221 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12222 Likewise.
12223 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12224 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12225 comment.
12226 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12227 * nptl/descr.h (struct pthread): Change comment about pid value.
12228 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12229 pid assert.
12230 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12231 Do not set pid value.
12232 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12233 pid cache check.
12234 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12235 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12236 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12237 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12238 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12239 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12240 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12241 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12242 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12243 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12244 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12245 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12246 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12247 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12248 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12249 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12250 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12251 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12252 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12253 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12254 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12255 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12256 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12257 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12258 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12261 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12262 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12263 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12264 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12265 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12266 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12267 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12268 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12269 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12270 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12271 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12272 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12273 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12274 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12275 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12276 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12279 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12280 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12281 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12282 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12283 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12284 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12285 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12286 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12287 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12288 struct access.
12289 (clone_test): Remove function.
12290 (do_test): Rewrite to take in consideration pid is not cached anymore.
12291
12292 2016-11-24 Joseph Myers <joseph@codesourcery.com>
12293
12294 * bits/flt-eval-method.h: New file.
12295 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12296 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12297 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12298 * math/Makefile (headers): Add bits/flt-eval-method.h.
12299 * math/math.h: Include <bits/flt-eval-method.h>.
12300 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12301 [__USE_ISOC99] (double_t): Likewise.
12302 * bits/mathdef.h (float_t): Remove.
12303 (double_t): Likewise.
12304 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12305 (double_t): Likewise.
12306 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12307 (double_t): Likewise.
12308 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12309 (double_t): Likewise.
12310 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12311 (double_t): Likewise.
12312 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12313 (double_t): Likewise.
12314 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12315 (double_t): Likewise.
12316 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12317 (double_t): Likewise.
12318 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12319 (double_t): Likewise.
12320 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12321 (double_t): Likewise.
12322 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12323 (double_t): Likewise.
12324 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12325 (double_t): Likewise.
12326 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12327 (double_t): Likewise.
12328 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12329 (double_t): Likewise.
12330
12331 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
12332
12333 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12334 instead of PIC.
12335
12336 2016-11-23 Joseph Myers <joseph@codesourcery.com>
12337
12338 [BZ #20859]
12339 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12340 (-0x7fffffff) instead of 0x80000001.
12341 * math/test-fp-ilogb-constants.c: New file.
12342 * math/Makefile (tests): Add test-fp-ilogb-constants.
12343
12344 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
12345
12346 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12347 (_init): Use it in place of hardcoded R_MIPS_JALR.
12348 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12349 (_init): Use it in place of hardcoded R_MIPS_JALR.
12350 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12351 (_init): Use it in place of hardcoded R_MIPS_JALR.
12352
12353 2016-11-23 Joseph Myers <joseph@codesourcery.com>
12354
12355 [BZ #20787]
12356 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12357 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12358 (double_t): Do not define to double if [__x86_64__] when
12359 __FLT_EVAL_METHOD__ is nonzero.
12360 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12361 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12362 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12363 test-flt-eval-method-387 and test-flt-eval-method-sse.
12364 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12365 variable.
12366 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12367
12368 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
12369
12370 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12371 use of -fno-isolate-erroneous-paths options for tilepro.
12372
12373 2016-11-23 Florian Weimer <fweimer@redhat.com>
12374
12375 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12376 structure initialization is no longer needed.
12377
12378 2016-11-23 Joseph Myers <joseph@codesourcery.com>
12379
12380 [BZ #20855]
12381 * bits/mathdef.h (float_t): Define to float.
12382 * math/test-flt-eval-method.c: New file.
12383 * math/Makefile (tests): Add test-flt-eval-method.
12384 (CFLAGS-test-flt-eval-method.c): New variable.
12385
12386 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
12387
12388 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12389 and __fstatfs. Make them aliases of __fstatfs64 if
12390 STATFS_IS_STATFS64 is set to non-zero.
12391 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12392 and __statfs64.
12393 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12394 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12395 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12396 for __statfs and statfs.
12397 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12398 to 0.
12399 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12400 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12401 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12402 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12403 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12404 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12407 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12408 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12409 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12410 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12411
12412 2016-11-22 Andreas Schwab <schwab@suse.de>
12413
12414 * misc/mkstemp.c: Include <fcntl.h>.
12415 * misc/mkstemps.c: Likewise.
12416 * misc/mkostemp.c: Likewise.
12417 * misc/mkostemps.c: Likewise.
12418
12419 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
12420
12421 [BZ #20847]
12422 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12423 array bounds.
12424 (__execvpe): Likewise.
12425
12426 2016-11-22 Joseph Myers <joseph@codesourcery.com>
12427
12428 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12429 -fno-isolate-erroneous-paths options for tilepro.
12430
12431 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
12432
12433 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12434 to 0 when in 32 bit mode.
12435 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12436 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12437 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12438 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12440 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12441 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12442 XSTAT_IS_XSTAT64 test.
12443 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12444 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12445 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12446 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12447 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12448 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12449 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12450 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12451 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12452 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12453 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12454
12455 2016-11-19 Joseph Myers <joseph@codesourcery.com>
12456
12457 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12458 (setpayload): New declaration.
12459 * math/Versions (setpayload): New libm symbol at version
12460 GLIBC_2.25.
12461 (setpayloadf): Likewise.
12462 (setpayloadl): Likewise.
12463 * math/Makefile (libm-calls): Add s_setpayloadF.
12464 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12465 test_Ff_b1_data.
12466 (RUN_TEST_Ff_b1): New macro.
12467 (RUN_TEST_LOOP_Ff_b1): Likewise.
12468 (canonicalize_test_data): Update type.
12469 (setpayload_test_data): New array.
12470 (setpayload_test): New function.
12471 (main): Call setpayload_test.
12472 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12473 setpayloadf and setpayloadl.
12474 * manual/libm-err-tab.pl: Update comment on interfaces without
12475 ulps tabulated.
12476 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12477 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12479 Likewise.
12480 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12481 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12486 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12488 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12489 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12490 setpayload.
12491 (CFLAGS-nldbl-setpayload.c): New variable.
12492 * sysdeps/nacl/libm.abilist: Update.
12493 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12506 Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12508 Likewise.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12510 Likewise.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12512 Likewise.
12513 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12519 Likewise.
12520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12521 Likewise.
12522 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12523 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12524 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12525
12526 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12527
12528 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12529 * include/unistd.h: Extend comment about __access_noerrno return
12530 semantics.
12531 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12532 (access_common): Correct typo for EACCES.
12533
12534 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
12535
12536 * sysdeps/tile/math-tests.h: New file.
12537
12538 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12539 (__old_set_dataplane): Rename from set_dataplane and make a
12540 compatibility symbol.
12541 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12542 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12543 sys/dataplane.h.
12544
12545 2016-11-18 Joseph Myers <joseph@codesourcery.com>
12546
12547 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12548 script quote words in command output to log suitably for input to
12549 the shell.
12550
12551 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
12552 Maciej W. Rozycki <macro@imgtec.com>
12553
12554 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12555 `.Lno_weak_fn' label.
12556 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12557 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12558
12559 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12560 Yury Norov <ynorov@caviumnetworks.com>
12561
12562 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12563 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12564 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12565 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12566 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12568 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12570 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12571 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12572 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12573 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12574 (sysdep_routines): Remove oldgetrlimit64.
12575 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12576 (sysdep_routines): Likewise.
12577 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12578 (sysdep_routines): Likewise.
12579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12580 [$(subdir) = resource] (sysdep_routines): Likewise.
12581 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12582 [$(subdir) = resource] (sysdep_routines): Likewise.
12583 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12584 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12585 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12586 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12587 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12588 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12589 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12590 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12591 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12592 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12593 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12594 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12595 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12596 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12597 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12598 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12599 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12600 setrlimit and getrlimit.
12601 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12602 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12603 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12606 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12607 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12608 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12610 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12611 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12612 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12613 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12614 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12615 (__old_getrlimit64): Add compatibility symbol.
12616 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12617
12618 2016-11-17 Joseph Myers <joseph@codesourcery.com>
12619
12620 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12621 newly built gmp, mpfr and mpc.
12622
12623 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12624
12625 2016-11-16 Joseph Myers <joseph@codesourcery.com>
12626
12627 * conform/Makefile (linknamespace-libs): Rename to
12628 linknamespace-libs-thr.
12629 (linknamespace-libs-posix): New variable.
12630 (linknamespace-libs-xsi): Likewise.
12631 (linknamespace-libs-XPG3): Include libcrypt.a.
12632 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12633 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12634 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12635 (linknamespace-libs-XOPEN2K): Likewise.
12636 (linknamespace-libs-XOPEN2K8): Likewise.
12637 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12638
12639 [BZ #20829]
12640 * stdio-common/Versions (__snprintf): Add to version
12641 GLIBC_PRIVATE.
12642 * include/stdio.h (__snprintf): Use libc_hidden_proto.
12643 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12644 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12645 of snprintf.
12646 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12647
12648 2016-11-16 Zack Weinberg <zackw@panix.com>
12649
12650 * string/string.h: Remove obsolete comment stating that
12651 strcoll_l and strxfrm_l have not yet been standardized.
12652
12653 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12654
12655 * hurd/hurd.h (__hurd_fail_noerrno): New function.
12656 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12657 __access_noerrno.
12658 * io/access.c (__access_noerrno): New function.
12659 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12660 (hurd_fail_seterrno): Likewise.
12661 (access_common): Likewise.
12662 (__access_noerrno): Likewise.
12663 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12664 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12665 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12666 macro.
12667
12668 2016-11-16 Joseph Myers <joseph@codesourcery.com>
12669
12670 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12671 Only declare fpregs if [__SH_FPU_ANY__].
12672
12673 2016-11-15 Joseph Myers <joseph@codesourcery.com>
12674
12675 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12676 Make code unconditional.
12677 [!(__SH4__ || __SH4A__)]: Remove conditional code.
12678
12679 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
12680
12681 * manual/sysinfo.texi (S_APPEND): Delete.
12682 (S_IMMUTABLE): Likewise.
12683
12684 2016-11-15 Denis Kaganovich <mahatma@eu.by>
12685 Magnus Granberg <zorry@gentoo.org>
12686 Mike Frysinger <vapier@gentoo.org>
12687
12688 [BZ #20662]
12689 * configure.ac (libc_cv_predef_stack_protector): Also check for
12690 __stack_chk_fail_local symbols.
12691 * configure: Regenerated.
12692
12693 2016-11-15 Florian Weimer <fweimer@redhat.com>
12694
12695 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12696 (libc_hidden_def): Remove redefinition.
12697 (__sigsetjmp): Add hidden definition.
12698 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12699 (libc_hidden_def): Remove redefinition.
12700 (__sigsetjmp): Add hidden definition.
12701
12702 2016-11-14 Joseph Myers <joseph@codesourcery.com>
12703
12704 * scripts/build-many-glibcs.py (os.path): Do not import.
12705 (Context): Inherit explicitly from object. Remove blank line
12706 between class and docstring.
12707 (Config): Likewise.
12708 (Glibc): Likewise.
12709 (Command): Likewise.
12710 (CommandList): Likewise.
12711 (Context.write_files): Store chmod mode in a variable.
12712
12713 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12714 LIBC_SLIBDIR_RTLDDIR for tilegx32.
12715 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12716
12717 2016-11-14 Zack Weinberg <zackw@panix.com>
12718
12719 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
12720 creating or re-creating it.
12721
12722 * string/bits/string2.h: Fix typo in comment.
12723
12724 2016-11-14 Zack Weinberg <zackw@panix.com>
12725
12726 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
12727 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
12728 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
12729 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
12730 of redirected function names.
12731
12732 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
12733 as well. Document that MESSAGE must be a single string literal.
12734
12735 2016-11-11 Joseph Myers <joseph@codesourcery.com>
12736
12737 * scripts/build-many-glibcs.py: New file.
12738
12739 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
12740 (do_test): Disable -Wmaybe-uninitialized around uses of
12741 except_mask.
12742
12743 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
12744
12745 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
12746
12747 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
12748 (atomic_store_release): Provide tilepro-specific implementations.
12749
12750 2016-11-10 Joseph Myers <joseph@codesourcery.com>
12751
12752 * math/math.h (__MATH_TG): New macro.
12753 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
12754 [__USE_ISOC99] (signbit): Likewise.
12755 [__USE_ISOC99] (isfinite): Likewise.
12756 [__USE_ISOC99] (isnan): Likewise.
12757 [__USE_ISOC99] (isinf): Likewise.
12758 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
12759 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
12760 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
12761 __MATH_TG and __MATH_EVAL_FMT2.
12762 * sysdeps/generic/math_private.h (fabs_tg): Define using
12763 __MATH_TG.
12764 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12765 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
12766 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
12767 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
12768 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
12769 macro.
12770 (__iscanonical): Likewise.
12771 (iscanonical): Define using __MATH_TG.
12772
12773 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12774
12775 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
12776 guards.
12777
12778 * sysdeps/unix/sysv/linux/access.c: New file.
12779 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
12780
12781 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
12782
12783 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
12784 and __WORDSIZE32_PTRDIFF_LONG.
12785
12786 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
12787
12788 * sysdeps/aarch64/libm-test-ulps: Regenerated.
12789
12790 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12791
12792 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
12793 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
12794 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
12795 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
12796 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
12798 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
12799 * sysdeps/unix/sysv/linux/truncate.c: New file.
12800 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
12801 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12802 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
12803 Remove.
12804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
12805 Likewise.
12806
12807 * posix/tst-truncate-common.c: New file.
12808 * posix/tst-truncate.c: Use tst-truncate-common.c.
12809 * posix/tst-truncate64.c: Likewise and add LFS tests.
12810 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
12811 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
12812 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
12813 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
12814 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
12816 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
12817 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
12818 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
12819 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12820 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
12821 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
12822 Remove.
12823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
12824 Likewise.
12825
12826 2016-11-08 Joseph Myers <joseph@codesourcery.com>
12827
12828 [BZ #20790]
12829 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
12830 to MAXLINESIZE.
12831 * sunrpc/bug20790.x: New file.
12832 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
12833 variable.
12834 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
12835 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
12836
12837 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
12838
12839 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
12840
12841 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
12842 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
12843 calloc, realloc, free, memalign and __libc_memalign rather than
12844 making them optional.
12845
12846 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
12847 for libc.so.
12848
12849 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12850
12851 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
12852 ptw-lseek64.
12853 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
12854 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
12855 Likewise.
12856 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
12857 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
12858 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
12859 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
12860 * sysdeps/unix/sysv/linux/lseek.c: New file.
12861 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
12862 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
12863 __libc_lseek64 from auto-generation.
12864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12865 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
12866
12867 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12868
12869 * nptl/tst-basic1.c (tf, do_test): Use write_message.
12870 * nptl/tst-cleanup1.c (do_test): Likewise.
12871 * nptl/tst-cleanup3.c (do_test): Likewise.
12872 * nptl/tst-key1.c (do_test): Likewise.
12873 * nptl/tst-key2.c (tf, do_test): Likewise.
12874 * nptl/tst-key3.c (tf, do_test): Likewise.
12875 * nptl/tst-stdio1.c (do_test): Likewise.
12876 * nptl/tst-stdio2.c (do_test): Likewise.
12877
12878 * nptl/tst-kill3.c (handler): Use write_message in place of write.
12879 * nptl/tst-kill6.c (handler): Likewise.
12880 * nptl/tst-tls2.c (CB): Likewise.
12881 * nptl/tst-tls3.c (CB): Likewise.
12882
12883 2016-11-07 Joseph Myers <joseph@codesourcery.com>
12884
12885 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
12886
12887 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
12888 Steve Ellcey <sellcey@caviumnetworks.com>
12889
12890 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
12891 __ASSUME_ST_INO_64_BIT as 0
12892 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
12893 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
12894 over the code where __ASSUME_ST_INO_64_BIT is used.
12895 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
12896 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
12897 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12898
12899 2016-11-07 Florian Weimer <fweimer@redhat.com>
12900
12901 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12902 Document ABI exposure of the __kind offset.
12903 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12904 Mention reason for the __kind offset exposure in the ABI.
12905 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12906 Likewise.
12907 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12908 Likewise.
12909 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12910 Likewise.
12911 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
12912 (struct __pthread_mutex_s): Likewise.
12913 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12914 Likewise.
12915 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12916 Likewise.
12917 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12918 Likewise.
12919 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12920 Likewise.
12921 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12922 Likewise.
12923 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12924 Likewise.
12925 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
12926 (struct __pthread_mutex_s): Likewise.
12927 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12928 (struct __pthread_mutex_s): Likewise.
12929 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
12930 Likewise.
12931
12932 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
12933
12934 * test-skeleton.c: Document do_test usage.
12935
12936 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
12937
12938 * iconv/gconv.h (__gconv_info): Define __data element using a
12939 zero-length array.
12940
12941 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
12942
12943 * math/test-tgmath2.c: Split up test function.
12944
12945 2016-11-04 Joseph Myers <joseph@codesourcery.com>
12946
12947 * Rules (tests-expected): New variable, depending on
12948 $(run-built-tests).
12949 (tests): Pass $(tests-expected) to merge-test-results.sh, not
12950 $(tests).
12951
12952 * Rules [$(run-built-tests) = no] (tests): Do not depend on
12953 $(tests-unsupported).
12954
12955 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12956
12957 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12958 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
12959
12960 2016-11-04 Joseph Myers <joseph@codesourcery.com>
12961
12962 [BZ #20768]
12963 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
12964 __fegetenv instead of fegetenv.
12965
12966 [BZ #14139]
12967 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
12968 (find_files): Obtain platform name from libm-test-ulps-name and
12969 store in %pplatforms.
12970 (canonicalize_platform): Remove.
12971 (print_platforms): Use $pplatforms directly.
12972 (by_platforms): Do not allow for platforms missing from
12973 %pplatforms.
12974 * sysdeps/aarch64/libm-test-ulps-name: New file.
12975 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
12976 * sysdeps/arm/libm-test-ulps-name: Likewise.
12977 * sysdeps/generic/libm-test-ulps-name: Likewise.
12978 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
12979 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
12980 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
12981 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
12982 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
12983 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
12984 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
12985 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
12986 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
12987 * sysdeps/nios2/libm-test-ulps-name: Likewise.
12988 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
12989 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
12990 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
12991 * sysdeps/sh/libm-test-ulps-name: Likewise.
12992 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
12993 * sysdeps/tile/libm-test-ulps-name: Likewise.
12994 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
12995
12996 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
12997
12998 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
12999 (test-xfail-check-execstack): New variable.
13000
13001 * sysdeps/mips/localplt.data: New file.
13002
13003 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
13004 Steve Ellcey <sellcey@caviumnetworks.com>
13005
13006 * bits/wordsize.h: Add documentation.
13007 * sysdeps/aarch64/bits/wordsize.h : New file
13008 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13009 definitions.
13010 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13011 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13012 with #if instead of #ifdef.
13013 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13014 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13015 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13016 Add or change defines.
13017 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13018 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13019 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13020 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13021 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13022 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13023 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13024 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13025 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13026 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13027 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13028 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13029 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13030 * sysdeps/x86/bits/wordsize.h: Likewise.
13031
13032 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
13033 Kevin Petit <kevin.petit@arm.com>
13034
13035 * sysdeps/aarch64/memchr.S (__memchr): New file.
13036
13037 2016-11-04 Joseph Myers <joseph@codesourcery.com>
13038
13039 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13040
13041 2016-11-03 Joseph Myers <joseph@codesourcery.com>
13042
13043 [BZ #19398]
13044 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13045 $(linknamespace-symlists-tests).
13046
13047 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
13048
13049 * time/tst-strptime2.c: Ignore -Wformat-length warning.
13050
13051 2016-11-02 Florian Weimer <fweimer@redhat.com>
13052 Carlos O'Donell <carlos@redhat.com>
13053
13054 [Bug #20729]
13055 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13056 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
13057 for -Os related change.
13058
13059 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
13060
13061 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13062
13063 2016-11-01 Joseph Myers <joseph@codesourcery.com>
13064
13065 [BZ #19673]
13066 * manual/math.texi (Exponents and Logarithms): Correct description
13067 of clog10.
13068
13069 2016-10-31 Carlos O'Donell <carlos@redhat.com>
13070
13071 [Bz #20729]
13072 * locale/weight.h: Include libc-internal.h.
13073 * locale/weightwc.h: Likewise.
13074 * nptl/nptl_dbP.h: Likewise.
13075
13076 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
13077
13078 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13079 when it is MACH_PORT_NULL.
13080
13081 2016-10-31 Andreas Schwab <schwab@suse.de>
13082
13083 [BZ #20707]
13084 * posix/glob.c (glob): Initialize pglob before checking for
13085 GLOB_BRACE. Don't call glob recursively if pattern contains no
13086 valid brace expression despite GLOB_BRACE.
13087 * posix/globtest.sh: Test it.
13088
13089 2016-10-28 Carlos O'Donell <carlos@redhat.com>
13090
13091 [BZ #20729]
13092 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13093 Define.
13094 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13095 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13096 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13097 for seq2.back_us and seq1.back_us only for -Os compiles.
13098 * locale/weightwc.h (findix): Likewise.
13099 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13100 DB_GET_FIELD_ADDRESS only for -Os compiles.
13101 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13102 for slen only for -Os compiles.
13103 * string/strcoll_l.c (get_next_seq): Ignore
13104 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13105 for -Os compiles.
13106
13107 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13108 * include/crypt.h: New file.
13109
13110 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13111
13112 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13113 from test-skeleton.c.
13114 (statclass): Replace calls to write with calls to write_message.
13115
13116 2016-10-28 Joseph Myers <joseph@codesourcery.com>
13117
13118 * math/math.h
13119 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13120 New macro.
13121 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13122 Likewise.
13123 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13124 Likewise.
13125 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13126 SNANL.
13127 * math/test-double.h (snan_value_MACRO): New macro.
13128 * math/test-float.h (snan_value_MACRO): Likewise.
13129 * math/test-ldouble.h (snan_value_MACRO): Likewise.
13130 * math/libm-test.inc (issignaling_test_data): Add tests of
13131 snan_value_MACRO.
13132
13133 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13134
13135 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13136 behavior when eliding a lock not held by the current thread.
13137 * sysdeps/powerpc/nptl/elide.h: Likewise.
13138
13139 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13140
13141 [BZ #20728]
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13143 branch to _exit() by a function call.
13144
13145 2016-10-28 Florian Weimer <fweimer@redhat.com>
13146
13147 * malloc/malloc.c: Update chunk layout comments.
13148 (chunk_main_arena): Update comment.
13149
13150 2016-10-28 Florian Weimer <fweimer@redhat.com>
13151
13152 * crypt/sha256.c, crypt/sha256-block.c,
13153 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13154 sha256_process_block to __sha256_process_block.
13155 * crypt/sha512.c, crypt/sha512-block.c,
13156 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13157 sha512_process_block to __sha512_process_block.
13158
13159 2016-10-28 Carlos O'Donell <carlos@redhat.com>
13160
13161 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13162
13163 * math/test-nan-overflow.c: Include stdlib.h for malloc.
13164
13165 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 [BZ #20019]
13168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13169 definition in unrelocated shared library.
13170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13171
13172 2016-10-28 Florian Weimer <fweimer@redhat.com>
13173
13174 [BZ #20729]
13175 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13176 * sysdeps/unix/sysv/linux/i386/Makefile
13177 (uses-6-syscall-arguments): Define.
13178 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13179 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13180 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13181 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13182 Likewise.
13183 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13184 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13185 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13186 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13187 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13188 (CFLAGS-fallocate64.os): Likewise.
13189 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13190 (CFLAGS-pthread_rwlock_timedrdlock.os)
13191 (CFLAGS-pthread_rwlock_timedwrlock.o)
13192 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13193 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13194 (CFLAGS-sem_timedwait.os): Likewise.
13195
13196 2016-10-28 Florian Weimer <fweimer@redhat.com>
13197
13198 * elf/tst-linkall-static.c: New file.
13199 * elf/Makefile (tests-static): Add tst-linkall-static.
13200 (tst-linkall-static): Link against static libraries.
13201
13202 2016-10-27 Florian Weimer <fweimer@redhat.com>
13203
13204 * malloc/malloc.c (sysmalloc): Initialize previous size field of
13205 mmaped chunks.
13206
13207 2016-10-28 Florian Weimer <fweimer@redhat.com>
13208
13209 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13210 members to mchunk_prev_size, mchunk_size.
13211 (chunk_main_arena): Reverse sense and rename from
13212 chunk_non_main_arena.
13213 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13214 mchunk_size instead of size.
13215 (set_non_main_arena): Define.
13216 (chunksize): Use chunksize_nomask instead of direct member access.
13217 (chunksize_nomask): Define.
13218 (next_chunk): Use chunksize instead of direct member access.
13219 (prev_size, set_prev_size): Define.
13220 (prev_chunk): Use prev_size instead of direct member access.
13221 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13222 (inuse_bit_at_offset, set_inuse_bit_at_offset)
13223 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13224 (mchunk_prev_size, mchunk_size): Poison tokens.
13225 (unlink): Use chunksize_nomask, prev_size accessors.
13226 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13227 (do_check_free_chunk): Use prev_size accessor.
13228 (sysmalloc): Use set_prev_size, set_head accessors.
13229 (munmap_chunk, mremap_chunk): Use prev_size accessor.
13230 (__libc_free): Use chunksize_nomask accessor.
13231 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13232 chunk_main_arena accessors.
13233 (_int_free): Use chunksize_nomask, prev_size accessors.
13234 (malloc_consolidate): Use chunksize, prev_size accessors.
13235 (_int_realloc): Use chunksize_nomask accessor.
13236 (_int_memalign): Use set_prev_size accessor.
13237 (__malloc_info): Use chunksize_nomask accessor.
13238 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13239 accessors.
13240 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13241 (heap_trim): Use chunksize_nomask, prev_size accessors.
13242
13243 2016-10-28 Joseph Myers <joseph@codesourcery.com>
13244
13245 [BZ #19380]
13246 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13247 for inexact results.
13248 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13249 of inexact result where mpfr_subnormalize is the only inexact
13250 step.
13251 * stdlib/tst-strtod-round-data.h: Regenerated.
13252 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13253 Define to 0.
13254 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13255
13256 2016-10-27 David S. Miller <davem@davemloft.net>
13257
13258 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13259
13260 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
13261
13262 * malloc/malloc.c (do_set_mallopt_check): New function.
13263 (do_set_mmap_threshold): Likewise.
13264 (do_set_mmaps_max): Likewise.
13265 (do_set_top_pad): Likewise.
13266 (do_set_perturb_byte): Likewise.
13267 (do_set_trim_threshold): Likewise.
13268 (do_set_arena_max): Likewise.
13269 (do_set_arena_test): Likewise.
13270 (__libc_mallopt): Use them.
13271
13272 2016-10-26 Joseph Myers <joseph@codesourcery.com>
13273
13274 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13275 (canonicalize): New declaration.
13276 * math/Versions (canonicalize): New libm symbol at version
13277 GLIBC_2.25.
13278 (canonicalizef): Likewise.
13279 (canonicalizel): Likewise.
13280 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13281 * math/s_canonicalize_template.c: New file.
13282 * math/libm-test.inc: Update comment on functions tested and
13283 testing of NaN payloads.
13284 (TEST_NAN_PAYLOAD): New macro.
13285 (NO_TEST_INLINE): Update value.
13286 (XFAIL_TEST): Likewise.
13287 (ERRNO_UNCHANGED): Likewise.
13288 (ERRNO_EDOM): Likewise.
13289 (ERRNO_ERANGE): Likewise.
13290 (IGNORE_RESULT): Likewise.
13291 (NON_FINITE): Likewise.
13292 (TEST_SNAN): Likewise.
13293 (NO_TEST_MATHVEC): Likewise.
13294 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13295 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13296 (struct test_Ffp_b1_data): New type.
13297 (RUN_TEST_Ffp_b1): New macro.
13298 (RUN_TEST_LOOP_Ffp_b1): Likewise.
13299 (canonicalize_test_data): New array.
13300 (canonicalize_test): New function.
13301 (main): Call canonicalize_test.
13302 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13303 canonicalizef and canonicalizel.
13304 * manual/libm-err-tab.pl: Update comment on interfaces without
13305 ulps tabulated.
13306 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13307 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13308 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13309 canonicalize.
13310 (CFLAGS-nldbl-canonicalize.c): New variable.
13311 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13312 to ...
13313 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13314 ... here.
13315 (do_test): Also test canonicalizel.
13316 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13317 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13318 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13319 file.
13320 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13321 Use libm_hidden_def.
13322 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13323 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13324 (do_test): Also test canonicalizel.
13325 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13326 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13327 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13328 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13329 libm_hidden_def.
13330 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13331 macro.
13332 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13333 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13334 * sysdeps/nacl/libm.abilist: Update.
13335 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13340 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13341 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13342 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13348 Likewise.
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13350 Likewise.
13351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13352 Likewise.
13353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13354 Likewise.
13355 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13361 Likewise.
13362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13363 Likewise.
13364 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13367
13368 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13369 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13370 getpayload.
13371 (CFLAGS-nldbl-getpayload.c): New variable.
13372
13373 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13374
13375 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13376 integer from the format string.
13377
13378 2016-10-26 Florian Weimer <fweimer@redhat.com>
13379
13380 [BZ #19473]
13381 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13382 declarations.
13383 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13384 weak aliases.
13385 * malloc/hooks.c (__malloc_get_state): Remove definition.
13386 (malloc_get_state): New stub implementation as
13387 compatibility symbol.
13388 (malloc_set_state): Rename from __malloc_set_state. Turn into
13389 compat symbol.
13390 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13391 malloc_set_state.
13392 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13393
13394 2016-10-26 Florian Weimer <fweimer@redhat.com>
13395
13396 * iconvdata/iso646.c (enum variant): Drop illegal_var.
13397 (names): Turn into concatenation of strings.
13398 (gconv_init): Adapt iteration over names.
13399
13400 2016-10-26 Florian Weimer <fweimer@redhat.com>
13401
13402 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13403 make const.
13404 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13405 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13406 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13407 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13408 character in sbconv.
13409 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13410 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13411 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13412
13413 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
13414
13415 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13416
13417 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13418 (M_TRIM_THRESHOLD): Likewise.
13419
13420 * manual/memory.texi (M_ARENA_TEST): Add documentation.
13421 (M_ARENA_MAX): Likewise.
13422 * malloc/malloc.c: Remove obsolete comment.
13423
13424 * manual/memory.texi: Add environment variable alternatives to
13425 setting mallopt parameters.
13426
13427 2016-10-26 Carlos O'Donell <carlos@redhat.com>
13428
13429 * include/atomic.h
13430 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13431 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13432
13433 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13434
13435 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13436 * stdlib/tst-strfrom.h: New file.
13437 * stdlib/tst-strfrom.c: New file.
13438 * stdlib/tst-strfrom-locale.c: New file.
13439
13440 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13441 * stdlib/bug-strtod2.c: Likewise.
13442 * stdlib/tst-strtod-round-skeleton.c: Likewise.
13443 * stdlib/tst-strtod6.c: Likewise.
13444 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13445
13446 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13447
13448 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13449 * manual/arith.texi: Document strfromd, strfromf, strfroml.
13450 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13451 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13452 * stdlib/stdlib.h (strfromd): New declaration.
13453 (strfromf): Likewise.
13454 (strfroml): Likewise.
13455 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
13456 strfrom.
13457 * stdlib/strfromd.c: New file.
13458 * stdlib/strfromf.c: Likewise.
13459 * stdlib/strfroml.c: Likewise.
13460 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13461 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13462 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13463 * sysdeps/arm/nacl/libc.abilist: Update.
13464 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13492
13493 2016-10-25 Joseph Myers <joseph@codesourcery.com>
13494
13495 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13496 instead of cmpli.
13497 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13498 instead of cmpli.
13499
13500 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
13501
13502 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13503 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13504 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13505 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13506 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13507 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13508
13509 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13510
13511 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13512 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13513 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13514 SYSCALL_LL64_PRW.
13515 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13516 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13517 __ASSUME_PRW_DUMMY_ARG.
13518 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13519 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13520 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13521 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13522 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13523 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13524
13525 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
13526
13527 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13528
13529 2016-10-22 Florian Weimer <fweimer@redhat.com>
13530
13531 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13532 "C++", to override a potential extern "C" directive around the
13533 header file inclusion.
13534
13535 2016-10-21 Joseph Myers <joseph@codesourcery.com>
13536
13537 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13538
13539 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13540
13541 * sysdeps/powerpc/fpu/fenv_private.h:
13542 (_FPU_MASK_ALL): Rename to...
13543 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13544 XE FPSCR bits.
13545
13546 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13547
13548 (_FPU_MASK_ROUNDING): Rename to...
13549 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13550 NI bits.
13551
13552 (_FPU_MASK_EXCEPT_ROUND): Rename to...
13553 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13554 bits and rounding bits.
13555
13556 (__libc_feholdbits_ppc): New inline function to mask, set,
13557 and pontentially clear FSPCR bits, and change MSR[FE] bits.
13558 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13559 (libc_feholdexcept_setround_ppc): Likewise.
13560
13561 (__libc_femergeenv_ppc): New function to dynamically mask both
13562 old and new FP environments and merge.
13563 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13564 (libc_feresetround_ppc): Likewise.
13565 (libc_feupdateenv_test_ppc): Likewise.
13566 (libc_feupdateenv_ppc): Likewise.
13567
13568 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13569 of ISA RN bits, and update macro names.
13570 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13571 effectively the same as the previously mentioned function.
13572
13573 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13574 usage with fe_resetround_ppc.
13575
13576 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13577 to be used.
13578 (libc_feholdexcept_setround_ctxf): Likewise.
13579 (libc_feholdexcept_setround_ctxl): Likewise.
13580
13581 2016-10-21 Florian Weimer <fweimer@redhat.com>
13582
13583 [BZ #20715]
13584 * math/math.h [__cplusplus] (iszero): Define as function template.
13585 * math/Makefile [CXX] (tests): Add test-math-iszero.
13586 (CFLAGS-test-math-iszero.cc): Set.
13587 * math/test-math-iszero.cc: New file.
13588
13589 2016-10-20 Joseph Myers <joseph@codesourcery.com>
13590
13591 [BZ #20660]
13592 * sysdeps/arm/e_sqrt.c: New file.
13593 * sysdeps/arm/e_sqrtf.c: Likewise.
13594
13595 2016-10-19 Joseph Myers <joseph@codesourcery.com>
13596
13597 [BZ #20718]
13598 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13599 not use floating-point comparisons to test sign.
13600 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13601 Likewise.
13602
13603 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13604 (getpayload): New declaration.
13605 * math/Versions (getpayload): New libm symbol at version
13606 GLIBC_2.25.
13607 (getpayloadf): Likewise.
13608 (getpayloadl): Likewise.
13609 * math/Makefile (libm-calls): Add s_getpayloadF.
13610 * math/libm-test.inc: Include <nan-high-order-bit.h>.
13611 (struct test_f_f_data): Add comment.
13612 (RUN_TEST_fp_f): New macro.
13613 (RUN_TEST_LOOP_fp_f): Likewise.
13614 (getpayload_test_data): New array.
13615 (getpayload_test): New function.
13616 (main): Call getpayload_test.
13617 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13618 descriptor.
13619 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13620 getpayloadf and getpayloadl.
13621 * manual/libm-err-tab.pl: Update comment on interfaces without
13622 ulps tabulated.
13623 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13624 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13625 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13629 * sysdeps/nacl/libm.abilist: Update.
13630 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13631 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13632 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13633 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13634 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13635 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13636 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13637 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13638 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13639 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13640 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13641 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13643 Likewise.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13645 Likewise.
13646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13647 Likewise.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13649 Likewise.
13650 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13651 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13652 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13654 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13656 Likewise.
13657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13658 Likewise.
13659 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13662
13663 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13664
13665 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13666 tst-fallocate{64}.
13667 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13668 on syscall return.
13669
13670 2016-10-17 Carlos O'Donell <carlos@redhat.com>
13671
13672 [BZ #20689]
13673 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13674 usable.
13675
13676 2016-10-17 Joseph Myers <joseph@codesourcery.com>
13677
13678 * sysdeps/generic/nan-high-order-bit.h: New file.
13679 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13680 * sysdeps/mips/nan-high-order-bit.h: Likewise.
13681 * sysdeps/hppa/math_private.h: Remove file.
13682 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13683 not define here.
13684 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13685 <nan-high-order-bit.h>.
13686 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13687 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13688 <nan-high-order-bit.h>.
13689 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13690 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13691 <nan-high-order-bit.h>.
13692 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13693 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13694 <nan-high-order-bit.h>.
13695 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13697 <nan-high-order-bit.h>.
13698 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13699 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13700 <nan-high-order-bit.h>.
13701 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13702 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13703 <nan-high-order-bit.h>.
13704 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13705 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13706 <nan-high-order-bit.h>.
13707 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13708 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13709 <nan-high-order-bit.h>.
13710 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13711 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13712 <nan-high-order-bit.h>.
13713 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13714 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13715 <nan-high-order-bit.h>.
13716 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13717 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13718 <nan-high-order-bit.h>.
13719 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13720 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
13721 <nan-high-order-bit.h>.
13722 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13723 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
13724 <nan-high-order-bit.h>.
13725 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13726 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
13727 <nan-high-order-bit.h>.
13728 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13729 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
13730 <nan-high-order-bit.h>.
13731 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13732 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
13733 <nan-high-order-bit.h>.
13734 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13735 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
13736 <nan-high-order-bit.h>.
13737 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13738
13739 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
13740
13741 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
13742
13743 2016-09-22 John David Anglin <dave.anglin@bell.net>
13744
13745 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
13746 abort-instr.h.
13747 (EFAULT): Remove conditional define.
13748 (ENOSYS): Likewise.
13749 (atomic_compare_and_exchange_val_acq): Use instruction nullification
13750 instead of conditional branch instructions.
13751
13752 2016-10-15 Joseph Myers <joseph@codesourcery.com>
13753
13754 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13755 (totalordermag): New declaration.
13756 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
13757 New macro.
13758 * math/Versions (totalordermag): New libm symbol at version
13759 GLIBC_2.25.
13760 (totalordermagf): Likewise.
13761 (totalordermagl): Likewise.
13762 * math/Makefile (libm-calls): Add s_totalordermagF.
13763 * math/libm-test.inc (totalordermag_test_data): New array.
13764 (totalordermag_test): New function.
13765 (main): Call totalordermag_test.
13766 * math/test-tgmath.c (NCALLS): Increase to 125.
13767 (F(compile_test)): Call totalordermag.
13768 (F(totalordermag)): New function.
13769 * manual/arith.texi (FP Comparison Functions): Document
13770 totalordermag, totalordermagf and totalordermagl.
13771 * manual/libm-err-tab.pl: Update comment on interfaces without
13772 ulps tabulated.
13773 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
13774 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
13775 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
13780 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13781 totalordermag.
13782 (CFLAGS-nldbl-totalordermag.c): New variable.
13783 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
13784 (do_test): Also test totalordermagl.
13785 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
13786 Likewise.
13787 * sysdeps/nacl/libm.abilist: Update.
13788 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13801 Likewise.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13803 Likewise.
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13805 Likewise.
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13807 Likewise.
13808 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13810 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13814 Likewise.
13815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13816 Likewise.
13817 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13819 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13820
13821 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
13822
13823 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
13824 boolean.
13825
13826 2016-10-13 Joseph Myers <joseph@codesourcery.com>
13827
13828 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
13829 raising FE_INVALID with feraisexcept in case where part of
13830 argument is infinite, subtract that part of argument from itself.
13831 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
13832 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
13833 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13834
13835 2016-10-12 Joseph Myers <joseph@codesourcery.com>
13836
13837 * math/libm-test.inc (totalorder_test_data): Add more tests.
13838
13839 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
13840
13841 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
13842 Undefine weak_alias and add a comment why mips64 require
13843 versioning.
13844
13845 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
13846
13847 [BZ #20647]
13848 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
13849 maximum CPUID level is less than 2.
13850
13851 2016-10-12 Joseph Myers <joseph@codesourcery.com>
13852
13853 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13854 (totalorder): New declaration.
13855 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
13856 New macro.
13857 * math/Versions (totalorder): New libm symbol at version
13858 GLIBC_2.25.
13859 (totalorderf): Likewise.
13860 (totalorderl): Likewise.
13861 * math/Makefile (libm-calls): Add s_totalorderF.
13862 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
13863 string.
13864 * math/libm-test.inc (PAYLOAD_DIG): New macro.
13865 (qnan_value_pl): Likewise.
13866 (snan_value_pl): Likewise.
13867 (qnan_value): Define using qnan_value_pl.
13868 (snan_value): Define using snan_value_pl.
13869 (struct test_ff_i_data): Add comment about which tests use this
13870 structure.
13871 (RUN_TEST_ff_b): New macro.
13872 (RUN_TEST_LOOP_ff_b): Likewise.
13873 (totalorder_test_data): New array.
13874 (totalorder_test): New function.
13875 (main): Call totalorder_test.
13876 * math/test-tgmath.c (NCALLS): Increase to 122.
13877 (F(compile_test)): Call totalorder.
13878 (F(totalorder)): New function.
13879 * manual/arith.texi (FP Comparison Functions): Document
13880 totalorder, totalorderf and totalorderl.
13881 * manual/libm-err-tab.pl: Update comment on interfaces without
13882 ulps tabulated.
13883 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
13884 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
13885 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
13890 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13891 totalorder.
13892 (CFLAGS-nldbl-totalorder.c): New variable.
13893 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
13894 file.
13895 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13896 Add test-totalorderl-ldbl-128ibm.
13897 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
13898 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
13899 test-totalorderl-ldbl-96.
13900 * sysdeps/nacl/libm.abilist: Update.
13901 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13914 Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13916 Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13918 Likewise.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13920 Likewise.
13921 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13927 Likewise.
13928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13929 Likewise.
13930 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13933
13934 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13935
13936 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
13937 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
13938 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
13939 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
13940 remove ENOSYS implementation.
13941 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
13942 Consolidate all Linux implementations.
13943
13944 2016-10-11 Florian Weimer <fweimer@redhat.com>
13945
13946 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
13947 * resolv/herror.c (herror): Cast away const-ness.
13948 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
13949 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
13950
13951 2016-10-11 Joseph Myers <joseph@codesourcery.com>
13952
13953 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
13954 instead of M_NAN + M_NAN.
13955 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13956
13957 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13958
13959 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
13960 unused variable 'p'.
13961
13962 2016-10-09 Alan Modra <amodra@gmail.com>
13963 Andreas Schwab <schwab@linux-m68k.org>
13964
13965 [BZ #20554]
13966 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
13967 [PIC && !SHARED]: Set up PIC register for PLT call.
13968
13969 2016-10-07 Joseph Myers <joseph@codesourcery.com>
13970
13971 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
13972 conditional on value of [__FLT_EVAL_METHOD__].
13973 * math/test-iseqsig-excess-precision.c: New file.
13974 * math/Makefile (tests): Add test-iseqsig-excess-precision.
13975
13976 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13977
13978 * math/s_iseqsig_template.c: Include math-private.h.
13979
13980 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
13981 * posix/tst-posix_fadvise.c: New file.
13982 * posix/tst-posix_fadvise64.c: Likewise.
13983 * posix/tst-posix_fadvise-common.c: Likewise.
13984 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13985 (__ASSUME_FADVISE64_64_6ARG): Define.
13986 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13987 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
13988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13989 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
13990 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
13991 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
13992 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
13993 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
13994 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
13995 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
13996 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
13997 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14000 Likewise.
14001 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14002 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14003 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14004 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14005 Alias to __posix_fadvise64_l32.
14006 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14007 Add compat definition to posix_fadvise64.
14008 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14009 Add versioned definition to posix_fadvise64.
14010 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14011 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14012 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14013 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14014 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14015
14016 * io/Makefile (tests): Add tst-posix_fallocate and
14017 tst-posix_fallocate64.
14018 * io/tst-posix_fallocate-common.c: New file.
14019 * io/tst-posix_fallocate.c: Likewise.
14020 * io/tst-posix_fallocate64.c: Likewise.
14021 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14022 file.
14023 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14024 Likewise.
14025 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14026 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14027 Likewise.
14028 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14029 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14030 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14031 SYSCALL_LL to pass both offset and len arguments.
14032 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14033 Likewise.
14034 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14035 __libc_pwrite64 alias used by posix_fallocate64.
14036
14037 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14038 tst-fallocate64.
14039 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14040 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14041 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14042 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14043 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14044 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14045 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14046 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14047 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14048 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14049 macro on offset argument.
14050 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14051 SYSCALL_LL64 on offset argument.
14052
14053 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14054 tst-fallocate64.
14055 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14056 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14057 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14058 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14059 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14060 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14061 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14062 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14063 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14064 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14065 macro on offset argument.
14066 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14067 SYSCALL_LL64 on offset argument.
14068 * test-skeleton.c (FAIL_RET): Add macro.
14069 (FAIL_EXIT): Likewise.
14070 (FAIL_EXIT1): Likewise.
14071 (_FAIL): Likewise.
14072
14073 2016-10-07 Florian Weimer <fweimer@redhat.com>
14074
14075 [BZ #20629]
14076 resolv: Remove RES_USEBSTRING and its implementation.
14077 * resolv/resolv.h (RES_USEBSTRING): Remove.
14078 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14079 (digitvalue, encode_bitstring, decode_bitstring): Remove.
14080 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14081 (labellen): Remove extended label types support.
14082 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14083 * resolv/res_init.c (res_setoptions): Likewise.
14084 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14085
14086 2016-10-07 Florian Weimer <fweimer@redhat.com>
14087
14088 resolv: Remove RES_NOIP6DOTINT and its implementation.
14089 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14090 (RES_NOIP6DOTINT): Remove.
14091 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14092 handling.
14093 * resolv/res_debug.c (p_option): Likewise.
14094 * resolv/res_init.c (res_setoptions): Likewise.
14095 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14096
14097 2016-10-07 Florian Weimer <fweimer@redhat.com>
14098
14099 resolv: Deprecate unimplemented flags.
14100 * misc/sys/cdefs.h (__glibc_macro_warning1)
14101 (__glibc_macro_warning): Define.
14102 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14103 (RES_KEEPTSIG): Mark as deprecated.
14104 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14105 RES_NOCHECKNAME, RES_KEEPTSIG.
14106 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14107
14108 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14109
14110 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14111 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14112 Use strong_alias to create symbols for glibc verison 2.19.
14113
14114 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14115
14116 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14117
14118 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14119
14120 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14121
14122 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14123
14124 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14125
14126 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14127
14128 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14129 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14130 in header for using it as type for ifunc function because __GI_* symbols
14131 for ppc32 do not target the ifunc symbols.
14132 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14133
14134 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14135
14136 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14137 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14138 libc_ifunc_hidden_def.
14139 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14140 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14141 Redirect ifunced function in header for using it as type of ifunc'ed
14142 function. Redefine libc_hidden_def to use fallback non ifunc'ed
14143 function for __GI_* symbol.
14144 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14145 * include/libc-symbols.h
14146 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14147
14148 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14149
14150 [BZ #20478]
14151 * sysdeps/s390/multiarch/ifunc-resolve.h
14152 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14153 to create ifunc symbols.
14154 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14155 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14156 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14157 for using it as type for ifunc function.
14158 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14159 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14160 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14161 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14162 * sysdeps/s390/multiarch/strcat.c: Likewise.
14163 * sysdeps/s390/multiarch/strchr.c: Likewise.
14164 * sysdeps/s390/multiarch/strcmp.c: Likewise.
14165 * sysdeps/s390/multiarch/strcpy.c: Likewise.
14166 * sysdeps/s390/multiarch/strcspn.c: Likewise.
14167 * sysdeps/s390/multiarch/strlen.c: Likewise.
14168 * sysdeps/s390/multiarch/strncmp.c: Likewise.
14169 * sysdeps/s390/multiarch/strncpy.c: Likewise.
14170 * sysdeps/s390/multiarch/strnlen.c: Likewise.
14171 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14172 * sysdeps/s390/multiarch/strrchr.c: Likewise.
14173 * sysdeps/s390/multiarch/strspn.c: Likewise.
14174 * sysdeps/s390/multiarch/wcschr.c: Likewise.
14175 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14176 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14177 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14178 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14179 * sysdeps/s390/multiarch/wmemset.c: Likewise.
14180 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14181 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14182 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14183 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14184 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14185 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14186
14187 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14188
14189 * include/libc-symbols.h (__ifunc_resolver):
14190 New macro is used by __ifunc* macros.
14191 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14192 depending on HAVE_GCC_IFUNC.
14193 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14194 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14196 Redirect ifunced function in header for using as type for ifunc function.
14197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14201 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14202 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14203 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14204 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14205 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14206 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14207 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14208 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14210 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14216 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14217 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14218 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14219 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14220 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14221 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14222 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14223 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14224 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14225 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14226 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14227 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14228 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14229 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14231 Add libc_hidden_def() and use libc_ifunc_hidden() macro
14232 instead of libc_ifunc() macro.
14233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14235
14236 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
14237
14238 * config.h.in (HAVE_GCC_IFUNC): New undef.
14239 * configure.ac: Add check if gcc supports attribute ifunc feature.
14240 * configure: Regenerated.
14241 * manual/install.texi: Add recommendation for gcc with
14242 indirect-function support.
14243 * INSTALL: Regenerated.
14244
14245 2016-10-06 Joseph Myers <joseph@codesourcery.com>
14246
14247 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14248 macro.
14249 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14250 (__iseqsig): New declaration.
14251 * math/s_iseqsig_template.c: New file.
14252 * math/Versions (__iseqsigf): New libm symbol at version
14253 GLIBC_2.25.
14254 (__iseqsig): Likewise.
14255 (__iseqsigl): Likewise.
14256 * math/libm-test.inc (iseqsig_test_data): New array.
14257 (iseqsig_test): New function.
14258 (main): Call iseqsig_test.
14259 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14260 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14261 * manual/libm-err-tab.pl: Update comment on interfaces without
14262 ulps tabulated.
14263 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14264 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14265 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14266 * sysdeps/nacl/libm.abilist: Update.
14267 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14280 Likewise.
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14282 Likewise.
14283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14284 Likewise.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14286 Likewise.
14287 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14293 Likewise.
14294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14295 Likewise.
14296 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14297 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14298 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14299
14300 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14301
14302 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14303 do_sincos_2, sloww, sloww1): Update comments.
14304
14305 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14306 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14307
14308 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14309 K boolean and rename it.
14310 (__sin): Adjust.
14311 (__cos): Adjust.
14312
14313 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
14314 Siddhesh Poyarekar <siddhesh@sourceware.org>
14315
14316 * manual/nss.texi: Fix typos in the manual.
14317
14318 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
14319
14320 * manual/contrib.texi: Fix typos in the manual.
14321
14322 * manual/maint.texi: Fix typos in the manual.
14323
14324 * manual/install.texi: Fix typos in the manual.
14325 * INSTALL: Regenerated.
14326
14327 * manual/lang.texi: Fix typos in the manual.
14328
14329 * manual/probes.texi: Fix typos in the manual.
14330
14331 * manual/threads.texi: Fix typos in the manual.
14332
14333 * manual/debug.texi: Fix typos in the manual.
14334
14335 * manual/crypt.texi: Fix typos in the manual.
14336
14337 * manual/conf.texi: Fix typos in the manual.
14338
14339 * manual/sysinfo.texi: Fix typos in the manual.
14340
14341 * manual/users.texi: Fix typos in the manual.
14342
14343 * manual/job.texi: Fix typos in the manual.
14344
14345 * manual/process.texi: Fix typos in the manual.
14346
14347 * manual/argp.texi: Fix typos in the manual.
14348 * manual/getopt.texi: Likewise.
14349 * manual/startup.texi: Likewise.
14350
14351 * manual/signal.texi: Fix typos in the manual.
14352
14353 * manual/setjmp.texi: Fix typos in the manual.
14354
14355 * manual/resource.texi: Fix typos in the manual.
14356
14357 * manual/time.texi: Fix typos in the manual.
14358
14359 * manual/arith.texi: Fix typos in the manual.
14360
14361 * manual/math.texi: Fix typos in the manual.
14362
14363 * manual/syslog.texi: Fix typos in the manual.
14364
14365 * manual/terminal.texi: Fix typos in the manual.
14366
14367 * manual/socket.texi: Fix typos in the manual.
14368
14369 * manual/filesys.texi: Fix typos in the manual.
14370
14371 * manual/llio.texi: Fix typos in the manual.
14372
14373 * manual/stdio.text: Fix typos in the manual.
14374
14375 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
14376
14377 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14378 instead of K1.
14379
14380 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14381 SHIFT_QUADRANT and make it bool.
14382 (do_sincos_2): Likewise.
14383 (sloww): Likewise.
14384 (sloww1): Likewise.
14385 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14386 (__cos): Likewise.
14387
14388 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14389
14390 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14391
14392 2016-10-04 Joseph Myers <joseph@codesourcery.com>
14393
14394 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14395 Define to __WORDSIZE, not conditional on [LONG_MAX ==
14396 0x7fffffffL].
14397 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14398
14399 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14400
14401 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14402 inline by __inline__.
14403 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14404 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14405 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14406 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14407 sigset_t from signal.h.
14408 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14409 which is already required.
14410
14411 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14412
14413 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14414
14415 2016-10-03 Joseph Myers <joseph@codesourcery.com>
14416
14417 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14418 (struct tcp_repair_window): New type.
14419
14420 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14421
14422 * libio/tst-memstream3.c: Include string.h.
14423
14424 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14425
14426 [BZ #18241]
14427 [BZ #20181]
14428 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14429 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14430 write position is at the end the buffer.
14431 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14432 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14433 (_IO_str_seekoff): Set correct offset from negative displacement and
14434 set EINVAL for invalid ones.
14435 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14436 buffer length.
14437 (_IO_wstr_switch_to_get_mode): New function.
14438 (_IO_wstr_seekoff): Set correct offset from negative displacement and
14439 set EINVAL for invalid ones.
14440 * libio/tst-memstream3.c: New file.
14441 * libio/tst-wmemstream3.c: Likewise.
14442 * manual/examples/memstrm.c: Remove warning when priting size_t.
14443
14444 2016-09-30 Joseph Myers <joseph@codesourcery.com>
14445
14446 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14447 macro to use __builtin_fma.
14448 * sysdeps/x86_64/fpu/dla.h: Remove file.
14449
14450 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14451 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14452 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14453
14454 2016-09-30 Carlos O'Donell <carlos@redhat.com>
14455
14456 [BZ #20292]
14457 * elf/Makefile (routines): Add dl-addr-obj.
14458 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14459 tst-_dl_addr_inside_object.
14460 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14461 [ifeq (yesyes,$(have-fpie)$(build-shared))]
14462 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14463 [ifeq (yesyes,$(have-fpie)$(build-shared))]
14464 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14465 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14466 * elf/dl-open.c: Likewise.
14467 * elf/dl-addr-obj.c: New file.
14468 * elf/tst-_dl_addr_inside_object.c: New file.
14469
14470 2016-09-30 Joseph Myers <joseph@codesourcery.com>
14471
14472 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14473 <bits/iscanonical.h>.
14474 * bits/iscanonical.h: New file.
14475 * math/s_iscanonicall.c: Likewise.
14476 * math/Versions (__iscanonicall): New libm symbol at version
14477 GLIBC_2.25.
14478 * math/libm-test.inc (iscanonical_test_data): New array.
14479 (iscanonical_test): New function.
14480 (main): Call iscanonical_test.
14481 * math/Makefile (headers): Add bits/iscanonical.h.
14482 (type-ldouble-routines): Add s_iscanonicall.
14483 * manual/arith.texi (Floating Point Classes): Document
14484 iscanonical.
14485 * manual/libm-err-tab.pl: Update comment on interfaces without
14486 ulps tabulated.
14487 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14488 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14490 Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14492 test-iscanonical-ldbl-128ibm.
14493 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14494 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14495 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14496 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14497 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14498 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14501 Likewise.
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14503 Likewise.
14504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14505 Likewise.
14506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14507 Likewise.
14508 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14510
14511 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14512
14513 * string/bits/string3.h: Remove C++ style comments.
14514
14515 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14516
14517 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14518 instead of ternary condition.
14519 (do_sincos_2): Likewise.
14520 (__sin): Likewise.
14521 (__cos): Likewise.
14522 (slow): Likewise.
14523 (sloww): Likewise.
14524 (sloww1): Likewise.
14525 (bsloww): Likewise.
14526 (bsloww1): Likewise.
14527
14528 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14529 instead of ternary condition.
14530 (do_sin_slow): Likewise.
14531 (do_sincos_1): Likewise.
14532 (do_sincos_2): Likewise.
14533 (__cos): Likewise.
14534 (sloww): Likewise.
14535 (sloww1): Likewise.
14536 (sloww2): Likewise.
14537 (bsloww): Likewise.
14538 (bsloww1): Likewise.
14539 (bsloww2): Likewise.
14540
14541 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14542 check from here...
14543 (slow2): ... and here...
14544 (__sin): ... to here.
14545
14546 2016-09-28 Joseph Myers <joseph@codesourcery.com>
14547
14548 * math/math.h
14549 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14550 Cast argument to its own type.
14551 * math/test-iszero-excess-precision.c: New file.
14552 * math/Makefile (tests): Add test-iszero-excess-precision.
14553 (CFLAGS-test-iszero-excess-precision.c): New variable.
14554
14555 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14556
14557 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14558 field, add err field.
14559 (__spawni_child): Report error through err member instead of pipe.
14560 (__spawnix): Likewise.
14561
14562 2016-09-28 Zack Weinberg <zackw@panix.com>
14563
14564 * scripts/check-installed-headers.sh: Generalize treatment of
14565 sys/elf.h to all target architectures.
14566
14567 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14568 deleted typedef ucontext_t.
14569
14570 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14571
14572 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14573 (__INTERNAL_SYSCALL1): Likewise.
14574 (__INTERNAL_SYSCALL2): Likewise.
14575 (__INTERNAL_SYSCALL3): Likewise.
14576 (__INTERNAL_SYSCALL4): Likewise.
14577 (__INTERNAL_SYSCALL5): Likewise.
14578 (__INTERNAL_SYSCALL6): Likewise.
14579 (__INTERNAL_SYSCALL7): Likewise.
14580 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14581 (__INTERNAL_SYSCALL_NARGS): Likewise.
14582 (__INTERNAL_SYSCALL_DISP): Likewise.
14583 (INTERNAL_SYSCALL_CALL): Likewise.
14584 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14585 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14586 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14587 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14588 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14589 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14590 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14591 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14592 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14593 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14594 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14595 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14596 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14597
14598 2016-09-23 Joseph Myers <joseph@codesourcery.com>
14599
14600 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14601 macro.
14602 * math/libm-test.inc (iszero_test_data): New array.
14603 (iszero_test): New function.
14604 (main): Call iszero_test.
14605 * manual/arith.texi (Floating Point Classes): Document iszero.
14606 * manual/libm-err-tab.pl: Update comment on interfaces without
14607 ulps tabulated.
14608
14609 2016-09-23 Zack Weinberg <zackw@panix.com>
14610
14611 * scripts/check-installed-headers.sh: New script.
14612 * Rules: In each directory that defines header files to be installed,
14613 run check-installed-headers.sh on them as a special test.
14614 * Makefile: Likewise for the headers installed at top level.
14615
14616 * include/aliases.h, include/alloca.h, include/argz.h
14617 * include/arpa/nameser.h, include/arpa/nameser_compat.h
14618 * include/elf.h, include/envz.h, include/err.h
14619 * include/execinfo.h, include/fpu_control.h, include/getopt.h
14620 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14621 * include/link.h, include/malloc.h, include/mcheck.h
14622 * include/mntent.h, include/netinet/ether.h
14623 * include/nss.h, include/obstack.h, include/printf.h
14624 * include/pty.h, include/resolv.h, include/rpc/auth.h
14625 * include/rpc/auth_des.h, include/rpc/auth_unix.h
14626 * include/rpc/clnt.h, include/rpc/des_crypt.h
14627 * include/rpc/key_prot.h, include/rpc/netdb.h
14628 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14629 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14630 * include/rpc/rpc_msg.h, include/rpc/svc.h
14631 * include/rpc/svc_auth.h, include/rpc/xdr.h
14632 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14633 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14634 * include/rpcsvc/ypupd.h, include/shadow.h
14635 * include/stdio_ext.h, include/sys/epoll.h
14636 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14637 * include/sys/prctl.h, include/sys/profil.h
14638 * include/sys/statfs.h, include/sys/sysctl.h
14639 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14640 * sysdeps/arm/nacl/include/bits/setjmp.h
14641 * sysdeps/mips/include/sys/asm.h
14642 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14643 * sysdeps/unix/sysv/linux/include/sys/timex.h
14644 * sysdeps/x86/fpu/include/bits/fenv.h:
14645 Add #ifndef _ISOMAC guard around internal declarations.
14646 Add multiple-inclusion guard if not already present.
14647
14648 2016-09-23 Zack Weinberg <zackw@panix.com>
14649
14650 * sysdeps/generic/sys/ucontext.h
14651 * sysdeps/arm/sys/ucontext.h
14652 * sysdeps/i386/sys/ucontext.h
14653 * sysdeps/m68k/sys/ucontext.h
14654 * sysdeps/mips/sys/ucontext.h
14655 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14656 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14657 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14658 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14659 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14660 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14661 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14662 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14663 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14665 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14666 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14667 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14668 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14669 Include both bits/sigcontext.h and bits/sigstack.h.
14670 Fix grammar error in comment, if present.
14671
14672 * bits/sigstack.h
14673 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14674 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14675 * sysdeps/unix/sysv/linux/bits/sigstack.h
14676 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14677 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14678 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14679 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14680 * bits/sigcontext.h
14681 * sysdeps/mach/hurd/i386/bits/sigcontext.h
14682 * sysdeps/unix/sysv/linux/bits/sigcontext.h
14683 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14684 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14685 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
14686 as well as signal.h, if this was not already allowed. Request
14687 definition of size_t if necessary. Minimize semantically-null
14688 differences across files.
14689
14690 2016-09-23 Zack Weinberg <zackw@panix.com>
14691
14692 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14693 Remove all logic conditional on __need macros. Move all the
14694 conditionally defined types to their own headers...
14695 * time/bits/types/clock_t.h: Define clock_t here.
14696 * time/bits/types/clockid_t.h: Define clockid_t here.
14697 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14698 * time/bits/types/struct_timespec.h: Define struct timespec here.
14699 * time/bits/types/struct_timeval.h: Define struct timeval here.
14700 * time/bits/types/struct_tm.h: Define struct tm here.
14701 * time/bits/types/time_t.h: Define time_t here.
14702 * time/bits/types/timer_t.h: Define timer_t here.
14703 * time/Makefile: Install the new headers.
14704
14705 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14706 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14707 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14708 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14709 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14710 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14711 * sysdeps/unix/sysv/linux/bits/resource.h
14712 * sysdeps/unix/sysv/linux/bits/timex.h
14713 * sysdeps/unix/sysv/linux/mips/bits/resource.h
14714 * sysdeps/unix/sysv/linux/net/ppp_defs.h
14715 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14716 * sysdeps/unix/sysv/linux/sys/acct.h
14717 * sysdeps/unix/sysv/linux/sys/timerfd.h
14718 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
14719 * time/sys/time.h, time/sys/timeb.h
14720 Use the new bits/types headers.
14721
14722 * include/time.h: Remove __need logic.
14723 * include/bits/time.h
14724 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
14725 * include/bits/types/time_t.h, include/bits/types/timer_t.h
14726 * include/bits/types/struct_itimerspec.h
14727 * include/bits/types/struct_timespec.h
14728 * include/bits/types/struct_timeval.h
14729 * include/bits/types/struct_tm.h:
14730 New wrapper headers.
14731
14732 2016-09-23 Zack Weinberg <zackw@panix.com>
14733
14734 * sysdeps/mach/hurd/net/if_ppp.h
14735 * sysdeps/unix/sysv/linux/net/if_ppp.h:
14736 Only define struct ifpppstatsreq and struct ifpppcstatsreq
14737 if __USE_MISC is defined, to ensure struct ifreq is declared.
14738
14739 * inet/netinet/ether.h: Condition all function prototypes
14740 on __USE_MISC, to ensure struct ether_addr is declared.
14741
14742 * socket/bits/types/struct_osockaddr.h: New header.
14743 * include/bits/types/struct_osockaddr.h: New wrapper.
14744 * socket/Makefile: Install the new header.
14745 * socket/sys/socket.h, inet/protocols/talkd.h:
14746 Refer to bits/types/struct_osockaddr.h for the definition of
14747 struct osockaddr.
14748
14749 2016-09-23 Zack Weinberg <zackw@panix.com>
14750
14751 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
14752 * inet/protocols/routed.h, inet/protocols/talkd.h
14753 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
14754 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
14755 * sysdeps/generic/netinet/if_ether.h
14756 * sysdeps/generic/netinet/in_systm.h
14757 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
14758 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14759 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
14760 * sysdeps/mach/hurd/net/if_arp.h
14761 * sysdeps/mach/hurd/net/if_ppp.h
14762 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
14763 * sysdeps/unix/sysv/linux/bits/in.h
14764 * sysdeps/unix/sysv/linux/net/ethernet.h
14765 * sysdeps/unix/sysv/linux/net/if_arp.h
14766 * sysdeps/unix/sysv/linux/net/if_ppp.h
14767 * sysdeps/unix/sysv/linux/net/if_shaper.h
14768 * sysdeps/unix/sysv/linux/net/route.h
14769 * sysdeps/unix/sysv/linux/netinet/if_ether.h
14770 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14771 * sysdeps/unix/sysv/linux/netinet/if_tr.h
14772 * sysdeps/unix/sysv/linux/netipx/ipx.h
14773 * sysdeps/unix/sysv/linux/sys/acct.h
14774 * include/arpa/nameser.h, include/resolv.h:
14775 Change all uses of u_char to unsigned char,
14776 u_short and ushort to unsigned short, u_int and uint to unsigned int,
14777 u_long and ulong to unsigned long, u_int8_t to uint8_t,
14778 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
14779 and u_int64_t and u_quad_t to uint64_t.
14780
14781 * mach/sys/reboot.h: Remove two casts of integer literals
14782 to the types they already have.
14783
14784 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
14785 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
14786 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
14787 from referring to 'unsigned char' to 'uint8_t' for consistency with
14788 the macro definition below.
14789
14790 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
14791 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
14792 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
14793 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
14794 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
14795 * sysdeps/unix/sysv/linux/sys/acct.h
14796 * include/arpa/nameser.h, include/resolv.h:
14797 Fix indentation disrupted by mechanical edits.
14798
14799 * inet/protocols/talkd.h, resolv/arpa/nameser.h
14800 * sysdeps/generic/netinet/in_systm.h
14801 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14802 * sysdeps/gnu/netinet/udp.h
14803 * sysdeps/unix/sysv/linux/net/ethernet.h
14804 * sysdeps/unix/sysv/linux/net/if_arp.h
14805 * sysdeps/unix/sysv/linux/net/if_ppp.h
14806 * sysdeps/unix/sysv/linux/net/if_shaper.h
14807 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14808 * sysdeps/unix/sysv/linux/netinet/if_tr.h
14809 * sysdeps/unix/sysv/linux/netipx/ipx.h
14810 * sysdeps/unix/sysv/linux/sys/acct.h
14811 Include stdint.h for uintNN_t definitions.
14812 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
14813
14814 2016-09-23 Zack Weinberg <zackw@panix.com>
14815
14816 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
14817 * sysdeps/unix/sysv/linux/netrose/rose.h:
14818 Include sys/socket.h and netax25/ax25.h.
14819
14820 * inet/netinet/icmp6.h, inet/netinet/ip6.h
14821 * resolv/arpa/nameser_compat.h:
14822 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
14823
14824 * sysdeps/unix/sysv/linux/sys/quota.h:
14825 Use __caddr_t instead of caddr_t.
14826 * sysdeps/unix/sysv/linux/sys/timerfd.h:
14827 Use __clockid_t instead of clockid_t.
14828
14829 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
14830
14831 * argp/argp.h: Check whether _LIBC is defined before expanding it.
14832 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
14833 expanding it.
14834
14835 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
14836 Define __glibc_c99_flexarr_available to 1 when the compiler
14837 supports C99-compatible flexible array members, 0 otherwise.
14838 * sysdeps/unix/sysv/linux/bits/socket.h
14839 * sysdeps/mach/hurd/bits/socket.h
14840 * bits/socket.h: Use __glibc_c99_flexarr_available in
14841 definitions of struct cmsghdr and CMSG_DATA.
14842
14843 2016-09-23 Florian Weimer <fweimer@redhat.com>
14844
14845 * manual/nss.texi (NSS Modules Interface): Adjust function return
14846 type to enum nss_status. Document errnop argument. Clarify
14847 h_errnop semantics. Fix cross-reference formatting.
14848 (NSS Module Function Internals): Mention that *errnop needs to be
14849 set on failure, but not to zero.
14850
14851 2016-09-23 Florian Weimer <fweimer@redhat.com>
14852
14853 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
14854 (get_random_name): New functions.
14855 (check_wrapper_flags_mode): Use linkat to give the new file a name
14856 determined by get_random_name.
14857 (do_test): Add calls to test open64 and openat64.
14858
14859 2016-09-23 Florian Weimer <fweimer@redhat.com>
14860
14861 * test-skeleton.c: Remove #include <stdarg.h>.
14862
14863 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
14864
14865 [BZ #19826]
14866 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
14867 initialization of static TLS entries.
14868 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
14869 * nptl/allocatestack.c (init_one_static_tls): Likewise.
14870
14871 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14872
14873 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
14874 _hurd_malloc_fork_prepare.
14875 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
14876 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
14877 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
14878 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
14879 (_hurd_fork_child_hook): Drop malloc_fork_child.
14880 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
14881 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
14882 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
14883 after locking locks (notably hurd_dtable_lock). Call
14884 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
14885 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
14886 __malloc_fork_unlock_child.
14887 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
14888
14889 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
14890
14891 * soft-fp/extendhftf2.c: New.
14892 * soft-fp/fixhfti.c: Likewise.
14893 * soft-fp/fixunshfti.c: Likewise.
14894 * soft-fp/floattihf.c: Likewise.
14895 * soft-fp/floatuntihf.c: Likewise.
14896 * soft-fp/half.h: Likewise.
14897 * soft-fp/trunctfhf2.c: Likewise.
14898
14899 2016-09-21 Joseph Myers <joseph@codesourcery.com>
14900
14901 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
14902 macro.
14903 * math/libm-test.inc (issubnormal_test_data): New array.
14904 (issubnormal_test): New function.
14905 * manual/arith.texi (Floating Point Classes): Document
14906 issubnormal.
14907 * manual/libm-err-tab.pl: Update comment on interfaces without
14908 ulps tabulated.
14909
14910 * sysdeps/generic/stdint.h: Define
14911 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14912 <bits/libc-header-start.h> instead of including <features.h>.
14913 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
14914 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
14915 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
14916 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
14917 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
14918 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
14919 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
14920 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
14921 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
14922 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
14923 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
14924 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
14925 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
14926 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
14927 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
14928 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
14929 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
14930 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
14931 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
14932 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
14933 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
14934 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
14935 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
14936 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
14937 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
14938 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
14939 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
14940 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
14941 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
14942 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
14943 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
14944 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
14945 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
14946 * manual/arith.texi (Integers): Document these macros for types
14947 specified by width properties.
14948 * manual/lang.texi (Width of Type): Document these macros for
14949 other standard typedefs.
14950 * stdlib/tst-width-stdint.c: New file.
14951 * stdlib/Makefile (tests): Add tst-width-stdint.
14952
14953 2016-09-21 Florian Weimer <fweimer@redhat.com>
14954
14955 [BZ #20016]
14956 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
14957 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
14958 Move ...
14959 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
14960 ... here, as compatibility symbols in a new file.
14961 * resolv/Makefile (libresolv-routines): Add compat-hooks.
14962 * resolv/res_init.c (__res_vinit): Adjust member names.
14963 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
14964 * resolv/resolv.h (res_sendhookact, res_send_qhook)
14965 (res_send_rhook): Remove.
14966 (struct __res_state): Rename qhook, rhook members.
14967
14968 2016-09-21 Florian Weimer <fweimer@redhat.com>
14969
14970 malloc: Use __libc_lock wrappers.
14971 * malloc/arena.c (list_lock, free_list_lock): Define using
14972 __libc_lock_define_initialized.
14973 (arena_lock): Adjust formatting.
14974 * malloc/malloc.c (struct malloc_state): Define mutex using
14975 __libc_lock_define.
14976 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
14977 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
14978 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
14979 (mutex_unlock, mutex_trylock): Remove.
14980 (__pthread_initialize): Remove unused macro.
14981 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
14982 (mutex_unlock, mutex_trylock): Remove.
14983
14984 2016-09-21 Florian Weimer <fweimer@redhat.com>
14985
14986 [BZ #20592]
14987 Remove RR type classification macros.
14988 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
14989 (ns_t_udp_p, ns_t_xfr_p): Remove.
14990
14991 2016-09-21 Florian Weimer <fweimer@redhat.com>
14992
14993 Remove misleading version information.
14994 * resolv/arpa/nameser.h (__NAMESER): Remove.
14995 * resolv/arpa/nameser_compat.h (__BIND): Remove.
14996
14997 2016-09-21 Florian Weimer <fweimer@redhat.com>
14998
14999 Remove the always-defined BIND_4_COMPAT macro.
15000 * resolv/arpa/nameser.h: Unconditionally include
15001 <arpa/nameser_compat.h>.
15002 (BIND_4_COMPAT): Remove.
15003 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15004
15005 2016-09-21 Florian Weimer <fweimer@redhat.com>
15006
15007 [BZ #20591]
15008 Remove obsolete DNSSEC support.
15009 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15010 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15011 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15012 (ns_verify_tcp, ns_verify_tcp_init): Remove.
15013 (ns_cert_types): Add comment.
15014 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15015 separately.
15016 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15017 (dst_s_dns_key_id): Remove.
15018 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15019 variables.
15020
15021 2016-09-21 Florian Weimer <fweimer@redhat.com>
15022
15023 [BZ #20524]
15024 * manual/string.texi (String/Array Comparison): Clarify the
15025 strverscmp behavior.
15026
15027 2016-09-21 Florian Weimer <fweimer@redhat.com>
15028
15029 * test-skeleton.c (xasprintf): Add function.
15030 * io/tst-open-tmpfile.c: New test.
15031 * io/Makefile (tests): Add it.
15032
15033 2016-09-21 Florian Weimer <fweimer@redhat.com>
15034
15035 Avoid running $(CXX) during build to obtain header file paths.
15036 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15037 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15038 * Makerules (cstdlib, cmath): Remove variables. Use
15039 $(c++-cstdlib-header), $(c++-cmath-header) instead.
15040 * configure: Regenerate.
15041
15042 2016-09-21 Florian Weimer <fweimer@redhat.com>
15043
15044 * Makeconfig (all-object-suffixes): Include .op only if
15045 $(build-profile).
15046
15047 2016-09-21 Florian Weimer <fweimer@redhat.com>
15048
15049 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15050 conditionals. Do not define PATH_MAX.
15051
15052 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15053
15054 * posix/Makefile (tests): Add tst-spawn3.
15055 * posix/tst-spawn3.c: New file.
15056 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15057 if it is already opened for open action.
15058
15059 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15060 all signals when executing the clone vfork child.
15061 (SIGALL_SET): Remove macro.
15062
15063 * nptl/Makefile (tests): Add tst-exec5.
15064 * nptl/tst-exec5.c: New file.
15065 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15066 asynchronous cancellation.
15067
15068 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15069
15070 * hurd/exc2signal.c: #include <hurd/signal.h>
15071 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15072 'sigcode', 'error' parameters with 'detail' parameter. Fix code
15073 accordingly.
15074 * mach/mach_error.c (mach_error): Fix old-style function definition.
15075 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15076
15077 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15078
15079 * math/Makefile (libm-calls): Remove s_nanF.
15080 (gen-libm-calls): Add s_nanF.
15081
15082 * math/s_nan.c: Refactor into ...
15083 * math/s_nan_template.c: New file.
15084
15085 * math/s_nanf.c: Removed.
15086 * math/s_nanl.c: Removed.
15087 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15088 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15089
15090 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15091 (LDOUBLE_nanl_libm_version): New macro.
15092
15093 * sysdeps/generic/math-type-macros-double.h:
15094 (M_STRTO_NAN): New macro.
15095 * sysdeps/generic/math-type-macros-float.h: Likewise.
15096 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15097
15098 * sysdeps/generic/math-type-macros.h: Document
15099 M_STRTO_NAN.
15100
15101 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15102
15103 * math/s_nanf.c: Remove __nanf undef.
15104 * math/s_nan.c: Remove __nan undef.
15105 * math/s_nanl.c: Remove __nanl undef.
15106
15107 * sysdeps/generic/math_private.h (__nan): Remove macro
15108 override.
15109 (__nanf): Likewise.
15110 (__nanl): Likewise.
15111
15112 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15113
15114 * math/Makefile (gen-all-calls): New variable.
15115 (generated): Replace gen-libm-calls with gen-all-calls.
15116 (gen-libm-templates.stmp): Likewise. Also, ensure
15117 the output directory exists or is created and add
15118 dependency on the Makefile.
15119 (calls): Move s_ldexpF into gen-calls.
15120 (gen-calls): New variable.
15121
15122 * math/s_ldexpf.c: Removed.
15123 * math/s_ldexpl.c: Removed.
15124 * math/s_ldexp.c: Refactored into ...
15125 * math/s_ldexp_template.c: New file.
15126
15127 * sysdeps/generic/math-type-macros-double.h: Remove
15128 redundant fall-through definition of declare_mgen_alias.
15129 (declare_mgen_alias_2): New macro.
15130
15131 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15132 New macro for function aliased to two exported symbols.
15133
15134 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15135 new template file.
15136 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15137
15138 2016-09-20 Florian Weimer <fweimer@redhat.com>
15139
15140 * Makeconfig (all-object-suffixes): Remove .og.
15141 * Makerules (elide-routines.og): Remove.
15142 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15143 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15144 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15145
15146 2016-09-20 Florian Weimer <fweimer@redhat.com>
15147
15148 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15149 .os objects.
15150
15151 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15152
15153 [BZ #20615]
15154 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15155 fpu directory by non-fpu.
15156 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15157 on non-fpu directory from a fpu directory.
15158
15159 2016-09-19 Joseph Myers <joseph@codesourcery.com>
15160
15161 * include/limits.h: Define
15162 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15163 <bits/libc-header-start.h> instead of including <features.h>.
15164 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15165 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15166 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15167 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15168 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15169 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15170 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15171 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15172 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15173 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15174 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15175 * manual/lang.texi (Width of Type): Document these macros.
15176 * stdlib/tst-width.c: New file.
15177 * stdlib/Makefile (tests): Add tst-width.
15178
15179 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15180
15181 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15182 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15183
15184 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15185
15186 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15187 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15188 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15189
15190 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15191
15192 [BZ #18243]
15193 * rt/Makefile (test): Add tst-shm-cancel.
15194 * rt/tst-shm-cancel.c: New file.
15195 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15196
15197 [BZ #18243]
15198 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15199 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15200 definition.
15201 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15202 uncontended case.
15203 * nptl/sem_wait.c (__new_sem_wait): Likewise.
15204 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15205 (tf): Fix check for uncontended case.
15206 (do_test): Likewise.
15207 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15208 (tf): Fix check for uncontended case.
15209 (do_test): Likewise.
15210 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15211 (tf): Fix check for uncontended case.
15212 (do_test): Likewise.
15213 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15214 (tf): Fix check for uncontended case.
15215 (do_test): Likewise.
15216
15217 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15218 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15219
15220 [BZ #15765]
15221 * nptl/Makefile (tests): Add tst-sem16.
15222 * nptl/tst-sem16.c: New file.
15223 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15224
15225 * nptl/sem_open.c (sem_open): Init pad value to 0.
15226 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15227 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15228
15229 2016-09-15 Florian Weimer <fweimer@redhat.com>
15230
15231 [BZ #20611]
15232 * inet/Makefile (routines): Add inet6_scopeid_pton.
15233 (tests): Add tst-inet6_scopeid_pton.
15234 * inet/inet6_scopeid_pton.c: New file.
15235 * inet/net-internal.h: Likewise.
15236 * inet/tst-inet6_scopeid_pton.c: New test.
15237 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15238 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15240
15241 2016-09-14 Florian Weimer <fweimer@redhat.com>
15242
15243 Remove support for compiling wrappers with PTW.
15244 * sysdeps/nptl/Makeconfig: Drop ptw- support.
15245 * nptl/Makefile (pthread-compat-wrappers): Define.
15246 (libpthread-routines): Use pthread-compat-wrappers.
15247 * sysdeps/unix/sysv/linux/alpha/Makefile
15248 (libpthread-routines, libpthread-shared-only-routines): Remove
15249 ptw- prefix.
15250 * sysdeps/s390/nptl/Makefile
15251 (libpthread-routines, libpthread-shared-only-routines): Likewise.
15252 * sysdeps/ia64/nptl/Makefile
15253 (libpthread-routines, libpthread-shared-only-routines): Likewise.
15254 * sysdeps/nacl/Makefile (libpthread-routines): Use
15255 pthread-compat-wrappers to filter the routines list instead of the
15256 ptw- prefix.
15257
15258 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15259
15260 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15261 with L() and remove explicit suffix, convert real literals
15262 which can be equivalentally substituted with integers, and
15263 transform -L(x) to L(-x).
15264
15265 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15267 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15268 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15270 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15271 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15273 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15276 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15277 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15278 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15279 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15280 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15281 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15283 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15284 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15285 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15300 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15301 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15302 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15303 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15304 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15305 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15306 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15308 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15309 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15310 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15312 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15313 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15314 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15315
15316 2016-09-13 Florian Weimer <fweimer@redhat.com>
15317
15318 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15319
15320 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
15321
15322 * malloc/Makefile (tests): Remove individual static test names
15323 and just add all of tests-static.
15324
15325 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15326
15327 2016-09-07 Joseph Myers <joseph@codesourcery.com>
15328
15329 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15330 file.
15331
15332 * sysdeps/sparc/fpu/fegetmode.c: New file.
15333 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15334
15335 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15336 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15337
15338 * sysdeps/s390/fpu/fegetmode.c: New file.
15339 * sysdeps/s390/fpu/fesetmode.c: Likewise.
15340
15341 * sysdeps/powerpc/fpu/fegetmode.c: New file.
15342 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15343 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15344 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15345 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15346 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15347
15348 * sysdeps/mips/fpu/fegetmode.c: New file.
15349 * sysdeps/mips/fpu/fesetmode.c: Likewise.
15350
15351 * sysdeps/m68k/fpu/fegetmode.c: New file.
15352 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15353
15354 * sysdeps/ia64/fpu/fegetmode.c: New file.
15355 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15356
15357 * sysdeps/hppa/fpu/fegetmode.c: New file.
15358 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15359
15360 * sysdeps/arm/fegetmode.c: New file.
15361 * sysdeps/arm/fesetmode.c: Likewise.
15362
15363 * sysdeps/alpha/fpu/fegetmode.c: New file.
15364 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15365
15366 * sysdeps/aarch64/fpu/fegetmode.c: New file.
15367 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15368
15369 * math/fegetmode.c: New file.
15370 * math/fesetmode.c: Likewise.
15371 * sysdeps/i386/fpu/fegetmode.c: Likewise.
15372 * sysdeps/i386/fpu/fesetmode.c: Likewise.
15373 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15374 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15375 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15376 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15377 declaration.
15378 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15379 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15380 typedef.
15381 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15382 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15383 (femode_t): New typedef.
15384 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15385 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15386 (femode_t): New typedef.
15387 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15388 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15389 (femode_t): New typedef.
15390 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15391 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15392 (femode_t): New typedef.
15393 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15394 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15395 (femode_t): New typedef.
15396 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15397 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15398 (femode_t): New typedef.
15399 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15400 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15401 (femode_t): New typedef.
15402 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15403 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15404 (femode_t): New typedef.
15405 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15406 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15407 (femode_t): New typedef.
15408 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15409 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15410 (femode_t): New typedef.
15411 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15412 declaration.
15413 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15414 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15415 (femode_t): New typedef.
15416 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15417 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15418 (femode_t): New typedef.
15419 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15420 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15421 (femode_t): New typedef.
15422 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15423 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15424 (femode_t): New typedef.
15425 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15426 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15427 (femode_t): New typedef.
15428 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15429 * manual/arith.texi (FE_DFL_MODE): Document macro.
15430 (fegetmode): Document function.
15431 (fesetmode): Likewise.
15432 * math/Versions (fegetmode): New libm symbol at version
15433 GLIBC_2.25.
15434 (fesetmode): Likewise.
15435 * math/Makefile (libm-support): Add fegetmode and fesetmode.
15436 (tests): Add test-femode and test-femode-traps.
15437 * math/test-femode-traps.c: New file.
15438 * math/test-femode.c: Likewise.
15439 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15440 alias for __fe_dfl_env.
15441 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15442 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15443 (__fe_dfl_mode): Likewise.
15444 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15445 version GLIBC_2.25.
15446 * sysdeps/nacl/libm.abilist: Update.
15447 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15448 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15449 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15450 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15460 Likewise.
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15462 Likewise.
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15464 Likewise.
15465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15466 Likewise.
15467 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15473 Likewise.
15474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15475 Likewise.
15476 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15479
15480 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
15481
15482 [BZ #20495]
15483 [BZ #20508]
15484 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15485 processors, set Use_dl_runtime_resolve_slow and set
15486 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15487 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15488 New.
15489 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15490 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15491 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15492 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15493 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15494 if Use_dl_runtime_resolve_opt is set. Use
15495 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15496 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15497 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
15498 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15499 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15500 New.
15501 (_dl_runtime_resolve_opt): Likewise.
15502 (_dl_runtime_profile): Define only if _dl_runtime_profile is
15503 defined.
15504
15505 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
15506
15507 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15508 __libc_memalign with "+ RELA R_390_GLOB_DAT".
15509
15510 2016-09-06 Florian Weimer <fweimer@redhat.com>
15511
15512 Convert malloc to __libc_lock. Automated part, using this Perl
15513 s/// command:
15514 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15515 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15516 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15517 conversion.
15518
15519 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
15520
15521 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15522 (linknamespace-symlists-tests): Likewise.
15523 (linknamespace-header-tests): Likewise.
15524
15525 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
15526
15527 [BZ #19810]
15528 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15529 * elf/tst-noload.c: New test case.
15530 * elf/Makefile (tests): Add tst-noload.
15531
15532 2016-09-02 Roland McGrath <roland@hack.frob.com>
15533
15534 * sysdeps/nacl/dup.c: Add libc_hidden_def.
15535
15536 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15537 not any more.
15538
15539 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15540
15541 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15542
15543 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15544 (do_cos_slow): Likewise.
15545 (do_sin): Likewise.
15546 (do_sin_slow): Likewise.
15547 (slow): Likewise.
15548 (slow1): Likewise.
15549 (slow2): Likewise.
15550 (sloww): Likewise.
15551 (sloww1): Likewise.
15552 (sloww2): Likewise.
15553 (bsloww): Likewise.
15554 (bsloww1): Likewise.
15555 (bsloww2): Likewise.
15556 (cslow2): Likewise.
15557
15558 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15559
15560 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15561 arguments. Consolidate input partitioning from callers here.
15562 (do_cos_slow): Likewise.
15563 (do_sin): Likewise.
15564 (do_sin_slow): Likewise.
15565 (do_sincos_1): Remove the no longer necessary input partitioning.
15566 (do_sincos_2): Likewise.
15567 (__sin): Likewise.
15568 (__cos): Likewise.
15569 (slow1): Likewise.
15570 (slow2): Likewise.
15571 (sloww1): Likewise.
15572 (sloww2): Likewise.
15573 (bsloww1): Likewise.
15574 (bsloww2): Likewise.
15575 (cslow2): Likewise.
15576
15577 2016-09-02 Florian Weimer <fweimer@redhat.com>
15578
15579 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15580 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
15581 outside of allocated array.
15582
15583 2016-09-02 Florian Weimer <fweimer@redhat.com>
15584
15585 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15586 instead of MB_CUR_MAX to avoid variable-length array.
15587
15588 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15589
15590 * math/Makefile (libm-calls): Remove k_rem_pio2F.
15591 (type-double-routines): Add k_rem_pio2.
15592 (type-float-routines): Add k_rem_pio2f.
15593
15594 * sysdeps/generic/math_private.h:
15595 (__kernel_rem_pio2l): Removed.
15596
15597 * math/k_rem_pio2l.c: Removed.
15598 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15599 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15600 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15601 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15602
15603 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15604
15605 * math/Makefile (gen-libm-calls): Add s_fmin
15606 (libm-calls): Remove above.
15607
15608 * math/s_fmin.c: Refactor into ...
15609 * math/s_fmin_template.c: New file.
15610
15611 * math/s_fminf.c: Removed.
15612 * math/s_fminl.c: Removed.
15613 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15614 (LDOUBLE_fmin_libm_version): New macro.
15615
15616 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15617 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15618
15619 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15620
15621 * math/Makefile: (gen-libm-calls): Add s_fmax.
15622 (libm-calls): Remove above.
15623
15624 * math/s_fmax.c: Refactor into ...
15625 * math/s_fmax_template.c: New file.
15626 * math/s_fmaxf.c: Removed.
15627 * math/s_fmaxl.c: Removed.
15628
15629 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15630 (LDOUBLE_fmaxl_libm_version): New macro.
15631
15632 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15633 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15634
15635 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15636 s_fmin.c to pick the aarch64 version of the file.
15637 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15638 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15639
15640 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15641
15642 * math/Makefile: (gen-libm-calls): Add s_nextdown.
15643 (libm-calls): Remove above.
15644
15645 * math/s_nextdown.c: Refactor into ...
15646 * math/s_nextdown_template.c: New file.
15647 * math/s_nextdownf.c: Removed.
15648 * math/s_nextdownl.c: Removed.
15649
15650 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15651
15652 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15653
15654 * math/Makefile (gen-libm-calls): Add s_fdim.
15655 (libm-calls): Move to above.
15656
15657 * math/s_fdim.c: Renamed and refactored into to ...
15658 * math/s_fdim_template.c: New file.
15659 * math/s_fdiml.c: Removed.
15660 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15661 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15662
15663 * sysdeps/generic/math-type-macros-double.h:
15664 (declare_mgen_alias): Don't declare if already declared.
15665 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15666 Likewise.
15667
15668 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15669 (declare_mgen_alias): Don't declare if already declared.
15670 (M_LIBM_NEED_COMPAT): Likewise.
15671 (declare_mgen_libm_compat): Likewise.
15672 (LDOUBLE_fdiml_libm_version): New macro.
15673
15674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15675 Include math/s_fdim.c now that ldbl-opt version is not needed.
15676 (declare_mgen_alias): New macro to disable aliasing.
15677
15678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15679 (declare_mgen_alias): Likewise.
15680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15681 (declare_mgen_alias): Likewise.
15682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15683 (declare_mgen_alias): Likewise.
15684 (M_LIBM_NEED_COMPAT): Likewise.
15685
15686 2016-09-01 Florian Weimer <fweimer@redhat.com>
15687
15688 [BZ #20525]
15689 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15690 Include <linux/quota.h>.
15691 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15692 and btodb.
15693 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15694 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15695 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15696 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15697 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15698 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15699 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15700 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15701 types.
15702 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15703 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15704
15705 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15706
15707 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15708 (gammal_positive): Fix spacing.
15709 (__ieee754_gammal_r): Likewise.
15710
15711 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15712
15713 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15714 (_Float128): Define as long double, always.
15715 (L): Apply long double type suffix, always.
15716
15717 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
15718 _Float128, excepting comments.
15719
15720 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15786 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15788
15789 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
15790 _Float128, and include math_private.h.
15791 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15792
15793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
15794 long double semantics.
15795 (_Float128): Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15800
15801 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15802
15803 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
15804 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
15805 * sysdeps/s390/configure: Regenerated.
15806 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
15807 instruction for raising over-/underflow if z196 zarch is supported
15808 by default.
15809 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
15810
15811 2016-08-30 Svante Signell <svante.signell@gmail.com>
15812
15813 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
15814 it point to a dumb buffer for RPC to fill it.
15815
15816 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
15817
15818 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
15819 instead of if/else.
15820 (do_sin_slow): Likewise.
15821 (do_sincos_1): Use fabs instead of if/else.
15822 (do_sincos_2): Likewise.
15823 (__sin): Likewise.
15824 (__cos): Likewise.
15825 (slow2): Likewise.
15826 (sloww): Likewise.
15827 (sloww1): Likewise. Drop argument M.
15828 (sloww2): Use fabs instead of if/else.
15829 (bsloww): Likewise.
15830 (bsloww1): Likewise.
15831 (bsloww2): Likewise.
15832
15833 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
15834 fall through comment.
15835 (do_sincos_1): Likewise.
15836
15837 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
15838 Consolidate switch cases 0 and 2.
15839
15840 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15841
15842 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
15843 (libm-calls): Remove the above.
15844
15845 * math/s_cexp_template.c: Update using type-generic macros.
15846 * math/s_clog10_template.c: Likewise.
15847 * math/s_cpow_template.c: Likewise.
15848 * math/s_clog_template.c: Likewise.
15849 * math/s_cproj_template.c: Likewise.
15850 * math/s_csqrt_template.c: Likewise.
15851
15852 * math/s_cexp.c: Removed.
15853 * math/s_cexpf.c: Removed.
15854 * math/s_cexpl.c: Removed.
15855 * math/s_clog10.c: Removed.
15856 * math/s_clog10f.c: Removed.
15857 * math/s_clog10l.c: Removed.
15858 * math/s_cpow.c: Removed.
15859 * math/s_cpowf.c: Removed.
15860 * math/s_cpowl.c: Removed.
15861 * math/s_clog.c: Removed.
15862 * math/s_clogf.c: Removed.
15863 * math/s_clogl.c: Removed.
15864 * math/s_cproj.c: Removed.
15865 * math/s_cprojf.c: Removed.
15866 * math/s_cprojl.c: Removed.
15867 * math/s_csqrt.c: Removed.
15868 * math/s_csqrtf.c: Removed.
15869 * math/s_csqrtl.c: Removed.
15870
15871 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
15872 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
15873 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
15874 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
15875 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
15876 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
15877
15878 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
15879 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
15880 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
15881 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
15882 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
15883 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
15884 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
15885 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
15886 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
15887 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
15888 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
15889
15890 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
15891 version.
15892
15893 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
15894 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
15895 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
15896 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
15897
15898 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15899
15900 * s_cexp_template.c: Copy of s_cexp.c.
15901 * s_clog_template.c: Copy of s_clog.c.
15902 * s_clog10_template.c: Copy of s_clog10.c.
15903 * s_cpow_template.c: Copy of s_cpow.c.
15904 * s_cproj_template.c: Copy of s_cproj.c.
15905 * s_csqrt_template.c: Copy of s_csqrt.c.
15906
15907 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15908
15909 [BZ #20517]
15910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15911 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
15912 exported.
15913
15914 2016-08-29 Joseph Myers <joseph@codesourcery.com>
15915
15916 * math/fetestexceptflag.c: New file.
15917 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
15918 Stefan Liebler.
15919 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15920 (fetestexceptflag): New function declaration.
15921 * manual/arith.texi (fetestexceptflag): Document function.
15922 * math/Versions (fetestexceptflag): New libm symbol at version
15923 GLIBC_2.25.
15924 * math/Makefile (libm-support): Add fetestexceptflag.
15925 (tests): Add test-fetestexceptflag.
15926 * math/test-fetestexceptflag.c: New file.
15927 * sysdeps/nacl/libm.abilist: Update.
15928 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15941 Likewise.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15943 Likewise.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15945 Likewise.
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15947 Likewise.
15948 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15954 Likewise.
15955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15956 Likewise.
15957 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15959 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15960
15961 2016-08-26 Florian Weimer <fweimer@redhat.com>
15962
15963 [BZ #20432]
15964 Avoid strong references to malloc-internal symbols when linking
15965 statically, to support statically interposed mallocs.
15966 * include/libc-symbols.h (call_function_static_weak): New macro.
15967 * malloc/Makefile (tests): Add tst-interpose-nothread,
15968 tst-interpose-thread, tst-interpose-static-nothread,
15969 tst-interpose-static-thread.
15970 (tests-static): Add tst-interpose-static-nothread,
15971 tst-interpose-static-thread.
15972 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
15973 tst-interpose-aux-thread.o.
15974 (test-extras): Add tst-interpose-aux-nothread,
15975 tst-interpose-aux-thread.
15976 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
15977 tst-interpose-aux-nothread.o.
15978 (tst-interpose-thread, tst-interpose-static-thread): Link with
15979 tst-interpose-aux-thread.o and libthread.
15980 * malloc/tst-interpose-aux-nothread.c: New file.
15981 * malloc/tst-interpose-aux-thread.c: Likewise.
15982 * malloc/tst-interpose-aux.c: Likewise.
15983 * malloc/tst-interpose-aux.h: Likewise.
15984 * malloc/tst-interpose-nothread.c: Likewise.
15985 * malloc/tst-interpose-skeleton.c: Likewise.
15986 * malloc/tst-interpose-static-nothread.c: Likewise.
15987 * malloc/tst-interpose-static-thread.c: Likewise.
15988 * malloc/tst-interpose-thread.c: Likewise.
15989 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
15990 * sysdeps/mach/hurd/fork.c (__fork): Only call
15991 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15992 __malloc_fork_unlock_child if defined.
15993 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15994
15995 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15996
15997 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
15998 timespec C99 designated initialization.
15999
16000 2016-08-26 Florian Weimer <fweimer@redhat.com>
16001
16002 [BZ #19946]
16003 Avoid expected SIGALRM signals.
16004 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16005 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16006 (xpthread_create, xpthread_detach, xpthread_join)
16007 (delayed_exit_thread, delayed_exit): New functions.
16008 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16009 (tf): Use xpthread_cond_wait.
16010 (do_test): Likewise. Replace alarm with delayed_exit.
16011 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16012 (do_test): Call delayed_exit. Report failure.
16013 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16014 (do_test): Call delayed_exit.
16015 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16016 (do_test): Call delayed_exit. Use xpthread_join. Report error.
16017 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16018 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
16019 error.
16020 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16021 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
16022 error.
16023 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16024 (do_test): Call delayed_exit.
16025 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16026 (do_test): Call delayed_exit.
16027 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16028 (do_test): Call delayed_exit instead of alarm. Use
16029 xpthread_mutex_lock.
16030 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16031 (do_test): Call delayed_exit instead of alarm. Use
16032 xpthread_mutex_lock.
16033 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16034 (do_test): Call delayed_exit instead of alarm.
16035 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16036 (do_test): Call delayed_exit instead of alarm. Use
16037 xpthread_spin_lock.
16038 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16039 (do_test): Call delayed_exit instead of alarm. Use
16040 xpthread_join.
16041
16042 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
16043
16044 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16045 adjust CFA when allocating register save area on re-aligned
16046 stack.
16047
16048 2016-08-26 Florian Weimer <fweimer@redhat.com>
16049
16050 * string/tst-cmp.c: New test.
16051 * string/Makefile (tests): Add it.
16052
16053 2016-08-25 Mark Wielaard <mark@klomp.org>
16054
16055 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16056 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
16057 (check_tree_recurse): Use newly defined accessors.
16058 (check_tree): Likewise.
16059 (maybe_split_for_insert): Likewise.
16060 (__tfind): Likewise.
16061 (__tdelete): Likewise.
16062 (trecurse): Likewise.
16063 (tdestroy_recurse): Likewise.
16064 (__tsearch): Likewise. And add asserts for malloc alignment.
16065 (__twalk): Cast root to node in case CHECK_TREE is defined.
16066
16067 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16068
16069 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16070
16071 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16072
16073 * math/Makefile (libm-gen-calls): Add
16074 catan, catanh, ctan, ctanh.
16075 (libm-calls): Remove the above.
16076
16077 * math/s_catan_template.c: Update using type-generic macros.
16078 * math/s_catanh_template.c: Likewise.
16079 * math/s_ctan_template.c: Likewise.
16080 * math/s_ctanh_template.c: Likewise.
16081
16082 * math/s_catanf.c: Removed.
16083 * math/s_catan.c: Removed.
16084 * math/s_catanl.c: Removed.
16085 * math/s_catanhf.c: Removed.
16086 * math/s_catanh.c: Removed.
16087 * math/s_catanhl.c: Removed.
16088 * math/s_ctanf.c: Removed.
16089 * math/s_ctan.c: Removed.
16090 * math/s_ctanl.c: Removed.
16091 * math/s_ctanhf.c: Removed.
16092 * math/s_ctanh.c: Removed.
16093 * math/s_ctanhl.c: Removed.
16094
16095 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16096 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16097 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16098 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16099 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16100 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16101
16102 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16103 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16104 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16105 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16106
16107 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16108
16109 * s_catan_template.c: Copy of s_catan.c.
16110 * s_catanh_template.c: Copy of s_catanh.c.
16111 * s_ctan_template.c: Copy of s_ctan.c.
16112 * s_ctanh_template.c: Copy of s_ctanh.c.
16113
16114 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16115
16116 * math/Makefile (gen-libm-calls): Move
16117 casin, casinh, csin, csinh here.
16118 (libm-calls): Remove the above.
16119
16120 * math/s_casin_template.c: Update using type-generic macros.
16121 * math/s_casinh_template.c: Likewise.
16122 * math/s_csin_template.c: Likewise.
16123 * math/s_csinh_template.c: Likewise.
16124 * math/k_casinh_template.c: Likewise.
16125
16126 * math/s_casinf.c: Removed.
16127 * math/s_casin.c: Removed.
16128 * math/s_casinl.c: Removed.
16129 * math/s_casinh.c: Removed.
16130 * math/s_casinhf.c: Removed.
16131 * math/s_casinhl.c: Removed.
16132 * math/s_csin.c: Removed.
16133 * math/s_csinf.c: Removed.
16134 * math/s_csinl.c: Removed.
16135 * math/s_csinh.c: Removed.
16136 * math/s_csinhf.c: Removed.
16137 * math/s_csinhl.c: Removed.
16138 * math/k_casinh.c: Removed.
16139 * math/k_casinhf.c: Removed.
16140 * math/k_casinhl.c: Removed.
16141
16142 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16143 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16144 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16145 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16146
16147 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16148 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16149 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16150 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16151 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16152 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16153 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16154 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16155
16156 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16157 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16158 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16159 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16160
16161 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16162 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16163 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16164 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16165
16166 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16167
16168 * s_casin_template.c: Copy of s_casin.c.
16169 * s_casinh_template.c: Copy of s_casinh.c.
16170 * s_csin_template.c: Copy of s_csin.c.
16171 * s_csinh_template.c: Copy of s_csinh.c.
16172 * k_casinh_template.c: Copy of k_casinh.c.
16173
16174 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
16175
16176 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16177
16178 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16179
16180 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16181 (mul_split) Remove, rename as mul_splitl, remove
16182 redundant float.h include, and include via mul_splitl.h
16183
16184 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16185 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16186 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16187 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16188 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16189
16190 * math/mul_splitl.h: New file.
16191
16192 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16193 Move into mul_split.h, and remove redundant float.h include.
16194
16195 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16196 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16197 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16198 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16199
16200 * math/mul_split.h: New file.
16201
16202 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16203
16204 * math/Makefile (libm-gen-calls): Move
16205 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16206 (libm-calls): Remove above.
16207
16208 * math/s_cacos_template.c: Update using type-generic macros.
16209 * math/s_cacosh_template.c: Likewise.
16210 * math/s_ccos_template.c: Likewise.
16211 * math/s_ccosh_template.c: Likewise.
16212
16213 * math/s_cacosf.c: Removed.
16214 * math/s_cacos.c: Removed.
16215 * math/s_cacosl.c: Removed.
16216 * math/s_cacoshf.c: Removed.
16217 * math/s_cacosh.c: Removed.
16218 * math/s_cacoshl.c: Removed.
16219 * math/s_ccosf.c: Removed.
16220 * math/s_ccos.c: Removed.
16221 * math/s_ccosl.c: Removed.
16222 * math/s_ccoshf.c: Removed.
16223 * math/s_ccosh.c: Removed.
16224 * math/s_ccoshl.c: Removed.
16225
16226 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16227 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16228 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16229 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16230 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16231 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16232
16233 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16234 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16235 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16236 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16237
16238 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16239 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16240 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16241 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16242
16243 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16244
16245 * s_cacos_template.c: Copy of s_cacos.c.
16246 * s_cacosh_template.c: Copy of s_cacosh.c.
16247 * s_ccos_template.c: Copy of s_ccos.c.
16248 * s_ccosh_template.c: Copy of s_ccosh.c.
16249
16250 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16251
16252 * stdlib/tst-strtod-round-skeleton.c:
16253 Refactored from tst-strtod-round.c.
16254
16255 (L_): New macro to apply literal modifier.
16256 (FNPFX): New macro to select str or wcs prefix.
16257 (CHAR): New macro to choose wchar_t or char.
16258 (STRM): New macro to choose printf for tested character type.
16259
16260 (STRTO): New macro to choose appropriate string -> real function.
16261 (FNPFXS): Stringitized version of FNPFX.
16262 (STR): Support for above macro.
16263 (STRX): Likewise.
16264
16265 (TEST): Update with above macros.
16266 (test): Likewise.
16267 (GEN_ONE_TEST): Likewise.
16268 (test_in_one_mode): Likewise.
16269
16270 * stdlib/tst-strtod-round.c: New file.
16271 * wcsmbs/tst-wcstod-round.c: New file.
16272
16273 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16274 (tst-wcstod-round): Add libm depencency for fesetround.
16275
16276 2016-08-19 Zack Weinberg <zackw@panix.com>
16277
16278 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16279
16280 2016-08-18 Torvald Riegel <triegel@redhat.com>
16281
16282 [BZ #20477]
16283 * resolv/res_hconf.c (do_init): Use atomic access.
16284 * resolv/res_hconf.h: Add comments.
16285 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16286 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16288
16289 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
16290
16291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16292 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16293 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16294 Likewise.
16295
16296 2016-08-18 Florian Weimer <fweimer@redhat.com>
16297
16298 [BZ #16907]
16299 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16300 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16301 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16302 (__attribute__): Remove definition.
16303
16304 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16305
16306 * sysdeps/ieee754/ldbl-128/e_asinl.c:
16307 Remove unused sqrtl declaration.
16308
16309 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16310
16311 * math/Makefile: (gen-libm-templates.stmp): New rule.
16312 (libm-calls): Move carg conj cimag and cabs into ...
16313 (gen-libm-calls): New variable.
16314 (generated): Inform Make objects from gen-libm-calls
16315 may be generated.
16316
16317 * sysdeps/generic/math-type-macros.h: New file.
16318 * sysdeps/generic/math-type-macros-float.h: Likewise.
16319 * sysdeps/generic/math-type-macros-double.h: Likewise.
16320 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16321 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16322 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16323
16324 * math/cabs.c: Refactor into
16325 * math/cabs_template.c: new file.
16326 * math/cabsf.c: Removed.
16327 * math/cabsl.c: Removed.
16328 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16329 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16330
16331 * math/carg.c: Refactor into
16332 * math/carg_template.c: new file.
16333 * math/cargf.c: Removed.
16334 * math/cargl.c: Removed.
16335 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16336 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16337
16338 * math/conj.c: Refactor into
16339 * math/conj_template.c: new file.
16340 * math/conjf.c: Removed.
16341 * math/conjl.c: Removed.
16342 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16343 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16344
16345 * math/cimag.c: Refactor into
16346 * math/cimag_template.c: new file.
16347 * math/cimagf.c: Removed.
16348 * math/cimagl.c: Removed.
16349 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16350 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16351
16352 * math/cimag.c: Refactor into
16353 * math/cimag_template.c: new file.
16354 * math/cimagf.c: Removed.
16355 * math/cimagl.c: Removed.
16356 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16357 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16358
16359 2016-08-17 Florian Weimer <fweimer@redhat.com>
16360
16361 Reduce time to expected nptl/tst-once5 failure.
16362 * nptl/tst-once5.cc (TIMEOUT): Define.
16363
16364 2016-08-17 Florian Weimer <fweimer@redhat.com>
16365
16366 [BZ #20452]
16367 Avoid additional copies of objects in libc.a in static libraries.
16368 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16369 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16370 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16371 rt-sysdep.
16372 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16373 Add nptl-sysdep.
16374 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16375 Add ptw-sysdep.
16376 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16377 rt-sysdep.
16378 * sysdeps/unix/sysv/linux/alpha/Makefile
16379 (libpthread-shared-only-routines): Add ptw-sysdep,
16380 ptw-sigprocmask, ptw-rt_sigaction.
16381 * sysdeps/unix/sysv/linux/ia64/Makefile
16382 (librt-shared-only-routines): Add rt-sysdep.
16383 * sysdeps/unix/sysv/linux/i386/Makefile
16384 (libpthread-shared-only-routines): Add libc-do-syscall.
16385 * sysdeps/unix/sysv/linux/microblaze/Makefile
16386 (libpthread-shared-only-routines): Add sysdep.
16387 * sysdeps/unix/sysv/linux/powerpc/Makefile
16388 (librt-shared-only-routines): Add rt-sysdep.
16389 (libpthread-shared-only-routines): Add sysdep.
16390 * sysdeps/unix/sysv/linux/s390/Makefile
16391 (librt-shared-only-routines): Add rt-sysdep.
16392 * sysdeps/unix/sysv/linux/sparc/Makefile
16393 (librt-shared-only-routines): Add rt-sysdep.
16394 (libpthread-shared-only-routines): Add sysdep.
16395 * sysdeps/unix/sysv/linux/tile/Makefile
16396 (libpthread-shared-only-routines): Likewise.
16397
16398 2016-08-16 Joseph Myers <joseph@codesourcery.com>
16399
16400 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16401 Mask implicit bit out of unpacked value.
16402 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16405
16406 * sysdeps/sparc/fpu/fesetexcept.c: New file.
16407
16408 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16409
16410 * sysdeps/s390/fpu/fesetexcept.c: New file.
16411
16412 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16413 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16414 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16415
16416 * sysdeps/mips/fpu/fesetexcept.c: New file.
16417
16418 * sysdeps/m68k/fpu/fesetexcept.c: New file.
16419
16420 * sysdeps/ia64/fpu/fesetexcept.c: New file.
16421
16422 * sysdeps/hppa/fpu/fesetexcept.c: New file.
16423
16424 * sysdeps/arm/fesetexcept.c: New file.
16425
16426 * sysdeps/alpha/fpu/fesetexcept.c: New file.
16427
16428 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16429
16430 * math/fesetexcept.c: New file.
16431 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16432 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16433 * math/fenv.h: Define
16434 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16435 <bits/libc-header-start.h> instead of including <features.h>.
16436 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16437 declaration.
16438 * manual/arith.texi (fesetexcept): Document function.
16439 * math/Versions (fesetexcept): New libm symbol at version
16440 GLIBC_2.25.
16441 * math/Makefile (libm-support): Add fesetexcept.
16442 (tests): Add test-fesetexcept and test-fesetexcept-traps.
16443 * math/test-fesetexcept.c: New file.
16444 * math/test-fesetexcept-traps.c: Likewise.
16445 * sysdeps/nacl/libm.abilist: Update.
16446 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16447 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16448 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16449 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16450 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16451 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16452 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16453 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16454 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16459 Likewise.
16460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16461 Likewise.
16462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16463 Likewise.
16464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16465 Likewise.
16466 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16467 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16468 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16469 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16470 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16472 Likewise.
16473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16474 Likewise.
16475 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16476 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16477 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16478
16479 2016-08-16 Florian Weimer <fweimer@redhat.com>
16480
16481 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16482 New.
16483 (do_test): Apply default_stack_size_in_mb if not set.
16484 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16485
16486 2016-08-15 Andreas Schwab <schwab@suse.de>
16487
16488 [BZ #20435]
16489 CVE-2016-6323
16490 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16491 as .cantunwind.
16492
16493 2016-08-12 Joseph Myers <joseph@codesourcery.com>
16494
16495 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16496 comment from fraiseexcpt.c.
16497
16498 * math/test-fexcept.c (feraiseexcept_exact): New function.
16499 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16500 (test_except): Likewise.
16501
16502 2016-08-10 Joseph Myers <joseph@codesourcery.com>
16503
16504 [BZ #20455]
16505 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16506 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16507 to be restored.
16508
16509 * math/test-fexcept-traps.c: New file.
16510 * math/test-fexcept.c: Likewise.
16511 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16512 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16513 macro.
16514 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16515 (EXCEPTION_SET_FORCES_TRAP): Likewise.
16516
16517 2016-08-09 Torvald Riegel <triegel@redhat.com>
16518
16519 * include/atomic.h (atomic_fetch_and_relaxed,
16520 atomic_fetch_and_release, atomic_fetch_or_release,
16521 atomic_fetch_xor_release): New.
16522
16523 2016-08-06 Christian Seiler <christian@iwakd.de>
16524
16525 [BZ #20444]
16526 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16527 MACH_PORT_NULL.
16528
16529 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
16530
16531 * math/s_fdim.c: Avoid alias renamed.
16532 * math/s_fdimf.c: Likewise.
16533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16534 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16535 Add s_fdimf-vis3, s_fdim-vis3.
16536 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16537 (CFLAGS-s_fdim-vis3.c): Likewise.
16538 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16539 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16540
16541 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
16542
16543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16544 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16545 Remove s_fdimf-vis3, s_fdim-vis3.
16546 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16547 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16554 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16555 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16556
16557 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
16558
16559 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16560 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16561 -Wa,-Av9a -mvis.
16562
16563 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16564
16565 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16566 LIT() to individual constants in simple expressions
16567 after splitting on spaces.
16568 (_apply_lit): Rename replaced version, and use it to
16569 apply to what appears to be a token.
16570
16571 * math/libm-test.inc: Fix many, many issues with
16572 spacing.
16573
16574 2016-08-05 Joseph Myers <joseph@codesourcery.com>
16575
16576 * math/math.h: Move comment about <bits/mathdef.h> definitions
16577 above inclusion of <bits/mathdef.h>. Do not mention
16578 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16579
16580 2016-08-05 Torvald Riegel <triegel@redhat.com>
16581
16582 * include/atomic.h (atomic_exchange_relaxed): New.
16583
16584 2016-08-04 Joseph Myers <joseph@codesourcery.com>
16585
16586 * math/e_scalb.c: Do not include <fenv.h>.
16587 (invalid_fn): Do calculation resulting in NaN instead of raising
16588 FE_INVALID and returning a NaN explicitly.
16589 * math/e_scalbf.c: Do not include <fenv.h>.
16590 (invalid_fn): Do calculation resulting in NaN instead of raising
16591 FE_INVALID and returning a NaN explicitly.
16592 * math/e_scalbl.c: Do not include <fenv.h>.
16593 (invalid_fn): Do calculation resulting in NaN instead of raising
16594 FE_INVALID and returning a NaN explicitly.
16595
16596 2016-08-04 Carlos O'Donell <carlos@redhat.com>
16597
16598 * po/de.po: Updated from Translation Project.
16599 * po/fi.po: Likewise.
16600 * po/sv.po: Likewise.
16601
16602 2016-08-04 Florian Weimer <fweimer@redhat.com>
16603
16604 [BZ #20452]
16605 Use sysdep.o from libc.a in static libraries.
16606 * sysdeps/unix/sysv/linux/i386/Makefile
16607 (libpthread-shared-only-routines): Add sysdep.
16608 (librt-shared-only-routines): Likewise.
16609
16610 2016-08-03 Joseph Myers <joseph@codesourcery.com>
16611
16612 * math/tgmath.h (nextdown): Define if
16613 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16614 (nextup): Likewise.
16615
16616 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16617 macro.
16618 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16619 Document.
16620 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16621 Document macro.
16622 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16623 (exp10f): Likewise.
16624 (exp10l): Likewise.
16625 * math/bits/mathcalls.h (exp10): Declare if
16626 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16627
16628 * manual/arith.texi (nextup): Fix typo in last change.
16629
16630 2016-08-03 Zack Weinberg <zackw@panix.com>
16631
16632 [BZ #19239]
16633 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16634 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16635 define major, minor, and makedev to issue deprecation warnings on use.
16636 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16637 previously-activated deprecation warnings for these macros and prevent
16638 subsequent inclusions of this header from having any effect.
16639 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16640 including <sys/sysmacros.h>, and undefine it again afterward.
16641
16642 2016-08-03 Zack Weinberg <zackw@panix.com>
16643
16644 * sysdeps/generic/sys/sysmacros.h: Delete file.
16645 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16646 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16647 * bits/sysmacros.h: ... here; this encoding is now the generic
16648 encoding. Now defines only the following macros:
16649 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16650 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16651 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16652
16653 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16654 bits/sysmacros.h and the above new macros to generate the
16655 public implementations of major, minor, and makedev.
16656 * misc/tst-makedev.c: New test.
16657 * include/sys/sysmacros.h: New wrapper.
16658
16659 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16660 (routines): Add makedev.
16661 (tests): Add tst-makedev.
16662 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16663 gnu_dev_makedev.
16664 * posix/Makefile (headers): Remove sys/sysmacros.h.
16665 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16666
16667 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16668 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16669 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16670 * sysdeps/unix/sysv/linux/alpha/libc.abilist
16671 * sysdeps/unix/sysv/linux/arm/libc.abilist
16672 * sysdeps/unix/sysv/linux/hppa/libc.abilist
16673 * sysdeps/unix/sysv/linux/i386/libc.abilist
16674 * sysdeps/unix/sysv/linux/ia64/libc.abilist
16675 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16676 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16677 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16678 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16679 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16680 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16681 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16682 * sysdeps/unix/sysv/linux/nios2/libc.abilist
16683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16687 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16688 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16689 * sysdeps/unix/sysv/linux/sh/libc.abilist
16690 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16691 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16694 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16695 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16696 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16697 Add GLIBC_2.25.
16698
16699 * include/features.h (__glibc_clang_prereq): New macro.
16700 * misc/sys/cdefs.h (__glibc_clang_has_extension)
16701 (__attribute_deprecated_msg__): New macros.
16702
16703 2016-08-03 Joseph Myers <joseph@codesourcery.com>
16704
16705 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16706 macro.
16707 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16708 * manual/arith.texi (issignaling): Document as ISO from TS
16709 18661-1:2014.
16710 (nextup): Likewise.
16711 (nextupf): Likewise.
16712 (nextupl): Likewise.
16713 (nextdown): Likewise.
16714 (nextdownf): Likewise.
16715 (nextdownl): Likewise.
16716 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16717 macro.
16718 * math/math.h: Define
16719 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16720 <bits/libc-header-start.h> instead of including <features.h>.
16721 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
16722 [__USE_GNU].
16723 * math/bits/mathcalls.h (nextdown): Declare if
16724 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
16725 (nextup): Likewise.
16726 (__issignaling): Likewise.
16727
16728 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16729
16730 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
16731 check, and remove __glibc_likely hint
16732 from FP_INFINITE check.
16733 * s_csinhf.c (__csinhf): Likewise.
16734
16735 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
16736 hint from FP_INFINITE check.
16737 * s_csinhl.c (__csinhl): Likewise.
16738
16739 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16740
16741 * math/Makefile (libm-calls): Insert F placeholder into
16742 object names. Move w_lgamma_compat* routines into
16743 (libm-compat-calls): New variable.
16744 (libm-compat-calls-ldouble-yes): New variable.
16745 (calls): Insert F placeholder.
16746 (generated): Redefine using new type-foreach macro call.
16747 (routines): Likewise.
16748
16749 (types): New variable to hold a list of symbolic names
16750 for each type supported by the target machine.
16751 (libm-routines): Redefine using new types variable.
16752 (type-foreach): macro to replace fooF with the
16753 appropriately suffixed foo for each types.
16754
16755 (type-ldouble-suffix): New variable.
16756 (type-ldouble-routines): Likewise.
16757 (type-ldouble-yes): Likewise.
16758 (type-double-suffix): Likewise.
16759 (type-double-routines): Likewise.
16760 (type-float-suffix): Likewise.
16761 (type-float-routines): Likewise.
16762
16763 (dbl-only-routines): Remove.
16764 (long-c-yes): Likewise.
16765 (long-m-routines): Likewise.
16766 (long-m-support): Likewise.
16767 (long-m-yes): Likewise.
16768 (test-longdouble-yes): Likewise.
16769
16770 (test-float.o): Simplify by increasing the scope of the
16771 recipe which adds libm-test.stmp to the vector types.
16772 (test-ifloat.o): Likewise.
16773 (test-float-finite.o): Likewise.
16774 (test-double.o): Likewise
16775 (test-idouble.o): Likewise.
16776 (test-double-finite.o): Likewise.
16777 (test-ldouble.o): Likewise
16778 (test-ildoubl.o): Likewise.
16779 (test-ldouble-finite.o): Likewise.
16780
16781 (libm-tests): Redefine type tests using foreach and the
16782 list of types in types.
16783
16784 (CPPFLAGS-test-ildoubl.c): Rename to
16785 (CPPFLAGS-test-ildouble.c): New variable
16786
16787 * math/test-ildoubl.c: Rename to
16788 * math/test-ildouble.c: New file.
16789
16790 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16791
16792 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
16793 Use fabsl instead of fabs.
16794 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
16795 Likewise.
16796 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
16797 Add long double suffix to constant to ensure proper
16798 promotion to long double.
16799
16800 2016-08-03 Tom Tromey <tom@tromey.com>
16801
16802 [BZ #20311]
16803 * nptl_db/Makefile (headers): Add proc_service.h.
16804 * nptl_db/proc_service.h: Add include guard. Use
16805 __BEGIN/__END_DECLS.
16806 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
16807 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
16808 arguments.
16809
16810
16811 2016-08-03 Florian Weimer <fweimer@redhat.com>
16812
16813 [BZ #17730]
16814 Avoid using memalign for TCB allocations.
16815 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
16816 (_dl_allocate_tls_storage): Use malloc and manual alignment.
16817 Avoid alignment gap in the TLS_DTV_AT_TP case.
16818 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
16819 determine the pointer to free.
16820 * nptl/tst-tls3-malloc.c: New test.
16821 * nptl/Makefile (tests): Add it.
16822 (tst-tls3-malloc): Link with libdl, libpthread.
16823 (LDFLAGS-tst-tls3-malloc): Set.
16824 (tst-tls3-malloc.out): Depend on DSO used in test.
16825
16826 2016-08-03 Florian Weimer <fweimer@redhat.com>
16827
16828 [BZ #17730]
16829 Avoid using memalign for TLS allocations.
16830 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
16831 is_static member with to_free member.
16832 (union dtv): Use struct dtv_pointer.
16833 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
16834 dtv_pointer instead of is_static.
16835 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
16836 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
16837 instead of val.
16838 (allocate_dtv_entry): New function.
16839 (allocate_and_init): Return struct dtv_pointer. Call
16840 allocate_dtv_entry instead of __libc_memalign.
16841 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
16842 instead of val.
16843 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
16844 instead of is_static. Adjust call to allocate_and_init.
16845 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
16846 struct dtv_pointer instead of val.
16847
16848 2016-08-03 Florian Weimer <fweimer@redhat.com>
16849
16850 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
16851 (MALLOC_ALIGN_MASK): Move ...
16852 * malloc/malloc-internal.h: ... to here.
16853 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
16854
16855 2016-08-03 Joseph Myers <joseph@codesourcery.com>
16856
16857 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
16858 (UDP_ENCAP_GTP1U): Likewise.
16859
16860 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
16861 (PF_MAX): Update value.
16862 (AF_QIPCRTR): New macro.
16863
16864 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
16865
16866 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
16867 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16868 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16870 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16871 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16872 s_truncf-vis3, s_trunc-vis3.
16873 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16874 (CFLAGS-s_ceil-vis3.c): Likewise.
16875 (CFLAGS-s_floorf-vis3.c): Likewise.
16876 (CFLAGS-s_floor-vis3.c): Likewise.
16877 (CFLAGS-s_truncf-vis3.c): Likewise.
16878 (CFLAGS-s_trunc-vis3.c): Likewise.
16879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
16880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
16881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
16882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
16883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
16884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
16885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
16886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
16887 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
16888 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
16889 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
16890 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
16891
16892 2016-08-02 David S. Miller <davem@davemloft.net>
16893
16894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16895 (__nearbyint_vis3): Don't check for sNaN before float register is
16896 loaded with the incoming argument.
16897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16898 (__nearbyintf_vis3): Likewise.
16899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
16900 Likewise.
16901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
16902 Likewise.
16903
16904 * string/test-strncmp.c (do_test_limit): Make sure the test data
16905 stream is aligned as required for the type "CHAR".
16906 (do_test): Likewise.
16907
16908 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
16909
16910 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
16911 by beq instructions jumping to the end of the function.
16912 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
16913 clobber list. Use "i" constraint instead of "X".
16914 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
16915 of "X".
16916
16917 2016-08-02 Joseph Myers <joseph@codesourcery.com>
16918
16919 * bits/libc-header-start.h: New file.
16920 * Makefile (headers): Add bits/libc-header-start.h.
16921 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
16922 (__GLIBC_USE): New macro.
16923 * libio/stdio.h: Define
16924 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16925 <bits/libc-header-start.h> instead of including <features.h>.
16926 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
16927 (open_memstream): Likewise.
16928 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
16929 (__asprintf): Likewise.
16930 (asprintf): Likewise.
16931 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
16932 (getdelim): Likewise.
16933 (getline): Likewise.
16934 * string/string.h: Define
16935 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16936 <bits/libc-header-start.h> instead of including <features.h>.
16937 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
16938 (strndup): Likewise.
16939 * wcsmbs/wchar.h: Define
16940 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16941 <bits/libc-header-start.h> instead of including <features.h>.
16942 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
16943 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
16944
16945 2016-08-02 Florian Weimer <fweimer@redhat.com>
16946
16947 Support linking against compatibility symbols, for use in tests.
16948 * include/libc-symbols.h (symbol_version_reference): New macro.
16949 (symbol_version): Use it.
16950 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
16951 (compat_symbol): Use compat_symbol_reference.
16952 (compat_symbol_1, compat_symbol_2): Remove.
16953 (compat_symbol_reference, compat_symbol_reference_1)
16954 (compat_symbol_reference_2): New macro. Use
16955 symbol_version_reference.
16956
16957 2016-08-02 Florian Weimer <fweimer@redhat.com>
16958
16959 [BZ #19469]
16960 * malloc/Makefile (CPPFLAGS): Compile tests with
16961 -DTEST_NO_MALLOPT.
16962 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
16963
16964 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
16965
16966 [BZ #20033]
16967 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
16968 finite version.
16969 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
16970 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
16971 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
16972 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
16973 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
16974 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
16975 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
16976 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
16977 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
16978 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
16979 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
16980 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
16981 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
16982 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
16983 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
16984 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
16985 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
16986 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
16987 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
16988 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
16989 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
16990 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
16991 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
16992 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
16993 in zero power.
16994
16995 2016-08-02 Florian Weimer <fweimer@redhat.com>
16996
16997 [BZ #20370]
16998 * malloc/arena.c (get_free_list): Update comment. Assert that
16999 arenas on the free list have no attached threads.
17000 (remove_from_free_list): New function.
17001 (reused_arena): Call it.
17002
17003 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
17004
17005 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17006 when it is a NaN.
17007 [_IEEE_FP_INEXACT] Remove.
17008 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17009 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17010 when it is a NaN.
17011 [_IEEE_FP_INEXACT] Remove.
17012 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17013 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17014 when it is a NaN.
17015 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17016 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17017 when its absolute value is greater than 0x1.0p52.
17018 [_IEEE_FP_INEXACT] Remove.
17019 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17020 when its absolute value is greater than 0x1.0p23.
17021 [_IEEE_FP_INEXACT] Remove.
17022
17023 2016-08-01 Carlos O'Donell <carlos@redhat.com>
17024
17025 * version.h (RELEASE): Set to "development"
17026 (VERSION): Set to 2.24.90.
17027 * NEWS: Add 2.25 section.
17028
17029 * version.h (RELEASE): Set to "stable"
17030 (VERSION): Set to 2.24.
17031 * include/features.h (__GLIBC_MINOR__): Set to 24.
17032
17033 * NEWS: Add 2.24 fixed bugs.
17034 * po/libc.pot: Regenerate.
17035
17036 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
17037
17038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17039 [$(subdir) = math] (libm-sysdep_routines): Remove.
17040 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17041 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17042 s_truncf-vis3, s_trunc-vis3.
17043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17045 file.
17046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17079 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17080 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17081 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17082 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17083 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17084 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17085 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17086 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17087 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17088 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17089
17090 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
17091
17092 [BZ #20384]
17093 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17094 test-double-libmvec-sincos-avx-main.o,
17095 test-double-libmvec-sincos-avx2-main.o,
17096 test-double-libmvec-sincos-main.o,
17097 test-float-libmvec-sincosf-avx-main.o,
17098 test-float-libmvec-sincosf-avx2-main.o and
17099 test-float-libmvec-sincosf-main.o.
17100 test-float-libmvec-sincosf-avx512-main.o.
17101 ($(objpfx)test-double-libmvec-sincos): Also link with
17102 $(objpfx)test-double-libmvec-sincos-main.o.
17103 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17104 $(objpfx)test-double-libmvec-sincos-avx-main.o.
17105 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17106 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17107 ($(objpfx)test-float-libmvec-sincosf): Also link with
17108 $(objpfx)test-float-libmvec-sincosf-main.o.
17109 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17110 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17111 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17112 test-double-libmvec-sincos-avx512-main.o and
17113 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17114 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17115 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17116 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17117 (CFLAGS-test-double-libmvec-sincos.c): Removed.
17118 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17119 (CFLAGS-test-double-libmvec-sincos-main.c): New.
17120 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17121 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17122 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17123 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17124 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17125 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17126 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17127 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17128 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17129 -DREQUIRE_AVX2.
17130 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17131 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17132 -DREQUIRE_AVX512F.
17133 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17134 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17135 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17136 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17137 file.
17138 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17139 Likewise.
17140 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17141 Likewise.
17142 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17143 Likewise.
17144 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17145 Likewise.
17146 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17147 Likewise.
17148 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17149 Likewise.
17150 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17151 Likewise.
17152
17153 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
17154
17155 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17156
17157 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
17158
17159 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17160 and typo in a comment about AT_HWCAP entry.
17161
17162 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17163
17164 * sysdeps/aarch64/libm-test-ulps: Updated.
17165
17166 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
17167
17168 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17169 of r13 as it is not restored in mvcle case.
17170
17171 2016-07-19 Mike Frysinger <vapier@gentoo.org>
17172
17173 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17174 Rename "ret" to "__ret".
17175 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17176 inline_syscall5, inline_syscall6): Likewise.
17177
17178 2016-07-19 Will Newton <will.newton@gmail.com>
17179
17180 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17181 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17182 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17183 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17184 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17185
17186 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17189 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17190 -mfpmath=387 with $(rtld-CFLAGS).
17191 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17192 $(rtld-CFLAGS).
17193
17194 2016-07-18 Ross Burton <ross.burton@intel.com>
17195 Khem Raj <raj.khem@gmail.com>
17196
17197 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17198 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17199 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17200 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17201 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17202 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17203 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17204 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17205 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17206 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17207 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17208 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17209 R_METAG_TLS_DTPOFF): New.
17210
17211 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
17212 Matt Clay <mclay@lycos.com>
17213
17214 [BZ #20357]
17215 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17216 to call __mpsin/__mpcos and to negate values.
17217 * math/auto-libm-test-in: Add test.
17218 * math/auto-libm-test-out: Regenerate.
17219
17220 2016-07-18 Zack Weinberg <zackw@panix.com>
17221
17222 * grp/Makefile: Don't install the internal header grp-merge.h.
17223
17224 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17225
17226 * sysdeps/aarch64/libm-test-ulps: Regenerated.
17227
17228 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
17229
17230 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17231
17232 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17233
17234 [BZ #15368]
17235 * sysdeps/unix/sysv/linux/nptl-signals.h
17236 (__nptl_clear_internal_signals): New function.
17237 (__libc_signal_block_all): Likewise.
17238 (__libc_signal_block_app): Likewise.
17239 (__libc_signal_restore_set): Likewise.
17240 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17241 implementation.
17242 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17243 the cached pid/tid value in pthread structure.
17244
17245 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
17246
17247 [BZ #20347]
17248 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17249
17250 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
17251
17252 [BZ #20348]
17253 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17254 preadv64, pwrite64 and pwritev64.
17255
17256 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
17257
17258 [BZ #20350]
17259 * posix/tst-preadwrite.c: Renamed to ...
17260 * posix/tst-preadwrite-common.c: This.
17261 (PREAD): Removed.
17262 (PWRITE): Likewise.
17263 (STRINGIFY): Likewise.
17264 (STRINGIFY2): Likewise.
17265 (do_prepare): Make it static and remove function arguments.
17266 (do_test): Likewise.
17267 (PREPARE): Updated.
17268 (TEST_FUNCTION): New.
17269 (name): Make it static.
17270 (fd): Likewise.
17271 (do_prepare): Use create_temp_file.
17272 (do_test): Renamed to ...
17273 (do_test_with_offset): This. Make it static and accept offset.
17274 Properly check return value of PWRITE and PREAD. Return bytes
17275 read. Don't close fd nor unlink name.
17276 * posix/tst-preadwrite.c: Rewrite.
17277 * posix/tst-preadwrite64.c: Likewise.
17278
17279 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
17280
17281 [BZ #20309]
17282 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17283 -mtls-dialect=gnu2 works.
17284 * configure: Regenerated.
17285 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17286 (tests): Add tst-gnu2-tls1.
17287 (modules-names): Add tst-gnu2-tls1mod.
17288 ($(objpfx)tst-gnu2-tls1): New.
17289 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17290 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17291 * elf/tst-gnu2-tls1.c: New file.
17292 * elf/tst-gnu2-tls1mod.c: Likewise.
17293 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17294 bytes for push in the PLT entry to align the stack.
17295
17296 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
17297
17298 [BZ #20349]
17299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17300
17301 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
17302
17303 [BZ #18707]
17304 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17305 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17306
17307 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17308
17309 * sysdeps/unix/sysv/linux/sysdep.h
17310 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17311 guards.
17312 * misc/tst-preadvwritev-common.c: New file.
17313 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17314 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17315 a check for files larger than 2GB.
17316
17317 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17318 (__ASSUME_OFF_DIFF_OFF64): Remove define.
17319 * sysdeps/unix/sysv/linux/pread.c
17320 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17321 __OFF_T_MATCHES_OFF64_T.
17322 * sysdeps/unix/sysv/linux/pread64.c
17323 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17324 * sysdeps/unix/sysv/linux/preadv.c
17325 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17326 * sysdeps/unix/sysv/linux/preadv64.c
17327 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17328 * sysdeps/unix/sysv/linux/pwrite.c
17329 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17330 * sysdeps/unix/sysv/linux/pwrite64.c
17331 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17332 * sysdeps/unix/sysv/linux/pwritev.c
17333 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17334 * sysdeps/unix/sysv/linux/pwritev64.c
17335 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17336
17337 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
17338
17339 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17340 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17341
17342 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
17343
17344 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17345
17346 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
17347
17348 [BZ #20240]
17349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17350 (CFLAGS-s_modf-ppc32.c): New variable.
17351 (CFLAGS-s_modff-ppc32.c): Likewise.
17352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17353 (CFLAGS-s_modf-ppc64.c): Likewise.
17354 (CFLAGS-s_modff-ppc64.c): Likewise.
17355
17356 2016-07-07 Andreas Schwab <schwab@suse.de>
17357
17358 [BZ #20263]
17359 * nptl/tst-robust10.c: New test.
17360 * nptl/Makefile (tests): Add tst-robust10.
17361
17362 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
17363
17364 [BZ #20263]
17365 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17366
17367 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17368
17369 * sysdeps/s390/linkmap.h (struct link_map_machine):
17370 Remove member gotplt and add member jmprel.
17371 * sysdeps/s390/s390-32/dl-machine.h
17372 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17373 instead of gotplt with &got[3].
17374 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17375 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17376
17377 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
17378
17379 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17380
17381 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17382
17383 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17384 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17385 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17386 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17387 * libio/vtables.c (_IO_vtable_check)
17388 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17389 * libio/libioP.h (IO_set_accept_foreign_vtables)
17390 [!PTR_MANGLE]: Do not call PTR_MANGLE.
17391
17392 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
17393
17394 [BZ #20314]
17395 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17396 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17397 $(common-objpfx)cmath.
17398 ($(common-objpfx)cstdlib): New target.
17399 ($(common-objpfx)cmath): Likewise.
17400
17401 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
17402
17403 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17404
17405 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17406
17407 [BZ #20327]
17408 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17409 are not part of the string.
17410
17411 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17412
17413 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17414 * nptl/tst-cancel4-common.h (fifoname): New variable.
17415 (fifofd): Likewise.
17416 (cl_fifo): New function.
17417 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17418 SIGINT.
17419 (tf_open): Add early cancel test.
17420
17421 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
17422
17423 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17424
17425 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
17426
17427 * sysdeps/generic/ldsodefs.h
17428 (dl_symbol_visibility_binds_local_p): New inline function.
17429 * elf/dl-addr.c (determine_info): Treat hidden and internal
17430 symbols as local.
17431 * elf/dl-lookup.c (do_lookup_x): Likewise.
17432 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17433
17434 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
17435
17436 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17437 invalid exception for a sNaN input.
17438 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17439 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17440 (__nearbyint_vis3): Likewise
17441 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17442 (__nearbyintf_vis3): Likewise
17443 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17444 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17445 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17446 Likewise.
17447 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17448 Likewise.
17449
17450 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
17451
17452 [BZ #20139]
17453 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17454 (HAVE_AVX512DQ_ASM_SUPPORT): This.
17455 * sysdeps/x86_64/configure.ac: Require assembler from binutils
17456 2.24 or above.
17457 (HAVE_AVX512_ASM_SUPPORT): Removed.
17458 (HAVE_AVX512DQ_ASM_SUPPORT): New.
17459 * sysdeps/x86_64/configure: Regenerated.
17460 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17461 check unconditional.
17462 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17463 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17464 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17465 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17466 Likewise.
17467 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17468 Likewise.
17469 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17470 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17471 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17472 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17473 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17474 Likewise.
17475 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17476 Likewise.
17477 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17478 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17479 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17480 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17481 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17482 Likewise.
17483 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17484 Likewise.
17485 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17486 Likewise.
17487 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17488 Likewise.
17489 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17490 Likewise.
17491 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17492 Likewise.
17493 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17494 Likewise.
17495 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17496 Likewise.
17497 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17498 Likewise.
17499 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17500 Likewise.
17501 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17502 Likewise.
17503
17504 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
17505
17506 [BZ #20024]
17507 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17508 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17509 of this implementation of vector function.
17510 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17511 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17512 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17513 Likewise.
17514 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17515 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17516 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17517 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17518 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17519 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17520 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17521 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17522 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17523 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17524 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17525 for testing vector sincos with fixed ABI.
17526 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17527 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17528 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17529 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17530 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17531 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17532 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17533 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17534 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17535 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17536 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17537 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17538 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17539 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17540 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17541 * sysdeps/x86_64/fpu/Makefile: Added new tests.
17542
17543 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
17544
17545 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17546
17547 2016-06-30 Anton Blanchard <anton@samba.org>
17548
17549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17550 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17551 s_sinf-ppc64.
17552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17555 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17556
17557 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17558
17559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17561 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17562 e_expf-ppc64.
17563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17564 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17565 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17566 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17567
17568 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
17569
17570 [BZ #20277]
17571 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17572 when SHARED is defined.
17573
17574 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
17575
17576 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17577 (index_arch_Prefer_ERMS): Likewise.
17578 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17579 __memcpy_erms for Prefer_ERMS.
17580 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17581 (__memmove_erms): Enabled for libc.a.
17582 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17583 __memmove_erms or Prefer_ERMS.
17584 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17585 __mempcpy_erms for Prefer_ERMS.
17586 * sysdeps/x86_64/multiarch/memset.S (memset): Return
17587 __memset_erms for Prefer_ERMS.
17588
17589 2016-06-30 Andreas Schwab <schwab@suse.de>
17590
17591 [BZ #20262]
17592 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17593 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
17594 of memory.
17595
17596 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
17597
17598 [BZ #18645]
17599 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17600 (test-extras): Add tst-cleanupx4aux.
17601 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
17602 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17603 tst-cleanupx4aux.o.
17604 * nptl/tst-cleanupx4aux.c: New file.
17605
17606 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
17607
17608 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17609
17610 2016-06-29 Andreas Schwab <schwab@suse.de>
17611
17612 [BZ #20260]
17613 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17614 address before the beginning of the string as an integer to avoid
17615 array-bounds warning.
17616
17617 2016-06-28 Richard Henderson <rth@redhat.com>
17618
17619 * elf/elf.h (EM_BPF): New.
17620 (EM_NUM): Update.
17621 (R_BPF_NONE, R_BPF_MAP_FD): New.
17622
17623 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17624 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17625 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17626 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17627 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17628 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17629 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17630 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17631 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17632 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17633 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17634 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17635 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17636 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17637 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17638 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17639 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17640 (EM_NUM): Update.
17641
17642 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
17643
17644 [BZ #18960]
17645 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17646 Set _nl_current_LC_CATEGORY_used to two instead of one.
17647
17648 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
17649
17650 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17651 (do_test): ... this.
17652 (TEST_FUNCTION): New macro.
17653 Include test-skeleton.c.
17654 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17655 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17656
17657 2016-06-27 Joseph Myers <joseph@codesourcery.com>
17658
17659 [BZ #15479]
17660 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17661 floating-point environment rather than just control word.
17662 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17663 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17664 floating-point environment, with "invalid" exceptions merged in,
17665 rather than just control word.
17666 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17667 * math/libm-test.inc (trunc_test_data): Do not allow spurious
17668 "inexact" exceptions.
17669
17670 [BZ #15479]
17671 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17672 floating-point environment rather than just control word.
17673 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17674 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17675 floating-point environment, with "invalid" exceptions merged in,
17676 rather than just control word.
17677 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17678 * math/libm-test.inc (floor_test_data): Do not allow spurious
17679 "inexact" exceptions.
17680
17681 [BZ #15479]
17682 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17683 floating-point environment rather than just control word.
17684 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17685 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17686 floating-point environment, with "invalid" exceptions merged in,
17687 rather than just control word.
17688 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17689 * math/libm-test.inc (ceil_test_data): Do not allow spurious
17690 "inexact" exceptions.
17691
17692 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
17693
17694 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17695 __libc_vfork.
17696 (__vfork) [IS_IN (libc)]: Remove alias.
17697 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17698 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17699 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17700
17701 2016-06-24 Torvald Riegel <triegel@redhat.com>
17702
17703 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17704 of atomic_compare_and_exchange_bool_rel.
17705 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17706 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17707 catomic_compare_and_exchange_bool_rel): Remove.
17708 * sysdeps/aarch64/atomic-machine.h
17709 (atomic_compare_and_exchange_bool_rel): Likewise.
17710 * sysdeps/alpha/atomic-machine.h
17711 (atomic_compare_and_exchange_bool_rel): Likewise.
17712 * sysdeps/arm/atomic-machine.h
17713 (atomic_compare_and_exchange_bool_rel): Likewise.
17714 * sysdeps/mips/atomic-machine.h
17715 (atomic_compare_and_exchange_bool_rel): Likewise.
17716 * sysdeps/microblaze/atomic-machine.h
17717 ( __arch_compare_and_exchange_bool_8_rel,
17718 __arch_compare_and_exchange_bool_16_rel): Likewise.
17719 * sysdeps/powerpc/atomic-machine.h
17720 ( __arch_compare_and_exchange_bool_8_rel,
17721 __arch_compare_and_exchange_bool_16_rel): Likewise.
17722 * sysdeps/powerpc/powerpc32/atomic-machine.h
17723 ( __arch_compare_and_exchange_bool_32_rel,
17724 __arch_compare_and_exchange_bool_64_rel): Likewise.
17725 * sysdeps/powerpc/powerpc64/atomic-machine.h
17726 ( __arch_compare_and_exchange_bool_32_rel,
17727 __arch_compare_and_exchange_bool_64_rel): Likewise.
17728 * sysdeps/tile/atomic-machine.h
17729 (atomic_compare_and_exchange_bool_rel): Likewise.
17730
17731 2016-06-23 Joseph Myers <joseph@codesourcery.com>
17732
17733 [BZ #20296]
17734 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
17735 when either argument is a NaN.
17736 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17737 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
17738
17739 * math/libm-test.inc (snan_value_ld): New macro.
17740 (isgreater_test_data): Add sNaN tests.
17741 (isgreaterequal_test_data): Likewise.
17742 (isless_test_data): Likewise.
17743 (islessequal_test_data): Likewise.
17744 (islessgreater_test_data): Likewise.
17745 (isunordered_test_data): Likewise.
17746 (nextafter_test_data): Likewise.
17747 (nexttoward_test_data): Likewise.
17748 (remainder_test_data): Likewise.
17749 (remquo_test_data): Likewise.
17750 (significand_test_data): Likewise.
17751 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
17752
17753 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
17754
17755 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
17756 environment macros are defined.
17757 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
17758
17759 2016-06-23 Florian Weimer <fweimer@redhat.com>
17760
17761 [BZ #20191]
17762 Implement vtable verification in libio.
17763 * Makerules (shlib.lds): Place __libc_IO_vtables section.
17764 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
17765 * debug/vdprintf_chk.c (__vdprintf_chk): Call
17766 _IO_new_file_init_internal instead of _IO_file_init.
17767 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
17768 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
17769 * libio/Makefile (routines): Add vtables.
17770 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
17771 (_IO_init): Remove, not for internal use.
17772 (_IO_init_internal): Declare, internal replacement for _IO_init.
17773 (_IO_file_init): Remove, not for internal use.
17774 (_IO_new_file_init): Remove, not for internal use.
17775 (_IO_new_file_init_internal): Declare, internal replacement for
17776 _IO_new_file_init.
17777 (_IO_old_file_init): Remove, not for internal use.
17778 (_IO_old_file_init_internal): Declare, internal replacement for
17779 _IO_old_file_init.
17780 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
17781 internal use.
17782 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
17783 Declare.
17784 (libio_vtable): New macro.
17785 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
17786 functions.
17787 * libio/fileops.c (_IO_new_file_init_internal): Rename from
17788 _IO_new_file_init.
17789 (_IO_new_file_init): New externally visible wrapper which disables
17790 vtable verification.
17791 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
17792 Define as vtables.
17793 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
17794 (_IO_init): New externally visible wrapper which disables
17795 vtable verification.
17796 * libio/iofdopen.c (_IO_new_fdopen): Call
17797 _IO_new_file_init_internal instead of _IO_file_init. Adjust
17798 comment.
17799 * libio/iofopen.c (__fopen_internal): Call
17800 _IO_new_file_init_internal instead of _IO_file_init.
17801 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
17802 Define as vtables.
17803 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
17804 _IO_new_file_init_internal instead of _IO_file_init.
17805 * libio/iopopen.c (_IO_new_popen): Likewise.
17806 (_IO_proc_jumps): Define as vtable.
17807 * libio/iovdprintf.c (_IO_vdprintf): Call
17808 _IO_new_file_init_internal instead of _IO_file_init.
17809 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
17810 (__open_memstream): Call _IO_init_internal instead of _IO_init.
17811 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
17812 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
17813 _IO_old_file_init.
17814 (_IO_old_file_init): New externally visible wrapper which disables
17815 vtable verification.
17816 (_IO_old_file_jumps): Define as vtable.
17817 * libio/oldiofdopen.c (_IO_old_fdopen): Call
17818 _IO_old_file_init_internal instead of _IO_old_file_init.
17819 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17820 * libio/oldiopopen.c (_IO_old_popen): Likewise.
17821 (_IO_old_proc_jumps): Define as vtable.
17822 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
17823 Define as vtables.
17824 * libio/vtables.c: New file.
17825 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
17826 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
17827 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
17828 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
17829 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
17830 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
17831 instead of _IO_init.
17832
17833 2016-06-23 Florian Weimer <fweimer@redhat.com>
17834
17835 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
17836
17837 2016-06-23 Florian Weimer <fweimer@redhat.com>
17838
17839 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
17840 potentially unused.
17841
17842 2016-06-22 Florian Weimer <fweimer@redhat.com>
17843
17844 * test-skeleton.c (write_message): New function.
17845 * malloc/tst-mallocfork2.c (write_message): Remove.
17846 * debug/tst-longjmp_chk2.c (write_indented): New function.
17847 (write_message): Remove.
17848 (stackoverflow_handler): Call write_indented.
17849
17850 2016-06-22 Joseph Myers <joseph@codesourcery.com>
17851
17852 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
17853 "inexact" exceptions after fnstenv.
17854 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17855 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17856 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17857
17858 2015-06-22 Zack Weinberg <zackw@panix.com>
17859
17860 * sysdeps/generic/bits/hwcap.h: Moved to ...
17861 * bits/hwcap.h: Here.
17862
17863 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
17864
17865 * sysdeps/aarch64/memcpy.S (memcpy):
17866 Further tuning for performance.
17867
17868 2016-06-21 Florian Weimer <fweimer@redhat.com>
17869
17870 [BZ #20284]
17871 * malloc/arena.c (reused_arena): Do not return NULL if we start
17872 out with a non-corrupted arena.
17873
17874 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17875
17876 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
17877 * misc/tst-preadvwritev.c: New file.
17878 * misc/tst-preadvwritev64.c: Likewise.
17879 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
17880 usage.
17881 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
17882 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
17883 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
17884 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
17885
17886 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
17887
17888 [BZ #19654]
17889 * sysdeps/x86_64/fpu/Makefile: Added new tests.
17890 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
17891 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
17892 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
17893 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
17894 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
17895 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
17896 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
17897 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
17898 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
17899 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
17900 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
17901 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
17902 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
17903 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
17904 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
17905 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
17906 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
17907 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
17908 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
17909 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
17910 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
17911 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
17912 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
17913 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
17914 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
17915
17916 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
17917
17918 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
17919 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
17920
17921 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
17922
17923 * sysdeps/aarch64/memcpy.S (memcpy):
17924 Rewrite of optimized memcpy and memmove.
17925 * sysdeps/aarch64/memmove.S (memmove): Remove
17926 memmove code (merged into memcpy.S).
17927
17928 2016-06-20 Florian Weimer <fweimer@redhat.com>
17929
17930 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
17931 * sysdeps/generic/dl-dtv.h: New file.
17932 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17933 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
17934 (dtv_t): Remove.
17935 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17936 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
17937 (dtv_t): Remove.
17938 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17939 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
17940 (dtv_t): Remove.
17941 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17942 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
17943 (dtv_t): Remove.
17944 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17945 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
17946 (dtv_t): Remove.
17947 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17948 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
17949 (dtv_t): Remove.
17950 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17951 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
17952 (dtv_t): Remove.
17953 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
17954 (dtv_t): Remove.
17955 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17956 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
17957 (dtv_t): Remove.
17958 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17959 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
17960 (dtv_t): Remove.
17961 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17962 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
17963 (dtv_t): Remove.
17964 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17965 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
17966 (dtv_t): Remove.
17967 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17968 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
17969 (dtv_t): Remove.
17970 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17971 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
17972 (dtv_t): Remove.
17973 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17974 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
17975 (dtv_t): Remove.
17976 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17977 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
17978 (dtv_t): Remove.
17979
17980 2016-06-20 Florian Weimer <fweimer@redhat.com>
17981
17982 Revert symbol poisoning of __malloc_initialize_hook.
17983 * include/stdc-predef.h (__malloc_initialize_hook): Remove
17984 poisoning.
17985 * malloc/Makefile: Remove un-poisoning.
17986 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
17987 instead of old__malloc_initialize_hook.
17988 * malloc/malloc-hooks.h: Likewise.
17989 * malloc/malloc.c: Likewise.
17990 * malloc/mcheck-init.c: Likewise.
17991
17992 2016-06-19 Carlos O'Donell <carlos@redhat.com>
17993
17994 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
17995
17996 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
17997
17998 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
17999 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18000 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18001 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18002
18003 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18004
18005 * NEWS: Mention addition of nextup and nextdown.
18006 * manual/arith.texi: Document nextup and nextdown.
18007 * manual/libm-err-tab.pl: Add nextup and nextdown.
18008 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18009 * math/Versions (libm): Add GLIBC_2.24.
18010 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18011 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18012 Add new test.
18013 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18014 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18015 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18016 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18017 (nextup_test_data): Likewise.
18018 (nextdown_test_data): Likewise.
18019 * math/s_nextdown.c: New file.
18020 * math/s_nextdownf.c: Likewise.
18021 * math/s_nextdownl.c: Likewise.
18022 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18023 F(nextup): New function.
18024 F(nextdown): Likewise.
18025 * math/tgmath.h: Add nextup and nextdown.
18026 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18027 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18029 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18032 Add nextup and nextdown.
18033 (CFLAGS-nldbl-nextup.c): New variable.
18034 (CFLAGS-nldbl-nextdown.c): Likewise.
18035 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18036 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18037 * sysdeps/nacl/libm.abilist: Update.
18038 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18052 Likewise.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18066
18067 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18068
18069 * manual/pattern.texi: Fix typos & grammar errors.
18070
18071 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18072
18073 * manual/search.texi: Fix typos & grammar errors.
18074
18075 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18076
18077 * manual/message.texi: Fix typos & grammar errors.
18078
18079 2016-06-16 Mike Frysinger <vapier@gentoo.org>
18080
18081 * manual/contrib.texi: Fix spelling typos.
18082 * manual/crypt.texi: Likewise.
18083 * manual/filesys.texi: Likewise.
18084 * manual/locale.texi: Likewise.
18085 * manual/message.texi: Likewise.
18086 * manual/nss.texi: Likewise.
18087 * manual/string.texi: Likewise.
18088
18089 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18090
18091 * manual/locale.texi: Fix typos & grammar errors.
18092
18093 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18094
18095 * manual/charset.texi: Fix typos & grammar errors.
18096
18097 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18098
18099 * manual/string.texi: Fix typos.
18100
18101 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18102
18103 * manual/ctype.texi: Fix typos.
18104
18105 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
18106
18107 * manual/memory.texi: Fix various typos & grammar errors.
18108
18109 2016-06-14 Joseph Myers <joseph@codesourcery.com>
18110
18111 [BZ #20255]
18112 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
18113 * math/libm-test.inc (fdim_test_data): Add another test.
18114
18115 [BZ #6796]
18116 [BZ #20255]
18117 [BZ #20256]
18118 * math/s_fdim.c: Include <math_private.h>.
18119 (__fdim): Use math_narrow_eval on result.
18120 * math/s_fdimf.c: Include <math_private.h>.
18121 (__fdimf): Use math_narrow_eval on result.
18122 * sysdeps/i386/fpu/s_fdim.S: Remove file.
18123 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18124 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18125 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18126 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18127 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18128 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18129 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18130 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18131 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18132 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18133 * math/libm-test.inc (fdim_test_data): Expect errno setting on
18134 overflow. Add sNaN tests.
18135
18136 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18137 fpclassify.
18138 * math/s_fdimf.c (__fdimf): Likewise.
18139 * math/s_fdiml.c (__fdiml): Likewise.
18140
18141 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18142
18143 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18144 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18146 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18147 ifunc'ed strcasecmp/strncasecmp.
18148 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18149 [EALIGN]: Removed.
18150 [END]: Likewise.
18151 [__strcasecmp]: Define instead of the above to control symbol name.
18152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18153 for __strcasecmp_power8.
18154 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18155 for __strncasecmp_power8.
18156 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18157 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18158 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18159 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18160 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18161 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18162
18163 2016-06-13 Joseph Myers <joseph@codesourcery.com>
18164
18165 [BZ #20252]
18166 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18167 arguments when second argument is a NaN.
18168 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18169 qNaN tests.
18170
18171 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18172 (conj_test_data): Likewise.
18173 (copysign_test_data): Likewise.
18174 (creal_test_data): Likewise.
18175 (fma_test_data): Likewise.
18176 (fmod_test_data): Likewise.
18177
18178 [BZ #20250]
18179 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18180 itself.
18181 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18182 zero input to itself.
18183 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18184 Likewise.
18185 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18186 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18188 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18189 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18190
18191 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18192
18193 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18194 * nptl/tst-cancel4-common.c: New file.
18195 * nptl/tst-cancel4-common.h: Likewise.
18196 * nptl/tst-cancel4.c: Move common definitions to
18197 tst-cancel4-common.{c,h} file.
18198 * nptl/tst-cancel4_1.c: New test.
18199 * nptl/tst-cancel4_2.c: New test.
18200
18201 2016-06-13 Florian Weimer <fweimer@redhat.com>
18202
18203 [BZ #20248]
18204 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18205 (write_message): New function.
18206 (stackoverflow_handler): Call it instead of printf, to avoid
18207 excessive stack usage by printf.
18208 (do_test): Restore SIGSEGV, SIGBUS default handlers.
18209
18210 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18211
18212 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18213 (prio_inherit_missing): Remove define.
18214 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18215 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18216 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18217 Likewise.
18218 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18219 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18220 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18221 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18222 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18223 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18224
18225 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18226
18227 [BZ #19670]
18228 [BZ #19672]
18229
18230 * io/test-lfs.c (do_prepare): Use xmalloc.
18231 * io/tst-fcntl.c (do_prepare): Likewise.
18232 * libio/tst-fopenloc.c (do_bz17916): Likewise.
18233 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18234 * login/tst-utmp.c (do_prepare): Likewise.
18235 * posix/tst-exec.c (do_prepare): Likewise.
18236 * posix/tst-pathconf.c (prepare): Likewise.
18237 * posix/tst-spawn.c (do_prepare): Likewise.
18238 * posix/tst-truncate.c (do_prepare): Likewise.
18239 * rt/tst-aio.c (do_prepare): Likewise.
18240 * rt/tst-aio64.c (do_prepare): Likewise.
18241
18242 2016-06-11 Florian Weimer <fweimer@redhat.com>
18243
18244 [BZ #20237]
18245 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18246 (get*ent): Set entidx to NULL during initialization. If entidx is
18247 NULL, start iteration from the beginning.
18248
18249 2016-06-11 Florian Weimer <fweimer@redhat.com>
18250
18251 * malloc/malloc.c (musable): Return correct size for dumped fake
18252 mmapped chunk.
18253
18254 2016-06-11 Florian Weimer <fweimer@redhat.com>
18255
18256 [BZ #20222]
18257 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18258 (_IO_cookie_write): Likewise.
18259 (_IO_cookie_seek): Likewise.
18260 (_IO_cookie_close): Likewise.
18261 (_IO_old_cookie_seek): Likewise.
18262 (set_callbacks): New function.
18263 (_IO_cookie_init): Call set_callbacks to copy callbacks.
18264
18265 2016-06-11 Marko Myllynen <myllynen@redhat.com>
18266
18267 * locale/programs/localedef.c (oldstyle_tables): Remove.
18268 * locale/programs/localedef.h (oldstyle_tables): Likewise.
18269
18270 2016-06-10 Joseph Myers <joseph@codesourcery.com>
18271
18272 [BZ #20240]
18273 * math/Makefile (CFLAGS-s_modf.c): New variable.
18274 (CFLAGS-s_modff.c): Likewise.
18275 (CFLAGS-s_modfl.c): Likewise.
18276 * math/libm-test.inc (modf_test_data): Add sNaN tests.
18277
18278 2016-06-09 Carlos O'Donell <carlos@redhat.com>
18279
18280 [BZ #20215]
18281 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18282 [!__GNUC_PREREQ (3,2)]: Likewise.
18283
18284 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
18285
18286 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18287 (msghdr.msg_controllen): Likewise.
18288 (cmsghdr.cmsg_len): Likewise.
18289 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18290 ptw-oldsendmsg.
18291 (CFLAGS-oldrecvmsg.c): Remove rule.
18292 (CFLAGS-oldsendmsg.c): Likewise.
18293 (CFLAGS-recvmsg.c): Add rule.
18294 (CFLAGS-sendmsg.c): Likewise.
18295 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18296 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18297 (CFLAGS-recvmsg.c): Remove rule.
18298 (CFLAGS-sendmsg.c): Likewise.
18299 (CFLAGS-oldrecvmsg.c): Likewise.
18300 (CFLAGS-oldsendmsg.c): Likewise.
18301 (CFLAGS-recvmmsg.c): Likewise.
18302 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18303 to kernel defined interfaces.
18304 (msghdr.msg_controllen): Likewise.
18305 (cmsghdr.cmsg_len): Likewise.
18306 (msghdr.__glibc_reserved1): Remove member.
18307 (msghdr.__glibc_reserved2): Likewise.
18308 (cmsghdr.__glibc_reserved1): Likewise.
18309 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18310 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18311 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18312 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18313 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18314 version.
18315 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18316 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18317 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18318 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18319 Remove recvmsg and sendmsg.
18320 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18321 Likewise.
18322 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18323 Likewise.
18324 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18325 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18326 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18327 Likewise.
18328 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18329 Likewise.
18330 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18331 [libc] (GLIBC_2.24): Likewise.
18332 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18333 Likewise.
18334 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18335 Likewise.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18337 [libc] (GLIBC_2.24): Likewise.
18338 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18339 Likewise.
18340 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18341 Likewise.
18342 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18343 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18348 Likewise.
18349 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18350 Likewise.
18351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18352 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18353 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18354 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18355 version for {recv,send,recm,sendm}msg.
18356 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18357 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18358 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18359 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18360 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18361 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18369 Likewise.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18371 Likewise.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18377 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18383 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18384 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18385
18386 2016-06-10 Florian Weimer <fweimer@redhat.com>
18387
18388 [BZ #19564]
18389 Remove __malloc_initialize_hook from the API.
18390 * malloc/malloc.h (__malloc_initialize_hook): Remove.
18391 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18392 #pragma GCC poison.
18393 * malloc/malloc-hooks.h: New file.
18394 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18395 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18396 (old__malloc_initialize_hook): Rename from
18397 __malloc_initialize_hook to evade poisoning. Turn into compat
18398 symbol.
18399 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18400 __malloc_initialize_hook.
18401 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18402 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18403 * manual/memory.texi (Hooks for Malloc): Remove
18404 __malloc_initialize_hook. Adjust hook example.
18405
18406 2016-06-09 Joseph Myers <joseph@codesourcery.com>
18407
18408 [BZ #20235]
18409 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18410 itself.
18411 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18412 * math/libm-test.inc (log2_test_data): Add sNaN tests.
18413
18414 [BZ #20234]
18415 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18416 infinity or NaN input to itself.
18417
18418 [BZ #20233]
18419 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18420 to itself.
18421
18422 [BZ #20232]
18423 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18424 itself.
18425
18426 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
18427
18428 * sysdeps/x86_64/start.S (_start): Always indirect branch to
18429 __libc_start_main via GOT.
18430
18431 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
18432
18433 * sysdeps/x86_64/memcopy.h: New file.
18434 * sysdeps/x86_64/wordcopy.c: Likewise.
18435
18436 2016-06-09 Florian Weimer <fweimer@redhat.com>
18437
18438 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18439 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18440 <cstdlib>.
18441 (optimization_barrier): New.
18442 (do_test): Use it. Call quick_exit in the global namespace.
18443 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18444 instead of <cstdlib>, <thread>.
18445 (optimization_barrier): New.
18446 (non_main_thread): Adjust declaration. Call optimization_barrier.
18447 Call quick_exit in the global namespace.
18448 (do_test): Call optimization_barrier. Use pthread_create,
18449 pthread_join instead of std::thread.
18450
18451 2016-06-09 Andreas Schwab <schwab@suse.de>
18452
18453 [BZ #19755]
18454 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18455 new entries in auto-propagate mode.
18456 * nscd/grpcache.c (cache_addgr): Likewise.
18457
18458 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
18459
18460 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18461 New functions.
18462 (add_temp_file): Use them.
18463
18464 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
18465
18466 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18467
18468 2016-06-08 Joseph Myers <joseph@codesourcery.com>
18469
18470 [BZ #20229]
18471 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18472 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18473 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18474
18475 [BZ #20228]
18476 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18477 itself.
18478 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18479 * math/libm-test.inc (log10_test_data): Add sNaN tests.
18480
18481 [BZ #20227]
18482 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18483 itself.
18484 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18485 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18486 * math/libm-test.inc (log_test_data): Add sNaN tests.
18487
18488 [BZ #20226]
18489 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18490 itself.
18491 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18492 * math/libm-test.inc (exp_test_data): Add sNaN tests.
18493 (exp10_test_data): Likewise.
18494 (expm1_test_data): Likewise.
18495
18496 [BZ #20225]
18497 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18498 itself.
18499 * math/s_ldexpf.c (__ldexpf): Likewise.
18500 * math/s_ldexpl.c (__ldexpl): Likewise.
18501 * math/w_scalbln.c (__w_scalbln): Likewise.
18502 * math/w_scalblnf.c (__w_scalblnf): Likewise.
18503 * math/w_scalblnl.c (__w_scalblnl): Likewise.
18504 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18505 (scalbln_test_data): Likewise.
18506
18507 [BZ #20224]
18508 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18509 argument to itself.
18510 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18511
18512 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
18513
18514 [BZ #19776]
18515 * sysdeps/x86_64/memcpy.S: Make it dummy.
18516 * sysdeps/x86_64/mempcpy.S: Likewise.
18517 * sysdeps/x86_64/memmove.S: New file.
18518 * sysdeps/x86_64/memmove_chk.S: Likewise.
18519 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18520 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18521 * sysdeps/x86_64/memmove.c: Removed.
18522 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18523 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18524 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18525 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18526 Likewise.
18527 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18528 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18530 memcpy-sse2-unaligned, memmove-avx-unaligned,
18531 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18533 (__libc_ifunc_impl_list): Replace
18534 __memmove_chk_avx512_unaligned_2 with
18535 __memmove_chk_avx512_unaligned. Remove
18536 __memmove_chk_avx_unaligned_2. Replace
18537 __memmove_chk_sse2_unaligned_2 with
18538 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
18539 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
18540 with __memmove_avx512_unaligned. Replace
18541 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18542 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
18543 with __memcpy_chk_avx512_unaligned. Remove
18544 __memcpy_chk_avx_unaligned_2. Replace
18545 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18546 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
18547 Replace __memcpy_avx512_unaligned_2 with
18548 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
18549 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
18550 with __mempcpy_chk_avx512_unaligned. Remove
18551 __mempcpy_chk_avx_unaligned_2. Replace
18552 __mempcpy_chk_sse2_unaligned_2 with
18553 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
18554 Replace __mempcpy_avx512_unaligned_2 with
18555 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
18556 Replace __mempcpy_sse2_unaligned_2 with
18557 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
18558 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18559 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18560 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18561 if processor has ERMS. Default to __memcpy_sse2_unaligned.
18562 (ENTRY): Removed.
18563 (END): Likewise.
18564 (ENTRY_CHK): Likewise.
18565 (libc_hidden_builtin_def): Likewise.
18566 Don't include ../memcpy.S.
18567 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18568 __memcpy_chk_avx512_unaligned_erms and
18569 __memcpy_chk_avx512_unaligned. Use
18570 __memcpy_chk_avx_unaligned_erms and
18571 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18572 Default to __memcpy_chk_sse2_unaligned.
18573 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18574 Change function suffix from unaligned_2 to unaligned.
18575 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18576 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18577 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18578 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
18579 (ENTRY): Removed.
18580 (END): Likewise.
18581 (ENTRY_CHK): Likewise.
18582 (libc_hidden_builtin_def): Likewise.
18583 Don't include ../mempcpy.S.
18584 (mempcpy): New. Add a weak alias.
18585 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18586 __mempcpy_chk_avx512_unaligned_erms and
18587 __mempcpy_chk_avx512_unaligned. Use
18588 __mempcpy_chk_avx_unaligned_erms and
18589 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18590 Default to __mempcpy_chk_sse2_unaligned.
18591
18592 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
18593
18594 [BZ #19881]
18595 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18596 into ...
18597 * sysdeps/x86_64/memset.S: This.
18598 (__bzero): Removed.
18599 (__memset_tail): Likewise.
18600 (__memset_chk): Likewise.
18601 (memset): Likewise.
18602 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18603 defined.
18604 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18605 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18606 (__memset_zero_constant_len_parameter): Check SHARED instead of
18607 PIC.
18608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18609 memset-avx2 and memset-sse2-unaligned-erms.
18610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18611 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18612 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18613 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18614 (__bzero): Enabled.
18615 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18616 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18617 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
18618 or __memset_avx2_unaligned_erms if processor has ERMS. Support
18619 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18620 (memset): Removed.
18621 (__memset_chk): Likewise.
18622 (MEMSET_SYMBOL): New.
18623 (libc_hidden_builtin_def): Replace __memset_sse2 with
18624 __memset_sse2_unaligned.
18625 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18626 __memset_chk_sse2 and __memset_chk_avx2 with
18627 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18628 Use __memset_chk_sse2_unaligned_erms or
18629 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
18630 __memset_chk_avx512_unaligned_erms and
18631 __memset_chk_avx512_unaligned.
18632
18633 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18634
18635 * math/gen-auto-libm-test.c (fp_format_desc): remove
18636 suffix member.
18637 (output_generic_value): Remove usage of suffix member,
18638 and the resulting unuse of the fp_format argument.
18639 (output_for_one_input_case): Remove unused fp_format
18640 parameter.
18641
18642 * math/auto-libm-test-out: Regenerate.
18643
18644 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18645 usage with TEST_COND_ibm128.
18646 (TEST_COND_flt_32): Remove.
18647 (TEST_COND_dbl_64): Remove.
18648 (TEST_COND_ldbl_96_intel): Remove.
18649 (TEST_COND_ldbl_96_m68k): Remove.
18650 (TEST_COND_ldbl_128): Remove.
18651
18652 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18653
18654 * auto-libm-test-in:
18655 Replace flt-32 usage with binary32.
18656 Replace dbl-64 usage with binary64.
18657 Replace ldbl-intel-96 usage with intel96.
18658 Replace ldbl-m68k-96 usage with m68k96.
18659 Replace ldbl-128ibm usage with ibm128.
18660 Replace ldbl-128 usage with binary128.
18661
18662 * auto-libm-test-out: Regenerate.
18663
18664 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18665
18666 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18667 (parse_ulps): Dynamically generate type name matching
18668 string from all_floats.
18669 (get_ulps): Generate the ulps as an array instead.
18670 (output_ulps): Dynamically compose the type based
18671 on the number of supported formats, and print
18672 the indices as type specific helper macros.
18673
18674 * math/libm-test.inc: Remove comment about CHOOSE.
18675 (ulp_data): Generate the type in libm-test-ulps.h.
18676 (ULP_IDX): New macro.
18677 (find_ulps): Update usage of max_ulp.
18678
18679 * math/test-double-vlen2.h (CHOOSE): Remove.
18680 * math/test-double-vlen4.h (CHOOSE): Likewise.
18681 * math/test-double-vlen8.h (CHOOSE): Likewise.
18682 * math/test-float.c (CHOOSE): Likewise.
18683 * math/test-float-finite.c (CHOOSE): Likewise.
18684 * math/test-double.c (CHOOSE): Likewise.
18685 * math/test-double-finite.c (CHOOSE): Likewise.
18686 * math/test-idouble.c (CHOOSE): Likewise.
18687 * math/test-ifloat.c (CHOOSE): Likewise.
18688 * math/test-ildoubl.c (CHOOSE): Likewise.
18689 * math/test-ldouble-finite.c (CHOOSE): Likewise.
18690 * math/test-ldouble.c (CHOOSE): Likewise.
18691
18692 * math/test-float.h (TEST_FLOAT): Remove.
18693 * math/test-double.h (TEST_DOUBLE): Likewise.
18694 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18695
18696 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18697
18698 * math/gen-libm-test.pl: (apply_lit): New subroutine.
18699 (parse_args): Strip C suffix from floating point literals
18700 typed with 'f' and wrap them with LIT().
18701
18702 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18703 (test_ff_f_data_nexttoward): Rename to
18704 (test_fj_f_data): New struct.
18705 (nexttoward_test_data): Relabel tests as
18706 TEST_fj_f instead of TEST_ff_f.
18707
18708 2016-06-08 Florian Weimer <fweimer@redhat.com>
18709
18710 Emacs bug 23726.
18711 * malloc/malloc.c (dumped_main_arena_start): Update comment.
18712 (__libc_realloc): Correct size computation for dumped fake mmapped
18713 chunks.
18714
18715 2016-06-07 Joseph Myers <joseph@codesourcery.com>
18716
18717 [BZ #20219]
18718 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
18719 to itself.
18720 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
18721
18722 [BZ #20218]
18723 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
18724 to itself.
18725 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
18726
18727 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 [BZ #20195]
18730 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
18731 check to ...
18732 (init_cpu_features): Here.
18733
18734 2016-06-07 Carlos O'Donell <carlos@redhat.com>
18735
18736 [BZ #20214]
18737 * sysdeps/unix/sysv/linux/bits/in.h
18738 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18739 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
18740 Define to 1.
18741 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18742 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
18743 Define to 0.
18744 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
18745 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
18746
18747 2016-06-06 Carlos O'Donell <carlos@redhat.com>
18748
18749 [BZ #20198]
18750 * stdlib/Makefile (tests): Add tst-quick_exit, and
18751 tst-thread-quick_exit.
18752 [ifeq ($(have-cxx-thread_local),yes)]
18753 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
18754 (CFLAGS-tst-thread-quick_exit.o): Likewise.
18755 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
18756 (LDLIBS-tst-thread-quick_exit): Likewise.
18757 [ifneq ($(have-cxx-thread_local),yes)]
18758 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
18759 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
18760 If run_dtors is true call __call_tls_dtors.
18761 (exit): Call __run_exit_handlers with run_dtors set to true.
18762 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
18763 definition.
18764 * stdlib/quick_exit.c (quick_exit): Remove function.
18765 (__new_quick_exit): New function.
18766 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
18767 function.
18768 * stdlib/tst-quick_exit.cc: New file.
18769 * stdlib/tst-thread-quick_exit.cc: New file.
18770 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
18771 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
18772 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
18773 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
18774 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
18775 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
18776 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
18777 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
18778 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
18779 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
18780 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
18781 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
18782 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
18783 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
18784 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
18785 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
18790 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
18791 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
18792 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
18793 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
18794 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
18795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
18796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
18797 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
18798 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
18799 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
18800
18801 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
18802
18803 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
18804 a typo in comments.
18805
18806 2016-06-06 Joseph Myers <joseph@codesourcery.com>
18807
18808 [BZ #20213]
18809 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
18810 argument to itself.
18811 * math/libm-test.inc (asin_test_data): Add sNaN tests.
18812
18813 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18814
18815 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
18816 required flags.
18817 (CFLAGS-pwritev64.c): Likewise.
18818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
18819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18820 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
18821 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18822 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
18823 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
18824 syscall from auto-generation.
18825 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
18826 [WORDSIZE == 64] (pwritev64): Remove macro.
18827 [!PWRITEV] (PWRITEV): Likewise.
18828 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18829 [!PWRITEV] (PWRITE): Likewise.
18830 [!PWRITEV] (OFF_T): Likewise.
18831 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18832 (LO_HI_LONG): Remove macro.
18833 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
18834 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
18835 (PWRITEV): Remove macro.
18836 (PWRITEV_REPLACEMENTE): Likewise.
18837 (PWRITE): Likewise.
18838 (OFF_T): Likewise.
18839 (pwritev64): New function.
18840 * nptl/tst-cancel4.c (tf_writev): Add test.
18841
18842 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
18843 required flags.
18844 (CFLAGS-preadv64.c): Likewise.
18845 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
18846 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18847 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
18848 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
18849 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
18850 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
18851 syscall from auto-generation.
18852 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
18853 [WORDSIZE == 64] (preadv64): Remove macro.
18854 [!PREADV] (PREADV): Likewise.
18855 [!PREADV] (PREADV_REPLACEMENT): Likewise.
18856 [!PREADV] (PREAD): Likewise.
18857 [!PREADV] (OFF_T): Likewise.
18858 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
18859 (LO_HI_LONG): Remove macro.
18860 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
18861 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
18862 (PREADV): Remove macro.
18863 (PREADV_REPLACEMENTE): Likewise.
18864 (PREAD): Likewise.
18865 (OFF_T): Likewise.
18866 (preadv64): New function.
18867 * nptl/tst-cancel4.c (tf_preadv): Add test.
18868
18869 2016-06-06 Joseph Myers <joseph@codesourcery.com>
18870
18871 [BZ #20212]
18872 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
18873 argument to itself.
18874 * math/libm-test.inc (acos_test_data): Add sNaN tests.
18875
18876 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18877
18878 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
18879 New symbol defined as libc_hidden_def.
18880 (strcasestr): Became a weak alias to __strcasestr.
18881 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
18882 according to multi-arch support. Move __stpncpy hidden
18883 definition from here to...
18884 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
18885 symbol stpncpy.
18886 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
18887 libc_hidden_builtin_def.
18888 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
18889 memset symbol to use when multi-arch support is available.
18890
18891 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
18892
18893 * dlfcn/tst-rec-dlopen.c: Include string.h.
18894
18895 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18896
18897 * manual/install.texi: Remove mention of --without-tls
18898 * INSTALL: Regenerate.
18899
18900 2016-06-05 Florian Weimer <fweimer@redhat.com>
18901
18902 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
18903 Remove.
18904 (call_function, interposed_malloc_called): New variables.
18905 (malloc): New function.
18906 (do_test): Do not change malloc hooks. Initialize malloc. Set
18907 and clear call_function as needed.
18908
18909 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
18910
18911 * include/wchar.h (__wmemset): Use __typeof.
18912
18913 2016-06-03 Carlos O'Donell <carlos@redhat.com>
18914
18915 * include/wchar.h (__wmemset): Declare function without typeof.
18916
18917 2016-06-03 Joseph Myers <joseph@codesourcery.com>
18918
18919 [BZ #20205]
18920 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
18921 exponent when incrementing negative subnormal with low mantissa
18922 word zero.
18923 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18924 Add another test.
18925
18926 2016-06-03 Florian Weimer <fweimer@redhat.com>
18927
18928 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
18929 __wmemset instead of wmemset.
18930
18931 2016-06-02 Carlos O'Donell <carlos@redhat.com>
18932
18933 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
18934 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
18935 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
18936 __USE_KERNEL_IPV6_DEFS to 0.
18937 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
18938 Update comment.
18939
18940 2016-06-01 Florian Weimer <fweimer@redhat.com>
18941
18942 [BZ #19861]
18943 Do not use IFUNC resolver with potentially unrelocated symbol.
18944 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
18945 (DEFINE_FORK): Remove macro and inline definition.
18946 (fork_alias): Renamed from fork_ifunc.
18947 (__fork_alias): Renamed from __fork_ifunc.
18948
18949 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
18950
18951 [BZ 19653]
18952 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
18953 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
18954
18955 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18956
18957 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
18958 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
18959 i386-linux-gnu).
18960 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
18961 Set to no.
18962 * sysdeps/mach/hurd/configure: Refresh.
18963
18964 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18965
18966 [BZ #20178]
18967 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
18968 on failure instead of exit.
18969
18970 2016-05-30 Roland McGrath <roland@hack.frob.com>
18971
18972 [BZ #3629]
18973 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
18974 of POSIX.1-2008.
18975
18976 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18977
18978 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
18979 Use PLT entry for calling _hurd_self_sigstate.
18980
18981 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
18982
18983 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
18984 available logical processors with SMT level type sharing L2
18985 cache for Intel processors.
18986
18987 2016-05-27 Joseph Myers <joseph@codesourcery.com>
18988
18989 [BZ #20160]
18990 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
18991 argument to itself before returning the result.
18992 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18993 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18994 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18995 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18996 Likewise.
18997 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18998 Likewise.
18999 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19000 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19001 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19002 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19003 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19004 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19005
19006 [BZ #20160]
19007 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19008 argument to itself before returning the result.
19009 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19010 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19011 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19012 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19013 Likewise.
19014 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19015 Likewise.
19016 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19017 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19018 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19019 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19020 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19021 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19022
19023 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19024
19025 * libm-test.inc: Replace usage of M_El with
19026 (lit_e): New macro.
19027
19028 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19029
19030 * libm-test.inc: Replace usage of M_PI_4l with
19031 (lit_pi_4_d): New macro.
19032
19033 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19034
19035 * libm-test.inc: Replace usage of M_PIl with
19036 (lit_pi): New macro.
19037
19038 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19039
19040 * libm-test.inc: Replace usage of M_PI2l with
19041 (lit_pi_2_d): New macro.
19042
19043 * math/test-double.h (LITM): New macro.
19044 * math/test-float.h (LITM): Likewise.
19045 * math/test-ldouble.h (LITM): Likewise.
19046
19047 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19048
19049 * libm-test.inc (M_PI_34l): Rename to
19050 (lit_pi_3_m_4_d): New Macro.
19051 (M_PI_34_LOG10El): Rename to
19052 (lit_pi_3_m_4_ln10_m_d): New Macro.
19053 (M_PI2_LOG10El): Rename to
19054 (lit_pi_2_ln10_m_d): New Macro.
19055 (M_PI4_LOG10El): Rename to
19056 (lit_pi_4_ln10_m_d): New Macro.
19057 (M_PI_LOG10El): Rename to
19058 (lit_pi_ln10_d): New Macro.
19059
19060 2016-05-27 Joseph Myers <joseph@codesourcery.com>
19061
19062 [BZ #20157]
19063 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19064 determine whether to negate low half if [_ARCH_PPCGR], and integer
19065 comparison otherwise.
19066 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19067 determine whether to negate low half.
19068
19069 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19070 (NO_TEST_INLINE_DOUBLE): Likewise.
19071 (TEST_COND_x86_64): Likewise.
19072 (TEST_COND_x86): Likewise.
19073 (M_PI_6l): Likewise.
19074
19075 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19076
19077 * math/libm-test.inc:
19078 (TEST_FLOAT): Change usage to TEST_COND_binary32.
19079 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19080 (TEST_LDOUBLE): Update usage to evaluate as true if
19081 the guarded tests match the property being tested.
19082 (LDBL_MAX_EXP): Change to MAX_EXP.
19083 (LDBL_MIN_EXP): Change to MIN_EXP.
19084 (LDBL_MANT_DIG): Change to MANT_DIG, except for
19085 nexttoward tests.
19086
19087 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19088
19089 * math/libm-test.inc:
19090 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19091 (TYPE_MIN): Likewise.
19092 (TYPE_TRUE_MIN): Likewise.
19093 (TYPE_MAX): Likewise.
19094 (MIN_EXP): Likewise.
19095 (MAX_EXP): Likewise.
19096 (MANT_DIG): Likewise.
19097
19098 (FSTR_MAX): New macro.
19099 (__CONCATX): Likewise.
19100 (QTYPE_STR): Likewise.
19101 (TEST_COND_binary32): Likewise.
19102 (TEST_COND_binary64): Likewise.
19103 (TEST_COND_binary128): Likewise.
19104 (TEST_COND_ibm128): Likewise.
19105 (TEST_COND_intel96): Likewise.
19106 (TEST_COND_m68k96): Likewise.
19107
19108 (TEST_COND_flt_32): Redefine as equivalent format test macro.
19109 (TEST_COND_dbl_64): Likewise.
19110 (TEST_COND_ldbl_96_intel): Likewise.
19111 (TEST_COND_ldbl_96_m68k): Likewise.
19112 (TEST_COND_ldbl_128): Likewise.
19113 (TEST_COND_ldbl_128ibm): Likewise.
19114
19115 (plus_zero): Redefine using LIT macro.
19116 (minus_zero): Likewise.
19117 (plus_infty): Redefine as (INF).
19118 (minux_infty): Redefine as (-INF).
19119 (max_value): Redefine as TYPE_MAX.
19120 (min_value): Redefine as TYPE_MIN.
19121 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19122
19123 (print_float): Refactor to use snprintf to convert FLOAT values
19124 to string. This brings it closer to dropin replacement of strtof
19125 for the TS 18661 defined types.
19126 (update_stats): Likewise.
19127 (print_complex_function_ulps): Likewise.
19128 (print_max_error): Likewise.
19129 (print_complex_max_error): Likewise.
19130 (check_float_internal): Likewise.
19131
19132 * math/test-float.h (PREFIX): New macro.
19133 (LIT): Likewise.
19134 (TYPE_STR): Likewise.
19135 (FTOSTR): Likewise.
19136
19137 * math/test-double.h (PREFIX): New macro.
19138 (LIT): Likewise.
19139 (TYPE_STR): Likewise.
19140 (FTOSTR): Likewise.
19141
19142 * math/test-ldouble.h (PREFIX): New macro.
19143 (LIT): Likewise.
19144 (TYPE_STR): Likewise.
19145 (FTOSTR): Likewise.
19146
19147 2016-05-27 Joseph Myers <joseph@codesourcery.com>
19148
19149 [BZ #20156]
19150 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19151 to itself when zero or not finite.
19152 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19153 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19154 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19155 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19156
19157 2016-05-26 Joseph Myers <joseph@codesourcery.com>
19158
19159 [BZ #20153]
19160 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19161 x * x + x for infinities and NaNs.
19162
19163 [BZ #20151]
19164 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19165 argument to itself before returning result.
19166 (__ieee754_y0l): Likewise.
19167 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19168 (__ieee754_y1l).
19169
19170 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19171 (atan_test_data): Likewise.
19172 (ceil_test_data): Likewise.
19173 (cos_test_data): Likewise.
19174 (cosh_test_data): Likewise.
19175 (erf_test_data): Likewise.
19176 (exp2_test_data): Likewise.
19177 (fabs_test_data): Likewise.
19178 (floor_test_data): Likewise.
19179 (ilogb_test_data): Likewise.
19180 (j0_test_data): Likewise.
19181 (j1_test_data): Likewise.
19182 (jn_test_data): Likewise.
19183 (lgamma_test_data): Likewise.
19184 (lrint_test_data): Likewise.
19185 (llrint_test_data): Likewise.
19186 (logb_test_data): Likewise.
19187 (lround_test_data): Likewise.
19188 (llround_test_data): Likewise.
19189 (nearbyint_test_data): Likewise.
19190 (rint_test_data): Likewise.
19191 (round_test_data): Likewise.
19192 (sin_test_data): Likewise.
19193 (sincos_test_data): Likewise.
19194 (sinh_test_data): Likewise.
19195 (sqrt_test_data): Likewise.
19196 (tan_test_data): Likewise.
19197 (tanh_test_data): Likewise.
19198 (tgamma_test_data): Likewise.
19199 (trunc_test_data): Likewise.
19200 (y0_test_data): Likewise.
19201 (y1_test_data): Likewise.
19202 (yn_test_data): Likewise.
19203
19204 * math/libm-test.inc: Update comment about NaN testing.
19205 (TEST_SNAN): New macro.
19206 (snan_value): Likewise.
19207 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19208 (fpclassify_test_data): Add sNaN tests.
19209 (isfinite_test_data): Likewise.
19210 (isinf_test_data): Likewise.
19211 (isnan_test_data): Likewise.
19212 (isnormal_test_data): Likewise.
19213 (issignaling_test_data): Likewise.
19214 (signbit_test_data): Likewise.
19215 * math/gen-libm-test.pl (%beautify): Add snan_value.
19216 (show_exceptions): Add argument $test_snan.
19217 (parse_args): Handle snan_value as non-finite. Update call to
19218 show_exceptions.
19219 * math/Makefile (libm-test-no-inline-cflags): Add
19220 -fsignaling-nans.
19221
19222 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19223
19224 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19225 (CFLAGS-oldsendmsg.c): Add rule.
19226 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19227 Correct recvmsg symbol name.
19228 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19229 Likewise.
19230
19231 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19232
19233 * sysdeps/unix/sysv/linux/Makefile
19234 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19235 oldsendmmsg.
19236 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19237 sendmmsg.
19238 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19239 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19240 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19241 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19243 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19244 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19246 Likewise.
19247 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19248 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19249 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19250 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19251 iovlen and controllen fields to adjust to POSIX specification.
19252 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19253
19254 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19255 and change to correct expected type.
19256 (msghdr.msg_controllen): Likewise.
19257 (cmsghdr.cmsg_len): Likewise.
19258 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19259 expected POSIX assumption about the size.
19260 (msghdr.msg_controllen): Likewise.
19261 (msghdr.__glibc_reserved1): Likewise.
19262 (msghdr.__glibc_reserved2): Likewise.
19263 (cmsghdr.cmsg_len): Likewise.
19264 (cmsghdr.__glibc_reserved1): Likewise.
19265 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19266 Add ptw-oldrecvmsg and ptw-oldsendmsg.
19267 (CFLAGS-sendmsg.c): Remove rule.
19268 (CFLAGS-recvmsg.c): Likewise.
19269 (CFLAGS-oldsendmsg.c): Add rule.
19270 (CFLAGS-oldrecvmsg.c): Likewise.
19271 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19272 recvmsg and sendmsg.
19273 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19274 Likewise.
19275 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19276 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19277 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19278 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19279 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19280 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19281 Likewise.
19282 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19283 Likewise.
19284 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19285 Likewise.
19286 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19287 Likewise.
19288 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19289 Likewise.
19290 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19291 Likewise.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19293 (GLIBC_2.24): Likewise.
19294 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19295 Likewise.
19296 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19297 Likewise.
19298 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19299 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19300 Likewise.
19301 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19302 Likewise.
19303 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19304 Likewise.
19305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19306 (GLIBC_2.24): Likewise.
19307 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19308 Likewise.
19309 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19310 Likewise.
19311 * sysdeps/unix/sysv/linux/Makefile
19312 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19313 (CFLAGS-sendmsg.c): Add rule.
19314 (CFLAGS-recvmsg.c): Likewise.
19315 (CFLAGS-oldsendmsg.c): Likewise.
19316 (CFLAGS-oldrecvmsg.c): Likewise.
19317 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19318 initialization.
19319 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19320 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19321 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19322 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19323 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19324 iovlen and controllen fields to adjust to POSIX specification.
19325 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19326 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19327 added recvmsg and sendmsg.
19328 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19329 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19330 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19331 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19332 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19333 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19334 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19335 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19336 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19337 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19338 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19339 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19341 Likewise.
19342 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19344 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19345 Likewise.
19346 Likewise.
19347 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19348 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19349 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19350 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19352 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19354 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19356 Likewise.
19357 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19358 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19359
19360 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19361 from auto-generation.
19362 (sendmsg): Likewise.
19363 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19364 (sendmsg): Likewise.
19365 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19366 (sendmsg): Likewise.
19367 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19368 (sendmsg): Likewise.
19369 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19370 (sendmsg): Likewise.
19371 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19372 (sendmsg): Likewise.
19373 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19374 Likewise.
19375 (sendmsg): Likewise.
19376 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19377 (sendmsg): Likewise.
19378 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19379 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19380 Remove.
19381 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19382 Likewise.
19383 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19384 Undefine.
19385 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19386 Likewise.
19387 * sysdeps/unix/sysv/linux/kernel-features.h
19388 (__ASSUME_SENDMSG_SYSCALL): Define.
19389 (__ASSUME_RECVMSG_SYSCALL): Likewise.
19390 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19391 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19392 Remove.
19393 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19394 Likewise.
19395 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19396 Undefine.
19397 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19398 Likewise.
19399 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19400 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19401 Remove.
19402 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19403 Likewise.
19404 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19405 Undefine.
19406 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19407 Likewise.
19408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19409 (__ASSUME_SENDMSG_SYSCALL): Undefine.
19410 (__ASSUME_RECVMSG_SYSCALL): Likewise.
19411 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19412 (__ASSUME_SENDMSG_SYSCALL): Likewise.
19413 (__ASSUME_RECVMSG_SYSCALL): Likewise.
19414 * sysdeps/unix/sysv/linux/sh/kernel-features.h
19415 (__ASSUME_SENDMSG_SYSCALL): Likewise.
19416 (__ASSUME_RECVMSG_SYSCALL): Likewise.
19417
19418 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19419
19420 * stdlib/gen-tst-strtod-round.c: Add backslash to
19421 compile command in comment.
19422 (printfp): Remove the literal suffix, and define an infinite
19423 value as INF to avoid expansion clash with INFINITY.
19424 (round_str): Remove the literal suffix.
19425 (round_for_all): Likewise, remove the now duplicate ldbl-64
19426 entry, and remove some magic constants.
19427
19428 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19429 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
19430 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19431 (_CONCAT): New macro.
19432 (CONCAT): Likewise.
19433 (CHOOSE_ld): Likewise.
19434 (CHOOSE_f): Likewise.
19435 (CHOOSE_d): Likewise.
19436 (FTYPE_MEMBER): Likewise.
19437 (BOOL_MEMBER): Likewise.
19438 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19439 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19440 (_XNTRY): Likewise.
19441 (XNTRY): Likewise.
19442 (_ENTRY): Likewise.
19443 (ENTRY): Likewise.
19444 (test_exactness): Generate members via macro.
19445 (test_results): Likewise.
19446 (test): Update members.
19447 (TEST): Redefine using new macros.
19448 (INF): New macro.
19449 (fetestmodes): New structure.
19450 (do_test): Refactor to be type generic.
19451 (test_in_one_mode): Refactor duplicate code into
19452 (GEN_ONE_TEST): New macro.
19453
19454 * stdlib/tst-strtod-round-data.h: Regenerate.
19455
19456 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19457 Extend to pass additional arbitrary parameters to
19458 generators.
19459
19460 2016-05-25 Joseph Myers <joseph@codesourcery.com>
19461
19462 [BZ #15479]
19463 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19464 floating-point state after first floating-point operation on
19465 input. Restore full floating-point state instead of just rounding
19466 mode.
19467 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19468 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19469 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19470 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19471 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19472
19473 [BZ #15479]
19474 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19475 floating-point state after first floating-point operation on
19476 input. Restore full floating-point state instead of just rounding
19477 mode.
19478 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19479 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19480 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19481 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19482 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19483
19484 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19485
19486 [BZ #19727]
19487 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19488 valid high surrogate.
19489 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19490 of an utf16 surrogate.
19491 * iconv/gconv_simple.c (BODY): Likewise.
19492 * iconvdata/bug-iconv12.c: New file.
19493 * iconvdata/Makefile (tests): Add bug-iconv12.
19494
19495 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19496
19497 [BZ #19726]
19498 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19499 outptrp in case of an illegal input.
19500 * iconv/tst-iconv6.c: New file.
19501 * iconv/Makefile (tests): Add tst-iconv6.
19502
19503 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19504
19505 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19506 an error in case of a value in range of an utf16 low surrogate.
19507
19508 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19509
19510 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19511 an error in case of a value in range of an utf16 low surrogate.
19512
19513 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19514
19515 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19516 Move to ...
19517 * sysdeps/s390/Makefile: ... here.
19518 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19519 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19520 (BRANCH_ON_COUNT): New define.
19521 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19522 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19523 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19524 run on s390-32, too.
19525 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19526 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19527 run on s390-32, too.
19528 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19529 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19530 run on s390-32, too.
19531
19532 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19533
19534 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19535 etf3eh or new vector loop-variant.
19536
19537 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19538
19539 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19540 etf3eh or new vector loop-variant.
19541
19542 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19543
19544 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19545 or new vector loop-variant.
19546
19547 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19548
19549 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19550 Rename to TR_LOOP and usage of tr instead of troo instruction.
19551
19552 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19553
19554 * sysdeps/s390/multiarch/gconv_simple.c: New File.
19555 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19556
19557 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19558
19559 * sysdeps/s390/multiarch/8bit-generic.c: New File.
19560 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19561 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19562 New override define.
19563 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19564
19565 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19566
19567 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19568 * sysdeps/s390/configure.ac: Add test for S390 vector register
19569 support in gcc.
19570 * sysdeps/s390/configure: Regenerated.
19571
19572 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19573
19574 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19575 Install file from $(objpfx)gconv-modules.
19576 ($(objpfx)gconv-modules): Concatenate architecture specific file
19577 in variable sysdeps-gconv-modules and gconv-modules in src dir.
19578 * sysdeps/s390/gconv-modules: New file.
19579 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19580 Deleted.
19581 ($(objpfx)gconv-modules-s390): Deleted.
19582 (sysdeps-gconv-modules): New variable.
19583
19584 2016-05-24 Joseph Myers <joseph@codesourcery.com>
19585
19586 [BZ #15479]
19587 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19588 of immediate operand to rounding instruction.
19589 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19590 Likewise.
19591 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19592 Likewise.
19593 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19594 Likewise.
19595
19596 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19597
19598 * math/libm-test.inc (MIN_EXP): Directly define as
19599 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19600
19601 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19602
19603 * math/libm-test.inc (MANT_DIG): Directly define as
19604 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19605
19606 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19607
19608 * stdlib/gen-tst-strtod-round.c (main):
19609 Change usage to more closely match the generated
19610 output. Add usage and compilation instructions.
19611 (string_to_fp): Add and use FILE* parameter as
19612 output target.
19613 (print_fp): Likewise.
19614 (round_str): Likewise.
19615 (round_for_all): Likewise.
19616 * stdlib/tst-strtod-round.c (tests): Move into
19617 * stdlib/tst-strtod-round-data.h: New file.
19618
19619 2016-05-24 Joseph Myers <joseph@codesourcery.com>
19620
19621 [BZ #15479]
19622 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19623 (__round): Do not force "inexact" exception.
19624 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19625 variable.
19626 (__round): Do not force "inexact" exception.
19627 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19628 (__roundf): Do not force "inexact" exception.
19629 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19630 (__roundl): Do not force "inexact" exception.
19631 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19632 (__roundl): Do not force "inexact" exception.
19633 * math/libm-test.inc (round_test_data): Do not allow spurious
19634 "inexact" exceptions.
19635
19636 [BZ #15479]
19637 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19638 exception in comment.
19639 (huge): Remove variable.
19640 (__floor): Do not force "inexact" exception.
19641 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19642 "inexact" exception in comment.
19643 (huge): Remove variable.
19644 (__floor): Do not force "inexact" exception.
19645 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19646 exception in comment.
19647 (huge): Remove variable.
19648 (__floorf): Do not force "inexact" exception.
19649 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19650 exception in comment.
19651 (huge): Remove variable.
19652 (__floorl): Do not force "inexact" exception.
19653
19654 [BZ #15479]
19655 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19656 exception in comment.
19657 (huge): Remove variable.
19658 (__ceil): Do not force "inexact" exception.
19659 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19660 "inexact" exception in comment.
19661 (huge): Remove variable.
19662 (__ceil): Do not force "inexact" exception.
19663 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19664 (__ceilf): Do not force "inexact" exception.
19665 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19666 exception in comment.
19667 (huge): Remove variable.
19668 (__ceill): Do not force "inexact" exception.
19669
19670 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
19671
19672 * config.h.in (BIND_NOW): New.
19673 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
19674 * configure: Regenerated.
19675 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19676 indirect branch via the GOT slot.
19677
19678 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19679
19680 [BZ #19765]
19681 * sysdeps/s390/mempcpy.S: New File.
19682 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19683 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19684 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19685 Add mempcpy variants.
19686 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19687 (memcpy): Adjust to be usable from mempcpy entry point.
19688 (__memcpy_mvcle): Likewise.
19689 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19690 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19691 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19692 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19693 (__memcpy_z10): Likewise.
19694 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19695
19696 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19697
19698 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19699 Remove __GI_ symbol.
19700 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19701 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19702 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19703 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19704 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19705 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19706
19707 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19708
19709 * sysdeps/s390/s390-64/memcpy.S (memcpy):
19710 Use cghi instead of chi to compare 64bit value.
19711
19712 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19713
19714 * sysdeps/s390/s390-32/memcpy.S (memcpy):
19715 Jump to 1MB check before executing mvc-loop.
19716
19717 2016-05-24 Florian Weimer <fweimer@redhat.com>
19718
19719 [BZ #6527]
19720 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
19721 unconditionally.
19722 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
19723
19724 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19725
19726 * stdlib/tst-strtod6.c (do_test): Use new type generic
19727 invocation of the test function.
19728 (test): Refactor into ...
19729 (TEST_STRTOD): New macro base function.
19730
19731 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19732
19733 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
19734 (TEST_STRTOD): New macro.
19735 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
19736
19737 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19738
19739 * stdlib/tst-strtod6.c (do_test): Use new type generic
19740 invocation of the test function.
19741 (test): Refactor into ...
19742 (TEST_STRTOD): New macro base function.
19743
19744 2016-05-23 Florian Weimer <fweimer@redhat.com>
19745
19746 CVE-2016-4429
19747 [BZ #20112]
19748 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
19749 payload.
19750
19751 2016-05-23 Florian Weimer <fweimer@redhat.com>
19752
19753 [BZ #20111]
19754 * bits/sockaddr.h (_SS_SIZE): Define.
19755 * bits/socket.h (_SS_SIZE): Remove.
19756 (_SS_PADSIZE): Adjust to account for all padding.
19757 (struct sockaddr_storage): Update comment. Avoid implicit
19758 padding.
19759 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
19760 (_SS_PADSIZE): Adjust to account for all padding.
19761 (struct sockaddr_storage): Update comment. Avoid implicit
19762 padding.
19763 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
19764 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
19765 (_SS_PADSIZE): Adjust to account for all padding.
19766 (struct sockaddr_storage): Update comment. Avoid implicit
19767 padding.
19768 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
19769 __SS_SIZE is 126 in this version.
19770 * inet/tst-sockaddr.c: New file.
19771 * inet/Makefile (tests): Add tst-sockaddr.c
19772 (tst-sockaddr.c): Compile with non-strict aliasing.
19773
19774 2016-05-23 Joseph Myers <joseph@codesourcery.com>
19775
19776 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
19777 [XPG3 || XPG4].
19778 (NL_ARGMAX): Also expect for [XPG3].
19779 (NL_LANGMAX): Likewise.
19780 (NL_MSGMAX): Likewise.
19781 (NL_NMAX): Likewise.
19782 (NL_SETMAX): Likewise.
19783 (NL_TEXTMAX): Likewise.
19784 (NZERO): Likewise.
19785 (TMP_MAX): Likewise.
19786 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
19787 variable.
19788
19789 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
19790 (PF_MAX): Update value.
19791 (AF_KCM): New macro.
19792 (SOL_NETBEUI): Likewise.
19793 (SOL_LLC): Likewise.
19794 (SOL_DCCP): Likewise.
19795 (SOL_NETLINK): Likewise.
19796 (SOL_TIPC): Likewise.
19797 (SOL_RXRPC): Likewise.
19798 (SOL_PPPOL2TP): Likewise.
19799 (SOL_BLUETOOTH): Likewise.
19800 (SOL_PNPIPE): Likewise.
19801 (SOL_RDS): Likewise.
19802 (SOL_IUCV): Likewise.
19803 (SOL_CAIF): Likewise.
19804 (SOL_ALG): Likewise.
19805 (SOL_NFC): Likewise.
19806 (SOL_KCM): Likewise.
19807 (MSG_BATCH): New enum value and macro.
19808
19809 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
19810
19811 [BZ #18185]
19812 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
19813 sharing L2 cache to 2 for Knights Landing.
19814
19815 2016-05-20 Joseph Myers <joseph@codesourcery.com>
19816
19817 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
19818 (FTW_DP): Do not expect for [XPG3 || XPG4].
19819 (FTW_SL): Do not expect for [XPG3].
19820 (FTW_SLN): Likewise.
19821 (FTW_PHYS): Likewise.
19822 (FTW_MOUNT): Likewise.
19823 (FTW_DEPTH): Likewise.
19824 (FTW_CHDIR): Likewise.
19825 (nftw): Likewise.
19826 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
19827 variable.
19828
19829 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
19830
19831 * manual/errno.texi: Fix various typos & grammar errors.
19832
19833 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
19834
19835 * manual/intro.texi: Fix duplicated typo.
19836
19837 2016-05-19 Joseph Myers <joseph@codesourcery.com>
19838
19839 [BZ #13304]
19840 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
19841 <float.h>, <math_private.h> and <stdlib.h>.
19842 (add_split): New function.
19843 (mul_split): Likewise.
19844 (ext_val): New typedef.
19845 (store_ext_val): New function.
19846 (mul_ext_val): New function.
19847 (compare): New function.
19848 (add_split_ext): New function.
19849 (__fmal): After checking for Inf, NaN and zero, compute result as
19850 an exact sum of scaled double values in round-to-nearest before
19851 adding those up and adjusting for other rounding modes.
19852 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
19853 tests of fma.
19854 * math/auto-libm-test-out: Regenerated.
19855
19856 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
19857
19858 [BZ #20119]
19859 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
19860 processor level type mask for CPUID with EAX == 11.
19861
19862 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
19863
19864 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
19865 logical threads if the HTT bit is 0.
19866 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
19867 (index_cpu_HTT): Likewise.
19868 (reg_HTT): Likewise.
19869
19870 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
19871
19872 [BZ #20115]
19873 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
19874 Remove alignments on jump targets.
19875
19876 2016-05-19 Joseph Myers <joseph@codesourcery.com>
19877
19878 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
19879 (getpwent): Likewise.
19880 (setpwent): Likewise.
19881 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
19882 variable.
19883
19884 * conform/data/search.h-data (insque): Do not expect for [XPG3].
19885 (remque): Likewise.
19886 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
19887 variable.
19888
19889 2016-05-18 Joseph Myers <joseph@codesourcery.com>
19890
19891 * math/libm-test.inc: Update comment not to refer to signs of NaNs
19892 not being tested.
19893
19894 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
19895
19896 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19897 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
19898 call.
19899 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19900 (__condvar_cleanup1): Likewise.
19901
19902 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
19903
19904 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
19905 New
19906 (__pthread_unwind): Renamed to ...
19907 (PTHREAD_UNWIND): This.
19908 (__pthread_enable_asynccancel): Replace
19909 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
19910
19911 2016-05-18 Joseph Myers <joseph@codesourcery.com>
19912
19913 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
19914 (CLONE_NEWCGROUP): New macro.
19915
19916 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
19917 (Q_GETNEXTQUOTA): New macro.
19918
19919 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
19920
19921 [BZ #19907]
19922 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
19923 buffer updated by the previous run.
19924 * string/test-memcpy.c (do_one_test): Likewise.
19925 * benchtests/bench-memmove.c (do_one_test): Add a comment.
19926 * string/test-memmove.c (do_one_test): Likewise.
19927
19928 2016-05-17 Joseph Myers <joseph@codesourcery.com>
19929
19930 [BZ #20094]
19931 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
19932 not [__USE_XOPEN].
19933 (unlockpt): Likewise.
19934 (ptsname): Likewise.
19935 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
19936 variable.
19937
19938 [BZ #20076]
19939 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
19940 instead of [__USE_UNIX98].
19941 (S_ISSOCK): Likewise.
19942 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
19943 variable.
19944
19945 [BZ #20074]
19946 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
19947 [__USE_POSIX].
19948 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
19949 variable.
19950
19951 [BZ #20051]
19952 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
19953 (ttyslot): Do not declare.
19954 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
19955 (ttyslot): New prototype.
19956 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
19957 variable.
19958 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19959
19960 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
19961
19962 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
19963
19964 2016-05-13 Florian Weimer <fweimer@redhat.com>
19965
19966 Fix race condition in tst-mallocfork2, use fewer resources.
19967 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
19968 to current process group.
19969 (signal_sender): Yield in the non-sleeping case.
19970
19971 2016-05-13 Joseph Myers <joseph@codesourcery.com>
19972
19973 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
19974 (ecvt): Likewise.
19975 (fcvt): Likewise.
19976 (gcvt): Likewise.
19977 (getsubopt): Likewise.
19978 (grantpt): Likewise.
19979 (initstate): Likewise.
19980 (l64a): Likewise.
19981 (mktemp): Likewise.
19982 (mkstemp): Likewise.
19983 (ptsname): Likewise.
19984 (random): Likewise.
19985 (realpath): Likewise.
19986 (setstate): Likewise.
19987 (srandom): Likewise.
19988 (ttyslot): Likewise.
19989 (unlockpt): Likewise.
19990 (valloc): Likewise.
19991
19992 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
19993 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
19994 variable.
19995
19996 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
19997
19998 [BZ #20072]
19999 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20000 init_cpu_features only if SHARED is defined.
20001 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20002
20003 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
20004
20005 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20006 non-inclusive caches on Intel processors.
20007
20008 2016-05-13 Florian Weimer <fweimer@redhat.com>
20009
20010 * malloc/malloc.c (dumped_main_arena_start)
20011 (dumped_main_arena_end): New variables.
20012 (DUMPED_MAIN_ARENA_CHUNK): New macro.
20013 (do_check_chunk): Skip dumped fake mmapped chunks.
20014 (munmap_chunk): Likewise.
20015 (__libc_free): Do not adjust statistics for fake mmapped chunks.
20016 (__libc_realloc): Adjust hardening check. Always copy dumped fake
20017 mmapped chunks.
20018 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20019 Mark dumped chunks as using mmap. Update dumped_main_arena_start
20020 and dumped_main_arena_end to cover the dumped heap.
20021
20022 2016-05-12 Joseph Myers <joseph@codesourcery.com>
20023
20024 * conform/data/time.h-data (getdate_err): Do not expect for
20025 [XPG3].
20026 (getdate): Likewise.
20027 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20028 variable.
20029
20030 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20031 (F_ULOCK): Likewise.
20032 (F_TEST): Likewise.
20033 (F_TLOCK): Likewise.
20034 (useconds_t): Likewise.
20035 (intptr_t): Do not expect for [XPG3] or [XPG4].
20036 (brk): Do not expect for [XPG3]
20037 (fchown): Likewise.
20038 (fchdir): Likewise.
20039 (ftruncate): Likewise.
20040 (getdtablesize): Likewise.
20041 (gethostid): Likewise.
20042 (getpagesize): Likewise.
20043 (getpgid): Likewise.
20044 (getsid): Likewise.
20045 (getwd): Likewise.
20046 (lchown): Likewise.
20047 (lockf): Likewise.
20048 (readlink): Likewise.
20049 (sbrk): Likewise.
20050 (setpgrp): Likewise.
20051 (setregid): Likewise.
20052 (setreuid): Likewise.
20053 (symlink): Likewise.
20054 (sync): Likewise.
20055 (truncate): Likewise.
20056 (ualarm): Likewise.
20057 (usleep): Likewise.
20058 (vfork): Likewise.
20059 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20060 variable.
20061
20062 [BZ #20054]
20063 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20064 not [__USE_UNIX98].
20065 * conform/data/unistd.h-data (gethostname): Do not expect for
20066 [XPG3].
20067
20068 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20069 [!POSIX] (S_IFBLK): Likewise.
20070 [!POSIX] (S_IFCHR): Likewise.
20071 [!POSIX] (S_IFIFO): Likewise.
20072 [!POSIX] (S_IFREG): Likewise.
20073 [!POSIX] (S_IFDIR): Likewise.
20074 [!POSIX] (S_IFLNK): Likewise.
20075 [!POSIX] (S_IFSOCK): Likewise.
20076 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20077 variable.
20078 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20079
20080 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
20081
20082 * sysdeps/aarch64/memset.S (__memset):
20083 Rewrite of optimized memset.
20084
20085 2016-05-12 Florian Weimer <fweimer@redhat.com>
20086
20087 [BZ #19703]
20088 Partially async-signal-safe fork for single-threaded processes.
20089 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20090 variable. Do not acquire and reset/release malloc and libio locks
20091 in single-threaded processes.
20092 * malloc/tst-mallocfork2.c: New file.
20093 * malloc/Makefile (tests): Add it.
20094
20095 2016-05-12 Florian Weimer <fweimer@redhat.com>
20096
20097 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20098 argument. Use scratch buffer instead of extend_alloca.
20099 (gethosts): Use scratch buffer instead of extend_alloca.
20100 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
20101 extend_alloca.
20102 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20103
20104 2016-05-11 Joseph Myers <joseph@codesourcery.com>
20105
20106 [BZ #20055]
20107 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20108 instead of [__USE_UNIX98].
20109 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20110 [__USE_UNIX98].
20111 * conform/data/termios.h-data (tcgetsid): Do not expect for
20112 [XPG3].
20113 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20114 variable.
20115 (test-xfail-XPG4/termios.h/conform): Likewise.
20116
20117 2016-05-11 Florian Weimer <fweimer@redhat.com>
20118
20119 Do not use mcheck in localedef.
20120 * locale/programs/localedef.c (turn_on_mcheck)
20121 (__malloc_initialize_hook): Remove.
20122
20123 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20124
20125 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20126 * sysdeps/s390/s390-64/Makefile: Likewise.
20127
20128 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
20129
20130 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20131 Remove ifunc-defines.sym.
20132 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20133 Likewise.
20134 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20135 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20136 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20137 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20138 rtld-global-offsets.sym.
20139 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20140 * sysdeps/x86/cpu-features-offsets.sym: This.
20141 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20142 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20143
20144 2016-05-10 Joseph Myers <joseph@codesourcery.com>
20145
20146 [BZ #20073]
20147 * io/sys/stat.h (fchmod): Declare for
20148 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20149 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20150 variable.
20151
20152 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20153 [XPG3] (S_IFSOCK): Likewise.
20154 [XPG3] (S_ISVTX): Likewise.
20155 [XPG3] (S_ISLNK): Likewise.
20156 [XPG3] (S_ISSOCK): Likewise.
20157 [XPG3] (fchmod): Likewise.
20158 [XPG3] (lstat): Likewise.
20159 [XPG3] (mknod): Likewise.
20160
20161 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20162 [XPG3]. Expect type long and XFAIL for [XPG4].
20163 (st_blocks): Likewise.
20164
20165 [BZ #20044]
20166 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20167 (pthread_atfork): New prototype.
20168 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20169 variable.
20170
20171 [BZ #20043]
20172 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20173 prototype.
20174
20175 2016-05-10 Florian Weimer <fweimer@redhat.com>
20176
20177 [BZ #20017]
20178 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20179 gmtime.
20180
20181 2016-05-10 Florian Weimer <fweimer@redhat.com>
20182
20183 [BZ #19994]
20184 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20185 flag in _res.options.
20186
20187 2016-05-09 Joseph Myers <joseph@codesourcery.com>
20188
20189 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20190 [XPG3 || XPG4].
20191 (blksize_t): Likewise.
20192 (clockid_t): Likewise.
20193 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20194 variable.
20195 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20196
20197 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
20198
20199 * sysdeps/unix/sysv/linux/s390/init-first.c:
20200 Add VDSO_SYMBOL(getcpu).
20201 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20202 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20203 Add VDSO_SYMBOL(getcpu).
20204 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20205 New define HAVE_GETCPU_VSYSCALL.
20206 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20207
20208 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
20209
20210 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20211 instead of <sysdeps/x86_64/cacheinfo.c>.
20212 * sysdeps/x86_64/cacheinfo.c: Moved to ...
20213 * sysdeps/x86/cacheinfo.c: Here.
20214
20215 2016-05-04 Florian Weimer <fweimer@redhat.com>
20216
20217 * malloc/malloc-internal.h: Adjust header file guard.
20218
20219 2016-05-04 Florian Weimer <fweimer@redhat.com>
20220
20221 [BZ #19787]
20222 * inet/getnameinfo.c (check_sprintf_result): New function.
20223 (CHECKED_SNPRINTF): New macro.
20224 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20225 to the host buffer.
20226 (gni_host_local): Use checked_copy to copy the host name.
20227 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20228 (gni_serv_local): Use checked_copy to copy the service name.
20229 (getnameinfo): Remove unnecessary truncation of result buffers.
20230
20231 2016-05-04 Florian Weimer <fweimer@redhat.com>
20232
20233 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20234 in case of inet_ntop failure.
20235
20236 2016-05-04 Florian Weimer <fweimer@redhat.com>
20237
20238 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20239 avoid long lines.
20240 (gni_host_inet_numeric): Likewise. Reduce scope of local
20241 variables.
20242 (gni_host_inet, gni_host_local): Add comment.
20243 (gni_host): Add comment. Use temporary to avoid long lines.
20244
20245 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20246
20247 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20248 registers specifiers where general purpose registers specifiers should
20249 have been used.
20250
20251 2016-05-04 Florian Weimer <fweimer@redhat.com>
20252
20253 [BZ #19779]
20254 CVE-2016-1234
20255 Avoid copying names of directory entries.
20256 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20257 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20258 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20259 (struct readdir_result): New type.
20260 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20261 (GL_READDIR): New macros.
20262 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20263 (convert_dirent, convert_dirent64): New functions.
20264 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
20265 convert_dirent64. Adjust references to the readdir result.
20266 * sysdeps/unix/sysv/linux/i386/glob64.c:
20267 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20268 * posix/bug-glob2.c (LONG_NAME): Define.
20269 (filesystem): Add LONG_NAME.
20270 (my_DIR): Increase the size of room_for_dirent.
20271
20272 2016-05-03 Joseph Myers <joseph@codesourcery.com>
20273
20274 [BZ #20041]
20275 * misc/sys/select.h (__need_timespec): Only define if
20276 [__USE_XOPEN2K].
20277 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20278 variable.
20279 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20280 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20281 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20282
20283 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20284 Segher Boessenkool <segher@gcc.gnu.org>
20285
20286 [BZ #20004]
20287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20288 (__novec_swapcontext): Add missing load.
20289
20290 2016-05-02 Joseph Myers <joseph@codesourcery.com>
20291
20292 [BZ #20023]
20293 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20294 <time.h>.
20295 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20296 variable.
20297 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20298
20299 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20300
20301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20302 flags CLONE_VM compare.
20303
20304 2016-05-02 Florian Weimer <fweimer@redhat.com>
20305
20306 [BZ #20031]
20307 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20308 completely empty.
20309
20310 2016-05-02 Florian Weimer <fweimer@redhat.com>
20311
20312 [BZ #19573]
20313 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20314 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20315 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20316 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20317 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20318 (hesiod_free_list): Mark as hidden.
20319 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20320 res_set, res_get.
20321 * hesiod/hesiod.c: Remove unnecessary forward declarations.
20322 (init, __hesiod_res_get, __hesiod_res_set): Remove.
20323 (hesiod_init): Remove obsolete res_ninit call.
20324 (hesiod_end): Do not free resolver state. Do not invoke callback.
20325 (hesiod_bind): Do not call init.
20326 (get_txt_records): Use res_mkquery, res_send instead of
20327 res_nmkquery, res_nsend.
20328 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20329 instead of _nss_hesiod_init.
20330 (_nss_hesiod_initgroups_dyn): Likewise.
20331 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20332 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20333 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20334
20335 2016-05-02 Florian Weimer <fweimer@redhat.com>
20336
20337 * hesiod/hesiod_p.h (DEF_RHS): Remove.
20338 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20339
20340 2016-05-02 Florian Weimer <fweimer@redhat.com>
20341
20342 * hesiod/hesiod.h: Remove RCS keyword.
20343 * hesiod/hesiod_p.h: Likewise.
20344
20345 * hesiod/hesiod.c: Likewise.
20346
20347 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
20348
20349 [BZ #12450]
20350 * locale/iso-639.def: Add Samogitian/sgs.
20351
20352 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
20353
20354 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20355
20356 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20357
20358 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
20359 Carlos O'Donell <carlos@redhat.com>
20360
20361 [BZ #19072]
20362 * grp/Makefile (headers): Add grp-merge.h
20363 (routines): Add grp-merge.
20364 * grp/getgrgid_r.c: Include grp-merge.h.
20365 (DEEPCOPY_FN): Define.
20366 (MERGE_FN): Define.
20367 * grp/getgrname_r.c: Include grp-merge.h.
20368 (DEEPCOPY_FN): Define.
20369 (MERGE_FN): Define.
20370 * grp/grp-merge.c: New file.
20371 * grp/grp-merge.h: New file.
20372 * include/grp-merge.h: New file.
20373 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20374 __copy_grp@GLIBC_PRIVATE.
20375 * manual/nss.texi (Actions in the NSS configuration): Describe
20376 return, continue, and merge.
20377 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20378 (DEEPCOPY_FN): Define.
20379 (MERGE_FN): Define.
20380 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20381 (DEEPCOPY_FN): Define.
20382 (MERGE_FN): Define.
20383 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20384 [!MERGE_FN]: Define __merge_einval.
20385 (CHECK_MERGE): Define.
20386 (REENTRANT_NAME): Process merge if do_merge is true.
20387 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20388 (__nss_getent_r): Likewise.
20389 * nss/nsswitch.c (nss_parse_service_list): Likewise.
20390 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20391
20392 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20393
20394 [BZ #20012]
20395 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20396 length to calculate the buffer to read.
20397 (fmemopen_write): Set the buffer position based on bytes written.
20398 (fmemopen_seek): Return EINVAL for invalid whence modes.
20399
20400 [BZ #19957]
20401 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20402 tst-getpid2.
20403 (test): Add tst-clone2.
20404 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20405 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20406 pid/tid fields for CLONE_VM.
20407 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20408 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20409 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20410 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20411 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20412 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20413 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20414 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20416 Likewise.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20418 Likewise.
20419 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20420 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20421 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20422 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20423 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20424 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20425 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20426 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20427
20428 2016-04-29 Florian Weimer <fweimer@redhat.com>
20429
20430 [BZ #19642]
20431 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20432 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20433 (gni_serv_local, gni_serv): New functions extracted from
20434 getnameinfo.
20435 (getnameinfo): Call gni_host and gni_serv to perform the
20436 processing. Always free scratch buffer.
20437
20438 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20439
20440 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20441 remaining bytes in the dest string, with zeros.
20442
20443 2016-04-29 Florian Weimer <fweimer@redhat.com>
20444
20445 [BZ #20010]
20446 CVE-2016-3706
20447 * sysdeps/posix/getaddrinfo.c
20448 (convert_hostent_to_gaih_addrtuple): New function.
20449 (gethosts): Call convert_hostent_to_gaih_addrtuple.
20450 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20451 AF_INET data.
20452
20453 2016-04-29 Florian Weimer <fweimer@redhat.com>
20454
20455 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20456 callback function gl_readdir.
20457 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20458 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20459 (glob_in_dir): Remove len. Use strdup instead of malloc and
20460 memcpy to copy the name.
20461 * manual/pattern.texi (Calling Glob): Document requirements for
20462 implementations of the gl_readdir callback function.
20463 * manual/examples/mkdirent.c: New example.
20464 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20465 per the manual guidance.
20466 * posix/tst-gnuglob.c (my_readdir): Likewise.
20467
20468 2016-04-28 Joseph Myers <joseph@codesourcery.com>
20469
20470 [BZ #20014]
20471 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20472 not [__USE_POSIX].
20473 (getchar_unlocked): Likewise.
20474 (putc_unlocked): Likewise.
20475 (putchar_unlocked): Likewise.
20476 (flockfile): Likewise.
20477 (ftrylockfile): Likewise.
20478 (funlockfile): Likewise.
20479 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20480 variable.
20481 (test-xfail-XPG4/stdio.h/conform): Likewise.
20482
20483 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20484 Expect constant.
20485 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20486 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20487 variable.
20488 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20489 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20490
20491 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20492 [__USE_LARGEFILE64] (off64_t): Likewise.
20493 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20494 variable.
20495
20496 2016-04-28 Florian Weimer <fweimer@redhat.com>
20497
20498 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20499
20500 2016-04-28 Florian Weimer <fweimer@redhat.com>
20501
20502 * resolv/inet_addr.c: Reindent preprocessor conditionals.
20503 * resolv/res_init.c: Likewise.
20504 * resolv/res_mkquery.c: Likewise.
20505
20506 2016-04-28 Florian Weimer <fweimer@redhat.com>
20507
20508 * resolv/res_init.c (isascii): Do not define. Use definition in
20509 <ctype.h>.
20510 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20511 (LOG_AUTH): Remove.
20512 (SPRINTF): Remove, adjust caller.
20513 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20514
20515 2016-04-28 Florian Weimer <fweimer@redhat.com>
20516
20517 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20518 SUNSECURITY conditional.
20519 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20520
20521 2016-04-28 Florian Weimer <fweimer@redhat.com>
20522
20523 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20524 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20525 Remove BSD-related preprocessor conditionals.
20526 * conf/portability.h: Remove.
20527
20528 2016-04-28 Florian Weimer <fweimer@redhat.com>
20529
20530 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20531 * resolv/res_data.c: Likewise.
20532
20533 2016-04-28 Florian Weimer <fweimer@redhat.com>
20534
20535 * resolv/res_comp.c: Remove code conditional on __ultrix__.
20536 * resolv/res_data.c: Remove code conditional on ultrix.
20537
20538 2016-04-28 Florian Weimer <fweimer@redhat.com>
20539
20540 * resolv/res_init.c (RFC1535): Do not define. Remove
20541 RFC1535 preprocessor conditionals.
20542 * resolv/README: Update. Do not claim strict RFC 1535 compliance
20543 because there configuration options which make the resolver
20544 behavior different.
20545
20546 2016-04-28 Florian Weimer <fweimer@redhat.com>
20547
20548 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
20549 RESOLVSORT preprocessor conditionals.
20550 * resolv/nss_dns/dns-host.c: Likewise.
20551 * resolv/res_init.c: Likewise.
20552
20553 2016-04-28 Florian Weimer <fweimer@redhat.com>
20554
20555 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
20556 is never defined.
20557
20558 2016-04-28 Florian Weimer <fweimer@redhat.com>
20559
20560 * inet/inet_lnaof.c: Remove SCSS keyword.
20561 * inet/inet_mkadr.c: Likewise.
20562 * inet/inet_net.c: Likewise.
20563 * inet/inet_netof.c: Likewise.
20564 * inet/rcmd.c: Likewise.
20565 * inet/rexec.c: Likewise.
20566 * inet/ruserpass.c: Likewise.
20567
20568 2016-04-28 Florian Weimer <fweimer@redhat.com>
20569
20570 * resolv/inet_addr.c: Remove _LIBC conditionals.
20571 * resolv/res_data.c: Likewise.
20572 * resolv/res_init.c: Likewise.
20573 * resolv/res_mkquery.c: Likewise.
20574 * resolv/res_libc.c: Update comment.
20575 * resolv/README: Update.
20576
20577 2016-04-28 Florian Weimer <fweimer@redhat.com>
20578
20579 * resolv/gethnamaddr.c: Remove SCSS keyword.
20580 * resolv/herror.c: Likewise.
20581 * resolv/inet_addr.c: Likewise.
20582 * resolv/inet_net_ntop.c: Likewise.
20583 * resolv/inet_net_pton.c: Likewise.
20584 * resolv/inet_neta.c: Likewise.
20585 * resolv/inet_ntop.c: Likewise.
20586 * resolv/inet_pton.c: Likewise.
20587 * resolv/ns_date.c: Remove RCS keyword.
20588 * resolv/ns_name.c: Likewise.
20589 * resolv/ns_netint.c: Likewise.
20590 * resolv/ns_parse.c: Likewise.
20591 * resolv/ns_print.c: Likewise.
20592 * resolv/ns_samedomain.c: Likewise.
20593 * resolv/ns_ttl.c: Likewise.
20594 * resolv/nsap_addr.c: Likewise.
20595 * resolv/res_comp.c: Remove SCSS and RCS keyword.
20596 * resolv/res_data.c: Remove RCS keyword.
20597 * resolv/res_debug.c: Remove SCSS and RCS keyword.
20598 * resolv/res_init.c: Likewise.
20599 * resolv/res_mkquery.c: Likewise.
20600 * resolv/res_query.c: Likewise.
20601 * resolv/res_send.c: Likewise.
20602
20603 2016-04-27 Joseph Myers <joseph@codesourcery.com>
20604
20605 * conform/data/stdio.h-data (fdopen): Expect also for
20606 [XPG3 || XPG4].
20607
20608 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20609 (fseeko): Likewise.
20610 (ftello): Likewise.
20611 (ftrylockfile): Likewise.
20612 (funlockfile): Likewise.
20613 (getc_unlocked): Likewise.
20614 (getchar_unlocked): Likewise.
20615 (putc_unlocked): Likewise.
20616 (putchar_unlocked): Likewise.
20617
20618 2016-04-27 Florian Weimer <fweimer@redhat.com>
20619
20620 [BZ #19868]
20621 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20622 DNS packet syntax checks (which were not needed before). Skip
20623 over non-PTR records.
20624
20625 2016-04-27 Florian Weimer <fweimer@redhat.com>
20626
20627 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20628 definition. Include <stddef.h> instead.
20629
20630 2016-04-27 Florian Weimer <fweimer@redhat.com>
20631
20632 [BZ #19831]
20633 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20634 function.
20635 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20636 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20637
20638 2016-04-27 Florian Weimer <fweimer@redhat.com>
20639
20640 [BZ #19862]
20641 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20642 (getanswer_r): Do not call syslog.
20643 (gaih_getanswer_slice): Likewise.
20644 * resolv/gethnamaddr.c (AskedForGot): Remove.
20645 (getanswer): Do not call syslog.
20646 (gethostbyaddr): Likewise.
20647
20648 2016-04-27 Joseph Myers <joseph@codesourcery.com>
20649
20650 * conform/data/signal.h-data (union sigval): Expect also if
20651 [XOPEN2K].
20652 (struct sigevent): Likewise.
20653 (SIGEV_NONE): Likewise.
20654 (SIGEV_SIGNAL): Likewise.
20655 (SIGEV_THREAD): Likewise.
20656 (SIGRTMIN): Likewise.
20657 (SIGRTMAX): Likewise.
20658 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20659 variable.
20660 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20661
20662 2016-04-27 Florian Weimer <fweimer@redhat.com>
20663
20664 [BZ #19830]
20665 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20666 (gaih_getanswer_slice): Likewise.
20667 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20668 Also check for availability of RR metadata.
20669
20670 2016-04-27 Florian Weimer <fweimer@redhat.com>
20671
20672 [BZ #19825]
20673 * resolv/res_send.c (send_vc): Remove early *resplen2
20674 initialization. Set *resplen2 on socket error. Call
20675 close_and_return_error for other errors.
20676
20677 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
20678
20679 * sysdeps/unix/sysv/linux/netiucv/iucv.h
20680 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20681 (SCM_IUCV_TRGCLS): New define.
20682
20683 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20684
20685 [BZ #20005]
20686 * libio/fmemopen.c (fmemopen_write): Update internal position after
20687 write.
20688 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20689 * stdio-common/tst-fmemopen4.c: New file..
20690
20691 2016-04-26 Joseph Myers <joseph@codesourcery.com>
20692
20693 [BZ #19996]
20694 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20695 not [__USE_XOPEN2K].
20696 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20697 variable.
20698
20699 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20700 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20701 variable.
20702
20703 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20704 [__USE_XOPEN2K8].
20705 [__USE_LARGEFILE64] (off64_t): Likewise.
20706 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20707 variable.
20708
20709 2016-04-25 Joseph Myers <joseph@codesourcery.com>
20710
20711 [BZ #19989]
20712 * libio/stdio.h (cuserid): Do not declare if
20713 [__USE_XOPEN2K && !__USE_GNU].
20714 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20715 variable.
20716
20717 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20718
20719 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20720 (sysdep_routines): Add P8 and PPC64 strcspn targets.
20721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20722 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20723 ifunc'ed strcspn.
20724 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20725 [EALIGN]: Removed.
20726 [END]: Likewise
20727 [STRSPN]: Define instead of the above to control symbol name.
20728 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
20729 New file.
20730 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
20731 Likewise.
20732 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
20733 Likewise.
20734 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
20735 Likewise.
20736 * sysdeps/powerpc/powerpc64/power8/strspn.S:
20737 [INITIAL_MASK]: New macro.
20738 [STRCSPN]: Likewise.
20739 [UPDATE_MASK]: Likewise.
20740 [USE_AS_STRCSPN]: Likewise.
20741
20742 2016-04-25 Florian Weimer <fweimer@redhat.com>
20743
20744 [BZ #19931]
20745 * stdio-common/tst-vfprintf-width-prec.c: New file.
20746 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
20747 (tests-special): Add tst-vfprintf-width-prec-mem.out.
20748 (generated): Add mtrace-related files.
20749 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
20750 (tst-%-mem.out): New pattern rule, replaces
20751 tst-printf-bz18872-mem.out.
20752 * stdio-common/vfprintf.c (vfprintf): When handling a precision
20753 specifier, deallocate any previously allocated work buffer.
20754
20755 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20756
20757 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
20758 Add nop before __startcontext, add explaining comments.
20759
20760 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
20761
20762 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
20763 any more. Notably since IPV6_PKTINFO has been reintroduced with a
20764 completely different API.
20765
20766 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
20767 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
20768 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
20769 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
20770 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
20771 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
20772 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
20773 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
20774 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
20775 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
20776
20777 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
20778
20779 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
20780
20781 2016-04-23 Mike Frysinger <vapier@gentoo.org>
20782
20783 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
20784 when it is the default of 0.
20785
20786 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20787
20788 * sysdeps/powerpc/locale-defines.sym: Add new macros.
20789 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20790 (sysdep_routines): Add new strcasestr targets.
20791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20792 (__libc_ifunc_impl_list): Likewise.
20793 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
20794 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
20795 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
20796 * sysdeps/powerpc/powerpc64/power8/Makefile:
20797 New file to add strcasestr-ppc64 to sysdep_routines.
20798 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
20799 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
20800
20801 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
20802
20803 * benchtests/Makefile (wcsmbs-benchset): Include only for
20804 native builds and runs.
20805 (LOCALES): Likewise.
20806 (bench-build): Build timing-type here instead of the bench
20807 target. Generate locale only for native builds.
20808 * benchtests/README: Add note for cross-building.
20809
20810 * benchtests/Makefile (bench-clean): Clean up extra-objs.
20811
20812 * benchtests/README: Update README to include instructions on
20813 using bench-build.
20814
20815 * Makefile.in (bench-build): New target.
20816 * Rules (PHONY): Add bench-build target.
20817 * benchtests/Makefile (bench): Depend on bench-build.
20818 (bench-build): New target.
20819
20820 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20821
20822 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
20823 profil_reply_port.
20824 (profile_waiter): Do not initialize profil_reply_port.
20825 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
20826 frequency instead of tick length in us.
20827
20828 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
20829
20830 [BZ #18712]
20831 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
20832 (__old_mempcpy_small): Likewise.
20833 (__old_strcpy_small): Likewise.
20834 (__old_stpcpy_small): Likewise.
20835 (__old_strpbrk_c2): Fix compat symbol name.
20836 (__old_strpbrk_c3): Likewise.
20837 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
20838 (__mempcpy_small): Remove.
20839 (__strcpy_small): Remove.
20840 (__stpcpy_small): Remove.
20841
20842 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
20843
20844 [BZ #19400]
20845 * locale/iso-639.def: Add the Talossan/tzl language.
20846
20847 2016-04-16 Mike Frysinger <vapier@gentoo.org>
20848
20849 [BZ #16983]
20850 * locale/programs/ld-address.c (address_finish): Update postal_fmt
20851 comment. Add "ln" to strchr check on postal_fmt.
20852
20853 2016-04-16 Mike Frysinger <vapier@gentoo.org>
20854
20855 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
20856 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
20857 tel_dom_fmt.
20858
20859 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20860
20861 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20862 (sysdep_routines): Added __strlen_power8.
20863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
20864 __strlen_power8 entry.
20865 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
20866 Implementation for POWER8.
20867 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
20868 for __strlen_power8.
20869 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
20870 Implementation for POWER8.
20871
20872 2016-04-15 Mike Frysinger <vapier@gentoo.org>
20873
20874 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
20875
20876 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
20879 Goldmont and Airmont processors.
20880
20881 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
20882
20883 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
20884 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
20885 (__STRING2_SMALL_GET32): Remove.
20886 (memset): Remove.
20887 (__memset_1): Remove.
20888 (__memset_gc): Remove.
20889 (__mempcpy): Remove.
20890 (mempcpy): Remove.
20891 (__mempcpy_args): Remove.
20892 (strchr): Remove.
20893 (strcpy): Remove.
20894 (strcpy_args): Remove.
20895 (__stpcpy_args): Remove.
20896 (__strcmp_cc): Remove.
20897 (__strcmp_gc): Remove.
20898 (strstr): Remove.
20899
20900 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
20901
20902 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
20903 * nis/nis_call.c (nis_server_cache_add): Likewise.
20904
20905 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20906
20907 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
20908
20909 2016-04-14 Florian Weimer <fweimer@redhat.com>
20910
20911 * malloc/arena.c (__malloc_fork_lock_parent)
20912 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
20913 internal_function attribute.
20914
20915 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
20916
20917 * stdio-common/printf_fp.c (__printf_fp_l):
20918 Rename ___printf_fp_l to __printf_fp_l and
20919 remove strong alias. Use libc_hidden_def instead
20920 of ldbl_hidden_def macro.
20921
20922 2016-04-14 Florian Weimer <fweimer@redhat.com>
20923
20924 Remove malloc hooks from fork handler. They are no longer needed
20925 because malloc runs right before fork, and no malloc calls from
20926 other fork handlers are not possible anymore.
20927 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
20928 declarations.
20929 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
20930 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
20931 (atfork_recursive_cntr): Remove.
20932 (__malloc_fork_lock_parent): Do not override malloc hooks and
20933 thread_arena.
20934 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
20935 thread_arena.
20936 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
20937 thread_arena instead of save_arena.
20938
20939 2016-04-14 Florian Weimer <fweimer@redhat.com>
20940
20941 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
20942 (thread_atfork, thread_atfork_static): Remove.
20943 * sysdeps/mach/hurd/malloc-machine.h:
20944 (thread_atfork, thread_atfork_static): Remove.
20945
20946 2016-04-14 Florian Weimer <fweimer@redhat.com>
20947
20948 [BZ #19431]
20949 Run the malloc fork handler as late as possible to avoid deadlocks.
20950 * malloc/malloc-internal.h: New file.
20951 * malloc/malloc.c: Include it.
20952 * malloc/arena.c (ATFORK_MEM): Remove.
20953 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
20954 Update comment.
20955 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
20956 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
20957 Remove outdated comment.
20958 (ptmalloc_init): Do not call thread_atfork. Remove
20959 thread_atfork_static.
20960 * malloc/tst-malloc-fork-deadlock.c: New file.
20961 * Makefile (tests): Add tst-malloc-fork-deadlock.
20962 (tst-malloc-fork-deadlock): Link against libpthread.
20963 * manual/memory.texi (Aligned Memory Blocks): Update safety
20964 annotation comments.
20965 * sysdeps/nptl/fork.c (__libc_fork): Call
20966 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
20967 __malloc_fork_unlock_child.
20968 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
20969
20970 2016-04-14 Florian Weimer <fweimer@redhat.com>
20971
20972 [BZ #19613]
20973 Remove union wait.
20974 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
20975 (w_stopsig, w_stopval): Remove.
20976 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
20977 stat_loc argument.
20978 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
20979 (__WAIT_STATUS_DEFN): Remove.
20980 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20981 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
20982 (wait, wait3, wait4): Use int * for the stat_loc argument.
20983 * posix/wait.c (__wait): Likewise.
20984 * posix/wait3.c (__wait3): Likewise.
20985 * posix/wait4.c (__wait4): Likewise.
20986 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
20987 (__WAIT_STATUS_DEFN): Remove.
20988 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20989 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
20990 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
20991 argument.
20992 * sysdeps/posix/wait.c (__libc_wait): Likewise.
20993 * sysdeps/posix/wait3.c (__wait3): Likewise.
20994 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
20995 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20996 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
20997 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
20998 stat_loc argument.
20999 * manual/process.texi (BSD Wait Functions): Remove union wait.
21000
21001 2016-04-13 Andreas Schwab <schwab@suse.de>
21002
21003 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21004 (test-extras): Add tst-tlsalign-vars.
21005 * math/Makefile: Wrap long lines.
21006 (libm-vec-test-wrappers): Define.
21007 (test-extras): Add $(libm-vec-test-wrappers).
21008 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21009 * nss/Makefile (extra-test-objs): Add nss_test1.os.
21010 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21011 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21012 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21013 (extra-test-objs): Add corresponding objects.
21014
21015 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
21016
21017 [BZ #19928]
21018 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21019 New.
21020 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21021 times of shared cache size.
21022 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21023 (VMOVNT): New.
21024 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21025 (VMOVNT): Likewise.
21026 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21027 (VMOVNT): Likewise.
21028 (VMOVU): Changed to movups for smaller code sizes.
21029 (VMOVA): Changed to movaps for smaller code sizes.
21030 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21031 comments.
21032 (PREFETCH): New.
21033 (PREFETCH_SIZE): Likewise.
21034 (PREFETCHED_LOAD_SIZE): Likewise.
21035 (PREFETCH_ONE_SET): Likewise.
21036 Rewrite to use forward and backward loops, which move 4 vector
21037 registers at a time, to support overlapping addresses and use
21038 non temporal store if size is above the threshold and there is
21039 no overlap between destination and source.
21040
21041 2016-04-12 Alex Smith <alex.smith@imgtec.com>
21042
21043 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21044 Include dl-vdso.
21045 * sysdeps/unix/sysv/linux/mips/Versions: Add
21046 __vdso_clock_gettime.
21047 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21048 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21049 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21050 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21051 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21052 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21053 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21054 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21055 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21056
21057 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21058
21059 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21060 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21061 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21062 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21063 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21064 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21067 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21069 syscalls generation.
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21071 [__NR_pwrite64] (__NR_write): Remove define.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21073 [__NR_pwrite64] (__NR_write): Remove define.
21074 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21075 Remove define.
21076 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21077 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21078 Remove define.
21079 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21080 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21081 Linux implementation as base.
21082 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21083
21084 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21085 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21086 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21087 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21090 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21092 syscall generation.
21093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21094 [__NR_pread64] (__NR_pread): Remove define.
21095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21096 [__NR_pread64] (__NR_pread): Likewise.
21097 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21098 define.
21099 (__libc_pread): Use SYSCALL_LL macro on offset argument.
21100 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21101 Remove define.
21102 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21103 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21104 Linux implementation as base.
21105 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21106 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21107 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21108
21109 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21110 definition.
21111 (__ALIGNMENT_COUNT): Likewise.
21112 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21113 (__ALIGNMENT_COUNT): Likewise.
21114 (SYSCALL_LL): New define.
21115 (SYSCALL_LL64): Likewise.
21116 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21117 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21118 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21119 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21120
21121 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21122 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21123 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21124 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21125 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21126 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21127
21128 2016-04-11 Florian Weimer <fweimer@redhat.com>
21129
21130 [BZ #19865]
21131 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21132 original buffer before retry.
21133
21134 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21135
21136 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21137 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21138 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21139 GLRO(dl_auxv) list.
21140 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21141 including <ldsodefs.h>.
21142 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21143
21144 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
21145
21146 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21147 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21148 $(CPPFLAGS).
21149
21150 2016-04-09 Khem Raj <raj.khem@gmail.com>
21151
21152 [BZ #17950]
21153 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21154 Add -mfpmath=387.
21155
21156 2016-04-09 Mike Frysinger <vapier@gentoo.org>
21157
21158 * sysdeps/i386/configure.ac: Change == to = when calling test.
21159 * sysdeps/x86_64/configure.ac: Likewise.
21160 * sysdeps/i386/configure: Regenerated.
21161 * sysdeps/x86_64/configure: Likewise.
21162
21163 2016-04-08 Mike Frysinger <vapier@gentoo.org>
21164
21165 [BZ #16137]
21166 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21167 * benchtests/bench-strcoll.c (input_files): Likewise.
21168 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21169 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21170 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21171
21172 2016-04-08 Joseph Myers <joseph@codesourcery.com>
21173
21174 [BZ #19929]
21175 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21176 [__USE_XOPEN2K8 && !__USE_GNU].
21177 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21178 variable.
21179
21180 [BZ #19925]
21181 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21182 define if [!__USE_MISC && __USE_XOPEN2K].
21183 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21184 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21185 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21186 Likewise.
21187 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21188 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21189 variable.
21190 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21191
21192 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21193
21194 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21195 (sysdep_routines): Add new strspn targets.
21196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21197 (__libc_ifunc_impl_list): Add strspn.
21198 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21199 New file.
21200 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21201 Likewise.
21202 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21203 Likewise.
21204 * sysdeps/powerpc/powerpc64/power8/strspn.S:
21205 Likewise.
21206
21207 2016-04-07 Florian Weimer <fweimer@redhat.com>
21208
21209 * misc/hsearch_r.c: Include <limits.h>.
21210
21211 2016-04-07 Florian Weimer <fweimer@redhat.com>
21212
21213 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21214
21215 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
21216
21217 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21218 (MEMCPY_SYMBOL): New.
21219 (MEMPCPY_SYMBOL): Likewise.
21220 (MEMMOVE_CHK_SYMBOL): Likewise.
21221 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21222 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21223 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
21224 Provide alias for memcpy in libc.a and ld.so.
21225
21226 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
21227
21228 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21229 (MEMSET_CHK_SYMBOL): New. Define if not defined.
21230 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21231 Disabled fro now.
21232 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21233 symbols. Properly check USE_MULTIARCH on __memset symbols.
21234
21235 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
21236
21237 * benchtests/Makefile (string-benchset): Add memcpy-large,
21238 memmove-large and memset-large.
21239 * benchtests/bench-memcpy-large.c: New file.
21240 * benchtests/bench-memmove-large.c: Likewise.
21241 * benchtests/bench-memmove-large.c: Likewise.
21242 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21243
21244 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
21245
21246 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21247 32-bit displacement to avoid long nop between instructions.
21248
21249 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
21250
21251 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21252 a comment on VMOVU and VMOVA.
21253
21254 2016-04-04 Florian Weimer <fweimer@redhat.com>
21255
21256 [BZ #19633]
21257 Use specified locale for number formatting in strfmon_l.
21258 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21259 (__nl_lookup_word): New inline functions.
21260 * include/printf.h (__print_fp_l): Declare.
21261 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21262 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
21263 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21264 (___printf_fp): New function.
21265 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21266 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21267 * stdlib/tst-strfmon_l.c (do_test): New test.
21268 * stdlib/Makefile (tests): Add kt.
21269 (LOCALES): Build additional locales.
21270 (tst-strfmon_l.out): Require locales.
21271
21272 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
21273
21274 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21275 if not in libc.
21276 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21277 Likewise.
21278 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21279 Likewise.
21280 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21281 Likewise.
21282
21283 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
21284
21285 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21286 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21287 with unaligned_erms.
21288 (__memmove_erms): Skip if source == destination.
21289 (__memmove_unaligned_erms): Don't check source == destination
21290 first.
21291
21292 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
21293
21294 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21295 bit_arch_Fast_Copy_Backward for Intel Core proessors.
21296
21297 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21298
21299 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21300 * string/strspn.c (strspn): Likewise.
21301
21302 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
21303
21304 * benchtests/bench-memset.c (do_test): Support 64-byte
21305 alignment.
21306 (test_main): Test 64-byte alignment.
21307
21308 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
21309
21310 * benchtests/bench-memmove.c (test_main): Test 64-byte
21311 alignment.
21312
21313 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
21314
21315 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21316
21317 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21318
21319 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21320 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21321 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21322
21323 * string/strpbrk.c (strpbrk): Rewrite function.
21324 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21325 (__strpbrk_c2): Likewise.
21326 (__strpbrk_c3): Likewise.
21327 * string/string-inlines.c
21328 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21329 Likewise.
21330 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21331 Likewise.
21332
21333 * string/strspn.c (strcspn): Rewrite function.
21334 * string/bits/string2.h (strspn): Use __builtin_strcspn.
21335 (__strspn_c1): Remove inline function.
21336 (__strspn_c2): Likewise.
21337 (__strspn_c3): Likewise.
21338 * string/string-inlines.c
21339 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21340 compatibility symbol.
21341 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21342 Likewise.
21343 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21344 Likewise.
21345 * string/string-inlines.c: Include generic version.
21346
21347 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
21348 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21349
21350 * string/Version (libc): Add GLIBC_2.24.
21351 * string/strcspn.c (strcspn): Rewrite function.
21352 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21353 (__strcspn_c1): Remove inline function.
21354 (__strcspn_c2): Likewise.
21355 (__strcspn_c3): Likewise.
21356 * string/string-inline.c
21357 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21358 compatibility symbol.
21359 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21360 Likewise.
21361 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21362 Likewise.
21363 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21364
21365 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
21366
21367 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21368 Use ahi instead of aghi to adjust stack pointer.
21369
21370 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21371
21372 [BZ #19853]
21373 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21374 TEST to take significant digits as second parameter.
21375 [TEST]: Redefine in terms of TEST_N taking 30
21376 significant digits.
21377 (do_test): Add test case to demonstrate precision
21378 failure in the ldbl-128ibm printf.
21379 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21380 (__mpn_extract_long_double): Carry 7 extra intermediate
21381 bits of precision to aide computing difference when
21382 signs differ.
21383
21384 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
21385
21386 [BZ #19881]
21387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21388 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21389 memset-avx512-unaligned-erms.
21390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21391 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21392 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21393 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21394 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21395 __memset_sse2_unaligned_erms, __memset_erms,
21396 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21397 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21398 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21399 file.
21400 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21401 Likewise.
21402 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21403 Likewise.
21404 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21405 Likewise.
21406
21407 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
21408
21409 [BZ #19776]
21410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21411 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21412 memmove-avx512-unaligned-erms.
21413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21414 (__libc_ifunc_impl_list): Test
21415 __memmove_chk_avx512_unaligned_2,
21416 __memmove_chk_avx512_unaligned_erms,
21417 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21418 __memmove_chk_sse2_unaligned_2,
21419 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21420 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21421 __memmove_avx512_unaligned_erms, __memmove_erms,
21422 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21423 __memcpy_chk_avx512_unaligned_2,
21424 __memcpy_chk_avx512_unaligned_erms,
21425 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21426 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21427 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21428 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21429 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21430 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21431 __mempcpy_chk_avx512_unaligned_erms,
21432 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21433 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21434 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21435 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21436 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21437 __mempcpy_erms.
21438 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21439 file.
21440 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21441 Likewise.
21442 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21443 Likewise.
21444 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21445 Likewise.
21446
21447 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
21448
21449 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21450 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21451 (La_s390_64_regs): Likewise.
21452 (La_s390_32_retval): Append vector register lrv_v24.
21453 (La_s390_64_retval): Likeweise.
21454 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21455 Handle extended structs La_s390_32_regs and La_s390_32_retval.
21456 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21457 Handle extended structs La_s390_64_regs and La_s390_64_retval.
21458
21459 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
21460
21461 [BZ #19916]
21462 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21463 to create a non-vector/vector version for _dl_runtime_resolve and
21464 _dl_runtime_profile. Move implementation to ...
21465 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21466 (_dl_runtime_resolve) Save and restore fpr/vrs.
21467 (_dl_runtime_profile) Save and restore vrs and fix some issues
21468 if _dl_call_pltexit is called.
21469 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21470 Choose the correct resolver function if running on a machine with vx.
21471 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21472 to create a non-vector/vector version for _dl_runtime_resolve and
21473 _dl_runtime_profile. Move implementation to ...
21474 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21475 (_dl_runtime_resolve) Save and restore fpr/vrs.
21476 (_dl_runtime_profile) Save and restore vrs and fix some issues
21477 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21478 Choose the correct resolver function if running on a machine with vx.
21479
21480 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21481
21482 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21483
21484 2016-03-31 Florian Weimer <fweimer@redhat.com>
21485
21486 [BZ #19509]
21487 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21488 skip_map != NULL.
21489 * elf/tst-dlsym-error.c: New file.
21490 * elf/Makefile (tests): Add tst-dlsym-error.
21491 (tst-dlsym-error): Link against libdl.
21492
21493 2016-03-29 Joseph Myers <joseph@codesourcery.com>
21494
21495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21496 (__ASSUME_FUTIMESAT): Remove macro.
21497 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21498
21499 2016-03-29 Florian Weimer <fweimer@redhat.com>
21500
21501 [BZ #19879]
21502 CVE-2016-3075
21503 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21504 copy name.
21505
21506 2016-03-29 Florian Weimer <fweimer@redhat.com>
21507
21508 [BZ #19837]
21509 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21510 error if parse_line fails.
21511
21512 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
21513
21514 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21515 (index_cpu_ERMS): Likewise.
21516 (reg_ERMS): Likewise.
21517
21518 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
21519
21520 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21521 PER_LINUX_FDPIC): Add.
21522
21523 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
21524
21525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21526 memcpy-avx512-no-vzeroupper.
21527 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21528 to ...
21529 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21530 (MEMCPY): Don't define.
21531 (MEMCPY_CHK): Likewise.
21532 (MEMPCPY): Likewise.
21533 (MEMPCPY_CHK): Likewise.
21534 (MEMPCPY_CHK): Renamed to ...
21535 (__mempcpy_chk_avx512_no_vzeroupper): This.
21536 (MEMPCPY_CHK): Renamed to ...
21537 (__mempcpy_chk_avx512_no_vzeroupper): This.
21538 (MEMCPY_CHK): Renamed to ...
21539 (__memmove_chk_avx512_no_vzeroupper): This.
21540 (MEMCPY): Renamed to ...
21541 (__memmove_avx512_no_vzeroupper): This.
21542 (__memcpy_avx512_no_vzeroupper): New alias.
21543 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21544
21545 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
21546
21547 [BZ #18858]
21548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21549 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21550 and mempcpy-avx512-no-vzeroupper.
21551 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21552 New.
21553 (MEMPCPY): Likewise.
21554 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21555 (MEMPCPY_CHK): New.
21556 (MEMPCPY): Likewise.
21557 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21558 (MEMPCPY): Likewise.
21559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21560 (MEMPCPY): Likewise.
21561 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21562 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21563 Likewise.
21564 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21565 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21566
21567 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
21568 Amit Pawar <Amit.Pawar@amd.com>
21569
21570 [BZ #19583]
21571 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21572 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21573 processors. Set Fast_Copy_Backward for AMD Excavator
21574 processors.
21575 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21576 New.
21577 (index_arch_Fast_Unaligned_Copy): Likewise.
21578 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21579 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21580
21581 2016-03-25 Florian Weimer <fweimer@redhat.com>
21582
21583 [BZ #19791]
21584 * resolv/res_send.c (close_and_return_error): New function.
21585 (send_dg): Initialize *resplen2 after reopen failure. Call
21586 close_and_return_error for error returns. On error paths without
21587 __res_iclose, initialze *resplen2 explicitly. Update comment for
21588 successful return.
21589
21590 2016-03-25 Florian Weimer <fweimer@redhat.com>
21591
21592 [BZ #19860]
21593 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21594 zero if the compiler does not provide the AVX512F bit.
21595
21596 2016-03-24 Joseph Myers <joseph@codesourcery.com>
21597
21598 [BZ #19848]
21599 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21600 from 8 to 4.
21601 (__ieee754_powl): Compare integer exponent against 4 not 8.
21602 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21603 from 8 to 4.
21604 (__ieee754_powl): Compare integer exponent against 4 not 8.
21605 * math/auto-libm-test-in: Add more tests of pow.
21606 * math/auto-libm-test-out: Regenerated.
21607 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21609
21610 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
21611
21612 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21613 Make code unconditional.
21614 [!__NR_utimensat]: Remove conditional code.
21615 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21616 Make code unconditional.
21617 [!__NR_utimensat]: Remove conditional code.
21618 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21619 Make code unconditional.
21620 [!__NR_utimensat]: Remove conditional code.
21621
21622 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
21623
21624 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21625 Make code unconditional.
21626
21627 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
21628
21629 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21630 call-clobbered %eax on retry path.
21631 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21632
21633 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
21634
21635 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21636 Don't set %rcx twice before "rep movsb".
21637
21638 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
21639
21640 [BZ #19583]
21641 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21642 inline. Check family before setting family, model and
21643 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
21644 bits here.
21645 (init_cpu_features): Replace HAS_CPU_FEATURE and
21646 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21647 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
21648 for Intel processors with usable AVX2. Call get_common_indeces
21649 for other processors with family == NULL.
21650 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21651 (CPU_FEATURES_ARCH_P): Likewise.
21652 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21653 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21654
21655 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21656
21657 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21658 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21659 $(shared-thread-library) instead of hardcoding the path to libpthread.
21660
21661 2016-03-22 Joseph Myers <joseph@codesourcery.com>
21662
21663 * sysdeps/unix/sysv/linux/kernel-features.h
21664 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21665 * sysdeps/unix/sysv/linux/getdents.c
21666 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21667 [!have_no_getdents64_defined]: Likewise.
21668 (__GETDENTS): Remove __have_no_getdents64 conditional.
21669
21670 2016-03-21 Joseph Myers <joseph@codesourcery.com>
21671
21672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21673 Remove macro.
21674 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21675 <kernel-features.h>.
21676 (signalfd) [__NR_signalfd4]: Make code unconditional.
21677 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21678
21679 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21680
21681 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21682 style.
21683
21684 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
21685
21686 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21687 (__pthread_enable_asynccancel): Use JUMPTARGET to call
21688 __pthread_unwind.
21689 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21690 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21691 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21692 (__condvar_cleanup1): Likewise.
21693
21694 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
21695
21696 [BZ #19822]
21697 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21698 move it to the final $@ location.
21699
21700 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21701
21702 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21703 access where posix_spawn success and pid argument is null.
21704 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21705 success case.
21706
21707 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
21708
21709 * sysdeps/mach/hurd/i386/c++-types.data: New file.
21710
21711 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21712
21713 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21714 and __fcntl.
21715 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21716 __fcntl only.
21717 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
21718 adding attribute_hidden to __open and __fcntl.
21719
21720 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
21721 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
21722 depend on libc-modules.h,
21723 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
21724
21725 2016-03-17 Joseph Myers <joseph@codesourcery.com>
21726
21727 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
21728 Remove macro.
21729 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
21730 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
21731 entry.
21732
21733 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
21734 Remove macro.
21735 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
21736 include <kernel-features.h>.
21737 [!__ASSUME_FALLOCATE]: Remove conditional code.
21738 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
21739
21740 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
21741
21742 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
21743 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
21744 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
21745 (_ZGVdN4v_cos_avx2): Likewise.
21746 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
21747 (_ZGVdN4v_cos): Likewise.
21748 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
21749 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
21750 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
21751 (_ZGVdN4v_exp_avx2): Likewise.
21752 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
21753 (_ZGVdN4v_exp): Likewise.
21754 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
21755 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
21756 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
21757 (_ZGVdN4v_log_avx2): Likewise.
21758 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
21759 (_ZGVdN4v_log): Likewise.
21760 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
21761 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
21762 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
21763 (_ZGVdN4vv_pow_avx2): Likewise.
21764 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
21765 (_ZGVdN4vv_pow): Likewise.
21766 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
21767 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
21768 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
21769 (_ZGVdN4v_sin_avx2): Likewise.
21770 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
21771 (_ZGVdN4v_sin): Likewise.
21772 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
21773 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
21774 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
21775 (_ZGVdN4vvv_sincos_avx2): Likewise.
21776 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
21777 (_ZGVdN4vvv_sincos): Likewise.
21778 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
21779 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
21780 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
21781 (_ZGVbN4v_cosf_sse4): Likewise.
21782 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
21783 (_ZGVdN8v_cosf_avx2): Likewise.
21784 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
21785 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
21786 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
21787 (_ZGVbN4v_expf_sse4): Likewise.
21788 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
21789 (_ZGVdN8v_expf_avx2): Likewise.
21790 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
21791 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
21792 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
21793 (_ZGVbN4v_logf_sse4): Likewise.
21794 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
21795 (_ZGVdN8v_logf_avx2): Likewise.
21796 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
21797 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
21798 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
21799 (_ZGVbN4vv_powf_sse4): Likewise.
21800 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
21801 (_ZGVdN8vv_powf_avx2): Likewise.
21802 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21803 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
21804 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21805 (_ZGVbN4vvv_sincosf_sse4): Likewise.
21806 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21807 (_ZGVdN8vvv_sincosf_avx2): Likewise.
21808 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
21809 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
21810 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
21811 (_ZGVbN4v_sinf_sse4): Likewise.
21812 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
21813 (_ZGVdN8v_sinf_avx2): Likewise.
21814 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21815 Use JUMPTARGET to call callee.
21816 (WRAPPER_IMPL_SSE2_ff): Likewise.
21817 (WRAPPER_IMPL_SSE2_fFF): Likewise.
21818 (WRAPPER_IMPL_AVX): Likewise.
21819 (WRAPPER_IMPL_AVX_ff): Likewise.
21820 (WRAPPER_IMPL_AVX_fFF): Likewise.
21821 (WRAPPER_IMPL_AVX512): Likewise.
21822 (WRAPPER_IMPL_AVX512_ff): Likewise.
21823 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21824 Likewise.
21825 (WRAPPER_IMPL_SSE2_ff): Likewise.
21826 (WRAPPER_IMPL_SSE2_fFF): Likewise.
21827 (WRAPPER_IMPL_AVX): Likewise.
21828 (WRAPPER_IMPL_AVX_ff): Likewise.
21829 (WRAPPER_IMPL_AVX_fFF): Likewise.
21830 (WRAPPER_IMPL_AVX512): Likewise.
21831 (WRAPPER_IMPL_AVX512_ff): Likewise.
21832 (WRAPPER_IMPL_AVX512_fFF): Likewise.
21833
21834 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21835
21836 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
21837 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
21838 qualifier.
21839 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
21840 internal_function qualifiers.
21841
21842 2016-03-15 Carlos O'Donell <carlos@redhat.com>
21843
21844 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
21845 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
21846 * math/atest-exp.c (exp_mpn): Mark chk unused.
21847 * math/atest-exp2.c (exp_mpn): Likewise.
21848 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
21849 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
21850
21851 2016-03-15 Joseph Myers <joseph@codesourcery.com>
21852
21853 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
21854 Remove macro.
21855 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
21856 <kernel-features.h>.
21857 [__NR_ppoll]: Make code unconditional.
21858 [!__ASSUME_PPOLL]: Remove conditional code.
21859
21860 * sysdeps/unix/sysv/linux/kernel-features.h
21861 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
21862 (__ASSUME_ACCEPT4): Likewise.
21863 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21864 Define.
21865 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
21866 Likewise.
21867 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21868 Likewise.
21869 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
21870 Likewise.
21871 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
21872 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
21873 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21874 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21875 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21876 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21877 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21878 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21879 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21880 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21881 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21882 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21883 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21884 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21885 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21886 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21887 Likewise.
21888 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21889 Likewise.
21890 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21891 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21892 0x040300].
21893 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21894 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21895 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21896 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21897 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21898 0x030300].
21899 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
21900 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21901 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21902 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21903 0x040300].
21904 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21905 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21906 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21907 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21908 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21909 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21910 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21911 0x030300].
21912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21913 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21914 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21915 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21916 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21917 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21918 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21919 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21920 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21921 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21922 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21923 0x040300].
21924 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21925 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21926 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21927 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21928 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21929 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21930 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21931 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21932 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21933 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21934 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21935 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21936 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21937 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21938 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
21939 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21941 Likewise.
21942 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21943 Likewise.
21944
21945 2016-03-15 Andreas Schwab <schwab@suse.de>
21946
21947 [BZ #19257]
21948 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
21949 statp->_u._ext.nscount as loop count.
21950
21951 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
21952
21953 * math/test-signgam-finite-c99.c: Also #undef
21954 __LIBC_INTERNAL_MATH_INLINES.
21955 * math/test-signgam-main.c: Likewise.
21956
21957 2016-03-14 Joseph Myers <joseph@codesourcery.com>
21958
21959 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
21960 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21961 (MADV_FREE): Likewise.
21962 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
21963 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
21964 EPOLLEXCLUSIVE.
21965
21966 2016-03-14 Carlos O'Donell <carlos@redhat.com>
21967
21968 * timezone/README: Remove mention of checktab.awk. Mention wiki
21969 SharedSourceFiles.
21970
21971 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
21972
21973 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
21974 WUNTRACED.
21975
21976 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21977
21978 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
21979 order to match the type of p when calling atomic_exchange_acq().
21980
21981 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21982
21983 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
21984 cfi_offset calls.
21985 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
21986 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
21987 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
21988 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
21989 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
21990
21991 2016-03-10 Carlos O'Donell <carlos@redhat.com>
21992
21993 * timezone/checktab.awk: Removed.
21994
21995 2016-03-10 Joseph Myers <joseph@codesourcery.com>
21996
21997 * manual/math.texi (Errors in Math Functions): Document relaxed
21998 accuracy goals for IBM long double.
21999 * math/libm-test.inc (test_exceptions): Always allow spurious
22000 "underflow" and "inexact" exceptions for IBM long double.
22001
22002 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
22003
22004 [BZ #19762]
22005 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22006 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22007 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22008 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22009 (bit_arch_*): This for feature array.
22010 (bit_*): Renamed to ...
22011 (bit_cpu_*): This for cpu array.
22012 (index_*): Renamed to ...
22013 (index_arch_*): This for feature array.
22014 (index_*): Renamed to ...
22015 (index_cpu_*): This for cpu array.
22016 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22017 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22018 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22019 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22020 bit_##name with index_cpu_##name and bit_cpu_##name.
22021 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22022 bit_##name with index_arch_##name and bit_arch_##name.
22023
22024 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
22025
22026 [BZ #19792]
22027 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22028 Terminate FDE before return label.
22029
22030 2016-03-09 Joseph Myers <joseph@codesourcery.com>
22031
22032 [BZ #19790]
22033 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22034 (rintl): Define as macro.
22035 [USE_AS_NEARBYINTL] (__rintl): Likewise.
22036 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22037 of fesetround. Ensure results are evaluated before end of scope.
22038 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22039 USE_AS_NEARBYINTL and include s_rintl.c.
22040 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22041 Disable exception traps in new environment.
22042 (libc_feholdsetround_ppc_ctx): Likewise.
22043
22044 2016-03-08 Roland McGrath <roland@hack.frob.com>
22045
22046 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22047 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22048 (tst_audit10_aux) [__AVX512F__]: ... here.
22049
22050 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
22051
22052 * include/sys/auxv.h: New file.
22053
22054 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
22055
22056 [BZ #19759]
22057 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22058
22059 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22060
22061 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22062 operand modifier.
22063 (feclearexcept): Likewise.
22064
22065 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22066
22067 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22068 to reflect the entire 32-bit HWCAP.
22069 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22070 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
22071
22072 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
22073
22074 [BZ #19783]
22075 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22076 $(test-via-rtld-prefix).
22077 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22078
22079 2016-03-08 Florian Weimer <fweimer@redhat.com>
22080
22081 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22082 union wait. Report any non-zero exit status as error.
22083
22084 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22085
22086 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22087 configured with --enable-hardcoded-path-in-tests.
22088
22089 2016-03-08 Joseph Myers <joseph@codesourcery.com>
22090
22091 [BZ #19677]
22092 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22093 (__ieee754_remainderl): Put zero low parts in canonical form.
22094 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22095 file. Based on
22096 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22097 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22098 with wrapper round test-fmodrem-ldbl-128ibm.c.
22099 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22100 file.
22101 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22102 Likewise.
22103 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22104 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22105
22106 2016-03-07 Florian Weimer <fweimer@redhat.com>
22107
22108 [BZ #19610]
22109 * elf/ldconfig.c (opt_link): Update comment.
22110 (options): Update help string for option -X.
22111 (search_dir): Unlink stale symbolic link only if updating symbolic
22112 links.
22113 * elf/tst-ldconfig-X.sh: New file.
22114 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22115 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22116
22117 2016-03-07 Andreas Schwab <schwab@suse.de>
22118
22119 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22120 needed arguments.
22121
22122 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
22123
22124 [BZ #15333]
22125 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22126 to lstat64.
22127
22128 2016-03-07 Florian Weimer <fweimer@redhat.com>
22129
22130 * libio/filedoalloc.c (isatty): Remove.
22131 (local_isatty): Add comment. Call __isatty directly.
22132 (_IO_file_doallocate): Update comment. Assume _LIBC.
22133 * libio/wfiledoalloc.c (isatty): Remove.
22134 (_IO_wfile_doallocate): Update comment.
22135
22136 2016-03-07 Florian Weimer <fweimer@redhat.com>
22137
22138 [BZ #19269]
22139 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22140 tst-audit4-aux.o.
22141 (tst-audit10): Depend on tst-audit10-aux.o.
22142 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22143 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22144 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22145 instead of inline AVX code.
22146 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22147 instead of inline AVX512 code.
22148 * sysdeps/x86_64/tst-audit4-aux.c: New file
22149 * sysdeps/x86_64/tst-audit10-aux.c: New file
22150
22151 [BZ #19648]
22152 * test-skeleton.c (main): Do not set RLIMIT_DATA.
22153
22154 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22155
22156 [BZ #14750]
22157 [BZ #10354]
22158 [BZ #18433]
22159 * include/sched.h (__clone): Add hidden prototype.
22160 (__clone2): Likewise.
22161 * include/unistd.h (__dup): Likewise.
22162 * posix/Makefile (tests): Add tst-spawn2.
22163 * posix/tst-spawn2.c: New file.
22164 * sysdeps/posix/dup.c (__dup): Add hidden definition.
22165 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22166 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22167 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22168 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22169 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22170 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22171 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22172 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22173 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22174 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22176 Likewise.
22177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22178 Likewise.
22179 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22180 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22181 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22182 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22183 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22184 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22185 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22186 * sysdeps/unix/sysv/linux/nptl-signals.h
22187 (____nptl_is_internal_signal): New function.
22188 * sysdeps/unix/sysv/linux/spawni.c: New file.
22189
22190 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22191 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22192 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22193 * posix/tst-execvp2.c (do_test): Likewise.
22194 * posix/tst-execvp3.c (do_test): Likewise.
22195 * posix/tst-execvp4.c (do_test): Likewise.
22196 * posix/tst-execvpe1.c: New file.
22197 * posix/tst-execvpe2.c: Likewise.
22198 * posix/tst-execvpe3.c: Likewise.
22199 * posix/tst-execvpe4.c: Likewise.
22200 * posix/tst-execvpe5.c: Likewise.
22201 * posix/tst-execvpe6.c: Likewise.
22202
22203 [BZ #19534]
22204 * posix/execl.c (execl): Remove dynamic memory allocation.
22205 * posix/execle.c (execle): Likewise.
22206 * posix/execlp.c (execlp): Likewise.
22207
22208 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
22209
22210 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22211 Replace .text with .text.avx512.
22212 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22213 Likewise.
22214
22215 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
22216
22217 * sysdeps/generic/libnsl.abilist: New file.
22218 * sysdeps/generic/libutil.abilist: New file.
22219
22220 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
22221
22222 [BZ #19762]
22223 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22224 HAS_ARCH_FEATURE with Fast_Rep_String.
22225 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22226 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22227 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22228 Likewise.
22229 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22230 Likewise.
22231 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22232 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22233 Likewise.
22234 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22235 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22236 Likewise.
22237
22238 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
22239
22240 [BZ #19745]
22241 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22242 with *%rax in call.
22243
22244 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
22245
22246 [BZ #19745]
22247 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22248 with *__libc_start_main@GOTPCREL(%rip) in call.
22249
22250 2016-03-04 Roland McGrath <roland@hack.frob.com>
22251
22252 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22253 inside conditional for nonempty $(CXX).
22254
22255 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22256 nonempty.
22257
22258 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22259 to test for empty $(CXX) rather than $(CXX) of "no".
22260
22261 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
22262
22263 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22264
22265 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
22266 H.J. Lu <hongjiu.lu@intel.com>
22267
22268 [BZ #18880]
22269 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22270 instead of Slow_BSF, and also check for Fast_Copy_Backward to
22271 enable __memcpy_ssse3_back.
22272
22273 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
22274
22275 [BZ #19758]
22276 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22277 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22278
22279 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
22280
22281 [BZ #19490]
22282 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22283 (__fentry__): Likewise.
22284
22285 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
22286
22287 * gmon/Makefile (noprof): Add $(sysdep_noprof).
22288 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22289
22290 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
22291
22292 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22293 __mcount_internal directly.
22294 (C_LABEL(__fentry__)): Likewise.
22295 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22296 directly.
22297
22298 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
22299
22300 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22301 (__start_context): Call __setcontext directly.
22302
22303 2016-02-26 Joseph Myers <joseph@codesourcery.com>
22304
22305 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22306 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22307 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22308 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22309 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22310 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22311 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22312 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22313 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22314 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22315 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22316 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22318 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22319 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22320 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22321 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22323 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22324 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22325 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22326 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22327 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22328 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22329 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22330 Remove conditional code.
22331 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22332 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22333 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22334 * sysdeps/unix/sysv/linux/sh/kernel-features.h
22335 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22336 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22337 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22338 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22339 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22340 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22341 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22342 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22343
22344 2016-02-24 Marko Myllynen <myllynen@redhat.com>
22345
22346 * NEWS (2.23): Fix typo in bug 19048 text.
22347
22348 2016-02-24 Carlos O'Donell <carlos@redhat.com>
22349
22350 [BZ #14259]
22351 * Makeconfig: Rename msgcatdir to localedir.
22352 Rename inst_msgcatdir to inst_localedir.
22353 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22354 * config.make.in: Add localedir.
22355 * elf/Makefile ($(objpfx)sotruss): Use localedir.
22356 (ldd-rewrite): Likewise.
22357 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22358 (install-others): Use inst_localedir.
22359 (CPPFLAGS): Use localedir.
22360 * locale/Makefile (locale-CPPFLAGS): Likewise.
22361 * po/Makefile (mo-installed): Use inst_localedir.
22362
22363 [BZ #19575]
22364 * localedata/charmaps/GB18030: Update comments regarding PAU to
22365 non-PUA mappings.
22366
22367 2016-02-24 Joseph Myers <joseph@codesourcery.com>
22368
22369 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22370 test for header.
22371 * sysdeps/unix/sysv/linux/configure: Regenerated.
22372 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22373 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22374 Remove conditional code.
22375 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22376
22377 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22378 Define to 3.2.0.
22379 (arch_minimum_kernel): Likewise.
22380 * sysdeps/unix/sysv/linux/configure: Regenerated.
22381 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22382 Define to 2.6.32.
22383 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22384 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22385 (arch_minimum_kernel): Define to 2.6.32.
22386 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22387 * README: Document Linux 3.2 requirement.
22388 * manual/install.texi (Linux): Document Linux 3.2 headers
22389 requirement.
22390 * INSTALL: Regenerated.
22391
22392 2016-02-24 Andreas Schwab <schwab@suse.de>
22393
22394 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22395 if !NO_LONG_DOUBLE.
22396
22397 2016-02-22 Roland McGrath <roland@hack.frob.com>
22398
22399 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22400 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22401
22402 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
22403
22404 [BZ #19512]
22405 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22406
22407 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
22408
22409 * posix/tst-dir.c: Include libc-internal.h.
22410
22411 2016-02-20 Florian Weimer <fweimer@redhat.com>
22412
22413 [BZ #19056]
22414 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22415 * manual/filesys.texi (Reading/Closing Directory): Mention
22416 deprecaion.
22417 * posix/tst-dir.c (main): Disable deprecation warning in test.
22418
22419 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
22420
22421 [BZ #19679]
22422 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22423 Renamed to ...
22424 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
22425 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22426 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
22427 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22428 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22429 * sysdeps/x86_64/dl-trampoline.h
22430 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22431 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22432
22433 2016-02-19 Mark Wielaard <mjw@redhat.com>
22434
22435 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22436
22437 2016-02-19 Mark Wielaard <mjw@redhat.com>
22438
22439 * elf/elf.h (R_386_GOT32X): New.
22440 (R_386_NUM): Update.
22441 (R_X86_64_GOTPCRELX: New.
22442 (R_X86_64_REX_GOTPCRELX): New.
22443 (R_X86_64_NUM): Update.
22444
22445 2016-02-19 Mike Frysinger <vapier@gentoo.org>
22446
22447 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22448
22449 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
22450
22451 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22452 assign attr->stackaddr to it, and adjust it down when
22453 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
22454 [_STACK_GROWS_UP]: Delete assert.
22455 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22456 Implement stack grows up logic.
22457 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22458 stack grows up logic.
22459
22460 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22461
22462 * NEWS: Update with 2.24 template.
22463
22464 2016-02-19 Joseph Myers <joseph@codesourcery.com>
22465
22466 [BZ #19678]
22467 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22468 Ensure +0.0 is returned when taking the next value below the least
22469 positive value.
22470
22471 2016-02-19 Florian Weimer <fweimer@redhat.com>
22472
22473 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22474 available. Do not define NO_THREADS.
22475 * malloc/malloc.c: Do not check NO_THREADS.
22476 * malloc/arena.c: Likewise.
22477
22478 2016-02-19 Florian Weimer <fweimer@redhat.com>
22479
22480 * malloc/malloc.c (__libc_mallinfo): Update comment.
22481 (struct malloc_par): Remove max_total_mem member, it was always 0.
22482 (int_mallinfo): Store 0 into usmblks (no functional change).
22483 * malloc/hooks.c (struct malloc_state): Document that
22484 max_total_mem is always 0.
22485 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22486 always 0.
22487 * manual/memory.texi (Statistics of Malloc): Likewise.
22488
22489 2016-02-19 Florian Weimer <fweimer@redhat.com>
22490
22491 * malloc/malloc.c (sysmalloc): Do not update arena_max.
22492 * malloc/arena.c (arena_max): Remove.
22493 (heap_trim, _int_new_arena): Do not update arena_max.
22494
22495 2016-02-19 Florian Weimer <fweimer@redhat.com>
22496
22497 * resolv/res_init.c (res_ninit): Update comment.
22498
22499 2016-02-19 Florian Weimer <fweimer@redhat.com>
22500
22501 [BZ #19505]
22502 * posix/spawn_int.h: Add headers and include guard.
22503 (__spawn_valid_fd): New function.
22504 * posix/spawn_faction_addopen.c
22505 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22506 * posix/spawn_faction_addclose.c
22507 (posix_spawn_file_actions_addclose): Likewise.
22508 * posix/spawn_faction_adddup2.c
22509 (posix_spawn_file_actions_adddup2): Likewise. Add check for
22510 second file descriptor.
22511 * posix/spawn_valid_fd.c: New file.
22512 * posix/tst-posix_spawn-fd.c: New file.
22513 * posix/Makefile (routines): Add spawn_valid_fd.
22514 (tests): Add tst-posix_spawn-fd.
22515
22516 2016-02-19 Florian Weimer <fweimer@redhat.com>
22517
22518 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22519 (do_test): Limit the number of arenas, so that we can use fewer
22520 outer threads. Limit timeout to 3 seconds, in preparation for a
22521 larger TIMEOUT value.
22522
22523 2016-02-19 Joseph Myers <joseph@codesourcery.com>
22524
22525 [BZ #19674]
22526 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22527 sign in overflowing and underflowing results when overflow or
22528 underflow is detected early. Include sign in result before rather
22529 than after scaling.
22530
22531 [BZ #19603]
22532 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22533 (__ieee754_remainderl): Adjust sign of integer version of low part
22534 when taking absolute value of high part.
22535 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22536 * math/libm-test.inc (remainder_test_data): Add another test.
22537 (remquo_test_data): Likewise.
22538
22539 2016-02-18 Joseph Myers <joseph@codesourcery.com>
22540
22541 [BZ #19602]
22542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22543 equal high parts and both low parts zero specially.
22544 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22545 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22546 Add test-fmodl-ldbl-128ibm.
22547
22548 [BZ #19595]
22549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22550 common logic for all cases of shifting subnormal results. Do not
22551 insert sign bit in shifted mantissa. Always pass -1023 as biased
22552 exponent to ldbl_insert_mantissa in subnormal case.
22553
22554 [BZ #19594]
22555 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22556 on high and low parts then adjust result and use
22557 ldbl_canonicalize_int if needed.
22558
22559 [BZ #19593]
22560 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22561 on high part and __floor or __ceil on low part then use
22562 ldbl_canonicalize_int if needed.
22563
22564 [BZ #19592]
22565 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22566 high and low parts then use ldbl_canonicalize_int if needed.
22567
22568 [BZ #17899]
22569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22570 New function.
22571 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22572 on high and low parts then use ldbl_canonicalize_int if needed.
22573
22574 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22575
22576 * configure: Regenerated.
22577
22578 * po/libc.pot: Regenerated.
22579
22580 * po/be.po: Updated translation.
22581 * po/bg.po: Likewise.
22582 * po/ca.po: Likewise.
22583 * po/cs.po: Likewise.
22584 * po/da.po: Likewise.
22585 * po/el.po: Likewise.
22586 * po/eo.po: Likewise.
22587 * po/es.po: Likewise.
22588 * po/fi.po: Likewise.
22589 * po/fr.po: Likewise.
22590 * po/gl.po: Likewise.
22591 * po/hr.po: Likewise.
22592 * po/hu.po: Likewise.
22593 * po/ia.po: Likewise.
22594 * po/id.po: Likewise.
22595 * po/it.po: Likewise.
22596 * po/ja.po: Likewise.
22597 * po/lt.po: Likewise.
22598 * po/nb.po: Likewise.
22599 * po/nl.po: Likewise.
22600 * po/pt_BR.po: Likewise.
22601 * po/rw.po: Likewise.
22602 * po/sk.po: Likewise.
22603 * po/sl.po: Likewise.
22604 * po/sv.po: Likewise.
22605 * po/tr.po: Likewise.
22606 * po/zh_CN.po: Likewise.
22607 * po/zh_TW.po: Likewise.
22608
22609 * version.h (RELEAES): Set to "development".
22610 (VERSION): Set to 2.23.90.
22611
22612 * version.h (RELEASE): Set to "stable".
22613 (VERSION): Set to 2.23.
22614 * include/feature.h (__GLIBC_MINOR__): Set to 23.
22615
22616 * NEWS: Updated fixed bugs.
22617
22618 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
22619 Wilco Dijkstra <wdijkstr@arm.com>
22620
22621 [BZ #19462]
22622 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22623 (_STRING_INLINE_unaligned): This.
22624 * include/string.h: Include <string_private.h>.
22625 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22626 _STRING_INLINE_unaligned.
22627 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22628 (_STRING_INLINE_unaligned): New.
22629 * sysdeps/aarch64/string_private.h: New file.
22630 * sysdeps/generic/string_private.h: Likewise.
22631 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22632 * sysdeps/s390/string_private.h: Likewise.
22633 * sysdeps/x86/string_private.h: Likewise.
22634 * sysdeps/m68k/m680x0/m68020/bits/string.h
22635 (_STRING_ARCH_unaligned): Renamed to ...
22636 (_STRING_INLINE_unaligned): This.
22637 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22638 to ...
22639 (_STRING_INLINE_unaligned): This.
22640 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22641 to ...
22642 (_STRING_INLINE_unaligned): This.
22643 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22644 to ...
22645 (_STRING_INLINE_unaligned): This.
22646
22647 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
22648 H.J. Lu <hongjiu.lu@intel.com>
22649
22650 [BZ #19590]
22651 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22652 relocation.
22653
22654 2016-02-15 Carlos O'Donell <carlos@redhat.com>
22655
22656 [BZ #18665]
22657 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22658 *herrno_p.
22659 (gaih_getanswer): Document functional behviour. Return tryagain
22660 if any result is tryagain.
22661 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22662 when freed.
22663 * resolv/res_send.c: Add copyright text.
22664 (__libc_res_nsend): Document that MAXPACKET is expected.
22665 (send_vc): Document. Remove buffer reuse.
22666 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22667 size of the buffer. Add Dprint for truncated UDP buffer.
22668
22669 2016-02-14 Carlos O'Donell <carlos@redhat.com>
22670
22671 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22672 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22673 * INSTALL: Regenerate.
22674
22675 2016-02-14 Jakub Jelinek <jakub@redhat.com>
22676 Jonathan Wakely <jwakely@redhat.com>
22677 Carlos O'Donell <carlos@redhat.com>
22678
22679 [BZ 19439]
22680 * math/Makefile (tests): Add test-math-isinff.
22681 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22682 * math/bits/mathcalls.h [__USE_MISC]: Use
22683 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22684 functions not in C++11 and which don't conflict e.g. isinff,
22685 isinfl etc.
22686 * math/test-math-isinff.cc: New file.
22687
22688 2016-02-12 Florian Weimer <fweimer@redhat.com>
22689
22690 * misc/bug18240.c (do_test): Set RLIMIT_AS.
22691
22692 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
22693
22694 [BZ #19529]
22695 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22696
22697 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22698
22699 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22700
22701 2016-02-01 Joseph Myers <joseph@codesourcery.com>
22702
22703 [BZ #19550]
22704 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22705 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22706 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22707 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22708 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22709 New syscall entry.
22710 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22711 New syscall entry.
22712 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22713 syscall entry.
22714
22715 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
22716
22717 [BZ #18240]
22718 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
22719 unsigned int wraparound.
22720
22721 2016-01-27 Florian Weimer <fweimer@redhat.com>
22722
22723 [BZ #18240]
22724 * misc/bug18240.c: New test.
22725 * misc/Makefile (tests): Add it.
22726
22727 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
22728 Joseph Myers <joseph@codesourcery.com>
22729
22730 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
22731 load in branch delay slot when less than a word of input left.
22732
22733 2016-01-27 Andreas Schwab <schwab@suse.de>
22734
22735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
22736 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
22737 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
22738 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
22739
22740 2016-01-26 David S. Miller <davem@davemloft.net>
22741
22742 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
22743
22744 2016-01-25 David S. Miller <davem@davemloft.net>
22745
22746 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
22747 __sqrtl_finite.
22748 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
22749 instead using versioned_symbol.
22750 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
22751 of entries.
22752
22753 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
22754 __sqrtl_finite to GLIBC_2.23
22755
22756 2016-01-25 Ricchard Henderson <rth@redhat.com>
22757
22758 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22759
22760 2016-01-25 Andreas Schwab <schwab@suse.de>
22761
22762 [BZ #17514]
22763 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
22764 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
22765 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
22766 * nptl/tst-mutex-errorcheck.c: New file.
22767
22768 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22769
22770 [BZ #18560]
22771 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
22772 (IPCOP_semop): Likewise.
22773 (IPCOP_semget): Likewise.
22774 (IPCOP_semctl): Likewise.
22775 (IPCOP_msgsnd): Likewise.
22776 (IPCOP_msgrcv): Likewise.
22777 (IPCOP_msgget): Likewise.
22778 (IPCOP_msgctl): Likewise.
22779 (IPCOP_shmat): Likewise.
22780 (IPCOP_shmdt): Likewise.
22781 (IPCOP_shmget): Likewise.
22782 (IPCOP_shmctl): Likewise.
22783
22784 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
22785
22786 * string/tst-endian.c: Include <libc-internal.h>.
22787 (do_test): Ignore tautological-compare warnings around
22788 "htobeXX (beXXtoh (i)) != i" and
22789 "htoleXX (leXXtoh (i)) != i" if-statements.
22790
22791 2016-01-24 David S. Miller <davem@davemloft.net>
22792
22793 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
22794 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
22795 alias.
22796 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22797 __sqrtl_finite.
22798
22799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22800
22801 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
22802
22803 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
22804 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
22805 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22806
22807 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22808
22809 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
22810 (thread_func): Use new function to simplify barrier check.
22811 (do_test): Use new function to simplify checking barrier exit
22812 code, and actually join the child thread.
22813
22814 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22815
22816 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
22817 semicolon.
22818 (__libc_tend): Likewise.
22819 (__libc_tabort): Likewise.
22820
22821 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
22822
22823 * sysdeps/nios2/libm-test-ulps: Update.
22824 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
22825 (__gtsf2): Likewise.
22826 (__unorddf2): Likewise.
22827 (__unordsf2): Likewise.
22828 (__ledf2): Likewise.
22829
22830 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
22831
22832 * nis/nis_table.c (__follow_path): Disable diagnostic for
22833 uninitialized variable that is a false positive for gcc 4.7.
22834 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
22835
22836 2016-01-20 Roland McGrath <roland@hack.frob.com>
22837
22838 * sysdeps/nacl/lowlevellock-futex.h
22839 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
22840 Always evaluate PRIVATE argument.
22841
22842 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
22843
22844 [BZ #19490]
22845 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
22846 (pthread_cond_broadcast): Use ENTRY/END
22847 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
22848 (pthread_cond_signal): Likewise.
22849 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
22850 Likewise.
22851 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
22852 Likewise.
22853 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
22854 Likewise.
22855
22856 2016-01-20 Joseph Myers <joseph@codesourcery.com>
22857
22858 * sysdeps/ieee754/dbl-64/s_finite.c
22859 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
22860 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
22861 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
22862 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
22863 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
22864
22865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
22866 (__gtsf2): Add as optional for libc.so.
22867 (__unordsf2): Likewise.
22868 (__signbit): Remove for libc.so.
22869 (__signbitl): Likewise.
22870
22871 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
22872
22873 * iconvdata/bug-iconv11.c (test_ibm93x):
22874 Use %zu printf format specifier for size_t argument.
22875
22876 2016-01-19 Joseph Myers <joseph@codesourcery.com>
22877
22878 * math/gen-libm-test.pl (parse_ulps): Do not reduce
22879 already-recorded ulps.
22880 * sysdeps/arm/libm-test-ulps: Regenerated.
22881 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22882 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22883 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22884
22885 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
22886 Paul Pluzhnikov <ppluzhnikov@google.com>
22887
22888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
22889 assembler not supporting AVX-512.
22890
22891 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
22892
22893 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22894
22895 2016-01-18 Joseph Myers <joseph@codesourcery.com>
22896
22897 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22898 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22899
22900 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22901
22902 * sysdeps/arm/libm-test-ulps: Regenerated.
22903
22904 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22905
22906 [BZ #19451]
22907 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
22908
22909 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22910
22911 [BZ #19486]
22912 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
22913 * sysdeps/generic/fix-fp-int-convert-overflow.h
22914 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
22915 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
22916 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
22917 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
22918 Likewise.
22919 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
22920 Avoid conversions to long int where inexact exceptions
22921 could be raised.
22922 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
22923 Likewise.
22924 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
22925 Avoid conversions to long long int where inexact exceptions
22926 could be raised.
22927 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
22928 Likewise.
22929
22930 2016-01-17 Mike Frysinger <vapier@gentoo.org>
22931
22932 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
22933 * configure: Regenerated.
22934
22935 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
22936
22937 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
22938
22939 2016-01-16 Mike Frysinger <vapier@gentoo.org>
22940
22941 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
22942 outside of comment.
22943
22944 2016-01-15 Torvald Riegel <triegel@redhat.com>
22945
22946 * nptl/tst-barrier1.c: Add description on first line.
22947 * nptl/tst-barrier2.c: Likewise.
22948 * nptl/tst-barrier3.c: Likewise.
22949 * nptl/tst-barrier4.c: Likewise.
22950 * nptl/tst-barrier5.c: Likewise.
22951
22952 2016-01-15 Torvald Riegel <triegel@redhat.com>
22953
22954 [BZ #18868]
22955 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
22956
22957 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
22958
22959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
22960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22961 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
22962 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
22963 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
22964 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
22965 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22966 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22967 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22968 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22969 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22970
22971 2016-01-15 Torvald Riegel <triegel@redhat.com>
22972
22973 [BZ #13065]
22974 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
22975 new implementation.
22976 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
22977 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
22978 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
22979 (BARRIER_IN_THRESHOLD): New macro.
22980 * nptl/pthread_barrierattr_setpshared.c
22981 (pthread_barrierattr_setpshared): Clean up.
22982 * nptl/tst-barrier4.c: Correct comment.
22983 * nptl/tst-barrier5.c: New file.
22984 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
22985 (gen-as-const-headers): Remove lowlevelbarrier.sym.
22986 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
22987 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
22988 * nptl/lowlevelbarrier.sym: Remove.
22989 * nptl/DESIGN-barrier.txt: Remove.
22990 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
22991 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
22992 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
22993 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
22994 error.
22995 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
22996 implementation.
22997
22998 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22999
23000 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23001 (do_child): Mask SIGRTMIN while thr is running.
23002
23003 2016-01-15 Martin Sebor <msebor@redhat.com>
23004
23005 [BZ #19432]
23006 * iconvdata/Makefile: Add bug-iconv11.
23007 * iconvdata/bug-iconv11.c: New test.
23008 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23009 * iconvdata/ibm933.c: Same.
23010 * iconvdata/ibm935.c: Same.
23011 * iconvdata/ibm937.c: Same.
23012 * iconvdata/ibm939.c: Same.
23013
23014 2016-01-15 Martin Sebor <msebor@redhat.com>
23015
23016 [BZ #19443]
23017 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23018 [DEBUG] (_ufc_set_bits): Declare used.
23019 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23020 [DEBUG] (print_all): Declare used.
23021 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23022 operands of the ternary ?: expression to target type.
23023 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23024 calling the undeclared abort.
23025 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23026
23027 2016-01-15 Martin Sebor <msebor@redhat.com>
23028
23029 [BZ #18755]
23030 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23031 warnings.
23032 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23033 (__gai_create_helper_thread): Same.
23034 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23035 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23036 to suppress -Wmaybe-uninitialized warnings.
23037
23038 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
23039
23040 [BZ #19465]
23041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23042 inside if.
23043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23046
23047 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
23048
23049 [BZ #19466]
23050 * time/tst-mktime2.c (time_t_max): Removed.
23051 (time_t_min): Likewise.
23052 (TYPE_SIGNED): New.
23053 (TYPE_MINIMUM): Likewise.
23054 (TYPE_MAXIMUM): Likewise.
23055 (TIME_T_MIN): Likewise.
23056 (TIME_T_MAX): Likewise.
23057 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23058 and TIME_T_MIN.
23059 (do_test): Likewise.
23060
23061 2016-01-14 Amit Pawar <amit.pawar@amd.com>
23062
23063 [BZ #19467]
23064 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23065 index_Fast_Unaligned_Load flag for Excavator family CPUs.
23066
23067 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
23068
23069 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23070
23071 2016-01-13 Carlos O'Donell <carlos@redhat.com>
23072
23073 * benchtests/Makefile (PYTHON): Define.
23074 (bench-func): Use $(PYTHON) to run python scripts.
23075 ($(objpfx)bench-%.c): Likewise.
23076
23077 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
23078
23079 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23080 leading slash when `file_name' is "/".
23081
23082 2016-01-12 Joseph Myers <joseph@codesourcery.com>
23083
23084 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23085 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23086 Likewise.
23087 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23088 Likewise.
23089 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23090 Likewise.
23091 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23092 enum constant and macro.
23093 (PTRACE_SETSIGMASK): Likewise.
23094 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23095 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23096 (PTRACE_GETSIGMASK): Likewise.
23097 (PTRACE_SETSIGMASK): Likewise.
23098 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23099 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23100 Likewise.
23101 (PTRACE_SETSIGMASK): Likewise.
23102 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23103 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23104 (PTRACE_GETSIGMASK): Likewise.
23105 (PTRACE_SETSIGMASK): Likewise.
23106 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23108 Likewise.
23109 (PTRACE_SETSIGMASK): Likewise.
23110 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23111 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23112 Likewise.
23113 (PTRACE_SETSIGMASK): Likewise.
23114 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23115 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23116 Likewise.
23117 (PTRACE_SETSIGMASK): Likewise.
23118 (PTRACE_SECCOMP_GET_FILTER): Likewise.
23119
23120 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
23121 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23122
23123 [BZ #19439]
23124 * math/bits/mathcalls.h
23125 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23126 prototype.
23127 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23128
23129 2016-01-11 Andreas Schwab <schwab@suse.de>
23130
23131 [BZ #19253]
23132 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23133 cache when TZDEFRULES was used.
23134 * time/tst-tzname.c: New file.
23135 * time/Makefile (test): Add tst-tzname.
23136 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23137 * timezone/Makefile (test-zones): Add $(posixrules-file).
23138 ($(testdata)/$(posixrules-file)): New rule.
23139
23140 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
23141
23142 Fix doc quoting problems with Texinfo 5
23143 Without this change, in the info file output, Texinfo 5 quotes code
23144 in text with undirected single quotes 'like this' and generates
23145 code examples that with many PDF readers cannot be cut out of PDFs
23146 and pasted into code.
23147 * manual/libc.texinfo: Configure the libc manual like the GNU
23148 Emacs manual, by using @documentencoding and setting
23149 txicodequoteundirected and txicodequotebacktick. This way,
23150 Texinfo 5 quotes code in text with directed single quotes ‘like
23151 this’ and produces examples that can be cut out of PDFs. This
23152 change causes Texinfo 5 to generate info files that contain UTF-8
23153 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23154 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23155
23156 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23157
23158 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23159 __libc_tabort, __libc_tend): New wrappers that enforce compiler
23160 barriers to their respective compiler built-ins.
23161 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23162 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23163 * sysdeps/powerpc/sysdep.h: Likewise.
23164 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23165 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23166 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23167
23168 2016-01-08 Marko Myllynen <myllynen@redhat.com>
23169
23170 * scripts/config.guess: Revert previous shebang change.
23171 * scripts/config.sub: Likewise.
23172 * scripts/mkinstalldirs: Likewise.
23173
23174 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23175
23176 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23177 PPC_FEATURE2_HAS_IEEE128.
23178 * sysdeps/powerpc/dl-procinfo.c:
23179 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23180
23181 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
23182
23183 [BZ #19415]
23184 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23185 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
23186 (_dl_lookup_address): Rewrite using function resolver trampoline.
23187 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23188 two bits in address.
23189
23190 2016-01-07 Mike Frysinger <vapier@gentoo.org>
23191
23192 * longlong.h: Change !__SHMEDIA__ to
23193 (!defined (__SHMEDIA__) || !__SHMEDIA__).
23194 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23195
23196 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
23197 Joseph Myers <joseph@codesourcery.com>
23198 Mark Shinwell <shinwell@codesourcery.com>
23199 Andrew Stubbs <ams@codesourcery.com>
23200 Rich Felker <dalias@libc.org>
23201
23202 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23203
23204 2016-01-07 Richard Henderson <rth@redhat.com>
23205
23206 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23207
23208 2016-01-07 Mike Frysinger <vapier@gentoo.org>
23209
23210 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23211 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23212 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23213 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23214 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23215
23216 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
23217 Joseph Myers <joseph@codesourcery.com>
23218
23219 * timezone/private.h: Update from tzcode 2015g.
23220 * timezone/tzfile.h: Likewise.
23221 * timezone/tzselect.ksh: Likewise.
23222 * timezone/zdump.c: Likewise.
23223 * timezone/zic.c: Likewise.
23224 * timezone/ialloc.c: Remove file.
23225 * timezone/scheck.c: Likewise.
23226 * timezone/Makefile (extra-objs): Remove variable.
23227 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23228 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23229 -Wno-maybe-uninitialized.
23230 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23231 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23232 (CFLAGS-ialloc.c): Remove variable.
23233 (CFLAGS-scheck.c): Likewise.
23234 * timezone/README: Update list of files from tzcode.
23235
23236 2016-01-07 Khem Raj <raj.khem@gmail.com>
23237
23238 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23239 instead of __fxprintf when _LIBC is undefined.
23240
23241 2016-01-07 Marko Myllynen <myllynen@redhat.com>
23242
23243 * catgets/test-gencat.sh: Remove space after shebang.
23244 * conform/GlibcConform.pm: Likewise.
23245 * conform/check-header-lists.sh: Likewise.
23246 * conform/conformtest.pl: Likewise.
23247 * conform/linknamespace.pl: Likewise.
23248 * conform/list-header-symbols.pl: Likewise.
23249 * debug/catchsegv.sh: Likewise.
23250 * elf/genrtldtbl.awk: Likewise.
23251 * elf/tst-pathopt.sh: Likewise.
23252 * elf/tst-rtld-load-self.sh: Likewise.
23253 * grp/tst_fgetgrent.sh: Likewise.
23254 * iconvdata/gen-8bit-gap-1.sh: Likewise.
23255 * iconvdata/gen-8bit-gap.sh: Likewise.
23256 * iconvdata/gen-8bit.sh: Likewise.
23257 * iconvdata/run-iconv-test.sh: Likewise.
23258 * intl/tst-gettext.sh: Likewise.
23259 * intl/tst-gettext2.sh: Likewise.
23260 * intl/tst-gettext4.sh: Likewise.
23261 * intl/tst-gettext6.sh: Likewise.
23262 * intl/tst-translit.sh: Likewise.
23263 * io/ftwtest-sh: Likewise.
23264 * libio/test-freopen.sh: Likewise.
23265 * locale/gen-translit.pl: Likewise.
23266 * malloc/tst-mtrace.sh: Likewise.
23267 * manual/check-safety.sh: Likewise.
23268 * manual/libc-texinfo.sh: Likewise.
23269 * manual/tsort.awk: Likewise.
23270 * manual/xtract-typefun.awk: Likewise.
23271 * nptl/tst-cancel-wrappers.sh: Likewise.
23272 * nptl/tst-tls6.sh: Likewise.
23273 * posix/globtest.sh: Likewise.
23274 * posix/tst-getconf.sh: Likewise.
23275 * posix/wordexp-tst.sh: Likewise.
23276 * scripts/check-c++-types.sh: Likewise.
23277 * scripts/check-local-headers.sh: Likewise.
23278 * scripts/config.guess: Likewise.
23279 * scripts/config.sub: Likewise.
23280 * scripts/cpp: Likewise.
23281 * scripts/cross-test-ssh.sh: Likewise.
23282 * scripts/documented.sh: Likewise.
23283 * scripts/evaluate-test.sh: Likewise.
23284 * scripts/gen-libc-abis: Likewise.
23285 * scripts/gen-sorted.awk: Likewise.
23286 * scripts/list-fixed-bugs.py: Likewise.
23287 * scripts/merge-test-results.sh: Likewise.
23288 * scripts/mkinstalldirs: Likewise.
23289 * scripts/rellns-sh: Likewise.
23290 * scripts/test-installation.pl: Likewise.
23291 * scripts/update-copyrights: Likewise.
23292 * stdio-common/tst-printf.sh: Likewise.
23293 * stdio-common/tst-unbputc.sh: Likewise.
23294 * stdlib/tst-fmtmsg.sh: Likewise.
23295 * stdlib/tst-setcontext3.sh: Likewise.
23296 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23297 * sysdeps/unix/make-syscalls.sh: Likewise.
23298
23299 2016-01-06 John David Anglin <dave.anglin@bell.net>
23300
23301 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23302 asm stw with atomic_exchange_rel. Add explanatory comment.
23303 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23304 Likewise.
23305
23306 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
23307
23308 [BZ #19122]
23309 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23310 * sysdeps/generic/dl-unistd.h: New file.
23311 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23312
23313 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
23314
23315 [BZ #19122]
23316 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23317 * sysdeps/generic/dl-mman.h: New file.
23318 * sysdeps/mach/hurd/dl-mman.h: Likewise.
23319
23320 2016-01-05 Joseph Myers <joseph@codesourcery.com>
23321
23322 * manual/texinfo.tex: Update to version 2016-01-04.21 with
23323 trailing whitespace removed.
23324 * scripts/config.guess: Update to version 2016-01-01.
23325 * scripts/config.sub: Update to version 2016-01-01.
23326 * scripts/move-if-change: Update from gnulib.
23327
23328 2016-01-04 Anton Blanchard <anton@samba.org>
23329
23330 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23331 for array indices.
23332 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23333
23334 2016-01-04 Joseph Myers <joseph@codesourcery.com>
23335
23336 * NEWS: Update copyright dates.
23337 * catgets/gencat.c (print_version): Likewise.
23338 * csu/version.c (banner): Likewise.
23339 * debug/catchsegv.sh: Likewise.
23340 * debug/pcprofiledump.c (print_version): Likewise.
23341 * debug/xtrace.sh (do_version): Likewise.
23342 * elf/ldconfig.c (print_version): Likewise.
23343 * elf/ldd.bash.in: Likewise.
23344 * elf/pldd.c (print_version): Likewise.
23345 * elf/sotruss.sh: Likewise.
23346 * elf/sprof.c (print_version): Likewise.
23347 * iconv/iconv_prog.c (print_version): Likewise.
23348 * iconv/iconvconfig.c (print_version): Likewise.
23349 * locale/programs/locale.c (print_version): Likewise.
23350 * locale/programs/localedef.c (print_version): Likewise.
23351 * login/programs/pt_chown.c (print_version): Likewise.
23352 * malloc/memusage.sh (do_version): Likewise.
23353 * malloc/memusagestat.c (print_version): Likewise.
23354 * malloc/mtrace.pl: Likewise.
23355 * manual/libc.texinfo: Likewise.
23356 * nptl/version.c (banner): Likewise.
23357 * nscd/nscd.c (print_version): Likewise.
23358 * nss/getent.c (print_version): Likewise.
23359 * nss/makedb.c (print_version): Likewise.
23360 * posix/getconf.c (main): Likewise.
23361 * scripts/test-installation.pl: Likewise.
23362 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23363
23364 * All files with FSF copyright notices: Update copyright dates
23365 using scripts/update-copyrights.
23366 * intl/plural.c: Regenerated.
23367 * locale/programs/charmap-kw.h: Likewise.
23368 * locale/programs/locfile-kw.h: Likewise.
23369
23370 2016-01-02 Helge Deller <deller@gmx.de>
23371
23372 [BZ #19285]
23373 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23374 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23375 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23376 (MADV_xxK_PAGES): Remove.
23377
23378 2016-01-01 Mike Frysinger <vapier@gentoo.org>
23379
23380 [BZ #15421]
23381 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23382 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
23383 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23384 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23385
23386 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
23387
23388 [BZ #19408]
23389 * sysdeps/unix/sysv/linux/personality.c: New file.
23390 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23391 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23392 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23393 (sysdep_routines): Add personality.
23394 (tests): Add tst-personality.
23395 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23397 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23398 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23399 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23400 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23401 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23402 Likewise.
23403 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23404 Likewise.
23405 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23406 Likewise.
23407 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23408 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23409 Likewise.
23410
23411 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
23412
23413 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23414 (PATH_ARM_SYSTYPE): Remove.
23415 (PATH_CPUINFO): Likewise.
23416 (IO_BASE_FOOTBRIDGE): Likewise.
23417 (IO_SHIFT_FOOTBRIDGE): Likewise.
23418 (struct platform): Likewise.
23419 (init_iosys): Remove compatibility code for 2.4 kernels.
23420 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23421
23422 2015-12-29 Florian Weimer <fweimer@redhat.com>
23423
23424 * malloc/tst-malloc-thread-fail.c: New file.
23425 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23426 (tst-malloc-thread-fail): Link against libpthread.
23427
23428 2015-12-29 Mike Frysinger <vapier@gentoo.org>
23429
23430 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
23431 (get_parser): New function.
23432 (main): New function.
23433
23434 2015-12-29 Rob Wu <rob@robwu.nl>
23435
23436 [BZ #19369]
23437 * resolv/res_init.c (__res_vinit): Reset defdname before use.
23438
23439 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
23440
23441 [BZ #19270]
23442 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23443
23444 2015-12-28 Mike Frysinger <vapier@gentoo.org>
23445
23446 [BZ #15421]
23447 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23448
23449 2015-12-23 Torvald Riegel <triegel@redhat.com>
23450
23451 [BZ #13690]
23452 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23453 after releasing it.
23454 (__lll_robust_unlock): Likewise.
23455 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23456 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23457 (lll_robust_unlock): Likewise.
23458 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23459 Prevent warnings in callers.
23460
23461 2015-12-23 Florian Weimer <fweimer@redhat.com>
23462
23463 * malloc/arena.c (list_lock): Update comment.
23464
23465 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23466
23467 * sysdeps/powerpc/hwcapinfo.c: Export symbol
23468 __parse_hwcap_and_convert_at_platform to libc.a.
23469
23470 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23471
23472 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23473 platform and feature support for POWER9.
23474 * sysdeps/powerpc/dl-procinfo.h: Likewise.
23475 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23476 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23477 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23478 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23479 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23480 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23481 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23482
23483 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23484
23485 Harmonize generic stdio-lock support with nptl
23486
23487 This fixes build when _IO_funlockfile is a macro, fixes build where
23488 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23489 stack unwind.
23490
23491 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23492 _IO_release_lock ): Use cleanup attribute on new
23493 _IO_acquire_lock_file variable instead of assuming that
23494 _IO_release_lock will be called.
23495 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23496 _IO_acquire_lock_needs_exceptions_enabled.
23497 (_IO_acquire_lock_clear_flags2): New macro.
23498
23499 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23500
23501 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23502
23503 2015-12-21 Florian Weimer <fweimer@redhat.com>
23504
23505 [BZ #19182]
23506 * malloc/arena.c (list_lock): Document lock ordering requirements.
23507 (free_list_lock): New lock.
23508 (ptmalloc_lock_all): Comment on free_list_lock.
23509 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23510 (detach_arena): Update comment. free_list_lock is now needed.
23511 (_int_new_arena): Use free_list_lock around detach_arena call.
23512 Acquire arena lock after list_lock. Add comment, including FIXME
23513 about incorrect synchronization.
23514 (get_free_list): Switch to free_list_lock.
23515 (reused_arena): Acquire free_list_lock around detach_arena call
23516 and attached threads counter update. Add two FIXMEs about
23517 incorrect synchronization.
23518 (arena_thread_freeres): Switch to free_list_lock.
23519 * malloc/malloc.c (struct malloc_state): Update comments to
23520 mention free_list_lock.
23521
23522 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
23523
23524 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23525 Remove functions.
23526 (sloww, sloww1): Accept argument to offset quadrant.
23527 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23528 quadrant.
23529 (__sin, __cos): Consolidate common code into new functions.
23530 (reduce_sincos_1, do_sincos_1): New functions.
23531 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23532
23533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23534 code to new functions.
23535 (reduce_sincos_2, do_sincos_2): New functions.
23536 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23537
23538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23539 common code for sincos.
23540 (__cos) [!IN_SINCOS]: Likewise.
23541 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23542 New function.
23543 (__sincos): Use it.
23544
23545 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
23546
23547 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23548 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23549 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23550
23551 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
23552
23553 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23556 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23557 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23558 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23559 index_Prefer_No_VZEROUPPER): New feature.
23560 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23561 Prefer_No_VZEROUPPER for Knights Landing.
23562
23563 015-12-18 Torvald Riegel <triegel@redhat.com>
23564
23565 * math/atest-exp2.c (mp_exp_m1): Remove.
23566
23567 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23568
23569 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23570 syscalls.
23571 (__SYSCALL0): New macro.
23572 (__SYSCALL1): Likewise.
23573 (__SYSCALL2): Likewise.
23574 (__SYSCALL3): Likewise.
23575 (__SYSCALL4): Likewise.
23576 (__SYSCALL5): Likewise.
23577 (__SYSCALL6): Likewise.
23578 (__SYSCALL_CONCAT_X): Likewise.
23579 (__SYSCALL_CONCAT): Likewise.
23580 (__SYSCALL_DIST): Likewise.
23581 (__SYSCALL_CALL): Likewise.
23582
23583 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
23584
23585 [BZ #19363]
23586 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23587
23588 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23589
23590 [BZ #19375]
23591 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23592 negative subnormals.
23593
23594 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
23595
23596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23597 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23598 (INTERNAL_SYSCALL_NCS): Use it.
23599 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23600
23601 2015-12-16 Florian Weimer <fweimer@redhat.com>
23602
23603 [BZ #19243]
23604 * malloc/arena.c (get_free_list): Remove assert and adjust
23605 reference count handling. Add comment about reused_arena
23606 interaction.
23607 (reused_arena): Add comments abount get_free_list interaction.
23608 * malloc/tst-malloc-thread-exit.c: New file.
23609 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23610 (tst-malloc-thread-exit): Link against libpthread.
23611
23612 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
23613
23614 [BZ #19367]
23615 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23616 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23617 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23618 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23619 (index_Prefer_MAP_32BIT_EXEC): Likewise.
23620
23621 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
23622
23623 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23624 Silvermont optimizations for Knights Landing.
23625
23626 2015-12-15 Andreas Schwab <schwab@suse.de>
23627
23628 [BZ #17197]
23629 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23630 immediately after emitting SI.
23631 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23632 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23633 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23634 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23635 * iconvdata/bug-iconv10.c: New file.
23636 * iconvdata/Makefile (tests): Add bug-iconv10.
23637 ($(objpfx)bug-iconv10.out): New rule.
23638
23639 2015-12-15 Florian Weimer <fweimer@redhat.com>
23640
23641 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23642 aliasing violation.
23643
23644 2015-12-14 Joseph Myers <joseph@codesourcery.com>
23645
23646 [BZ #18472]
23647 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23648 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23649 conditionals for them.
23650 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23651 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23653 sys/kdaemon.h.
23654 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23655 compat-only syscall, obsoleted in glibc 2.23.
23656 (create_module): Likewise.
23657 (get_kernel_syms): Likewise.
23658 (query_module): Likewise.
23659 (uselib): Likewise.
23660 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23661
23662 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
23663
23664 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23665 <linux/version.h>.
23666 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23667 conditional code.
23668 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23669 and ioshift_name initialization.
23670
23671 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
23672
23673 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23674 Fix indentation.
23675
23676 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
23677
23678 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23679
23680 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
23681
23682 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23683
23684 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
23685 Jakub Wilk <jwilk@debian.org>
23686
23687 [BZ #19347]
23688 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23689 to change the group of the device to the tty group.
23690
23691 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
23692
23693 Split large string section; add truncation advice
23694 * manual/examples/strncat.c: Remove.
23695 This example was misleading, as the code would have undefined
23696 behavior if "hello" was longer than SIZE. Anyway, the manual
23697 shouldn't encourage strncpy+strncat for this sort of thing.
23698 * manual/string.texi (Copying Strings and Arrays): Split into
23699 three sections Copying Strings and Arrays, Concatenating Strings,
23700 and Truncating Strings, as this section was way too long. All
23701 cross-referenced changed. Add advice about string-truncation
23702 functions. Remove misleading strncat example.
23703
23704 2015-12-10 Carlos O'Donell <carlos@redhat.com>
23705
23706 * manual/nss.texi (NSS Modules Interface): Document
23707 NSS_STATUS_NOTFOUND and SUCCESS.
23708
23709 2015-12-09 Mike FABIAN <mfabian@redhat.com>
23710
23711 [BZ 18568]
23712 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23713 201505L, for Unicode 8.
23714
23715 2015-12-09 Carlos O'Donell <carlos@redhat.com>
23716
23717 * locale/C-translit.h: Regenerate.
23718
23719 2015-12-09 Mike FABIAN <mfabian@redhat.com>
23720
23721 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
23722 and U+0153.
23723
23724 2015-12-09 Joseph Myers <joseph@codesourcery.com>
23725
23726 [BZ #19351]
23727 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
23728 expanding log(1+z), compare z rather than its square with epsilon
23729 to determine when to avoid evaluating the expansion.
23730
23731 [BZ #19350]
23732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23733 Increase overflow threshold.
23734
23735 [BZ #19349]
23736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
23737 when small.
23738
23739 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23740 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23741 New macro.
23742 [__LINUX_KERNEL_VERSION >= 0x040300]
23743 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23744 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23745 Likewise.
23746 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23747 Likewise.
23748 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23749 Likewise.
23750 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23751 Likewise.
23752 [__LINUX_KERNEL_VERSION >= 0x040300]
23753 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23754 [__LINUX_KERNEL_VERSION >= 0x040300]
23755 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23756 [__LINUX_KERNEL_VERSION >= 0x040300]
23757 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23758 [__LINUX_KERNEL_VERSION >= 0x040300]
23759 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23760 [__LINUX_KERNEL_VERSION >= 0x040300]
23761 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23762 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23763 Likewise.
23764 [__LINUX_KERNEL_VERSION >= 0x040300]
23765 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23766 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23767 Likewise.
23768 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23769 Likewise.
23770 [__LINUX_KERNEL_VERSION >= 0x040300]
23771 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23772 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23773 Likewise.
23774 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23775 Likewise.
23776 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23777 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
23778 Likewise.
23779 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
23780 Likewise.
23781 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23782 Likewise.
23783 [__LINUX_KERNEL_VERSION >= 0x040300]
23784 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23785 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23786 Likewise.
23787 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23788 Likewise.
23789 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23790 Likewise.
23791 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23792 Likewise.
23793 [__LINUX_KERNEL_VERSION >= 0x040300]
23794 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23795 [__LINUX_KERNEL_VERSION >= 0x040300]
23796 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23797 [__LINUX_KERNEL_VERSION >= 0x040300]
23798 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23799 [__LINUX_KERNEL_VERSION >= 0x040300]
23800 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23801 [__LINUX_KERNEL_VERSION >= 0x040300]
23802 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23803 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23804 Likewise.
23805 [__LINUX_KERNEL_VERSION >= 0x040300]
23806 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23807 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23808 Likewise.
23809 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23810 Likewise.
23811 [__LINUX_KERNEL_VERSION >= 0x040300]
23812 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23813 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23814 Likewise.
23815 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23816 Likewise.
23817 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23818 (__ASSUME_SOCKET_SYSCALL): Likewise.
23819 (__ASSUME_BIND_SYSCALL): Likewise.
23820 (__ASSUME_CONNECT_SYSCALL): Likewise.
23821 (__ASSUME_LISTEN_SYSCALL): Likewise.
23822 (__ASSUME_ACCEPT_SYSCALL): Likewise.
23823 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23824 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23825 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23826 (__ASSUME_SEND_SYSCALL): Likewise.
23827 (__ASSUME_SENDTO_SYSCALL): Likewise.
23828 (__ASSUME_RECV_SYSCALL): Likewise.
23829 (__ASSUME_RECVFROM_SYSCALL): Likewise.
23830 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
23831 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23832 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23833 (__ASSUME_SENDMSG_SYSCALL): Likewise.
23834 (__ASSUME_RECVMSG_SYSCALL): Likewise.
23835 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23836 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
23837 Likewise.
23838 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
23839 Likewise.
23840 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
23841 Likewise.
23842 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
23843 Likewise.
23844 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
23845 Likewise.
23846 [__LINUX_KERNEL_VERSION >= 0x020625]
23847 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23848 [__LINUX_KERNEL_VERSION >= 0x020625]
23849 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23850 [__LINUX_KERNEL_VERSION >= 0x020625]
23851 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23852 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
23853 Likewise.
23854 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
23855 Likewise.
23856 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
23857 Likewise.
23858 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
23859 Likewise.
23860 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
23861 Likewise.
23862 [__LINUX_KERNEL_VERSION >= 0x020625]
23863 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23864 [__LINUX_KERNEL_VERSION >= 0x020625]
23865 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23866 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
23867 Likewise.
23868 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
23869 Likewise.
23870
23871 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
23872
23873 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
23874 record the current if the current ABI and CPU support the FP64
23875 extension.
23876 (has-modd-spreg): Define to record the current if the current ABI and
23877 CPU support 32-bit floating point values in odd FPU registers.
23878 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23879 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
23880 $(has-modd-spreg) equals yes.
23881 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
23882 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
23883 $(has-modd-spreg) equal yes.
23884
23885 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
23886
23887 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
23888 basename.
23889
23890 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
23891
23892 * benchtests/Makefile (bench-math): Move ffs and ffsll...
23893 (bench-string): ... here.
23894 (bench): Add bench-string.
23895 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
23896 to *-benchset to reflect what they are.
23897 (benchset): Adjust.
23898
23899 * benchtests/sincos-inputs: Add inputs from sin-inputs and
23900 cos-inputs.
23901
23902 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
23903
23904 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
23905 __attribute__ ((__simd__)) for vector math function declarations.
23906
23907 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
23908
23909 Fix typo in strncat, wcsncat manual entries
23910 * manual/string.texi (Copying and Concatenation): Fix typos in
23911 sample implementations of strncat and wcsncat, by having them use
23912 the old value of the destination length, not the new one.
23913
23914 2015-12-04 Joseph Myers <joseph@codesourcery.com>
23915
23916 [BZ #16961]
23917 [BZ #16962]
23918 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
23919 string on the stack for strtod.
23920 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
23921 a string on the stack for strtof.
23922 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
23923 constructing a string on the stack for strtold.
23924 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
23925 __strtold_nan to GLIBC_PRIVATE.
23926 * math/test-nan-overflow.c: New file.
23927 * math/test-nan-payload.c: Likewise.
23928 * math/Makefile (tests): Add test-nan-overflow and
23929 test-nan-payload.
23930
23931 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
23932
23933 Consistency about byte vs character in string.texi
23934 * manual/string.texi (String and Array Utilities):
23935 Distinguish more carefully among bytes, multibyte characters,
23936 and wide characters. Use "byte" when talking about C 'char',
23937 to distinguish it more clearly from multibyte characters.
23938 Say "wide character" or "multibyte character" instead of
23939 "character", when a wide or multibyte character is intended.
23940 Similarly for "multibyte string" versus "string".
23941 Define these terms more carefully.
23942
23943 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
23944
23945 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
23946 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
23947 Likewise.
23948 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23949 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23950 * sysdeps/sh/math_private.h: New file.
23951 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
23952 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
23953 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
23954 long double function name.
23955 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23961 Remove __finitel, __isinfl, and __isnanl.
23962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23963 Likewise.
23964 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23966 Remove __finitel.
23967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23968 Likewise.
23969 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23970
23971 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
23972
23973 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
23974 installed libmvec_nonshared.a.
23975
23976 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23977
23978 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
23979 (sysdep_routines): Likewise.
23980 (sysdep-rtld-routines): Likewise.
23981 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
23982 [$(subdir) = nptl](tests-static): test-get_hwcap-static
23983 * sysdeps/powerpc/Versions: Added new
23984 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
23985 * sysdeps/powerpc/hwcapinfo.c: New file.
23986 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
23987 and parse hwcap, hwcap2 and platform number information.
23988 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
23989 to store HWCAP+HWCAP2 and platform number.
23990 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
23991 for HWCAP+HWCAP2 and platform number in the TCB.
23992 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
23993 the HWCAP, HWCAP2 and platform number in the TCB.
23994 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
23995 (TLS_INIT_TP): Included calls to add the hwcap and
23996 at_platform values in the TCB in TP initialization.
23997 (TLS_DEFINE_INIT_TP): Likewise.
23998 (THREAD_GET_HWCAP): New macro.
23999 (THREAD_SET_HWCAP): Likewise.
24000 (THREAD_GET_AT_PLATFORM): Likewise.
24001 (THREAD_SET_AT_PLATFORM): Likewise.
24002 * sysdeps/powerpc/powerpc32/dl-machine.h:
24003 (dl_platform_init): New function that calls
24004 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24005 powerpc32.
24006 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24007 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
24008 this functionality, static linking case.
24009 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
24010 linking case.
24011 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24012 __parse_hwcap_and_convert_at_platform for the static linking case.
24013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24014 Included the new __parse_hwcap_and_convert_at_platform symbol in the
24015 ABI list for GLIBC 2.23.
24016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24017 Likewise.
24018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24019 Likewise.
24020
24021 2015-12-02 Ludovic Courtès <ludo@gnu.org>
24022
24023 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24024 * configure: Regenerate.
24025 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24026 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
24027
24028 2015-12-02 Carlos O'Donell <carlos@redhat.com>
24029
24030 * iconvdata/ibm930.c: Add comment explaining encoding uses.
24031 * iconvdata/ibm933.c: Likewise.
24032 * iconvdata/ibm935.c: Likewise.
24033 * iconvdata/ibm937.c: Likewise.
24034 * iconvdata/ibm939.c: Likewise.
24035
24036 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24037
24038 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24039 pthread_join.
24040 * nptl/tst-cancel21.c (tf): Likewise.
24041
24042 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
24043
24044 [BZ #19313]
24045 * bits/typesizes.h (__CPU_MASK_TYPE): New.
24046 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24047 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24048 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24049 Likewise.
24050 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24051 Likewise.
24052 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24053 Likewise.
24054 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24055 Likewise.
24056 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24057 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24058 unsigned long int with __CPU_MASK_TYPE.
24059
24060 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
24061
24062 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24063
24064 2015-12-01 Joseph Myers <joseph@codesourcery.com>
24065
24066 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24067 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24068 t512.x.
24069 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24070
24071 2015-11-30 Amit Pawar <amit.pawar@amd.com>
24072
24073 [BZ #19214]
24074 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24075 argument to return extended model. Update family and model
24076 with extended family and model when family == 0x0f.
24077 (init_cpu_features): Updated.
24078
24079 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24080
24081 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24082 signed off_t, so 32bit bigger than 2GiB values are fine actually.
24083
24084 * sysdeps/mach/hurd/mmap64.c: New file.
24085
24086 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
24087
24088 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24089 rights for its main user thread in NEWTASK.
24090
24091 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
24092
24093 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24094 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24095
24096 2015-11-27 Carlos O'Donell <carlos@redhat.com>
24097
24098 [BZ #14259]
24099 * Makeconfig: Rename localedir to complocaledir.
24100 Rename inst_localedir to inst_complocaledir.
24101 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24102 * config.make.in: Use complocaledir and libc_cv_complocaledir.
24103 * configure.ac: Use libc_cv_complocaledir.
24104 * configure: Regenerate.
24105 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24106 -DCOMPLOCALEDIR.
24107 * locale/findlocale.c: Use COMPLOCALEDIR.
24108 * locale/loadarchive.c: Likewise.
24109 * locale/programs/locale.c: Likewise.
24110 * locale/programs/localedef.c: Likewise.
24111 * locale/programs/locarchive.c: Likewise.
24112 * localedata/Makefile: Use inst_complocaledir.
24113 * sysdeps/gnu/configure: Regenerate.
24114 * sysdeps/hppa/configure: Regenerate.
24115 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24116 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24118 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24119 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24120 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24121 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24122
24123 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
24124
24125 [BZ #19058]
24126 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24127 AS_NEEDED.
24128 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24129 workaround.
24130 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24131 libmvec-static-only-routines): Added new file.
24132 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24133
24134 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
24135
24136 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24137 of interrupted RPC instead of restoring it.
24138
24139 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24140 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24141 libc_hidden_def.
24142 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24143 into initialized data instead of common. Define rtld_hidden_data_def.
24144 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24145 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24146 libc_hidden_def.
24147 (if_freenameindex): Add libc_hidden_weak.
24148 (if_nameindex): Add libc_hidden_weak.
24149 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24150 __open64.
24151 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24152 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24153 * sysdeps/mach/nanosleep.c: Include <time.h>
24154 (__nanosleep): Rename to __libc_nanosleep.
24155 (__nanosleep): Add weak_alias.
24156 (nanosleep): Update alias.
24157
24158 2015-11-24 Joseph Myers <joseph@codesourcery.com>
24159
24160 * stdlib/strtod_nan.c: New file.
24161 * stdlib/strtod_nan_double.h: Likewise.
24162 * stdlib/strtod_nan_float.h: Likewise.
24163 * stdlib/strtod_nan_main.c: Likewise.
24164 * stdlib/strtod_nan_narrow.h: Likewise.
24165 * stdlib/strtod_nan_wide.h: Likewise.
24166 * stdlib/strtof_nan.c: Likewise.
24167 * stdlib/strtold_nan.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24169 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24170 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24171 * wcsmbs/wcstod_nan.c: Likewise.
24172 * wcsmbs/wcstof_nan.c: Likewise.
24173 * wcsmbs/wcstold_nan.c: Likewise.
24174 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24175 strtold_nan.
24176 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24177 wcstof_nan.
24178 * include/stdlib.h (__strtof_nan): Declare and use
24179 libc_hidden_proto.
24180 (__strtod_nan): Likewise.
24181 (__strtold_nan): Likewise.
24182 (__wcstof_nan): Likewise.
24183 (__wcstod_nan): Likewise.
24184 (__wcstold_nan): Likewise.
24185 * include/wchar.h (____wcstoull_l_internal): Declare.
24186 * stdlib/strtod_l.c: Do not include <ieee754.h>.
24187 (____strtoull_l_internal): Remove declaration.
24188 (STRTOF_NAN): Define macro.
24189 (SET_MANTISSA): Remove macro.
24190 (STRTOULL): Likewise.
24191 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24192 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24193 (STRTOF_NAN): Define macro.
24194 (SET_MANTISSA): Remove macro.
24195 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24196 (SET_MANTISSA): Remove macro.
24197 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24198 macro.
24199 (SET_MANTISSA): Remove macro.
24200 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24201 macro.
24202 (SET_MANTISSA): Remove macro.
24203 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24204 (SET_MANTISSA): Remove macro.
24205 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24206 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24207 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24208
24209 [BZ #19266]
24210 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24211 upper case and lower case letters inside NAN(), not using TOLOWER.
24212 * stdlib/tst-strtod-nan-locale-main.c: New file.
24213 * stdlib/tst-strtod-nan-locale.c: Likewise.
24214 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24215 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24216 Depend on $(gen-locales).
24217 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24218 * wcsmbs/tst-wcstod-nan-locale.c: New file.
24219 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24220 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24221 Depend on $(gen-locales).
24222 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24223
24224 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
24225
24226 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24227
24228 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24230 __finitel, __isinfl, and __isnanl.
24231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24232 Likewise.
24233 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24235 __finitel.
24236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24237 Likewise.
24238 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24239
24240 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24241
24242 * malloc/memusage.c (me): Remove redundant getenv call.
24243
24244 2015-10-24 Florian Weimer <fweimer@redhat.com>
24245
24246 [BZ #19143]
24247 [BZ #19164]
24248 * nptl/check-cpuset.h: Remove.
24249 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24250 Remove CPU set size check.
24251 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24252 Likewise.
24253 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24254 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24255 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24256 (__pthread_setaffinity_new): Remove CPU set size check.
24257 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24258 (__kernel_cpumask_size): Remove.
24259 (__sched_setaffinity_new): Remove CPU set size check.
24260 * manual/threads.texi (Default Thread Attributes): Remove stale
24261 reference to check_cpuset_attr, determine_cpumask_size in comment.
24262 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24263 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
24264 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24265 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24266 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24267 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24268 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24269 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24270 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24271 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24272 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24273 skeleton test file.
24274 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
24275 tst-affinity-pid.
24276
24277 2015-11-24 Florian Weimer <fweimer@redhat.com>
24278
24279 * scripts/update-abilist.sh: New file.
24280 * Makefile (+subdir_targets): Add subdir_update-all-abi.
24281 * Makerules (update-all-abi-%, update-all-abi)
24282 (subdir_update-all-abi): New targets.
24283 * elf/Makefile (update-all-abi): New target.
24284
24285 2015-11-24 Florian Weimer <fweimer@redhat.com>
24286
24287 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24288 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24289 (__libc_lock_define_initialized): Use it.
24290 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24291 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24292 * malloc/malloc.c (main_arena): Likewise.
24293 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24294 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24295
24296 2015-11-23 Joseph Myers <joseph@codesourcery.com>
24297
24298 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24299 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24300 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24301 (PTRACE_O_MASK): Update value.
24302 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24303 New value in enum __ptrace_setoptions.
24304 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24305 (PTRACE_O_MASK): Update value.
24306 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24307 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24308 (PTRACE_O_MASK): Update value.
24309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24310 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24311 (PTRACE_O_MASK): Update value.
24312 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24313 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24314 (PTRACE_O_MASK): Update value.
24315 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24316 New value in enum __ptrace_setoptions.
24317 (PTRACE_O_MASK): Update value.
24318 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24319 New value in enum __ptrace_setoptions.
24320 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24321 (PTRACE_O_MASK): Update value.
24322
24323 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24324 New macro.
24325 (PACKET_AUXDATA): Likewise.
24326 (PACKET_ORIGDEV): Likewise.
24327 (PACKET_VERSION): Likewise.
24328 (PACKET_HDRLEN): Likewise.
24329 (PACKET_RESERVE): Likewise.
24330 (PACKET_TX_RING): Likewise.
24331 (PACKET_LOSS): Likewise.
24332 (PACKET_VNET_HDR): Likewise.
24333 (PACKET_TX_TIMESTAMP): Likewise.
24334 (PACKET_TIMESTAMP): Likewise.
24335 (PACKET_FANOUT): Likewise.
24336 (PACKET_TX_HAS_OFF): Likewise.
24337 (PACKET_QDISC_BYPASS): Likewise.
24338 (PACKET_ROLLOVER_STATS): Likewise.
24339 (PACKET_FANOUT_DATA): Likewise.
24340 (PACKET_MR_UNICAST): Likewise.
24341
24342 [BZ #19242]
24343 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24344 (TOUPPER): Likewise.
24345 * stdlib/tst-strtol-locale-main.c: New file.
24346 * stdlib/tst-strtol-locale.c: Likewise.
24347 * stdlib/Makefile (tests): Add tst-strtol-locale.
24348 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24349 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24350 Depend on $(gen-locales).
24351 * wcsmbs/tst-wcstol-locale.c: New file.
24352 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24353 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24354 tr_TR.ISO-8859-9.
24355 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24356 Depend on $(gen-locales).
24357
24358 2015-11-20 Roland McGrath <roland@hack.frob.com>
24359
24360 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24361 __glibc_likely instead of __builtin_expect. After falling back to
24362 dyncode_create in a non-ET_DYN case, use the allocate_code_data
24363 system interface to register the code pages as occupied.
24364
24365 2015-11-20 Joseph Myers <joseph@codesourcery.com>
24366
24367 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24368 [!ARM_MATH_PRIVATE_H].
24369 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24370 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24371 [!HPPA_MATH_PRIVATE_H].
24372 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24373 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24374 to [!I386_MATH_PRIVATE_H].
24375 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24376 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24377 Change guard to [!M68K_MATH_PRIVATE_H].
24378 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24379 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24380 guard to [!MICROBLAZE_MATH_PRIVATE_H].
24381 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24382 macro.
24383 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24384 [!MIPS_MATH_PRIVATE_H].
24385 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24386 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24387 [!NIO2_MATH_PRIVATE_H].
24388 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24389 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24390 [!TILE_MATH_PRIVATE_H].
24391 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24392
24393 [BZ #15421]
24394 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24395 initialize with 0 and define as weak alias of __signgam.
24396 * include/math.h [!_ISOMAC] (__signgam): Declare.
24397 * math/Makefile (libm-calls): Add w_lgamma_compat.
24398 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24399 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24400 test-signgam-ullong-init.
24401 (tests-static): Add test-signgam-uchar-static,
24402 test-signgam-uchar-init-static, test-signgam-uint-static,
24403 test-signgam-uint-init-static, test-signgam-ullong-static and
24404 test-signgam-ullong-init-static.
24405 (CFLAGS-test-signgam-uchar.c): New variable.
24406 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24407 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24408 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24409 (CFLAGS-test-signgam-uint.c): Likewise.
24410 (CFLAGS-test-signgam-uint-init.c): Likewise.
24411 (CFLAGS-test-signgam-uint-static.c): Likewise.
24412 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24413 (CFLAGS-test-signgam-ullong.c): Likewise.
24414 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24415 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24416 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24417 * math/Versions (libm): Add GLIBC_2.23.
24418 * math/lgamma-compat.h: New file.
24419 * math/test-signgam-main.c: Likewise.
24420 * math/test-signgam-uchar-init-static.c: Likewise.
24421 * math/test-signgam-uchar-init.c: Likewise.
24422 * math/test-signgam-uchar-static.c: Likewise.
24423 * math/test-signgam-uchar.c: Likewise.
24424 * math/test-signgam-uint-init-static.c: Likewise.
24425 * math/test-signgam-uint-init.c: Likewise.
24426 * math/test-signgam-uint-static.c: Likewise.
24427 * math/test-signgam-uint.c: Likewise.
24428 * math/test-signgam-ullong-init-static.c: Likewise.
24429 * math/test-signgam-ullong-init.c: Likewise.
24430 * math/test-signgam-ullong-static.c: Likewise.
24431 * math/test-signgam-ullong.c: Likewise.
24432 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24433 wrapper of w_lgamma_main.c.
24434 * math/w_lgamma_compat.c: New file.
24435 * math/w_lgamma_compatf.c: Likewise.
24436 * math/w_lgamma_compatl.c: Likewise.
24437 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
24438 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
24439 defining compatibility symbols.
24440 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
24441 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24442 wrapper of w_lgammaf_main.c.
24443 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
24444 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
24445 defining compatibility symbols.
24446 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
24447 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24448 wrapper of w_lgammal_main.c.
24449 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
24450 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
24451 defining compatibility symbols.
24452 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
24453 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24454 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24455 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
24456 <lgamma-compat.h>.
24457 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
24458 (__ieee754_gamma): Define as alias.
24459 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24460 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
24461 <lgamma-compat.h>.
24462 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
24463 (__ieee754_gammaf): Define as alias.
24464 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24465 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
24466 <lgamma-compat.h>.
24467 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
24468 (__ieee754_gammal): Define as alias.
24469 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24470 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
24471 <math/w_lgamma_compat.c>.
24472 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24473 Define as alias of __lgamma_compat and use in defining lgammal.
24474 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24475 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
24476 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24477 (USE_AS_COMPAT): New macro.
24478 (LGAMMA_OLD_VER): Undefine and redefine.
24479 (lgammal): Do not define here.
24480 (gammal): Only define here if [GAMMA_ALIAS].
24481 * conform/linknamespace.pl (@whitelist): Remove signgam.
24482 * sysdeps/nacl/libm.abilist: Update.
24483 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24485 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24487 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24489 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24491 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24492 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24493 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24494 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24496 Likewise.
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24498 Likewise.
24499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24500 Likewise.
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24502 Likewise.
24503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24504 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24505 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24507 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24509 Likewise.
24510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24511 Likewise.
24512 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24513 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24514 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24515
24516 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24517
24518 [BZ #16364]
24519 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24520 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24521
24522 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
24523
24524 * sysdeps/s390/fpu/bits/mathinline.h:
24525 Use __asm__ [__volatile__] instead of asm [volatile].
24526 * sysdeps/s390/abort-instr.h: Likewise.
24527 * sysdeps/s390/atomic-machine.h: Likewise.
24528 * sysdeps/s390/bits/string.h: Likewise.
24529 * sysdeps/s390/dl-tls.h: Likewise.
24530 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24531 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24532 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24533 * sysdeps/s390/fpu/fesetround.c: Likewise.
24534 * sysdeps/s390/fpu/fpu_control.h: Likewise.
24535 * sysdeps/s390/fpu/s_fma.c: Likewise.
24536 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24537 * sysdeps/s390/memusage.h: Likewise.
24538 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24539 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24540 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24541 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24542 * sysdeps/s390/nptl/tls.h: Likewise.
24543 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24544 * sysdeps/s390/s390-32/backtrace.c: Likewise.
24545 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24546 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24547 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24548 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24549 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24550 * sysdeps/s390/s390-64/backtrace.c: Likewise.
24551 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24552 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24553 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24554 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24555 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24556 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24557 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24558 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24559 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24560 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24561 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24562 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24563 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24564 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24565 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24566
24567 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24568 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24569
24570 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24571 Add lwarx hint, and use macro for acquire instruction.
24572 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24573 Likewise.
24574 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24575 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24576 update to use new atomic macros.
24577
24578 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24579
24580 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24581 (__lll_trylock_elision): Fix setting of adapt_count.
24582 * sysdeps/unix/sysv/linux/powerpc/htm.h
24583 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24584 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24585 (_ABORT_SYSCALL): Renumber, and clarify definition.
24586 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24587
24588 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24589
24590 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24591 after system headers to prevent MIN/MAX redefinition. Define
24592 HAVE_ALLOCA to preserve builtin alloca usage.
24593
24594 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
24595
24596 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24597 static and don't set or restore rounding.
24598 (__cos)[IN_SINCOS]: Likewise.
24599 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24600 (__sincos): Set and restore rounding mode. Remove check for infinite
24601 or NaN input.
24602
24603 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24604
24605 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24606 as used.
24607
24608 2015-11-16 Florian Weimer <fweimer@redhat.com>
24609
24610 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24611
24612 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
24613
24614 * config.make.in (have-glob-dat-reloc): New.
24615 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
24616 target supports GLOB_DAT relocaton. AC_SUBST.
24617 * configure: Regenerated.
24618 * elf/Makefile (tests): Add tst-prelink.
24619 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24620 (tst-prelink-ENV): New.
24621 ($(objpfx)tst-prelink-conflict.out): Likewise.
24622 ($(objpfx)tst-prelink-cmp.out): Likewise.
24623 * sysdeps/x86/tst-prelink.c: Moved to ...
24624 * elf/tst-prelink.c: Here.
24625 * sysdeps/x86/tst-prelink.exp: Moved to ...
24626 * elf/tst-prelink.exp: Here.
24627 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24628 (tst-prelink-ENV): Removed.
24629 ($(objpfx)tst-prelink-conflict.out): Likewise.
24630 ($(objpfx)tst-prelink-cmp.out): Likewise.
24631 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24632
24633 2015-11-13 Joseph Myers <joseph@codesourcery.com>
24634
24635 [BZ #14551]
24636 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24637 (__mpn_construct_long_double): If high part overflows to infinity,
24638 set errno and recompute overflowed result of the correct sign.
24639 * sysdeps/ieee754/ldbl-128ibm/Makefile
24640 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24641 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24642 $(libm).
24643 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24644
24645 2015-11-12 Joseph Myers <joseph@codesourcery.com>
24646
24647 [BZ #15479]
24648 [BZ #19238]
24649 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24650 floating-point state after first operation on input. Restore full
24651 state rather than just rounding mode.
24652 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24653 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24654 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24655
24656 [BZ #19235]
24657 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24658 add 0.5 to integer arguments.
24659 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24660 Likewise.
24661 (.LC2): New object.
24662
24663 2015-11-11 Mike Frysinger <vapier@gentoo.org>
24664
24665 * scripts/pylintrc (reports): Set to no.
24666
24667 2015-11-10 Roland McGrath <roland@hack.frob.com>
24668
24669 * elf/dl-load.c (open_verify): Take new argument FD.
24670 Skip __open call if passed FD is not -1.
24671 (_dl_map_object, open_path): Update callers.
24672 * elf/dl-sysdep-open.h: New file.
24673 * elf/dl-load.c: Include it.
24674 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24675 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24676 * sysdeps/nacl/dl-sysdep-open.h: New file.
24677 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24678 from libc to rtld.
24679
24680 2015-11-10 Joseph Myers <joseph@codesourcery.com>
24681
24682 [BZ #19228]
24683 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24684 and restore full floating-point state.
24685 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24686 Likewise.
24687 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24688 Likewise.
24689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24690 Likewise.
24691 * math/test-nearbyint-except-2.c: New file.
24692 * math/Makefile (tests): Add test-nearbyint-except-2.
24693
24694 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
24695
24696 [BZ #19178]
24697 * sysdeps/x86/Makefile (tests): Add tst-prelink.
24698 (tst-prelink-ENV): New.
24699 ($(objpfx)tst-prelink-conflict.out): Likewise.
24700 ($(objpfx)tst-prelink-cmp.out): Likewise.
24701 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24702 * sysdeps/x86/tst-prelink.c: New file.
24703 * sysdeps/x86/tst-prelink.exp: Likewise.
24704
24705 2015-11-10 Joseph Myers <joseph@codesourcery.com>
24706
24707 * math/auto-libm-test-in: Add another test of pow.
24708 * math/auto-libm-test-out: Regenerated.
24709 * math/libm-test.inc (pow_test_data): Add another test.
24710
24711 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24712
24713 [BZ #19219]
24714 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24715 weak_alias to nearbyintl.
24716
24717 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
24718
24719 * sysdeps/aarch64/bits/string.h: New file.
24720 (_STRING_ARCH_unaligned): Define.
24721
24722 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
24723
24724 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
24725 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24726 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24727 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
24729
24730 2015-11-09 Ulrich Drepper <drepper@gmail.com>
24731
24732 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
24733 for original name of the DSO. Add it to the name list of the DSO
24734 if it is actually given.
24735 (_dl_map_object): Keep track of whether an audit module rewrote
24736 the file name. If yes, pass the original name to
24737 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
24738 debugging is enabled, log the change of the file name.
24739 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
24740 _dl_map_object_from_fd.
24741 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
24742 * elf/tst-audit11.c: New file
24743 * elf/tst-auditmod11.c: New file.
24744 * elf/tst-audit11mod1.c: New file.
24745 * elf/tst-audit11mod2.c: New file.
24746 * elf/tst-audit11mod2.map: New file.
24747 * elf/tst-audit12.c: New file
24748 * elf/tst-auditmod12.c: New file.
24749 * elf/tst-audit12mod1.c: New file.
24750 * elf/tst-audit12mod2.c: New file.
24751 * elf/tst-audit12mod2.map: New file.
24752 * elf/tst-audit12mod3.c: New file.
24753
24754 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
24755
24756 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
24757 Don't create weak aliases,
24758 because versioned symbols are created later.
24759 * sysdeps/s390/s390-32/setjmp.S
24760 (setjmp, _setjmp): Remove weak and rename to an unique name
24761 in SHARED case due to existing versioned symbols.
24762 * sysdeps/s390/s390-64/setjmp.S: Likewise.
24763 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
24764 (getcontext): Create weak alias only in non SHARED case.
24765 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24766
24767 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
24768
24769 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
24770 (__ASSUME_*_SYSCALL) Define new macros.
24771 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
24772 Remove socketcall syscalls.
24773 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
24774 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
24775 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
24776 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
24777 * sysdeps/unix/sysv/linux/send.c (__libc_send):
24778 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
24779
24780 2015-11-09 Florian Weimer <fweimer@redhat.com>
24781
24782 [BZ #12926]
24783 Terminate process on invalid netlink response.
24784 * sysdeps/unix/sysv/linux/netlinkaccess.h
24785 (__netlink_assert_response): Declare.
24786 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
24787 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
24788 (sysdep_routines): Add netlink_assert_response.
24789 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
24790 __netlink_assert_response.
24791 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
24792 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
24793 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
24794 __netlink_assert_response.
24795
24796 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
24797
24798 [BZ #19178]
24799 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
24800 (RTYPE_CLASS_PLT): Likewise.
24801 (RTYPE_CLASS_COPY): Likewise.
24802 (RTYPE_CLASS_TLS): Likewise.
24803 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
24804 to set relocation type class for DL_DEBUG_PRELINK. Keep only
24805 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
24806 DL_DEBUG_PRELINK.
24807
24808 2015-11-06 Joseph Myers <joseph@codesourcery.com>
24809
24810 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
24811 calls with argument -0.5.
24812 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
24813
24814 * configure.ac (libc_cv_z_nodelete): Remove configure test.
24815 (libc_cv_z_nodlopen): Likewise.
24816 (libc_cv_z_initfirst): Likewise.
24817 * configure: Regenerated.
24818
24819 2015-11-06 Florian Weimer <fweimer@redhat.com>
24820
24821 Simplify abilist format to be line-based.
24822 * scripts/abilist.awk: Collect descriptors in the descs variable.
24823 (emit): Write descs variable and sort it
24824 externally, with sort.
24825 * sysdeps/**/*.abilist: Convert to new format.
24826
24827 2015-11-06 Mark Wielaard <mjw@redhat.com>
24828
24829 [BZ #11460]
24830 * io/Makefile (routines): Add fts64.
24831 (tests): Add tst-fts and tst-fts-lfs.
24832 (CFLAGS-fts64.c): New.
24833 * io/Versions (GLIBC_2.23): New.
24834 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
24835 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
24836 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
24837 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
24838 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
24839 (FTSENT64): Likewise.
24840 (fts64_children): Likewise.
24841 (fts64_close): Likewise.
24842 (fts64_open): Likewise.
24843 (fts64_read): Likewise.
24844 (fts64_set): Likewise.
24845 * io/fts64.c: New file.
24846 * io/tst-fts.c: New test.
24847 * io/tst-fts-lfs.c: Likewise.
24848 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
24849 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
24850 fts64_set.
24851 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24852 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24853 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24854 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24855 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24856 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24857 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24858 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24859 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24860 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24861 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24862 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24863 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24865 Likewise.
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24867 Likewise.
24868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
24870 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24871 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24872 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24873 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24877 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24878 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24879 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24880 * sysdeps/wordsize-64/fts.c: New file.
24881 * sysdeps/wordsize-64/fts64.c: Likewise.
24882 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
24883 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
24884 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
24885 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
24886
24887 2015-11-05 Joseph Myers <joseph@codesourcery.com>
24888
24889 * math/libm-test.inc (NON_FINITE): New macro.
24890 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
24891 * math/gen-libm-test.pl (show_exceptions): Add argument
24892 $non_finite.
24893 (parse_args): Update call to show_exceptions.
24894 * math/test-math-finite.h: New file.
24895 * math/test-math-no-finite.h: Likewise.
24896 * math/test-double-finite.c: Likewise.
24897 * math/test-float-finite.c: Likewise.
24898 * math/test-ldouble-finite.c: Likewise.
24899 * math/test-double.c: Include "test-math-no-finite.h".
24900 * math/test-float.c: Include "test-math-no-finite.h".
24901 * math/test-ldouble.c: Include "test-math-no-finite.h".
24902 * math/test-math-inline.h (TEST_FINITE): New macro.
24903 * math/test-math-vector.h (TEST_FINITE): Likewise.
24904 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
24905 (libm-tests): Add test-float-finite and test-double-finite.
24906 ($(objpfx)test-float-finite.o): New dependency on
24907 $(objpfx)libm-test.stmp.
24908 ($(objpfx)test-double-finite.o): Likewise.
24909 ($(objpfx)test-ldouble-finite.o): Likewise.
24910 (libm-test-no-inline-cflags): New variable.
24911 (libm-test-finite-cflags): Likewise.
24912 (CFLAGS-test-float-finite.c): Likewise.
24913 (CFLAGS-test-double-finite.c): Likewise.
24914 (CFLAGS-test-ldouble-finite.c): Likewise.
24915 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
24916 (CFLAGS-test-double.c): Likewise.
24917 (CFLAGS-test-ldouble.c): Likewise.
24918
24919 2015-11-05 Roland McGrath <roland@hack.frob.com>
24920
24921 * io/fcntl.c (__fcntl): Add ... to prototype.
24922 * misc/ioctl.c (__ioctl): Likewise.
24923 * misc/syscall.c (syscall): Likewise.
24924
24925 2015-11-05 Joseph Myers <joseph@codesourcery.com>
24926
24927 * scripts/list-fixed-bugs.py: New file.
24928
24929 [BZ #19213]
24930 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
24931 returned for argument 1.
24932 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
24933 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
24934 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
24935 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
24936 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
24937 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
24938
24939 [BZ #19211]
24940 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
24941 __USE_XOPEN], not if [!__USE_ISOC99].
24942 (lgammaf): Likewise.
24943 (lgammal): Likewise.
24944 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
24945 (gammaf): Likewise.
24946 (gammal): Likewise.
24947 * math/test-signgam-finite-c11.c: New file.
24948 * math/test-signgam-finite-c99.c: Likewise.
24949 * math/test-signgam-finite.c: Likewise.
24950 * math/Makefile (tests): Add test-signgam-finite,
24951 test-signgam-finite-c99 and test-signgam-finite-c11.
24952 (CFLAGS-test-signgam-finite.c): New variable.
24953 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24954 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24955
24956 [BZ #19212]
24957 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
24958 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
24959 500].
24960 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
24961 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
24962 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
24963 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
24964 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
24965 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
24966 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
24967 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
24968 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
24969 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
24970
24971 [BZ #19209]
24972 * math/bits/math-finite.h (ldexp): Remove declaration.
24973 (ldexpf): Likewise.
24974 (ldexpl): Likewise.
24975
24976 [BZ #19205]
24977 * math/bits/math-finite.h (acosf): Condition declaration on
24978 [__USE_ISOC99].
24979 (acosl): Likewise.
24980 (acoshf): Likewise.
24981 (acoshl): Likewise.
24982 (asinf): Likewise.
24983 (asinl): Likewise.
24984 (atan2f): Likewise.
24985 (atan2l): Likewise.
24986 (atanhf): Likewise.
24987 (atanhl): Likewise.
24988 (coshf): Likewise.
24989 (coshl): Likewise.
24990 (expf): Likewise.
24991 (expl): Likewise.
24992 (fmodf): Likewise.
24993 (fmodl): Likewise.
24994 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
24995 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
24996 (j0l): Likewise.
24997 (y0f): Likewise.
24998 (y0l): Likewise.
24999 (j1f): Likewise.
25000 (j1l): Likewise.
25001 (y1f): Likewise.
25002 (y1l): Likewise.
25003 (jnf): Likewise.
25004 (jnl): Likewise.
25005 (ynf): Likewise.
25006 (ynl): Likewise.
25007 (lgammaf_r): Condition declaration on [__USE_ISOC99].
25008 (lgammal_r): Likewise.
25009 (__lgamma_r_finite): New declaration.
25010 (__lgammaf_r_finite): Likewise.
25011 (__lgammal_r_finite): Likewise.
25012 (lgamma): Use __lgamma_r_finite.
25013 (lgammaf): Condition definition on [__USE_ISOC99]. Use
25014 __lgammaf_r_finite.
25015 (lgammal): Condition definition on [__USE_ISOC99]. Use
25016 __lgammal_r_finite.
25017 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
25018 __lgamma_r_finite.
25019 (gammaf): Condition definition on [__USE_ISOC99]. Use
25020 __lgammaf_r_finite.
25021 (gammal): Condition definition on [__USE_ISOC99]. Use
25022 __lgammal_r_finite.
25023 (logf): Condition declaration on [__USE_ISOC99].
25024 (logl): Likewise.
25025 (log10f): Likewise.
25026 (log10l): Likewise.
25027 (ldexpf): Likewise.
25028 (ldexpl): Likewise.
25029 (powf): Likewise.
25030 (powl): Likewise.
25031 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25032 __USE_ISOC99].
25033 (remainderf): Condition declaration on [__USE_ISOC99].
25034 (remainderl): Likewise.
25035 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25036 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25037 (scalbl): Likewise.
25038 (sinhf): Condition declaration on [__USE_ISOC99].
25039 (sinhl): Likewise.
25040 (sqrtf): Likewise.
25041 (sqrtl): Likewise.
25042
25043 2015-11-04 Joseph Myers <joseph@codesourcery.com>
25044
25045 * sysdeps/arm/atomic-machine.h
25046 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25047 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25048 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25049 Remove conditional code.
25050 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25051 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25052 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25053 Change conditional to [__ASSEMBLER__].
25054 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25055 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25056 [!__ASSEMBLER__].
25057 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25058 code.
25059 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25060 conditional macro definitions.
25061 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25062 (__arch_compare_and_exchange_val_16_acq): Likewise.
25063 (__arch_compare_and_exchange_val_32_acq): Likewise.
25064 (atomic_exchange_and_add): Likewise.
25065 (atomic_add): Likewise.
25066 (atomic_add_negative): Likewise.
25067 (atomic_add_zero): Likewise.
25068 (atomic_bit_set): Likewise.
25069 (atomic_bit_test_set): Likewise.
25070 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25071 code unconditional.
25072 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25073
25074 * math/test-math-errno.h: New file.
25075 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25076 empty.
25077 (TEST_ERRNO): New macro.
25078 (TEST_EXCEPTIONS): Likewise.
25079 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25080 (TEST_EXCEPTIONS): Likewise.
25081 * math/test-math-vector.h (TEST_ERRNO): Likewise.
25082 * math/test-double.c: Include "test-math-errno.h".
25083 * math/test-float.c: Likewise.
25084 * math/test-ldouble.c: Likewise.
25085 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25086 code unconditional.
25087 (test_exceptions): Only run code if TEST_EXCEPTIONS.
25088 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25089 unconditional.
25090 (test_errno): Only run code if TEST_ERRNO.
25091 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25092
25093 2015-11-04 Florian Weimer <fweimer@redhat.com>
25094
25095 * nptl/tst-once5.cc: Remove attribution.
25096
25097 2015-11-04 Joseph Myers <joseph@codesourcery.com>
25098
25099 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25100 sqrt, tan, tanh, y0, y1 and yn.
25101 * math/auto-libm-test-out: Regenerated.
25102 * math/libm-test.inc (scalb_test_data): Add more tests.
25103 (scalbn_test_data): Likewise.
25104 (scalbln_test_data): Likewise.
25105 (signbit_test_data): Likewise.
25106 (sin_test_data): Likewise.
25107 (sincos_test_data): Likewise.
25108 (sinh_test_data): Likewise.
25109 (sqrt_test_data): Likewise.
25110 (tan_test_data): Likewise.
25111 (tanh_test_data): Likewise.
25112 (tgamma_test_data): Likewise.
25113 (y0_test_data): Likewise.
25114 (y1_test_data): Likewise.
25115 (yn_test_data): Likewise.
25116 (significand_test_data): Likewise.
25117 * sysdeps/i386/fpu/libm-test-ulps: Update.
25118
25119 2015-11-03 David Kastrup <dak@gnu.org>
25120
25121 [BZ #18604]
25122 * assert/assert.h (assert): Don't macro-expand failed assertion
25123 expression in error message.
25124 * malloc/malloc.c (assert): Likewise.
25125
25126 2015-11-03 Joseph Myers <joseph@codesourcery.com>
25127
25128 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25129 test.
25130 * configure: Regenerated.
25131
25132 2015-11-02 Joseph Myers <joseph@codesourcery.com>
25133
25134 * math/libm-test.inc (modf_test_data): Add more tests.
25135 (nearbyint_test_data): Likewise.
25136 (nextafter_test_data): Likewise.
25137 (nexttoward_test_data): Likewise.
25138 (pow_test_data): Likewise.
25139 (remainder_test_data): Likewise.
25140 (remquo_test_data): Likewise.
25141 (rint_test_data): Likewise.
25142
25143 [BZ #19201]
25144 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25145 Check for zero remainder in case of large exponents and ensure
25146 correct sign of result in that case.
25147 * math/libm-test.inc (remainder_test_data): Add more tests.
25148
25149 [BZ #6799]
25150 * math/s_nextafter.c: Include <errno.h>.
25151 (__nextafter): Set errno on overflow and underflow.
25152 * math/s_nexttowardf.c: Include <errno.h>.
25153 (__nexttowardf): Set errno on overflow and underflow.
25154 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25155 (__nextafterl): Set errno on overflow and underflow.
25156 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25157 (__nexttoward): Set errno on overflow and underflow.
25158 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25159 (__nexttowardf): Set errno on overflow and underflow.
25160 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25161 (__nextafterf): Set errno on overflow and underflow.
25162 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25163 (__nextafterl): Set errno on overflow and underflow.
25164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25165 (__nexttoward): Set errno on overflow and underflow.
25166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25167 (__nexttowardf): Set errno on overflow and underflow.
25168 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25169 (__nextafterl): Set errno on overflow and underflow.
25170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25171 (__nexttoward): Set errno on overflow and underflow.
25172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25173 (__nexttowardf): Set errno on overflow and underflow.
25174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25175 (__nexttoward): Set errno on overflow and underflow.
25176 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25177 (__nexttowardf): Set errno on overflow and underflow.
25178 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25179 (__nldbl_nexttowardf): Set errno on overflow and underflow.
25180 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25181 (__nextafterl): Set errno on overflow and underflow.
25182 * math/libm-test.inc (nextafter_test_data): Do not allow errno
25183 setting to be missing on overflow. Add more tests.
25184 (nexttoward_test_data): Likewise.
25185
25186 * configure.ac (libc_cv_initfini_array): Remove configure test.
25187 * configure: Regenerated.
25188
25189 2015-10-29 Joseph Myers <joseph@codesourcery.com>
25190
25191 [BZ #19189]
25192 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25193 non-finite argument handle arguments with negative sign.
25194
25195 * math/libm-test.inc (j0_test_data): Do not test sign of zero
25196 result from infinite argument.
25197 (j1_test_data): Likewise.
25198 (jn_test_data): Likewise.
25199 (y0_test_data): Likewise.
25200 (y1_test_data): Likewise.
25201 (yn_test_data): Likewise.
25202
25203 [BZ #16171]
25204 * math/w_remainder.c (drem): Define as weak alias of __remainder.
25205 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25206 * math/w_remainderf.c (dremf): Define as weak alias of
25207 __remainderf.
25208 * math/w_remainderl.c (dreml): Define as weak alias of
25209 __remainderl.
25210 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25211 __remainder.
25212 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25213 __remainderf.
25214 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25215 __remainderl.
25216 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25217 weak alias of remainderl.
25218 * sysdeps/ieee754/ldbl-opt/w_remainder.c
25219 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25220 alias of __remainder.
25221 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25222 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25223 strong alias of __remainderl.
25224 (dreml): Use long_double_symbol.
25225 * math/Makefile (libm-calls): Remove w_drem.
25226 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25227 (CFLAGS-nldbl-drem.c): Remove variable.
25228 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25229 * math/w_drem.c: Remove file.
25230 * math/w_dremf.c: Likewise.
25231 * math/w_dreml.c: Likewise.
25232 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25233 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25234 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25235
25236 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25237 * sysdeps/i386/configure: Regenerated.
25238 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25239 * sysdeps/x86_64/configure: Regenerated.
25240
25241 * configure.ac (libc_cv_asm_protected_directive): Remove configure
25242 test.
25243 (libc_cv_visibility_attribute): Likewise.
25244 (libc_cv_protected_data): Test unconditionally.
25245 (libc_cv_broken_visibility_attribute): Remove configure test.
25246 (libc_cv_have_sdata_section): Test unconditionally.
25247 * configure: Regenerated.
25248
25249 * include/libc-internal.h (libc_max_align_t): Remove typedef.
25250 * include/scratch_buffer.h: Include <stddef.h> instead of
25251 <libc-internal.h>.
25252 (struct scratch_buffer): Use max_align_t instead of
25253 libc_max_align_t.
25254
25255 2015-10-29 Florian Weimer <fweimer@redhat.com>
25256
25257 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25258 instead of extend_alloca. Change control flow to avoid a goto.
25259 Remove assert which is trivially always true.
25260
25261 2015-10-28 Joseph Myers <joseph@codesourcery.com>
25262
25263 [BZ #16068]
25264 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25265 (FE_ALL_EXCEPT_X86): New macro.
25266 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25267 FE_ALL_EXCEPT. Ensure precision control is included in
25268 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25269 handle "denormal operand exception" and clear FZ and DAZ bits.
25270 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25271 (FE_ALL_EXCEPT_X86): New macro.
25272 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25273 FE_ALL_EXCEPT. Ensure precision control is included in
25274 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25275 handle "denormal operand exception" and clear FZ and DAZ bits.
25276 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25277 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25278 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25279 test-fenv-x87 and test-fenv-sse-2.
25280 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25281
25282 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25283 * math/test-double.h (BUILD_COMPLEX): New macro.
25284 * math/test-float.h (BUILD_COMPLEX): Likewise.
25285 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25286
25287 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25288 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25289 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25291 instead of DBL_DENORM_MIN in comment.
25292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25293 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25294 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25295 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25296 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25297 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25298
25299 2015-10-28 Florian Weimer <fweimer@redhat.com>
25300
25301 [BZ #19048]
25302 * malloc/malloc.c (struct malloc_state): Update comment. Add
25303 attached_threads member.
25304 (main_arena): Initialize attached_threads.
25305 * malloc/arena.c (list_lock): Update comment.
25306 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25307 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25308 (deattach_arena): New function.
25309 (_int_new_arena): Initialize arena reference count and deattach
25310 replaced arena.
25311 (get_free_list, reused_arena): Update reference count and deattach
25312 replaced arena.
25313 (arena_thread_freeres): Update arena reference count and only put
25314 unreferenced arenas on the free list.
25315
25316 2015-10-28 Joseph Myers <joseph@codesourcery.com>
25317
25318 [BZ #19181]
25319 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25320 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25321 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25322 * math/test-fenv-clear-main.c: New file.
25323 * math/test-fenv-clear.c: Likewise.
25324 * math/Makefile (tests): Add test-fenv-clear.
25325 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25326 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25327 test-fenv-clear-sse.
25328 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25329
25330 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25331 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25332 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25333
25334 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25335
25336 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25337 static libc.
25338
25339 2015-10-28 Joseph Myers <joseph@codesourcery.com>
25340
25341 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25342 test.
25343 * sysdeps/i386/configure: Regenerated.
25344 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25345 test.
25346 * sysdeps/x86_64/configure: Regenerated.
25347 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25349 memset-avx2 unconditionally instead of conditionally on
25350 [$(config-cflags-avx2) = yes].
25351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25352 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25353 unconditional.
25354 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25355 * sysdeps/x86_64/multiarch/memset_chk.S
25356 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25357 to [IS_IN (libc) && SHARED].
25358
25359 2015-10-27 Joseph Myers <joseph@codesourcery.com>
25360
25361 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25362 configure test.
25363 * sysdeps/arm/configure: Regenerated.
25364 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25365 Define variable if not already defined.
25366
25367 [BZ #17404]
25368 * sysdeps/mips/atomic-machine.h
25369 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25370 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25371 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25372
25373 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25374 unconditional.
25375 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25376 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25377 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25378 unconditional.
25379 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25380 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25381 unconditional.
25382 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25383 * stdlib/setenv.c
25384 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25385 code unconditional.
25386 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25387 Remove conditional code.
25388 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25389 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25390 unconditional.
25391 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25392 code.
25393 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25394 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25395 unconditional.
25396 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25397 code.
25398 * sysdeps/ieee754/ldbl-128/k_tanl.c
25399 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25400 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25401 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25402 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25403 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25404 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25405 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25406 unconditional.
25407 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25408 code.
25409 * sysdeps/ieee754/ldbl-96/k_tanl.c
25410 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25411 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25412
25413 * nptl/tst-initializers1-c11.c: New file.
25414 * nptl/tst-initializers1-gnu11.c: Likewise.
25415 * nptl/Makefile (tests): Add these new tests.
25416 (CFLAGS-tst-initializers1-c11.c): New variable.
25417 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25418
25419 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25420 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25421 instead of -std=gnu99.
25422 * configure.ac (systemtap): Test with -std=gnu11 instead of
25423 -std=gnu99.
25424 * configure: Regenerated.
25425 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25426 in compilation command in comment.
25427
25428 * sysdeps/nptl/configure.ac: Remove file.
25429 * sysdeps/nptl/configure: Remove generated file.
25430 * configure.ac (libc_cv_forced_unwind): Do not substitute.
25431 * configure: Regenerated.
25432 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25433 * config.make.in (have-forced-unwind): Remove variable.
25434 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25435 unconditional.
25436 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25437 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25438 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25439 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25440 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25441 unconditional.
25442
25443 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25444
25445 [BZ #19174]
25446 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25447 .skip_lock_out_of_tbegin_retries.
25448 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25449 (__lll_lock_elision): Likewise, and respect a value of
25450 try_tbegin <= 0.
25451
25452 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25453
25454 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25455 statement.
25456
25457 2015-10-27 Joseph Myers <joseph@codesourcery.com>
25458
25459 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25460 variable.
25461 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25462 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25463
25464 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25465 of -std=c1x -D_ISOC11_SOURCE.
25466
25467 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25468 * configure: Regenerated.
25469 * manual/install.texi (Tools for Compilation): Document
25470 requirement for GCC 4.7 or later.
25471 * INSTALL: Regenerated.
25472
25473 2015-10-27 Ludovic Courtès <ludo@gnu.org>
25474
25475 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25476 on CNT to a conditional jump to 'puntdata'.
25477
25478 2015-10-27 Joseph Myers <joseph@codesourcery.com>
25479
25480 * configure.ac (libc_cv_gcc___thread): Remove configure test.
25481 (libc_cv_gcc_tls_model_attr): Likewise.
25482 * configure: Regenerated.
25483
25484 * configure.ac (libc_cv_need_minus_P): Remove configure test.
25485 * configure: Regenerated.
25486 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25487
25488 2015-10-26 Joseph Myers <joseph@codesourcery.com>
25489
25490 * configure.ac (old_glibc_headers): Remove configure test.
25491 * configure: Regenerated.
25492 * config.make.in (old-glibc-headers): Remove variable.
25493 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25494 (install): Remove dependency on remove-old-headers.
25495 (headers2_0): Remove variable.
25496 (remove-old-headers): Remove rule.
25497
25498 * configure.ac (libc_cv_dot_text): Remove configure test.
25499 (libc_cv_asm_set_directive): Use .text instead of
25500 ${libc_cv_dot_text} in configure test.
25501 * configure: Regenerated.
25502
25503 2015-10-26 Florian Weimer <fweimer@redhat.com>
25504
25505 [BZ #19168]
25506 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25507
25508 2015-10-26 Florian Weimer <fweimer@redhat.com>
25509
25510 * configure.ac (CXX): Clear the variable if the C++ toolchain does
25511 not support static linking.
25512 * configure: Regenerate.
25513
25514 2015-10-23 Joseph Myers <joseph@codesourcery.com>
25515
25516 * math/libm-test.inc (check_float_internal): Do not special-case
25517 errors up to 0.5 ulp.
25518
25519 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25520 log2.
25521 * math/auto-libm-test-out: Regenerated.
25522 * math/libm-test.inc (MAX_EXP): New macro.
25523 (ilogb_test_data): Add more tests.
25524 (isfinite_test_data): Likewise.
25525 (isgreater_test_data): Likewise.
25526 (isgreaterequal_test_data): Likewise.
25527 (isinf_test_data): Likewise.
25528 (isless_test_data): Likewise.
25529 (islessequal_test_data): Likewise.
25530 (islessgreater_test_data): Likewise.
25531 (isnan_test_data): Likewise.
25532 (isnormal_test_data): Likewise.
25533 (issignaling_test_data): Likewise.
25534 (isunordered_test_data): Likewise.
25535 (j0_test_data): Likewise.
25536 (j1_test_data): Likewise.
25537 (jn_test_data): Likewise.
25538 (lgamma_test_data): Likewise.
25539 (log_test_data): Likewise.
25540 (log10_test_data): Likewise.
25541 (log1p_test_data): Likewise.
25542 (log2_test_data): Likewise.
25543 (logb_test_data): Likewise.
25544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25545
25546 [BZ #18611]
25547 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25548 avoid excess range and precision on underflow.
25549 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25550 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25551 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25552 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25553 underflow.
25554 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25556 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25557 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25558 * math/auto-libm-test-in: Do not allow missing errno setting for
25559 tests of j1 and jn.
25560 * math/auto-libm-test-out: Regenerated.
25561
25562 2015-10-22 Joseph Myers <joseph@codesourcery.com>
25563
25564 [BZ #15491]
25565 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25566 floating-point environment instead of clearing all exceptions.
25567 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25568 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25569 merging in "invalid" exceptions from frndint.
25570 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25571 * math/test-nearbyint-except.c: New file.
25572 * math/Makefile (tests): Add test-nearbyint-except.
25573
25574 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
25575
25576 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25577
25578 * sysdeps/tile/libm-test-ulps: Regenerated.
25579
25580 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25581
25582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25583 (__NR_sync_file_range2): Assume it is always defined.
25584 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25585 (__NR_sync_file_range): Assume it is always defined.
25586
25587 2015-10-22 Andreas Schwab <schwab@suse.de>
25588
25589 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25590 INTERNAL_SYSCALL_ERRNO.
25591 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25592 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25593 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25594 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25595 Likewise.
25596 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25597
25598 2015-10-21 Joseph Myers <joseph@codesourcery.com>
25599
25600 * io/tst-fcntl.c (fd): New static variable.
25601 (do_prepare): Open temporary file here....
25602 (do_test): ...not here.
25603
25604 * io/ftwtest-sh: Also trap on exit to remove temporary files.
25605
25606 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
25607
25608 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25609 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25610 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25611 Moved before "#ifdef __ASSEMBLER__".
25612
25613 2015-10-21 Joseph Myers <joseph@codesourcery.com>
25614
25615 [BZ #19156]
25616 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25617 arguments very close to 0.
25618
25619 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
25620
25621 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25622 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25623
25624 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
25625
25626 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25627 New. Defined for GCC 5 and above when not compiling for
25628 profiling.
25629 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25630
25631 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25632 Renamed to ...
25633 (CFLAGS-epoll_pwait.o): This.
25634 (CFLAGS-mmap.c): Renamed to ...
25635 (CFLAGS-mmap.o): This.
25636 (CFLAGS-mmap64.c): Renamed to ...
25637 (CFLAGS-mmap64.o): This.
25638 (CFLAGS-epoll_pwait.os): New.
25639 (CFLAGS-mmap.os): Likewise.
25640 (CFLAGS-mmap64.os): Likewise.
25641 (CFLAGS-semtimedop.os): Likewise.
25642 (CFLAGS-semtimedop.c): Renamed to ...
25643 (CFLAGS-semtimedop.o): This.
25644
25645 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25646
25647 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25648 warning message.
25649
25650 2015-10-21 Joseph Myers <joseph@codesourcery.com>
25651
25652 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25653 * Makefile ($(objpfx)c++-types-check.out): Filter out
25654 $(+gccwarn-c) instead of -Wstrict-prototypes.
25655
25656 * io/fts.c (fts_open): Convert to prototype-style function
25657 definition.
25658 * malloc/mcheck.c (mcheck): Likewise.
25659 (mcheck_pedantic): Likewise.
25660 * posix/regexec.c (re_search_2_stub): Likewise. Use
25661 internal_function.
25662 (re_search_internal): Likewise.
25663 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25664 prototype-style function definition.
25665 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25666 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25667 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25668 (xdr_utmpptr): Likewise.
25669 (xdr_utmparr): Likewise.
25670 (xdr_utmpidle): Likewise.
25671 (xdr_utmpidleptr): Likewise.
25672 (xdr_utmpidlearr): Likewise.
25673
25674 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25675 log, log10 and log2.
25676 * math/auto-libm-test-out: Regenerated.
25677 * math/libm-test.inc (fmod_test_data): Add more tests.
25678 (fpclassify_test_data): Likewise.
25679 (frexp_test_data): Likewise.
25680 (hypot_test_data): Likewise.
25681 (ilogb_test_data): Likewise.
25682
25683 2015-10-20 Joseph Myers <joseph@codesourcery.com>
25684
25685 * debug/fortify_fail.c (__fortify_fail): Convert to
25686 prototype-style function definition. Use internal_function.
25687 * libio/genops.c (save_for_backup): Convert to prototype-style
25688 function definition.
25689 * libio/wgenops.c (save_for_wbackup): Likewise.
25690 * login/grantpt.c (grantpt): Likewise.
25691 * login/ptsname.c (ptsname): Likewise.
25692 (__ptsname_r): Likewise.
25693 * login/unlockpt.c (unlockpt): Likewise.
25694 * mach/msgserver.c (__mach_msg_server): Likewise.
25695 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25696 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25697 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25698 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25699 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25700 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25701 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25702 Likewise.
25703 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
25704 internal_function.
25705 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25706 prototype-style function definition.
25707 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25708 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25709 (__pthread_create_2_0): Likewise.
25710 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25711 * nptl/register-atfork.c (__register_atfork): Likewise.
25712 * posix/glob.c (glob): Likewise.
25713 * posix/regcomp.c (re_comp): Likewise.
25714 * posix/regexec.c (re_exec): Likewise.
25715 * stdlib/add_n.c [__STDC__]: Make code unconditional.
25716 [!__STDC__]: Remove conditional code.
25717 * stdlib/cmp.c [__STDC__]: Make code unconditional.
25718 [!__STDC__]: Remove conditional code.
25719 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
25720 [!__STDC__]: Remove conditional code.
25721 * stdlib/divrem.c [__STDC__]: Make code unconditional.
25722 [!__STDC__]: Remove conditional code.
25723 * stdlib/lshift.c [__STDC__]: Make code unconditional.
25724 [!__STDC__]: Remove conditional code.
25725 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
25726 [!__STDC__]: Remove conditional code.
25727 * stdlib/mul.c [__STDC__]: Make code unconditional.
25728 [!__STDC__]: Remove conditional code.
25729 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
25730 [!__STDC__]: Remove conditional code.
25731 * stdlib/rshift.c [__STDC__]: Make code unconditional.
25732 [!__STDC__]: Remove conditional code.
25733 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
25734 function definition.
25735 (STRTOF): Likewise.
25736 * stdlib/strtod_l.c (__STRTOF): Likewise.
25737 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
25738 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
25739 (__strtol_l): Likewise.
25740 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
25741 [!__STDC__]: Remove conditional code.
25742 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
25743 definition.
25744 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25745 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25746 type.
25747 (__strcasecmp): Convert to prototype-style function definition.
25748 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
25749 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25750 type.
25751 (__strncasecmp): Convert to prototype-style function definition.
25752 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
25753 * sunrpc/xdr.c (xdr_union): Likewise.
25754 * sunrpc/xdr_array.c (xdr_array): Likewise.
25755 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
25756 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
25757 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
25758 Likewise.
25759 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
25760 Likewise.
25761 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
25762 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25763 Likewise.
25764 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
25765 (LOCALE_PARAM_PROTO): Likewise.
25766 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
25767 argument type.
25768 (ut_argument_spec): Remove macro.
25769 (ut_argument_spec_iso): Rename to ut_argument_spec.
25770 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
25771 prototype-style function definition.
25772 (memcpy_uppcase): Likewise.
25773 (__strftime_internal): Likewise.
25774 (my_strftime): Likewise.
25775 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
25776 (LOCALE_PARAM_DECL): Likewise.
25777 [_LIBC] (LOCALE_PARAM): Include argument type.
25778 (__strptime_internal): Convert to prototype-style function
25779 definition.
25780 (strptime): Likewise.
25781 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25782 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25783 type.
25784 (__wcscasecmp): Convert to prototype-style function definition.
25785 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
25786 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25787 type.
25788 (__wcsncasecmp): Convert to prototype-style function definition.
25789
25790 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
25791 function definition.
25792 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25793 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25794 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
25795 * elf/dl-minimal.c (_itoa): Likewise.
25796 * hurd/hurdmalloc.c (malloc): Likewise.
25797 (free): Likewise.
25798 (realloc): Likewise.
25799 * inet/inet6_option.c (inet6_option_space): Likewise.
25800 (inet6_option_init): Likewise.
25801 (inet6_option_append): Likewise.
25802 (inet6_option_alloc): Likewise.
25803 (inet6_option_next): Likewise.
25804 (inet6_option_find): Likewise.
25805 * io/ftw.c (FTW_NAME): Likewise.
25806 (NFTW_NAME): Likewise.
25807 (NFTW_NEW_NAME): Likewise.
25808 (NFTW_OLD_NAME): Likewise.
25809 * libio/iofwide.c (_IO_fwide): Likewise.
25810 * libio/strops.c (_IO_str_init_static_internal): Likewise.
25811 (_IO_str_init_static): Likewise.
25812 (_IO_str_init_readonly): Likewise.
25813 (_IO_str_overflow): Likewise.
25814 (_IO_str_underflow): Likewise.
25815 (_IO_str_count): Likewise.
25816 (_IO_str_seekoff): Likewise.
25817 (_IO_str_pbackfail): Likewise.
25818 (_IO_str_finish): Likewise.
25819 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
25820 (_IO_wstr_overflow): Likewise.
25821 (_IO_wstr_underflow): Likewise.
25822 (_IO_wstr_count): Likewise.
25823 (_IO_wstr_seekoff): Likewise.
25824 (_IO_wstr_pbackfail): Likewise.
25825 (_IO_wstr_finish): Likewise.
25826 * locale/programs/localedef.c (normalize_codeset): Likewise.
25827 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25828 (add_locales_to_archive): Likewise.
25829 (delete_locales_from_archive): Likewise.
25830 * malloc/malloc.c (__libc_mallinfo): Likewise.
25831 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
25832 * misc/tsearch.c (__tfind): Likewise.
25833 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
25834 * nptl/pthread_attr_getdetachstate.c
25835 (__pthread_attr_getdetachstate): Likewise.
25836 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25837 Likewise.
25838 * nptl/pthread_attr_getinheritsched.c
25839 (__pthread_attr_getinheritsched): Likewise.
25840 * nptl/pthread_attr_getschedparam.c
25841 (__pthread_attr_getschedparam): Likewise.
25842 * nptl/pthread_attr_getschedpolicy.c
25843 (__pthread_attr_getschedpolicy): Likewise.
25844 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
25845 Likewise.
25846 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
25847 Likewise.
25848 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25849 Likewise.
25850 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25851 Likewise.
25852 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
25853 (__pthread_attr_init_2_0): Likewise.
25854 * nptl/pthread_attr_setdetachstate.c
25855 (__pthread_attr_setdetachstate): Likewise.
25856 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25857 Likewise.
25858 * nptl/pthread_attr_setinheritsched.c
25859 (__pthread_attr_setinheritsched): Likewise.
25860 * nptl/pthread_attr_setschedparam.c
25861 (__pthread_attr_setschedparam): Likewise.
25862 * nptl/pthread_attr_setschedpolicy.c
25863 (__pthread_attr_setschedpolicy): Likewise.
25864 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
25865 Likewise.
25866 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
25867 Likewise.
25868 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25869 Likewise.
25870 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25871 Likewise.
25872 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
25873 Likewise.
25874 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
25875 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
25876 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
25877 use internal_function.
25878 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
25879 prototype-style function definition.
25880 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25881 (__pthread_mutex_cond_lock_adjust): Likewise. Use
25882 internal_function.
25883 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
25884 Convert to prototype-style function definition.
25885 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25886 Likewise.
25887 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
25888 Likewise.
25889 (__pthread_mutex_unlock): Likewise.
25890 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
25891 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
25892 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
25893 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
25894 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
25895 * nss/makedb.c (process_input): Likewise.
25896 * posix/fnmatch.c (__strchrnul): Likewise.
25897 (__wcschrnul): Likewise.
25898 (fnmatch): Likewise.
25899 * posix/fnmatch_loop.c (FCT): Likewise.
25900 * posix/glob.c (globfree): Likewise.
25901 (__glob_pattern_type): Likewise.
25902 (__glob_pattern_p): Likewise.
25903 * posix/regcomp.c (re_compile_pattern): Likewise.
25904 (re_set_syntax): Likewise.
25905 (re_compile_fastmap): Likewise.
25906 (regcomp): Likewise.
25907 (regerror): Likewise.
25908 (regfree): Likewise.
25909 * posix/regexec.c (regexec): Likewise.
25910 (re_match): Likewise.
25911 (re_search): Likewise.
25912 (re_match_2): Likewise.
25913 (re_search_2): Likewise.
25914 (re_search_stub): Likewise. Use internal_function
25915 (re_copy_regs): Likewise.
25916 (re_set_registers): Convert to prototype-style function
25917 definition.
25918 (prune_impossible_nodes): Likewise. Use internal_function.
25919 * resolv/inet_net_pton.c (inet_net_pton): Convert to
25920 prototype-style function definition.
25921 (inet_net_pton_ipv4): Likewise.
25922 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25923 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
25924 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
25925 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
25926 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25927 Make variadic.
25928 * time/strptime_l.c (localtime_r): Convert to prototype-style
25929 function definition.
25930 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25931 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25932 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25933 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25934
25935 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
25936 definition.
25937 (_ufc_doit_r): Likewise.
25938 * crypt/crypt_util.c (_ufc_copymem): Likewise.
25939 (_ufc_output_conversion_r): Likewise.
25940 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
25941 * inet/rcmd.c (rcmd_af): Likewise.
25942 (rcmd): Likewise.
25943 (ruserok_af): Likewise.
25944 (ruserok): Likewise.
25945 (ruserok2_sa): Likewise.
25946 (ruserok_sa): Likewise.
25947 (iruserok_af): Likewise.
25948 (iruserok): Likewise.
25949 (__ivaliduser): Likewise.
25950 (__validuser2_sa): Likewise.
25951 * inet/rexec.c (rexec_af): Likewise.
25952 (rexec): Likewise.
25953 * inet/ruserpass.c (ruserpass): Likewise.
25954 * locale/programs/xmalloc.c (xcalloc): Likewise.
25955 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
25956 * math/w_drem.c (__drem): Likewise.
25957 * math/w_dremf.c (__dremf): Likewise.
25958 * math/w_dreml.c (__dreml): Likewise.
25959 * misc/daemon.c (daemon): Likewise.
25960 * resolv/res_debug.c (p_fqnname): Likewise.
25961 * stdlib/div.c (div): Likewise.
25962 * string/memcmp.c (memcmp_bytes): Likewise.
25963 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
25964 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
25965
25966 * crypt/cert.c (main): Convert to prototype-style function
25967 definition.
25968 * io/pipe.c (__pipe): Likewise.
25969 * io/pipe2.c (__pipe2): Likewise.
25970 * misc/futimesat.c (futimesat): Likewise.
25971 * misc/utimes.c (__utimes): Likewise.
25972 * posix/execve.c (__execve): Likewise.
25973 * posix/execvp.c (execvp): Likewise.
25974 * posix/execvpe.c (__execvpe): Likewise.
25975 * posix/fexecve.c (fexecve): Likewise.
25976 * socket/socketpair.c (socketpair): Likewise.
25977 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25978 * stdlib/erand48.c (erand48): Likewise.
25979 * stdlib/erand48_r.c (__erand48_r): Likewise.
25980 * stdlib/jrand48.c (jrand48): Likewise.
25981 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
25982 * stdlib/lcong48.c (lcong48): Likewise.
25983 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
25984 * stdlib/nrand48.c (nrand48): Likewise.
25985 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
25986 * stdlib/seed48.c (seed48): Likewise.
25987 * stdlib/seed48_r.c (__seed48_r): Likewise.
25988 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
25989 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
25990 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
25991
25992 2015-10-19 Joseph Myers <joseph@codesourcery.com>
25993
25994 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
25995 * configure: Regenerated.
25996 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
25997 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
25998 unconditional.
25999 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26000 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26001 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26002 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26003 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26004 unconditional.
26005 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26006
26007 * posix/Makefile (CFLAGS-regex.c): Remove variable.
26008 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26009
26010 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26011 function definition.
26012 * crypt/crypt_util.c (__encrypt_r): Likewise.
26013 * libio/genops.c (_IO_no_init): Likewise.
26014 * libio/iofopncook.c (_IO_fopencookie): Likewise.
26015 (_IO_old_fopencookie): Likewise.
26016 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26017 * libio/iogetline.c (_IO_getline): Likewise.
26018 (_IO_getline_info): Likewise.
26019 * libio/iogetwline.c (_IO_getwline): Likewise.
26020 (_IO_getwline_info): Likewise.
26021 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26022 * libio/vswprintf.c (_IO_vswprintf): Likewise.
26023 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26024 (find_entry): Likewise.
26025 (iterate_table): Likewise.
26026 (lookup): Likewise.
26027 * login/forkpty.c (forkpty): Likewise.
26028 * misc/hsearch_r.c (__hsearch_r): Likewise.
26029 * misc/select.c (__select): Likewise.
26030 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26031 Likewise.
26032 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26033 Likewise.
26034 * nptl/old_pthread_cond_timedwait.c
26035 (__pthread_cond_timedwait_2_0): Likewise.
26036 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26037 * nptl/pthread_barrierattr_getpshared.c
26038 (pthread_barrierattr_getpshared): Likewise.
26039 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26040 Likewise.
26041 * nptl/pthread_mutex_setprioceiling.c
26042 (pthread_mutex_setprioceiling): Likewise.
26043 * nptl/pthread_mutexattr_getprioceiling.c
26044 (pthread_mutexattr_getprioceiling): Likewise.
26045 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26046 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26047 Likewise.
26048 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26049 Likewise.
26050 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26051 Likewise.
26052 * socket/recvfrom.c (__recvfrom): Likewise.
26053 * socket/sendto.c (__sendto): Likewise.
26054 * socket/setsockopt.c (__setsockopt): Likewise.
26055 * stdio-common/_itoa.c (_itoa): Likewise.
26056 * stdio-common/_itowa.c (_itowa): Likewise.
26057 * stdio-common/reg-printf.c (__register_printf_specifier):
26058 Likewise.
26059 (__register_printf_function): Likewise.
26060 * stdio-common/tempname.c (__path_search): Likewise.
26061 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26062 * stdlib/mul_1.c (mpn_mul_1): Likewise.
26063 * stdlib/random_r.c (__initstate_r): Likewise.
26064 * stdlib/setenv.c (__add_to_environ): Likewise.
26065 * stdlib/submul_1.c (mpn_submul_1): Likewise.
26066 * streams/getpmsg.c (getpmsg): Likewise.
26067 * streams/putmsg.c (putmsg): Likewise.
26068 * streams/putpmsg.c (putpmsg): Likewise.
26069 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26070 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26071 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26072 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26073 * sunrpc/pm_getport.c (pmap_getport): Likewise.
26074 * sunrpc/svc_udp.c (cache_get): Likewise.
26075 * sunrpc/xdr_array.c (xdr_vector): Likewise.
26076 * sysdeps/mach/hurd/getcwd.c
26077 (__canonicalize_directory_name_internal): Likewise.
26078 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26079 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26080 * sysdeps/mach/hurd/select.c (__select): Likewise.
26081 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26082 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26083 * sysdeps/sparc/nptl/pthread_barrier_init.c
26084 (__pthread_barrier_init): Likewise.
26085 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26086 (__pthread_cond_timedwait): Likewise.
26087 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26088 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26089 Likewise.
26090 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26091 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26092 Likewise.
26093 * sysvipc/semtimedop.c (semtimedop): Likewise.
26094 * time/setitimer.c (__setitimer): Likewise.
26095 * time/strftime_l.c (emacs_strftime): Likewise.
26096
26097 2015-10-19 Mike Frysinger <vapier@gentoo.org>
26098
26099 * config.make.in (have-ssp): Delete.
26100 (stack-protector): New variable.
26101 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
26102 cache test for -fstack-protector-strong. Export stack_protector to
26103 the best ssp flag.
26104 * configure: Regenerated.
26105 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26106 * nscd/Makefile (CFLAGS-nscd): Likewise.
26107 * resolv/Makefile (CFLAGS-libresolv): Likewise.
26108
26109 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
26110
26111 [BZ #19122]
26112 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26113 attribute_hidden.
26114
26115 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26116
26117 [BZ #18743]
26118 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26119 code to...
26120 (ELIDE_LOCK): ...here.
26121 (__get_new_count): New function with part of the code from
26122 __elide_lock that updates the value of adapt_count after a
26123 transaction abort.
26124 (__elided_trylock): Moved this code to...
26125 (ELIDE_TRYLOCK): ...here.
26126
26127 2015-10-19 Mike Frysinger <vapier@gentoo.org>
26128
26129 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26130 * configure: Regenerate.
26131 * INSTALL: Regenerate.
26132 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26133 and tweak grammar.
26134
26135 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
26136
26137 * login/programs/pt_chown.c: Include signal.h
26138 (main): Clear any signal mask from the parent process.
26139
26140 2015-10-19 Joseph Myers <joseph@codesourcery.com>
26141
26142 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26143 * configure: Regenerated.
26144 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26145 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26146 $(gnu89-inline-CFLAGS).
26147
26148 * configure.ac (libc_cv_asm_weak_directive): Remove configure
26149 test.
26150 (libc_cv_asm_weakext_directive): Likewise.
26151 * configure: Regenerated.
26152 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26153 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26154 * include/libc-symbols.h
26155 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26156 #error.
26157 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26158 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26159
26160 * sysdeps/arm/backtrace.c (__backtrace): Convert to
26161 prototype-style function definition.
26162 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26163 * sysdeps/i386/ffs.c (__ffs): Likewise.
26164 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26165 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26166 Likewise.
26167 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26168 Likewise.
26169 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26170 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26171 Likewise.
26172 * sysdeps/m68k/ffs.c (__ffs): Likewise.
26173 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26174 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26175 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26176 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26177 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26178 * sysdeps/mach/hurd/access.c (__access): Likewise.
26179 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26180 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26181 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26182 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26183 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26184 (cthread_getspecific): Likewise.
26185 (cthread_setspecific): Likewise.
26186 (__libc_getspecific): Likewise.
26187 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26188 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26189 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26190 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26191 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26192 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26193 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26194 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26195 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26196 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26197 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26198 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26199 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26200 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26201 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26202 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26203 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26204 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26205 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26206 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26207 * sysdeps/mach/hurd/link.c (__link): Likewise.
26208 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26209 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26210 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26211 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26212 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26213 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26214 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26215 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26216 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26217 * sysdeps/mach/hurd/rename.c (rename): Likewise.
26218 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26219 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26220 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26221 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26222 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26223 * sysdeps/mach/hurd/send.c (__send): Likewise.
26224 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26225 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26226 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26227 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26228 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26229 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26230 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26231 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26232 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26233 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26234 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26235 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26236 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26237 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26238 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26239 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26240 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26241 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26242 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26243 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26244 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26245 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26246 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26247 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26248 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26249 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26250 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26251 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26252 * sysdeps/posix/alarm.c (alarm): Likewise.
26253 * sysdeps/posix/cuserid.c (cuserid): Likewise.
26254 * sysdeps/posix/dirfd.c (dirfd): Likewise.
26255 * sysdeps/posix/dup.c (__dup): Likewise.
26256 * sysdeps/posix/dup2.c (__dup2): Likewise.
26257 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26258 (main): Likewise.
26259 * sysdeps/posix/flock.c (__flock): Likewise.
26260 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26261 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26262 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26263 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26264 * sysdeps/posix/isatty.c (__isatty): Likewise.
26265 * sysdeps/posix/killpg.c (killpg): Likewise.
26266 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26267 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26268 * sysdeps/posix/raise.c (raise): Likewise.
26269 * sysdeps/posix/remove.c (remove): Likewise.
26270 * sysdeps/posix/rename.c (rename): Likewise.
26271 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26272 * sysdeps/posix/seekdir.c (seekdir): Likewise.
26273 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26274 * sysdeps/posix/sigignore.c (sigignore): Likewise.
26275 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26276 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26277 * sysdeps/posix/sigset.c (sigset): Likewise.
26278 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26279 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26280 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26281 * sysdeps/posix/time.c (time): Likewise.
26282 * sysdeps/posix/ttyname.c (getttyname): Likewise.
26283 (ttyname): Likewise.
26284 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26285 * sysdeps/posix/utime.c (utime): Likewise.
26286 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26287 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26288 Likewise.
26289 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26290 (pthread_spin_trylock): Likewise.
26291 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26292 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26293 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26294 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26295 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26296 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26297 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26298 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26299 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26300 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26301 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26302 * sysdeps/s390/ffs.c (__ffs): Likewise.
26303 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26304 Likewise.
26305 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26306 Likewise.
26307 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26308 Likewise.
26309 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26310 (pthread_barrier_destroy): Likewise.
26311 * sysdeps/sparc/nptl/pthread_barrier_wait.c
26312 (__pthread_barrier_wait): Likewise.
26313 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26314 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26315 (__pthread_barrier_wait): Likewise.
26316 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26317 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26318 (memcmp_not_common_alignment): Likewise.
26319 (MEMCMP): Likewise.
26320 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26321 (_wordcopy_fwd_dest_aligned): Likewise.
26322 (_wordcopy_bwd_aligned): Likewise.
26323 (_wordcopy_bwd_dest_aligned): Likewise.
26324 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26325 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26326 * sysdeps/unix/bsd/stty.c (stty): Likewise.
26327 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26328 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26329 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26330 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26331 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26332 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26333 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26334 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26335 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26336 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26337 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26338 * sysdeps/unix/stime.c (stime): Likewise.
26339 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26340 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26341 Likewise. Use internal_function.
26342 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26343 Convert to prototype-style function definition.
26344 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26345 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26346 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26347 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26348 Likewise. Use internal_function.
26349 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26350 prototype-style function definition
26351 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26352 Likewise.
26353 (__getlogin_r): Likewise.
26354 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26355 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26356 (__pthread_cond_broadcast): Likewise.
26357 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26358 (__pthread_cond_destroy): Likewise.
26359 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26360 (__pthread_cond_init): Likewise.
26361 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26362 (__pthread_cond_signal): Likewise.
26363 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26364 (__pthread_cond_wait): Likewise.
26365 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26366 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26367 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26368 Likewise.
26369 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26370 Likewise.
26371 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26372 Likewise.
26373 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26374 Likewise.
26375 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26377 (__ftruncate64): Likewise.
26378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26379 (truncate64): Likewise.
26380 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26381 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26382 (pthread_getcpuclockid): Likewise.
26383 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26384 Likewise.
26385 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26386 Likewise.
26387 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26388 Likewise.
26389 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26390 Likewise.
26391 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26392 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26393 (__libc_sigaction): Likewise.
26394 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26395 Likewise.
26396 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26397 (__sigprocmask): Likewise.
26398 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26399 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26400 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26401 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26402 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26403 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26404 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26405 Likewise.
26406 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26407 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26408 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26409 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26410 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26411 Likewise.
26412 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26413 (__sigprocmask): Likewise.
26414 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26415 (cfgetispeed): Likewise.
26416 (cfsetospeed): Likewise.
26417 (cfsetispeed): Likewise.
26418 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26419 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26420 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26421 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26422 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26423 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26424 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26425 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26426 Likewise.
26427 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26428 Likewise.
26429 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26430 Likewise.
26431 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26432 Likewise.
26433 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26434
26435 2015-10-17 Florian Weimer <fweimer@redhat.com>
26436
26437 sunrpc: Rewrite with explicit TLS access using __thread.
26438 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26439 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26440 directly.
26441 (__rpc_thread_variables): Access thread_rpc_vars directly.
26442 Eliminate redundant assignment of the tvp variable.
26443
26444 2015-10-17 Florian Weimer <fweimer@redhat.com>
26445
26446 malloc: Rewrite with explicit TLS access using __thread.
26447 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26448 (tsd_setspecific, tsd_getspecific): Remove.
26449 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26450 (tsd_setspecific, tsd_getspecific): Likewise.
26451 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26452 (tsd_setspecific, tsd_getspecific): Likewise.
26453 * malloc/arena.c (thread_arena): New TLS variable.
26454 (arena_key): Remove variable.
26455 (arena_get): Use thread_arena.
26456 (arena_lookup): Remove macro.
26457 (malloc_atfork, free_atfork, ptmalloc_lock_all)
26458 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26459 (_int_new_arena, get_free_list, reused_arena)
26460 (arena_thread_freeres): Use thread_arena.
26461 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26462 tsd_getspecific, tsd_setspecific from safety annotations.
26463 (Allocating Cleared Space): Remove arena_lookup from safety
26464 annotations.
26465
26466 2015-10-17 Florian Weimer <fweimer@redhat.com>
26467
26468 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26469 struct scratch_buffer instead of extend_alloca.
26470
26471 2015-10-17 Florian Weimer <fweimer@redhat.com>
26472
26473 * sysdeps/unix/sysv/linux/kernel-features.h
26474 (__ASSUME_SOCK_CLOEXEC): Remove.
26475 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26476 (__have_paccept): Remove unused macro.
26477 * include/unistd.h (__have_sock_cloexec): Remove declaration.
26478 * misc/syslog.c (openlog_internal): Remove fallback code for
26479 !__ASSUME_SOCK_CLOEXEC.
26480 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26481 missing SOCK_CLOEXEC.
26482 * nscd/connections.c (have_sock_cloexec): Remove definition.
26483 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26484 * nscd/nscd_helper.c (open_socket): Remove fallback code for
26485 !__ASSUME_SOCK_CLOEXEC.
26486 * resolv/res_send.c (__have_o_nonblock): Remove definition.
26487 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26488 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26489 definition.
26490 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26491 code for !__ASSUME_SOCK_CLOEXEC.
26492
26493 2015-10-17 Florian Weimer <fweimer@redhat.com>
26494
26495 [BZ #18982]
26496 * manual/stdio.texi (Variable Arguments Output): Add portability
26497 note, explaining that vfprintf clobbers the va_list pointer.
26498
26499 2015-10-16 Joseph Myers <joseph@codesourcery.com>
26500
26501 * math/libm-test.inc (fabs_test_data): Add more tests.
26502 (fdim_test_data): Likewise.
26503 (fma_test_data): Likewise.
26504 (fmax_test_data): Likewise.
26505 (fmin_test_data): Likewise.
26506 (fmod_test_data): Likewise.
26507
26508 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
26509
26510 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
26511 data.
26512
26513 2015-10-16 Joseph Myers <joseph@codesourcery.com>
26514
26515 * math/libm-test.inc (ceil_test_data): Add more tests and more
26516 expectations for "inexact".
26517 (floor_test_data): Add more tests.
26518 (round_test_data): Likewise.
26519 (trunc_test_data): Likewise.
26520
26521 * crypt/cert.c (good_bye): Convert to prototype-style function
26522 definition.
26523 (get8): Likewise.
26524 (put8): Likewise.
26525 * crypt/crypt-entry.c (crypt): Likewise.
26526 (__fcrypt): Likewise.
26527 * crypt/crypt_util.c (_ufc_prbits): Likewise.
26528 (_ufc_set_bits): Likewise.
26529 (_ufc_clearmem): Likewise.
26530 (__init_des_r): Likewise.
26531 (shuffle_sb): Likewise.
26532 (shuffle_sb): Likewise.
26533 (_ufc_setup_salt_r): Likewise.
26534 (_ufc_mk_keytab_r): Likewise.
26535 (_ufc_dofinalperm_r): Likewise.
26536 (encrypt): Likewise.
26537 (__setkey_r): Likewise.
26538 (setkey): Likewise.
26539 * crypt/md5.c (md5_init_ctx): Likewise.
26540 (md5_read_ctx): Likewise.
26541 (md5_finish_ctx): Likewise.
26542 (md5_stream): Likewise.
26543 (md5_buffer): Likewise.
26544 (md5_process_bytes): Likewise.
26545 * crypt/sha256.c (__sha256_init_ctx): Likewise.
26546 (__sha256_finish_ctx): Likewise.
26547 (__sha256_process_bytes): Likewise.
26548 * crypt/sha512.c (__sha512_init_ctx): Likewise.
26549 (__sha512_finish_ctx): Likewise.
26550 (__sha512_process_bytes): Likewise.
26551 * ctype/isctype.c (__isctype): Likewise.
26552 * debug/backtrace.c (__backtrace): Likewise.
26553 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26554 * debug/fgets_chk.c (__fgets_chk): Likewise.
26555 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26556 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26557 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26558 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26559 * debug/memset_chk.c (__memset_chk): Likewise.
26560 * debug/strcat_chk.c (__strcat_chk): Likewise.
26561 * debug/strncat_chk.c (__strncat_chk): Likewise.
26562 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26563 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26564 * dirent/dirfd.c (dirfd): Likewise.
26565 * dirent/getdents.c (__getdirentries): Likewise.
26566 * dirent/getdents64.c (getdirentries64): Likewise.
26567 * dirent/rewinddir.c (__rewinddir): Likewise.
26568 * dirent/seekdir.c (seekdir): Likewise.
26569 * dirent/telldir.c (telldir): Likewise.
26570 * elf/sln.c (makesymlinks): Likewise.
26571 (makesymlink): Likewise.
26572 * gmon/gmon.c (__moncontrol): Likewise.
26573 (__monstartup): Likewise.
26574 (write_hist): Likewise.
26575 (write_call_graph): Likewise.
26576 (write_bb_counts): Likewise.
26577 * grp/setgroups.c (setgroups): Likewise.
26578 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26579 * inet/inet_net.c (inet_network): Likewise.
26580 * inet/inet_netof.c (inet_netof): Likewise.
26581 * inet/rcmd.c (rresvport_af): Likewise.
26582 (rresvport): Likewise.
26583 * io/access.c (__access): Likewise.
26584 * io/chdir.c (__chdir): Likewise.
26585 * io/chmod.c (__chmod): Likewise.
26586 * io/chown.c (__chown): Likewise.
26587 * io/close.c (__close): Likewise.
26588 * io/creat.c (creat): Likewise.
26589 * io/creat64.c (creat64): Likewise.
26590 * io/dup.c (__dup): Likewise.
26591 * io/dup2.c (__dup2): Likewise.
26592 * io/dup3.c (__dup3): Likewise.
26593 * io/euidaccess.c (__euidaccess): Likewise.
26594 * io/faccessat.c (faccessat): Likewise.
26595 * io/fchmod.c (__fchmod): Likewise.
26596 * io/fchmodat.c (fchmodat): Likewise.
26597 * io/fchown.c (__fchown): Likewise.
26598 * io/fchownat.c (fchownat): Likewise.
26599 * io/fcntl.c (__fcntl): Likewise.
26600 * io/flock.c (__flock): Likewise.
26601 * io/fts.c (fts_load): Likewise.
26602 (fts_close): Likewise.
26603 (fts_read): Likewise.
26604 (fts_set): Likewise.
26605 (fts_children): Likewise.
26606 (fts_build): Likewise.
26607 (fts_stat): Likewise.
26608 (fts_sort): Likewise.
26609 (fts_alloc): Likewise.
26610 (fts_lfree): Likewise.
26611 (fts_palloc): Likewise.
26612 (fts_padjust): Likewise.
26613 (fts_maxarglen): Likewise.
26614 (fts_safe_changedir): Likewise.
26615 * io/getwd.c (getwd): Likewise.
26616 * io/isatty.c (__isatty): Likewise.
26617 * io/lchown.c (__lchown): Likewise.
26618 * io/link.c (__link): Likewise.
26619 * io/linkat.c (linkat): Likewise.
26620 * io/lseek.c (__libc_lseek): Likewise.
26621 * io/mkdir.c (__mkdir): Likewise.
26622 * io/mkdirat.c (mkdirat): Likewise.
26623 * io/mkfifo.c (mkfifo): Likewise.
26624 * io/mkfifoat.c (mkfifoat): Likewise.
26625 * io/open.c (__libc_open): Likewise.
26626 * io/open64.c (__libc_open64): Likewise.
26627 * io/readlink.c (__readlink): Likewise.
26628 * io/readlinkat.c (readlinkat): Likewise.
26629 * io/rmdir.c (__rmdir): Likewise.
26630 * io/symlink.c (__symlink): Likewise.
26631 * io/symlinkat.c (symlinkat): Likewise.
26632 * io/ttyname.c (ttyname): Likewise.
26633 * io/ttyname_r.c (__ttyname_r): Likewise.
26634 * io/umask.c (__umask): Likewise.
26635 * io/unlink.c (__unlink): Likewise.
26636 * io/unlinkat.c (unlinkat): Likewise.
26637 * io/utime.c (utime): Likewise.
26638 * libio/clearerr.c (clearerr): Likewise.
26639 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26640 * libio/feof.c (_IO_feof): Likewise.
26641 * libio/feof_u.c (feof_unlocked): Likewise.
26642 * libio/ferror.c (_IO_ferror): Likewise.
26643 * libio/ferror_u.c (ferror_unlocked): Likewise.
26644 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26645 * libio/fileno.c (__fileno): Likewise.
26646 * libio/fputc.c (fputc): Likewise.
26647 * libio/fputc_u.c (fputc_unlocked): Likewise.
26648 * libio/fputwc.c (fputwc): Likewise.
26649 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26650 * libio/freopen.c (freopen): Likewise.
26651 * libio/freopen64.c (freopen64): Likewise.
26652 * libio/fseek.c (fseek): Likewise.
26653 * libio/fseeko.c (fseeko): Likewise.
26654 * libio/fseeko64.c (fseeko64): Likewise.
26655 * libio/ftello.c (__ftello): Likewise.
26656 * libio/ftello64.c (ftello64): Likewise.
26657 * libio/fwide.c (fwide): Likewise.
26658 * libio/genops.c (_IO_un_link): Likewise.
26659 (_IO_link_in): Likewise.
26660 (_IO_least_marker): Likewise.
26661 (_IO_switch_to_main_get_area): Likewise.
26662 (_IO_switch_to_backup_area): Likewise.
26663 (_IO_switch_to_get_mode): Likewise.
26664 (_IO_free_backup_area): Likewise.
26665 (_IO_switch_to_put_mode): Likewise.
26666 (__overflow): Likewise.
26667 (__underflow): Likewise.
26668 (__uflow): Likewise.
26669 (_IO_setb): Likewise.
26670 (_IO_doallocbuf): Likewise.
26671 (_IO_default_underflow): Likewise.
26672 (_IO_default_uflow): Likewise.
26673 (_IO_default_xsputn): Likewise.
26674 (_IO_sgetn): Likewise.
26675 (_IO_default_xsgetn): Likewise.
26676 (_IO_sync): Likewise.
26677 (_IO_default_setbuf): Likewise.
26678 (_IO_default_seekpos): Likewise.
26679 (_IO_default_doallocate): Likewise.
26680 (_IO_init): Likewise.
26681 (_IO_old_init): Likewise.
26682 (_IO_default_sync): Likewise.
26683 (_IO_default_finish): Likewise.
26684 (_IO_default_seekoff): Likewise.
26685 (_IO_sputbackc): Likewise.
26686 (_IO_sungetc): Likewise.
26687 (_IO_set_column): Likewise.
26688 (_IO_set_column): Likewise.
26689 (_IO_adjust_column): Likewise.
26690 (_IO_get_column): Likewise.
26691 (_IO_init_marker): Likewise.
26692 (_IO_remove_marker): Likewise.
26693 (_IO_marker_difference): Likewise.
26694 (_IO_marker_delta): Likewise.
26695 (_IO_seekmark): Likewise.
26696 (_IO_unsave_markers): Likewise.
26697 (_IO_nobackup_pbackfail): Likewise.
26698 (_IO_default_pbackfail): Likewise.
26699 (_IO_default_seek): Likewise.
26700 (_IO_default_stat): Likewise.
26701 (_IO_default_read): Likewise.
26702 (_IO_default_write): Likewise.
26703 (_IO_default_showmanyc): Likewise.
26704 (_IO_default_imbue): Likewise.
26705 (_IO_iter_next): Likewise.
26706 (_IO_iter_file): Likewise.
26707 * libio/getc.c (_IO_getc): Likewise.
26708 * libio/getwc.c (_IO_getwc): Likewise.
26709 * libio/iofclose.c (_IO_new_fclose): Likewise.
26710 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26711 * libio/iofflush.c (_IO_fflush): Likewise.
26712 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26713 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26714 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26715 * libio/iofgets.c (_IO_fgets): Likewise.
26716 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26717 * libio/iofgetws.c (fgetws): Likewise.
26718 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26719 * libio/iofopen64.c (_IO_fopen64): Likewise.
26720 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26721 (_IO_cookie_write): Likewise.
26722 (_IO_cookie_seek): Likewise.
26723 (_IO_cookie_close): Likewise.
26724 (_IO_cookie_seekoff): Likewise.
26725 (_IO_old_cookie_seek): Likewise.
26726 * libio/iofputs.c (_IO_fputs): Likewise.
26727 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
26728 * libio/iofputws.c (fputws): Likewise.
26729 * libio/iofputws_u.c (fputws_unlocked): Likewise.
26730 * libio/iofread.c (_IO_fread): Likewise.
26731 * libio/iofread_u.c (__fread_unlocked): Likewise.
26732 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
26733 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26734 * libio/ioftell.c (_IO_ftell): Likewise.
26735 * libio/iofwrite.c (_IO_fwrite): Likewise.
26736 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26737 * libio/iogets.c (_IO_gets): Likewise.
26738 * libio/iopadn.c (_IO_padn): Likewise.
26739 * libio/iopopen.c (_IO_new_proc_open): Likewise.
26740 (_IO_new_popen): Likewise.
26741 (_IO_new_proc_close): Likewise.
26742 * libio/ioputs.c (_IO_puts): Likewise.
26743 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
26744 (_IO_seekoff): Likewise.
26745 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
26746 (_IO_seekpos): Likewise.
26747 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
26748 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
26749 * libio/ioungetc.c (_IO_ungetc): Likewise.
26750 * libio/ioungetwc.c (ungetwc): Likewise.
26751 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26752 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
26753 * libio/iowpadn.c (_IO_wpadn): Likewise.
26754 * libio/libc_fatal.c (__libc_fatal): Likewise.
26755 * libio/memstream.c (__open_memstream): Likewise.
26756 (_IO_mem_sync): Likewise.
26757 (_IO_mem_finish): Likewise.
26758 * libio/oldfileops.c (_IO_old_file_init): Likewise.
26759 (_IO_old_file_close_it): Likewise.
26760 (_IO_old_file_finish): Likewise.
26761 (_IO_old_file_fopen): Likewise.
26762 (_IO_old_file_attach): Likewise.
26763 (_IO_old_file_setbuf): Likewise.
26764 (_IO_old_do_write): Likewise.
26765 (old_do_write): Likewise.
26766 (_IO_old_file_underflow): Likewise.
26767 (_IO_old_file_overflow): Likewise.
26768 (_IO_old_file_sync): Likewise.
26769 (_IO_old_file_seekoff): Likewise.
26770 (_IO_old_file_write): Likewise.
26771 (_IO_old_file_xsputn): Likewise.
26772 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
26773 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26774 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
26775 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
26776 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26777 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
26778 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
26779 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
26780 (_IO_old_popen): Likewise.
26781 (_IO_old_proc_close): Likewise.
26782 * libio/oldpclose.c (__old_pclose): Likewise.
26783 * libio/pclose.c (__new_pclose): Likewise.
26784 * libio/peekc.c (_IO_peekc_locked): Likewise.
26785 * libio/putc.c (_IO_putc): Likewise.
26786 * libio/putc_u.c (putc_unlocked): Likewise.
26787 * libio/putchar.c (putchar): Likewise.
26788 * libio/putchar_u.c (putchar_unlocked): Likewise.
26789 * libio/putwc.c (putwc): Likewise.
26790 * libio/putwc_u.c (putwc_unlocked): Likewise.
26791 * libio/putwchar.c (putwchar): Likewise.
26792 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
26793 * libio/rewind.c (rewind): Likewise.
26794 * libio/setbuf.c (setbuf): Likewise.
26795 * libio/setlinebuf.c (setlinebuf): Likewise.
26796 * libio/vasprintf.c (_IO_vasprintf): Likewise.
26797 * libio/vscanf.c (_IO_vscanf): Likewise.
26798 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
26799 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
26800 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26801 * libio/wgenops.c (_IO_least_wmarker): Likewise.
26802 (_IO_switch_to_main_wget_area): Likewise.
26803 (_IO_switch_to_wbackup_area): Likewise.
26804 (_IO_wsetb): Likewise.
26805 (_IO_wdefault_pbackfail): Likewise.
26806 (_IO_wdefault_finish): Likewise.
26807 (_IO_wdefault_uflow): Likewise.
26808 (__woverflow): Likewise.
26809 (__wuflow): Likewise.
26810 (__wunderflow): Likewise.
26811 (_IO_wdefault_xsputn): Likewise.
26812 (_IO_wdefault_xsgetn): Likewise.
26813 (_IO_wdoallocbuf): Likewise.
26814 (_IO_wdefault_doallocate): Likewise.
26815 (_IO_switch_to_wget_mode): Likewise.
26816 (_IO_free_wbackup_area): Likewise.
26817 (_IO_switch_to_wput_mode): Likewise.
26818 (_IO_sputbackwc): Likewise.
26819 (_IO_sungetwc): Likewise.
26820 (_IO_adjust_wcolumn): Likewise.
26821 (_IO_init_wmarker): Likewise.
26822 (_IO_wmarker_delta): Likewise.
26823 (_IO_seekwmark): Likewise.
26824 (_IO_unsave_wmarkers): Likewise.
26825 * libio/wmemstream.c (open_wmemstream): Likewise.
26826 (_IO_wmem_sync): Likewise.
26827 (_IO_wmem_finish): Likewise.
26828 * locale/nl_langinfo.c (nl_langinfo): Likewise.
26829 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
26830 * locale/programs/simple-hash.c (init_hash): Likewise.
26831 (delete_hash): Likewise.
26832 (insert_entry): Likewise.
26833 (set_entry): Likewise.
26834 (next_prime): Likewise.
26835 (is_prime): Likewise.
26836 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
26837 (xmalloc): Likewise.
26838 (xrealloc): Likewise.
26839 * locale/programs/xstrdup.c (xstrdup): Likewise.
26840 * localedata/collate-test.c (xstrcoll): Likewise.
26841 * localedata/xfrm-test.c (xstrcmp): Likewise.
26842 * login/getlogin_r.c (__getlogin_r): Likewise.
26843 * login/getpt.c (__posix_openpt): Likewise.
26844 * login/login_tty.c (login_tty): Likewise.
26845 * login/setlogin.c (setlogin): Likewise.
26846 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
26847 (mach_msg_destroy_port): Likewise.
26848 (mach_msg_destroy_memory): Likewise.
26849 * malloc/mcheck.c (flood): Likewise.
26850 * misc/acct.c (acct): Likewise.
26851 * misc/brk.c (__brk): Likewise.
26852 * misc/chflags.c (chflags): Likewise.
26853 * misc/chroot.c (chroot): Likewise.
26854 * misc/fchflags.c (fchflags): Likewise.
26855 * misc/fstab.c (getfsspec): Likewise.
26856 (getfsfile): Likewise.
26857 * misc/fsync.c (fsync): Likewise.
26858 * misc/ftruncate.c (__ftruncate): Likewise.
26859 * misc/ftruncate64.c (__ftruncate64): Likewise.
26860 * misc/getdomain.c (getdomainname): Likewise.
26861 (getdomainname): Likewise.
26862 * misc/gethostname.c (__gethostname): Likewise.
26863 * misc/getpass.c (getpass): Likewise.
26864 * misc/getttyent.c (skip): Likewise.
26865 (value): Likewise.
26866 * misc/gtty.c (gtty): Likewise.
26867 * misc/hsearch.c (hsearch): Likewise.
26868 (hcreate): Likewise.
26869 * misc/hsearch_r.c (__hcreate_r): Likewise.
26870 (__hdestroy_r): Likewise.
26871 * misc/ioctl.c (__ioctl): Likewise.
26872 * misc/mkdtemp.c (mkdtemp): Likewise.
26873 * misc/mkostemp.c (mkostemp): Likewise.
26874 * misc/mkostemp64.c (mkostemp64): Likewise.
26875 * misc/mkostemps.c (mkostemps): Likewise.
26876 * misc/mkostemps64.c (mkostemps64): Likewise.
26877 * misc/mkstemp.c (mkstemp): Likewise.
26878 * misc/mkstemp64.c (mkstemp64): Likewise.
26879 * misc/mkstemps.c (mkstemps): Likewise.
26880 * misc/mkstemps64.c (mkstemps64): Likewise.
26881 * misc/mktemp.c (__mktemp): Likewise.
26882 * misc/preadv.c (preadv): Likewise.
26883 * misc/preadv64.c (preadv64): Likewise.
26884 * misc/pwritev.c (pwritev): Likewise.
26885 * misc/pwritev64.c (pwritev64): Likewise.
26886 * misc/readv.c (__readv): Likewise.
26887 * misc/revoke.c (revoke): Likewise.
26888 * misc/setdomain.c (setdomainname): Likewise.
26889 * misc/setegid.c (setegid): Likewise.
26890 * misc/seteuid.c (seteuid): Likewise.
26891 * misc/sethostid.c (sethostid): Likewise.
26892 * misc/sethostname.c (sethostname): Likewise.
26893 * misc/setregid.c (__setregid): Likewise.
26894 * misc/setreuid.c (__setreuid): Likewise.
26895 * misc/sstk.c (sstk): Likewise.
26896 * misc/stty.c (stty): Likewise.
26897 * misc/syscall.c (syscall): Likewise.
26898 * misc/syslog.c (setlogmask): Likewise.
26899 * misc/truncate.c (__truncate): Likewise.
26900 * misc/truncate64.c (truncate64): Likewise.
26901 * misc/ualarm.c (ualarm): Likewise.
26902 * misc/usleep.c (usleep): Likewise.
26903 * misc/ustat.c (ustat): Likewise.
26904 * misc/writev.c (__writev): Likewise.
26905 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
26906 * nptl/old_pthread_cond_broadcast.c
26907 (__pthread_cond_broadcast_2_0): Likewise.
26908 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
26909 Likewise.
26910 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
26911 Likewise.
26912 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
26913 Likewise.
26914 * nptl/pt-raise.c (raise): Likewise.
26915 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
26916 Likewise.
26917 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
26918 * nptl/pthread_barrierattr_destroy.c
26919 (pthread_barrierattr_destroy): Likewise.
26920 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26921 Likewise.
26922 * nptl/pthread_barrierattr_setpshared.c
26923 (pthread_barrierattr_setpshared): Likewise.
26924 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26925 Likewise.
26926 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
26927 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26928 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
26929 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
26930 Likewise.
26931 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
26932 Likewise.
26933 * nptl/pthread_condattr_getpshared.c
26934 (pthread_condattr_getpshared): Likewise.
26935 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
26936 Likewise.
26937 * nptl/pthread_condattr_setpshared.c
26938 (pthread_condattr_setpshared): Likewise.
26939 * nptl/pthread_detach.c (pthread_detach): Likewise.
26940 * nptl/pthread_equal.c (__pthread_equal): Likewise.
26941 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
26942 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
26943 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
26944 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
26945 Likewise.
26946 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
26947 Likewise.
26948 * nptl/pthread_mutex_getprioceiling.c
26949 (pthread_mutex_getprioceiling): Likewise.
26950 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
26951 Likewise.
26952 * nptl/pthread_mutexattr_getprotocol.c
26953 (pthread_mutexattr_getprotocol): Likewise.
26954 * nptl/pthread_mutexattr_getpshared.c
26955 (pthread_mutexattr_getpshared): Likewise.
26956 * nptl/pthread_mutexattr_getrobust.c
26957 (pthread_mutexattr_getrobust): Likewise.
26958 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26959 Likewise.
26960 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
26961 Likewise.
26962 * nptl/pthread_mutexattr_setprioceiling.c
26963 (pthread_mutexattr_setprioceiling): Likewise.
26964 * nptl/pthread_mutexattr_setprotocol.c
26965 (pthread_mutexattr_setprotocol): Likewise.
26966 * nptl/pthread_mutexattr_setpshared.c
26967 (pthread_mutexattr_setpshared): Likewise.
26968 * nptl/pthread_mutexattr_setrobust.c
26969 (pthread_mutexattr_setrobust): Likewise.
26970 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
26971 Likewise.
26972 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
26973 Likewise.
26974 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
26975 Likewise.
26976 * nptl/pthread_rwlockattr_getkind_np.c
26977 (pthread_rwlockattr_getkind_np): Likewise.
26978 * nptl/pthread_rwlockattr_getpshared.c
26979 (pthread_rwlockattr_getpshared): Likewise.
26980 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
26981 Likewise.
26982 * nptl/pthread_rwlockattr_setkind_np.c
26983 (pthread_rwlockattr_setkind_np): Likewise.
26984 * nptl/pthread_rwlockattr_setpshared.c
26985 (pthread_rwlockattr_setpshared): Likewise.
26986 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
26987 Likewise.
26988 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
26989 Likewise.
26990 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
26991 Likewise.
26992 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
26993 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
26994 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
26995 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
26996 * nptl/sem_close.c (sem_close): Likewise.
26997 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
26998 * nptl/sem_init.c (__old_sem_init): Likewise.
26999 * nptl/sigaction.c (__sigaction): Likewise.
27000 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27001 * posix/_exit.c (_exit): Likewise.
27002 * posix/alarm.c (alarm): Likewise.
27003 * posix/confstr.c (confstr): Likewise.
27004 * posix/fpathconf.c (__fpathconf): Likewise.
27005 * posix/getgroups.c (__getgroups): Likewise.
27006 * posix/getpgid.c (__getpgid): Likewise.
27007 * posix/group_member.c (__group_member): Likewise.
27008 * posix/pathconf.c (__pathconf): Likewise.
27009 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27010 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27011 * posix/setgid.c (__setgid): Likewise.
27012 * posix/setpgid.c (__setpgid): Likewise.
27013 * posix/setuid.c (__setuid): Likewise.
27014 * posix/sleep.c (__sleep): Likewise.
27015 * posix/sysconf.c (__sysconf): Likewise.
27016 * posix/times.c (__times): Likewise.
27017 * posix/uname.c (__uname): Likewise.
27018 * posix/waitid.c (__waitid): Likewise.
27019 * pwd/getpw.c (__getpw): Likewise.
27020 * resolv/base64.c (b64_pton): Likewise.
27021 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27022 * resolv/gethnamaddr.c (Dprintf): Likewise.
27023 (gethostbyname): Likewise.
27024 (gethostbyname2): Likewise.
27025 (gethostbyaddr): Likewise.
27026 (_sethtent): Likewise.
27027 (_gethtbyname): Likewise.
27028 (_gethtbyname2): Likewise.
27029 (_gethtbyaddr): Likewise.
27030 (map_v4v6_address): Likewise.
27031 (map_v4v6_hostent): Likewise.
27032 (addrsort): Likewise.
27033 (ht_sethostent): Likewise.
27034 (ht_gethostbyname): Likewise.
27035 (ht_gethostbyaddr): Likewise.
27036 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27037 (inet_net_ntop_ipv4): Likewise.
27038 * resolv/inet_neta.c (inet_neta): Likewise.
27039 * resolv/inet_ntop.c (inet_ntop): Likewise.
27040 (inet_ntop4): Likewise.
27041 (inet_ntop6): Likewise.
27042 * resolv/inet_pton.c (__inet_pton): Likewise.
27043 (inet_pton4): Likewise.
27044 (inet_pton6): Likewise.
27045 * resolv/res_debug.c (loc_aton): Likewise.
27046 (loc_ntoa): Likewise.
27047 * resource/getpriority.c (__getpriority): Likewise.
27048 * resource/getrusage.c (__getrusage): Likewise.
27049 * resource/nice.c (nice): Likewise.
27050 * resource/setpriority.c (__setpriority): Likewise.
27051 * resource/setrlimit64.c (setrlimit64): Likewise.
27052 * resource/vlimit.c (vlimit): Likewise.
27053 * resource/vtimes.c (vtimes): Likewise.
27054 * rt/aio_error.c (aio_error): Likewise.
27055 * rt/aio_return.c (aio_return): Likewise.
27056 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27057 * signal/kill.c (__kill): Likewise.
27058 * signal/killpg.c (killpg): Likewise.
27059 * signal/raise.c (raise): Likewise.
27060 * signal/sigaction.c (__sigaction): Likewise.
27061 * signal/sigaddset.c (sigaddset): Likewise.
27062 * signal/sigaltstack.c (sigaltstack): Likewise.
27063 * signal/sigandset.c (sigandset): Likewise.
27064 * signal/sigblock.c (__sigblock): Likewise.
27065 * signal/sigdelset.c (sigdelset): Likewise.
27066 * signal/sigempty.c (sigemptyset): Likewise.
27067 * signal/sigfillset.c (sigfillset): Likewise.
27068 * signal/sighold.c (sighold): Likewise.
27069 * signal/sigignore.c (sigignore): Likewise.
27070 * signal/sigintr.c (siginterrupt): Likewise.
27071 * signal/sigisempty.c (sigisemptyset): Likewise.
27072 * signal/sigismem.c (sigismember): Likewise.
27073 * signal/signal.c (signal): Likewise.
27074 * signal/sigorset.c (sigorset): Likewise.
27075 * signal/sigpause.c (__sigpause): Likewise.
27076 * signal/sigpending.c (sigpending): Likewise.
27077 * signal/sigprocmask.c (__sigprocmask): Likewise.
27078 * signal/sigrelse.c (sigrelse): Likewise.
27079 * signal/sigreturn.c (__sigreturn): Likewise.
27080 * signal/sigset.c (sigset): Likewise.
27081 * signal/sigsetmask.c (__sigsetmask): Likewise.
27082 * signal/sigstack.c (sigstack): Likewise.
27083 * signal/sigsuspend.c (__sigsuspend): Likewise.
27084 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27085 * signal/sysv_signal.c (__sysv_signal): Likewise.
27086 * socket/accept.c (accept): Likewise.
27087 * socket/accept4.c (__libc_accept4): Likewise.
27088 * socket/bind.c (__bind): Likewise.
27089 * socket/connect.c (__connect): Likewise.
27090 * socket/getpeername.c (getpeername): Likewise.
27091 * socket/getsockname.c (__getsockname): Likewise.
27092 * socket/getsockopt.c (getsockopt): Likewise.
27093 * socket/listen.c (__listen): Likewise.
27094 * socket/recv.c (__recv): Likewise.
27095 * socket/recvmsg.c (__recvmsg): Likewise.
27096 * socket/send.c (__send): Likewise.
27097 * socket/sendmsg.c (__sendmsg): Likewise.
27098 * socket/shutdown.c (shutdown): Likewise.
27099 * socket/sockatmark.c (sockatmark): Likewise.
27100 * socket/socket.c (__socket): Likewise.
27101 * stdio-common/ctermid.c (ctermid): Likewise.
27102 * stdio-common/cuserid.c (cuserid): Likewise.
27103 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27104 * stdio-common/remove.c (remove): Likewise.
27105 * stdio-common/rename.c (rename): Likewise.
27106 * stdio-common/renameat.c (renameat): Likewise.
27107 * stdio-common/tempname.c (__gen_tempname): Likewise.
27108 * stdio-common/xbug.c (InitBuffer): Likewise.
27109 (AppendToBuffer): Likewise.
27110 (ReadFile): Likewise.
27111 * stdlib/a64l.c (a64l): Likewise.
27112 * stdlib/drand48_r.c (drand48_r): Likewise.
27113 * stdlib/getcontext.c (getcontext): Likewise.
27114 * stdlib/getenv.c (getenv): Likewise.
27115 * stdlib/l64a.c (l64a): Likewise.
27116 * stdlib/llabs.c (llabs): Likewise.
27117 * stdlib/lldiv.c (lldiv): Likewise.
27118 * stdlib/lrand48_r.c (lrand48_r): Likewise.
27119 * stdlib/mrand48_r.c (mrand48_r): Likewise.
27120 * stdlib/putenv.c (putenv): Likewise.
27121 * stdlib/random.c (__srandom): Likewise.
27122 (__initstate): Likewise.
27123 (__setstate): Likewise.
27124 * stdlib/random_r.c (__srandom_r): Likewise.
27125 (__setstate_r): Likewise.
27126 (__random_r): Likewise.
27127 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27128 * stdlib/setcontext.c (setcontext): Likewise.
27129 * stdlib/setenv.c (setenv): Likewise.
27130 (unsetenv): Likewise.
27131 * stdlib/srand48.c (srand48): Likewise.
27132 * stdlib/srand48_r.c (__srand48_r): Likewise.
27133 * stdlib/swapcontext.c (swapcontext): Likewise.
27134 * stdlib/system.c (__libc_system): Likewise.
27135 * stdlib/tst-strtod.c (expand): Likewise.
27136 * stdlib/tst-strtol.c (expand): Likewise.
27137 * stdlib/tst-strtoll.c (expand): Likewise.
27138 * streams/fattach.c (fattach): Likewise.
27139 * streams/fdetach.c (fdetach): Likewise.
27140 * streams/getmsg.c (getmsg): Likewise.
27141 * streams/isastream.c (isastream): Likewise.
27142 * string/ffs.c (__ffs): Likewise.
27143 * string/ffsll.c (ffsll): Likewise.
27144 * string/memcmp.c (memcmp_common_alignment): Likewise.
27145 (memcmp_not_common_alignment): Likewise.
27146 (MEMCMP): Likewise.
27147 * string/memcpy.c (memcpy): Likewise.
27148 * string/memmove.c (MEMMOVE): Likewise.
27149 * string/memset.c (memset): Likewise.
27150 * string/rawmemchr.c (RAWMEMCHR): Likewise.
27151 * string/strchrnul.c (STRCHRNUL): Likewise.
27152 * string/strerror.c (strerror): Likewise.
27153 * string/strndup.c (__strndup): Likewise.
27154 * string/strverscmp.c (__strverscmp): Likewise.
27155 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27156 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27157 (clnttcp_freeres): Likewise.
27158 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27159 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27160 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27161 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27162 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27163 (xdr_callhdr): Likewise.
27164 * sunrpc/rpcinfo.c (udpping): Likewise.
27165 (tcpping): Likewise.
27166 (pstatus): Likewise.
27167 (pmapdump): Likewise.
27168 (brdcst): Likewise.
27169 (deletereg): Likewise.
27170 (getprognum): Likewise.
27171 (getvers): Likewise.
27172 (get_inet_address): Likewise.
27173 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27174 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27175 (svcudp_stat): Likewise.
27176 (svcudp_recv): Likewise.
27177 (svcudp_reply): Likewise.
27178 (svcudp_getargs): Likewise.
27179 (svcudp_freeargs): Likewise.
27180 (svcudp_destroy): Likewise.
27181 * sunrpc/xdr.c (xdr_bytes): Likewise.
27182 (xdr_netobj): Likewise.
27183 (xdr_string): Likewise.
27184 (xdr_wrapstring): Likewise.
27185 * sunrpc/xdr_float.c (xdr_float): Likewise.
27186 (xdr_double): Likewise.
27187 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27188 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27189 * sysvipc/ftok.c (ftok): Likewise.
27190 * sysvipc/msgctl.c (msgctl): Likewise.
27191 * sysvipc/msgget.c (msgget): Likewise.
27192 * sysvipc/msgrcv.c (msgrcv): Likewise.
27193 * sysvipc/msgsnd.c (msgsnd): Likewise.
27194 * sysvipc/semget.c (semget): Likewise.
27195 * sysvipc/semop.c (semop): Likewise.
27196 * sysvipc/shmat.c (shmat): Likewise.
27197 * sysvipc/shmctl.c (shmctl): Likewise.
27198 * sysvipc/shmdt.c (shmdt): Likewise.
27199 * sysvipc/shmget.c (shmget): Likewise.
27200 * termios/cfmakeraw.c (cfmakeraw): Likewise.
27201 * termios/speed.c (cfgetospeed): Likewise.
27202 (cfgetispeed): Likewise.
27203 (cfsetospeed): Likewise.
27204 (cfsetispeed): Likewise.
27205 * termios/tcflow.c (tcflow): Likewise.
27206 * termios/tcflush.c (tcflush): Likewise.
27207 * termios/tcgetattr.c (__tcgetattr): Likewise.
27208 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27209 * termios/tcgetsid.c (tcgetsid): Likewise.
27210 * termios/tcsendbrk.c (tcsendbreak): Likewise.
27211 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27212 * time/adjtime.c (__adjtime): Likewise.
27213 * time/dysize.c (dysize): Likewise.
27214 * time/ftime.c (ftime): Likewise.
27215 * time/getitimer.c (__getitimer): Likewise.
27216 * time/gettimeofday.c (__gettimeofday): Likewise.
27217 * time/gmtime.c (__gmtime_r): Likewise.
27218 (gmtime): Likewise.
27219 * time/localtime.c (__localtime_r): Likewise.
27220 (localtime): Likewise.
27221 * time/offtime.c (__offtime): Likewise.
27222 * time/settimeofday.c (__settimeofday): Likewise.
27223 * time/stime.c (stime): Likewise.
27224 * time/strftime_l.c (tm_diff): Likewise.
27225 (iso_week_days): Likewise.
27226 * time/strptime.c (strptime): Likewise.
27227 * time/time.c (time): Likewise.
27228 * time/timespec_get.c (timespec_get): Likewise.
27229 * time/tzset.c (tzset_internal): Likewise.
27230 (compute_change): Likewise.
27231 (__tz_compute): Likewise.
27232 * wcsmbs/btowc.c (__btowc): Likewise.
27233 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27234 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27235 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27236 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27237 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27238 * wcsmbs/wcscat.c (__wcscat): Likewise.
27239 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27240 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27241 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27242 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27243 * wcsmbs/wcsdup.c (wcsdup): Likewise.
27244 * wcsmbs/wcslen.c (__wcslen): Likewise.
27245 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27246 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27247 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27248 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27249 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27250 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27251 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27252 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27253 * wcsmbs/wcstok.c (wcstok): Likewise.
27254 * wcsmbs/wctob.c (wctob): Likewise.
27255 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27256 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27257 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27258 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27259 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27260 * wcsmbs/wmemset.c (__wmemset): Likewise.
27261 * wctype/wcfuncs.c (__towlower): Likewise.
27262 (__towupper): Likewise.
27263
27264 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27265 (lll_unlock_elision): Add adapt_count parameter.
27266
27267 2015-10-15 Joseph Myers <joseph@codesourcery.com>
27268
27269 * sysdeps/nptl/configure.ac: Do not give errors based on the
27270 results of top-level configure tests.
27271 * sysdeps/nptl/configure: Regenerated.
27272
27273 * configure.ac (libc_cv_Bgroup): Remove configure test.
27274 * configure: Regenerated.
27275 * config.make.in (have-Bgroup): Remove variable.
27276
27277 * configure.ac (sizeof_long_double): Remove configure test.
27278 * configure: Regenerated.
27279 * config.make.in (sizeof-long-double): Remove variable.
27280
27281 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27282 * configure: Regenerated.
27283 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27284 variable.
27285 (exceptions): Likewise.
27286 * sysdeps/arm/configure: Regenerated.
27287 * config.make.in (exceptions): Remove variable.
27288 * Makeconfig (uses-callbacks): Use -fexceptions instead of
27289 $(exceptions).
27290 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27291 (CFLAGS-vdprintf_chk.c): Likewise.
27292 (CFLAGS-printf_chk.c): Likewise.
27293 (CFLAGS-fprintf_chk.c): Likewise.
27294 (CFLAGS-vprintf_chk.c): Likewise.
27295 (CFLAGS-vfprintf_chk.c): Likewise.
27296 (CFLAGS-gets_chk.c): Likewise.
27297 (CFLAGS-fgets_chk.c): Likewise.
27298 (CFLAGS-fgets_u_chk.c): Likewise.
27299 (CFLAGS-fread_chk.c): Likewise.
27300 (CFLAGS-fread_u_chk.c): Likewise.
27301 (CFLAGS-wprintf_chk.c): Likewise.
27302 (CFLAGS-fwprintf_chk.c): Likewise.
27303 (CFLAGS-vwprintf_chk.c): Likewise.
27304 (CFLAGS-vfwprintf_chk.c): Likewise.
27305 (CFLAGS-fgetws_chk.c): Likewise.
27306 (CFLAGS-fgetws_u_chk.c): Likewise.
27307 * libio/Makefile (CFLAGS-fileops.c): Likewise.
27308 (CFLAGS-fputc.c): Likewise.
27309 (CFLAGS-fputwc.c): Likewise.
27310 (CFLAGS-freopen64.c): Likewise.
27311 (CFLAGS-freopen.c): Likewise.
27312 (CFLAGS-fseek.c): Likewise.
27313 (CFLAGS-fseeko64.c): Likewise.
27314 (CFLAGS-fseeko.c): Likewise.
27315 (CFLAGS-ftello64.c): Likewise.
27316 (CFLAGS-ftello.c): Likewise.
27317 (CFLAGS-fwide.c): Likewise.
27318 (CFLAGS-genops.c): Likewise.
27319 (CFLAGS-getc.c): Likewise.
27320 (CFLAGS-getchar.c): Likewise.
27321 (CFLAGS-getwc.c): Likewise.
27322 (CFLAGS-getwchar.c): Likewise.
27323 (CFLAGS-iofclose.c): Likewise.
27324 (CFLAGS-iofflush.c): Likewise.
27325 (CFLAGS-iofgetpos64.c): Likewise.
27326 (CFLAGS-iofgetpos.c): Likewise.
27327 (CFLAGS-iofgets.c): Likewise.
27328 (CFLAGS-iofgetws.c): Likewise.
27329 (CFLAGS-iofputs.c): Likewise.
27330 (CFLAGS-iofputws.c): Likewise.
27331 (CFLAGS-iofread.c): Likewise.
27332 (CFLAGS-iofsetpos64.c): Likewise.
27333 (CFLAGS-iofsetpos.c): Likewise.
27334 (CFLAGS-ioftell.c): Likewise.
27335 (CFLAGS-iofwrite.c): Likewise.
27336 (CFLAGS-iogetdelim.c): Likewise.
27337 (CFLAGS-iogetline.c): Likewise.
27338 (CFLAGS-iogets.c): Likewise.
27339 (CFLAGS-iogetwline.c): Likewise.
27340 (CFLAGS-ioputs.c): Likewise.
27341 (CFLAGS-ioseekoff.c): Likewise.
27342 (CFLAGS-ioseekpos.c): Likewise.
27343 (CFLAGS-iosetbuffer.c): Likewise.
27344 (CFLAGS-iosetvbuf.c): Likewise.
27345 (CFLAGS-ioungetc.c): Likewise.
27346 (CFLAGS-ioungetwc.c): Likewise.
27347 (CFLAGS-oldfileops.c): Likewise.
27348 (CFLAGS-oldiofclose.c): Likewise.
27349 (CFLAGS-oldiofgetpos64.c): Likewise.
27350 (CFLAGS-oldiofgetpos.c): Likewise.
27351 (CFLAGS-oldiofsetpos64.c): Likewise.
27352 (CFLAGS-oldiofsetpos.c): Likewise.
27353 (CFLAGS-peekc.c): Likewise.
27354 (CFLAGS-putc.c): Likewise.
27355 (CFLAGS-putchar.c): Likewise.
27356 (CFLAGS-putwc.c): Likewise.
27357 (CFLAGS-putwchar.c): Likewise.
27358 (CFLAGS-rewind.c): Likewise.
27359 (CFLAGS-wfileops.c): Likewise.
27360 (CFLAGS-wgenops.c): Likewise.
27361 (CFLAGS-oldiofopen.c): Likewise.
27362 (CFLAGS-iofopen.c): Likewise.
27363 (CFLAGS-iofopen64.c): Likewise.
27364 (CFLAGS-oldtmpfile.c): Likewise.
27365 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27366 (CFLAGS-fprintf.c): Likewise.
27367 (CFLAGS-printf.c): Likewise.
27368 (CFLAGS-vfwprintf.c): Likewise.
27369 (CFLAGS-vfscanf.c): Likewise.
27370 (CFLAGS-vfwscanf.c): Likewise.
27371 (CFLAGS-fscanf.c): Likewise.
27372 (CFLAGS-scanf.c): Likewise.
27373 (CFLAGS-isoc99_vfscanf.c): Likewise.
27374 (CFLAGS-isoc99_vscanf.c): Likewise.
27375 (CFLAGS-isoc99_fscanf.c): Likewise.
27376 (CFLAGS-isoc99_scanf.c): Likewise.
27377 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27378 (CFLAGS-isoc99_fwscanf.c): Likewise.
27379 (CFLAGS-isoc99_vwscanf.c): Likewise.
27380 (CFLAGS-isoc99_vfwscanf.c): Likewise.
27381
27382 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27383 after mkstemp64.
27384 * login/tst-utmp.c (do_prepare): Likewise.
27385 * rt/tst-aio.c (do_prepare): Likewise.
27386 * rt/tst-aio64.c (do_prepare): Likewise.
27387
27388 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27389
27390 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27391 (__lll_lock_elision): Remove adapt_count decrement...
27392 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27393 (__lll_trylock_elision): Likewise.
27394 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27395 (__lll_unlock_elision): ... to here. And utilize
27396 new adapt_count parameter.
27397 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27398 (__lll_unlock_elision): Update to include adapt_count
27399 parameter.
27400 (lll_unlock_elision): Pass pointer to adapt_count
27401 variable.
27402
27403 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27404
27405 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27406 Add elision adapt_count parameter to list of arguments.
27407 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27408 (lll_unlock_elision): Update with new parameter list
27409 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27410 (lll_unlock_elision): Likewise.
27411 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27412 (lll_unlock_elision): Likewise.
27413
27414 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27415
27416 [BZ #19122]
27417 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27418 attribute_hidden.
27419
27420 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27421 attribute_hidden.
27422 [IS_IN (rtld)] (__strdup): Likewise.
27423 [IS_IN (rtld)] (__strerror_r): Likewise.
27424 [IS_IN (rtld)] (__strsep_g): Likewise.
27425 [IS_IN (rtld)] (memchr): Likewise.
27426 [IS_IN (rtld)] (memcmp): Likewise.
27427 [IS_IN (rtld)] (memcpy): Likewise.
27428 [IS_IN (rtld)] (memmove): Likewise.
27429 [IS_IN (rtld)] (memset): Likewise.
27430 [IS_IN (rtld)] (rawmemchr): Likewise.
27431 [IS_IN (rtld)] (stpcpy): Likewise.
27432 [IS_IN (rtld)] (strchr): Likewise.
27433 [IS_IN (rtld)] (strcmp): Likewise.
27434 [IS_IN (rtld)] (strlen): Likewise.
27435 [IS_IN (rtld)] (strnlen): Likewise.
27436 [IS_IN (rtld)] (strsep): Likewise.
27437
27438 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27439 attribute_hidden.
27440 [IS_IN (rtld)] (__strtoul_internal): Likewise.
27441
27442 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27443 attribute_hidden.
27444 [IS_IN (rtld)] (__libc_sigaction): Likewise.
27445
27446 * include/setjmp.h (__longjmp): Add attribute_hidden.
27447 [IS_IN (rtld)] (__sigsetjmp): Likewise.
27448
27449 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27450 Add attribute_hidden.
27451
27452 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27453 [IS_IN (rtld)] (__open): Likewise.
27454 [IS_IN (rtld)] (__fcntl): Likewise.
27455
27456 * include/dirent.h (__opendirat): Add attribute_hidden.
27457 (__getdents): Likewise.
27458 (__getdents64): Likewise.
27459 (__alloc_dir): Likewise.
27460 [IS_IN (rtld)] (__closedir): Likewise.
27461 [IS_IN (rtld)] (__fdopendir): Likewise.
27462 [IS_IN (rtld)] (__readdir): Likewise.
27463 [IS_IN (rtld)] (__readdir64): Likewise.
27464 [IS_IN (rtld)] (__rewinddir): Likewise.
27465
27466 * include/dlfcn.h (_dl_catch_error): Moved to ...
27467 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27468 attribute_hidden.
27469
27470 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27471 (_itoa_word): Likewise.
27472
27473 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27474 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27475 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27476 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27477 (_dl_higher_prime_number): Likewise.
27478 (_dl_debug_printf_c): Likewise.
27479 (_dl_signal_cerror): Likewise.
27480 (_dl_receive_error): Likewise.
27481 (_dl_reloc_bad_type): Likewise.
27482 (_dl_resolve_conflicts): Likewise.
27483 (_dl_check_all_versions): Likewise.
27484 (_dl_check_map_versions): Likewise.
27485 (_dl_sort_fini): Likewise.
27486 (_dl_debug_initialize): Likewise.
27487 (_dl_init_paths): Likewise.
27488 (_dl_show_auxv): Likewise.
27489 (_dl_next_ld_env_entry): Likewise.
27490 (_dl_important_hwcaps): Likewise.
27491 (_dl_load_cache_lookup): Likewise.
27492 (_dl_update_slotinfo): Likewise.
27493 (_dl_show_scope): Likewise.
27494
27495 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27496 attribute_hidden.
27497 (_wordcopy_fwd_dest_aligned): Likewise.
27498 (_wordcopy_bwd_aligned): Likewise.
27499 (_wordcopy_bwd_dest_aligned): Likewise.
27500
27501 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27502 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27503 Likewise.
27504 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27505 Likewise.
27506 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27507
27508 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27509
27510 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27511 GCC 5 requirement.
27512
27513 2015-10-15 Joseph Myers <joseph@codesourcery.com>
27514
27515 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27516 test.
27517 * sysdeps/i386/configure: Regenerated.
27518 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27519 code unconditional.
27520
27521 * configure.ac (libc_cv_asm_previous_directive): Remove configure
27522 test.
27523 (libc_cv_asm_popsection_directive): Likewise.
27524 * configure: Regenerated.
27525 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27526 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27527 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27528 (__make_section_unallocated): Make definition unconditional.
27529 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27530 Remove conditional definition.
27531 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27532 (__make_section_unallocated): Likewise.
27533
27534 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27535 * configure: Regenerated.
27536 * config.make.in (static-libgcc): Remove variable.
27537 * Makerules (build-shlib-helper): Use -static-libgcc instead of
27538 $(static-libgcc).
27539 (build-module-helper): Likewise.
27540
27541 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27542 * configure: Regenerated.
27543
27544 2015-10-15 Florian Weimer <fweimer@redhat.com>
27545
27546 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27547 (struct char_buffer): New type.
27548 (char_buffer_start, char_buffer_size, char_buffer_error)
27549 (char_buffer_rewind, char_buffer_add): New functions.
27550 (ADDW): Remove macro, replaced by the char_buffer_add function.
27551 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27552 of extend_alloca. Make control flow more explicit.
27553
27554 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27555
27556 [BZ #19137]
27557 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27558 Add -fomit-frame-pointer.
27559 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27560
27561 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27562
27563 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27564 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27565 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27566 only if !__GNUC_PREREQ (5,0).
27567 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27568 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27569 (INTERNAL_SYSCALL_NCS): Likewise.
27570 (LOADREGS_0): New macro for GCC 5.
27571 (ASMARGS_0): Likewise.
27572 (LOADREGS_1): Likewise.
27573 (ASMARGS_1): Likewise.
27574 (LOADREGS_2): Likewise.
27575 (ASMARGS_2): Likewise.
27576 (LOADREGS_3): Likewise.
27577 (ASMARGS_3): Likewise.
27578 (LOADREGS_4): Likewise.
27579 (ASMARGS_4): Likewise.
27580 (LOADREGS_5): Likewise.
27581 (ASMARGS_5): Likewise.
27582 (LOADREGS_6): Likewise.
27583 (ASMARGS_6): Likewise.
27584
27585 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
27586
27587 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27588 -fomit-frame-pointer.
27589 (CFLAGS-mmap64.c): Likewise.
27590 (CFLAGS-semtimedop.c): Likewise.
27591 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27592 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27593 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27594 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27595
27596 2015-10-15 Florian Weimer <fweimer@redhat.com>
27597
27598 [BZ #18928]
27599 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27600 _dl_pointer_guard member.
27601 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27602 initializer.
27603 (security_init): Always set up pointer guard.
27604 (process_envvars): Do not process LD_POINTER_GUARD.
27605
27606 2015-10-14 Joseph Myers <joseph@codesourcery.com>
27607
27608 [BZ #19134]
27609 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27610 (.LC2): Likewise.
27611 (.LC3): Likewise.
27612 (__lround): Do not add 0.5 to integer or out-of-range arguments.
27613
27614 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
27615
27616 [BZ #19129]
27617 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27618 r0 and r1.
27619
27620 2015-10-14 Namhyung Kim <namhyung@gmail.com>
27621
27622 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27623
27624 2015-10-14 Carlos O'Donell <carlos@redhat.com>
27625
27626 * include/stap-probe.h: Fix macro definition formatting.
27627
27628 2015-10-14 Florian Weimer <fweimer@redhat.com>
27629
27630 [BZ #19074]
27631 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27632 load and store num_ifs.
27633
27634 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
27635
27636 [BZ #18822]
27637 * sysdeps/unix/sysv/linux/sched_getaffinity.c
27638 (__sched_getaffinity_new): Add libc_hidden_proto and
27639 libc_hidden_def.
27640
27641 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
27642
27643 [BZ #19007]
27644 * scripts/localplt.awk: Also allow GOT references.
27645 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27646 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27647 with "+ REL R_386_GLOB_DAT".
27648 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27649 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27650
27651 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
27652
27653 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27654 INLINE_SYSCALL_ERROR_RETURN_VALUE.
27655 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27656 Likewise.
27657 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27658 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27659 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27660 INTERNAL_SYSCALLINTERNAL_SYSCALL and
27661 INLINE_SYSCALL_ERROR_RETURN_VALUE.
27662 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27663 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27664 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27665 Likewise.
27666 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27667
27668 2015-10-13 Joseph Myers <joseph@codesourcery.com>
27669
27670 [BZ #19125]
27671 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27672 <math_private.h> and <stdint.h>.
27673 (__llround): Avoid conversions to and from long long int, and
27674 subtractions, where those might raise spurious exceptions.
27675 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27676 <math_private.h> and <stdint.h>.
27677 (__llroundf): Avoid conversions to and from long long int, and
27678 subtractions, where those might raise spurious exceptions.
27679
27680 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
27681
27682 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27683 INLINE_SYSCALL_ERROR_RETURN_VALUE.
27684 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27685 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27686 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27687 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27688 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27689 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27690 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27691 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27692 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27693 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27694 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27695 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27696 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27697 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27698 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27699 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27700 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27701 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27702 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27703 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27704 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27705 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27706 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27707 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27708 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27709 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27710 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27711 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27712 (__xstat64_conv): Likewise.
27713 (__xstat32_conv): Likewise.
27714
27715 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
27716
27717 * sysdeps/unix/sysv/linux/sysdep.h: New file.
27718 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
27719 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
27720 <sysdeps/unix/sysv/linux/sysdep.h>.
27721 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27722 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
27723 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
27724 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27725 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27726 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
27727 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
27728 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
27729 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27734 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27735 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27737 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
27738 (sysdep-dl-routines): Add sysdep.
27739 [$(subdir) == nptl] (libpthread-routines): Likewise.
27740 [$(subdir) == rt] (librt-routines): Likewise.
27741 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
27742 PIC when branching to SYSCALL_ERROR_LABEL.
27743 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
27744 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
27745 <sysdeps/unix/sysv/linux/sysdep.h>.
27746 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
27747 (SYSCALL_ERROR_ERRNO): Removed.
27748 (SYSCALL_ERROR_HANDLER): Changed to empty.
27749 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
27750 (__syscall_error): New prototype.
27751 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
27752 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
27753
27754 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
27755
27756 [BZ #19124]
27757 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
27758 (_dl_runtime_resolve_avx512): Make it a hidden alias of
27759 _dl_runtime_resolve_avx.
27760 (_dl_runtime_profile_avx512): Make it a hidden alias of
27761 _dl_runtime_profile_avx.
27762
27763 2015-10-13 Joseph Myers <joseph@codesourcery.com>
27764
27765 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
27766 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
27767 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
27768 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
27769
27770 [BZ #16422]
27771 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
27772 New configure test.
27773 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
27774 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
27775 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
27776 <math_private.h> and <stdint.h>.
27777 (__llrint): Avoid conversions to long long int where those might
27778 raise spurious exceptions.
27779 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
27780 <math_private.h> and <stdint.h>.
27781 (__llrintf): Avoid conversions to long long int where those might
27782 raise spurious exceptions.
27783
27784 2015-10-12 Andreas Schwab <schwab@suse.de>
27785
27786 [BZ #18969]
27787 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
27788 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
27789 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
27790 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
27791 $(gen-locales).
27792 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
27793 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
27794 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
27795 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
27796 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
27797 $(gen-locales).
27798 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
27799 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
27800 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
27801 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
27802 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
27803 ($(objpfx)tst-ftell-active-handler.out)
27804 ($(objpfx)tst-ftell-append.out)
27805 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
27806 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
27807 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
27808 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
27809 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
27810 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
27811 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
27812 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
27813 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
27814 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
27815 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
27816 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
27817 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
27818 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
27819 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
27820 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
27821 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
27822 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
27823 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
27824 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
27825 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
27826 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
27827 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
27828 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
27829 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
27830 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
27831 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
27832 $(gen-locales).
27833 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
27834 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
27835 $(gen-locales).
27836 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
27837 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
27838 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
27839 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
27840 $(gen-locales).
27841 * libio/tst_wprintf2.c (main): Use explicit locale.
27842 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
27843
27844 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27845
27846 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
27847 __msg_sig_post.
27848 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
27849
27850 2015-10-09 Joseph Myers <joseph@codesourcery.com>
27851
27852 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27853 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27854
27855 * sysdeps/arm/libm-test-ulps: Regenerated.
27856
27857 [BZ #15470]
27858 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
27859
27860 [BZ #16399]
27861 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
27862 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
27863 and <fix-fp-int-convert-overflow.h>.
27864 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27865 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27866 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
27867 and <fix-fp-int-convert-overflow.h>.
27868 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
27869 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27870 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
27871 <fix-fp-int-convert-overflow.h>.
27872 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27873 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27874 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27875 <fix-fp-int-convert-overflow.h>.
27876 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
27877 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27878 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
27879 and <fix-fp-int-convert-overflow.h>.
27880 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27881 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27882 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
27883 <limits.h> and <fix-fp-int-convert-overflow.h>.
27884 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27885 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27886 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
27887 and <fix-fp-int-convert-overflow.h>.
27888 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27889 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27890 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
27891 and <fix-fp-int-convert-overflow.h>.
27892 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27893 FIX_DBL_LLONG_CONVERT_OVERFLOW.
27894 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
27895
27896 2015-10-09 Carlos O'Donell <carlos@redhat.com>
27897
27898 [BZ #18589]
27899 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
27900 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
27901 $(gen-locales).
27902
27903 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27904 Phil Blundell <pb@pbcl.net>
27905
27906 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
27907 * nptl/tst-cancel26.c: New file.
27908 * nptl/tst-cancel27.c: Likewise.
27909
27910 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
27911
27912 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
27913 __ILP32__ isn't defined.
27914 (lrint): Likewise.
27915 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
27916 (lrintf): Likewise.
27917 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
27918 (lrintl): Likewise.
27919 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
27920 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
27921 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
27922
27923 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27924
27925 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
27926 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
27927
27928 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
27929 file.
27930 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
27931 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
27932
27933 2015-10-09 Joseph Myers <joseph@codesourcery.com>
27934
27935 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
27936 configure test.
27937 * sysdeps/i386/configure: Regenerated.
27938 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
27939 configure test.
27940 * sysdeps/x86_64/configure: Regenerated.
27941 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
27942 Make code unconditional.
27943
27944 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
27945 test.
27946 * sysdeps/i386/configure: Regenerated.
27947 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
27948 test.
27949 * sysdeps/x86_64/configure: Regenerated.
27950 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
27951 Make code unconditional.
27952 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27953 Likewise.
27954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
27955 Likewise.
27956 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27957 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
27958 code unconditional.
27959 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27960 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
27961 code unconditional.
27962 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27963 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
27964 code unconditional.
27965 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
27966 code unconditional.
27967 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27968 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
27969 code unconditional.
27970 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27971 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
27972 code unconditional.
27973 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27974 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
27975 code unconditional.
27976 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27977 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
27978 code unconditional.
27979 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27980 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
27981
27982 [BZ #19095]
27983 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
27984 mantissa to long int before shifting left.
27985
27986 2015-10-08 Joseph Myers <joseph@codesourcery.com>
27987
27988 [BZ #19094]
27989 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
27990 <limits.h>.
27991 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27992 when result overflows but exception would not result from cast.
27993 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
27994 <limits.h>.
27995 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27996 when result overflows but exception would not result from cast.
27997 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
27998 <limits.h>.
27999 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28000 when result overflows but exception would not result from cast.
28001 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28002 <limits.h>.
28003 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28004 when result overflows but exception would not result from cast.
28005 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28006 <limits.h>.
28007 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28008 when result overflows but exception would not result from cast.
28009 * math/libm-test.inc (lrint_test_data): Add more tests.
28010 (llrint_test_data): Likewise.
28011
28012 2015-10-08 Roland McGrath <roland@hack.frob.com>
28013
28014 [BZ #18872]
28015 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28016 Move out from under [$(run-built-tests) = yes] conditional.
28017 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28018 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28019
28020 2015-10-08 Carlos O'Donell <carlos@redhat.com>
28021
28022 [BZ #18589]
28023 * string/Makefile (tests): Add bug-strcoll2.
28024 (LOCALES): Add cs_CZ.UTF-8.
28025 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28026
28027 [BZ #18589]
28028 * string/bug-strcoll2.c: New file.
28029 * locale/categories.def: Revert commit
28030 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28031 * locale/langinfo.h: Likewise.
28032 * locale/localeinfo.h: Likewise.
28033 * locale/C-collate.c: Likewise.
28034 * locale/programs/ld-collate.c (collate_output): Likewise.
28035 * string/strcoll_l.c (STRDIFF): Likewise.
28036 (STRCOLL): Likewise.
28037 * wcsmbs/wcscoll_l.c: Likewise.
28038
28039 2015-10-08 Joseph Myers <joseph@codesourcery.com>
28040
28041 * math/libm-test.inc (lround_test_data): Do not expect the absence
28042 of "inexact" for some tests with non-integer arguments.
28043 (llround_test_data): Likewise.
28044
28045 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28046 test.
28047 (libc_cv_cc_sse2avx): Likewise.
28048 * sysdeps/i386/configure: Regenerated.
28049 * sysdeps/i386/i686/multiarch/Makefile
28050 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28051 [$(subdir) = math].
28052 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28053 code unconditional.
28054 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28055 Likewise.
28056 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28057 Likewise.
28058 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28059 Likewise.
28060 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28061 test.
28062 (libc_cv_cc_sse2avx): Likewise.
28063 * sysdeps/x86_64/configure: Regenerated.
28064 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28065 unconditional.
28066 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28067 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28068 unconditional.
28069 (_dl_runtime_profile)
28070 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28071 conditional code.
28072 * sysdeps/x86_64/fpu/multiarch/Makefile
28073 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28074 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28075 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28076 * sysdeps/x86_64/fpu/multiarch/e_exp.c
28077 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28078 * sysdeps/x86_64/fpu/multiarch/e_log.c
28079 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28080 * sysdeps/x86_64/fpu/multiarch/s_atan.c
28081 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28082 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28083 Likewise.
28084 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28085 Likewise.
28086 * sysdeps/x86_64/fpu/multiarch/s_sin.c
28087 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28088 * sysdeps/x86_64/fpu/multiarch/s_tan.c
28089 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28090 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28091 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28092 (HAVE_SSE2AVX_SUPPORT): Likewise.
28093
28094 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
28095
28096 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28097 instead of #pragma optimize.
28098
28099 2015-10-07 Carlos O'Donell <carlos@redhat.com>
28100
28101 [BZ #17195]
28102 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28103 as is similarly done in systrim and _int_free already.
28104
28105 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28106
28107 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28108
28109 2015-10-07 Joseph Myers <joseph@codesourcery.com>
28110
28111 [BZ #19088]
28112 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28113 <limits.h>.
28114 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28115 overflows but exception would not result from cast.
28116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28117 and <limits.h>.
28118 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28119 overflows but exception would not result from cast.
28120 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28121 <limits.h>.
28122 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28123 overflows but exception would not result from cast.
28124 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28125 <limits.h>.
28126 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28127 overflows but exception would not result from cast.
28128 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28129 <limits.h>.
28130 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28131 overflows but exception would not result from cast.
28132 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28133 <limits.h>.
28134 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28135 overflows but exception would not result from cast.
28136 * math/libm-test.inc (lround_test_data): Add more tests.
28137 (llround_test_data): Likewise.
28138
28139 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
28140
28141 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28142 (CFLAGS-ialloc.c): Ditto.
28143 (CFLAGS-scheck.c): Ditto.
28144
28145 2015-10-07 Carlos O'Donell <carlos@redhat.com>
28146
28147 [BZ #19086]
28148 * manual/filesys.texi (Storage Allocation): Fix argument order for
28149 posix_fallocate64.
28150
28151 2015-10-07 Joseph Myers <joseph@codesourcery.com>
28152
28153 [BZ #19085]
28154 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28155 exponent below 48 inside case for non-overflowing exponent.
28156 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28157
28158 2015-10-07 Florian Weimer <fweimer@redhat.com>
28159
28160 * iconvdata/cp737.h (from_idx): Add const.
28161 * iconvdata/cp775.h (from_idx): Likewise.
28162
28163 2015-10-07 Joseph Myers <joseph@codesourcery.com>
28164
28165 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28166 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28167 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28168
28169 [BZ #19079]
28170 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28171 file, conditioned on [!_LP64].
28172 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28173 [!_LP64] (__lround): Do not define as function or alias.
28174 [!_LP64] (lround): Likewise.
28175 [!_LP64] (__lroundl): Likewise.
28176 [!_LP64] (lroundl): Likewise.
28177 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28178 macro.
28179 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28180 Likewise.
28181
28182 2015-10-06 Joseph Myers <joseph@codesourcery.com>
28183
28184 * math/libm-test.inc (lrint_test_data): Add more tests.
28185 (llrint_test_data): Likewise.
28186 (lround_test_data): Likewise.
28187 (llround_test_data): Likewise.
28188
28189 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28190 (llrint_test_data): Add tests used for lrint.
28191
28192 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28193 test.
28194 * sysdeps/i386/configure: Regenerated.
28195 * sysdeps/i386/i686/multiarch/Makefile
28196 [$(config-cflags-sse4) = yes]: Make code unconditional.
28197 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28198 Likewise.
28199 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28200 Likewise.
28201 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28202 test.
28203 * sysdeps/x86_64/configure: Regenerated.
28204 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28205 Make code unconditional.
28206 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28207 Likewise.
28208 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28209 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28210
28211 * scripts/rpm2dynsym.sh: Remove file.
28212
28213 2015-10-06 Florian Weimer <fweimer@redhat.com>
28214
28215 * configure.ac (libc_cv_cxx_thread_local): Define.
28216 * configure: Regenerate.
28217 * config.make.in (have-cxx-thread_local): Define.
28218 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28219 (LDLIBS-tst-thread_local1): Define.
28220 (tests): Add tst-thread_local1.
28221 [have-cxx-thread_local != yes] (tests-unsupported): Add
28222 tst-thread_local1.
28223 * nptl/tst-thread_local1.cc: New file.
28224
28225 2015-10-06 Joseph Myers <joseph@codesourcery.com>
28226
28227 [BZ #19078]
28228 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28229 (u_thres): Likewise.
28230 (__expl): Determine whether to call __kernel_standard_l based on
28231 value of result, not argument.
28232
28233 * math/libm-test.inc (scalb_test_data): Add more expectations for
28234 the "inexact" exception.
28235
28236 [BZ #19077]
28237 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28238 0.0L for argument 1.0L.
28239
28240 [BZ #19076]
28241 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28242 constant 0.0L when computing infinite result.
28243
28244 2015-10-06 Florian Weimer <fweimer@redhat.com>
28245
28246 [BZ #10432]
28247 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28248 malloc_usable_size.
28249
28250 2015-10-06 Florian Weimer <fweimer@redhat.com>
28251
28252 [BZ #19018]
28253 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28254 Mangle function pointer before storing it.
28255 (__call_tls_dtors): Demangle function pointer before calling it.
28256
28257 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28258
28259 [BZ #19012]
28260 * iconv/gconv_db.c (gen_steps): Check for additional errors.
28261 Clean up on failure.
28262
28263 2015-10-05 Joseph Myers <joseph@codesourcery.com>
28264
28265 [BZ #19071]
28266 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28267 long int variable to store possibly incremented high part of
28268 mantissa.
28269 * math/libm-test.inc (lround_test_data): Add tests used for
28270 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
28271 for tests requiring 64-bit long. Do not condition tests on
28272 [TEST_FLOAT] unnecessarily.
28273 (llround_test_data): Add tests used for lround. Add another
28274 expectation for the "inexact" exception. Do not condition tests
28275 on [TEST_FLOAT] unnecessarily.
28276
28277 [BZ #887]
28278 [BZ #19049]
28279 [BZ #19050]
28280 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28281 * sysdeps/ieee754/dbl-64/e_log10.c: Include
28282 <fix-int-fp-convert-zero.h>.
28283 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28284 * sysdeps/ieee754/dbl-64/e_log2.c: Include
28285 <fix-int-fp-convert-zero.h>.
28286 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28287 * sysdeps/ieee754/dbl-64/s_erf.c: Include
28288 <fix-int-fp-convert-zero.h>.
28289 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28290 * sysdeps/ieee754/dbl-64/s_logb.c: Include
28291 <fix-int-fp-convert-zero.h>.
28292 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28293 * sysdeps/ieee754/flt-32/e_log10f.c: Include
28294 <fix-int-fp-convert-zero.h>.
28295 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28296 * sysdeps/ieee754/flt-32/e_log2f.c: Include
28297 <fix-int-fp-convert-zero.h>.
28298 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28299 * sysdeps/ieee754/flt-32/s_erff.c: Include
28300 <fix-int-fp-convert-zero.h>.
28301 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28302 * sysdeps/ieee754/flt-32/s_logbf.c: Include
28303 <fix-int-fp-convert-zero.h>.
28304 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28306 <fix-int-fp-convert-zero.h>.
28307 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28309 <fix-int-fp-convert-zero.h>.
28310 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28311 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28312 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28313 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28314 file.
28315 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28316
28317 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
28318
28319 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28320
28321 2015-10-02 Joseph Myers <joseph@codesourcery.com>
28322
28323 [BZ #19059]
28324 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28325 overflowing computation.
28326 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28327 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28328 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28329 Likewise.
28330 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28331 Likewise.
28332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28333 Likewise.
28334 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28335 Likewise.
28336 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28337 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28338 Likewise.
28339 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28340 Likewise.
28341 * math/libm-test.inc (nexttoward_test_data): Add more tests.
28342
28343 * nss/rewrite_field.c (__nss_rewrite_field): Use
28344 internal_function.
28345 * nss/valid_field.c (__nss_valid_field): Likewise.
28346 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28347
28348 2015-10-02 Florian Weimer <fweimer@redhat.com>
28349
28350 [BZ #18724]
28351 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28352 (__nss_invalid_field_characters, __nss_valid_field)
28353 (__nss_valid_list_field, __nss_rewrite_field): Declare.
28354 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28355 tst-field.c: New file.
28356 * nss/Makefile (routines): Add valid_field, rewrite_field.
28357 (tests-static): Define unconditionally.
28358 (tests): Include tests-static.
28359 [build-static-nss] (tests-static): Use append.
28360 [build-static-nss] (tests): Remove modification.
28361 * nss/getent.c (print_group): Call putgrent. Report error.
28362 (print_gshadow): Call putsgent. Report error.
28363 (print_passwd): Call putpwent. Report error.
28364 (print_shadow): Call putspent. Report error.
28365 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28366 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28367 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
28368 name, password, directory, shell fields for valid syntax. Rewrite
28369 GECOS field to match syntax.
28370 * pwd/Makefile (tests): Add tst-putpwent.
28371 * pwd/tst-putpwent.c: New file.
28372 * grp/putgrent.c (putgrent): Convert to ISO function definition.
28373 Check grName, grpasswd, gr_mem fields for valid syntax.
28374 Change loop variable i to size_t.
28375 * grp/Makefile (tests): Add tst-putgrent.
28376 * grp/tst-putgrent.c: New file.
28377 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28378 valid syntax.
28379 * shadow/Makefile (tests): Add tst-putspent.
28380 * shadow/tst-putspent.c: New file.
28381 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28382 sg_mem fields for valid syntax.
28383 * gshadow/Makefile (tests): Add tst-putsgent.
28384 * gshadow/tst-putsgent.c: New file.
28385
28386 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28387
28388 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28389 assembly instructions.
28390
28391 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28392
28393 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28394 prefix from operands.
28395
28396 2015-10-01 Joseph Myers <joseph@codesourcery.com>
28397
28398 [BZ #16347]
28399 [BZ #19046]
28400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28401 <libc-internal.h>.
28402 (MAXLGM): Do not use diagnostic control macros.
28403 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28404 threshold for ldbl-128ibm.
28405 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28406 instead of multiplying by log then subtracting.
28407 * math/auto-libm-test-in: Add more tests of lgamma.
28408 * math/auto-libm-test-out: Regenerated.
28409
28410 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28411 (TYPE_HEX_DIG): Likewise.
28412 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28413 precisions when printing floating-point numbers.
28414 (check_float_internal): Likewise.
28415
28416 2015-09-30 Joseph Myers <joseph@codesourcery.com>
28417
28418 [BZ #16620]
28419 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28420 of log (10) rounded downward to 48 bits.
28421 (log10_low): Use corresponding low part of log (10).
28422
28423 [BZ #19032]
28424 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28425 compute result as (x - x) / (x - x) not as 0 / 0.
28426 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28427 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28428
28429 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28430 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28431 and expm1.
28432 * math/auto-libm-test-out: Regenerated.
28433 * math/libm-test.inc (acos_test_data): Add more tests.
28434 (asin_test_data): Likewise.
28435 (asinh_test_data): Likewise.
28436 (atan_test_data): Likewise.
28437 (atanh_test_data): Likewise.
28438 (atan2_test_data): Likewise.
28439 (cbrt_test_data): Likewise.
28440 (ceil_test_data): Likewise.
28441 (copysign_test_data): Likewise.
28442 (cos_test_data): Likewise.
28443 (cosh_test_data): Likewise.
28444 (erf_test_data): Likewise.
28445 (erfc_test_data): Likewise.
28446 (exp_test_data): Likewise.
28447 (exp10_test_data): Likewise.
28448 (exp2_test_data): Likewise.
28449 (expm1_test_data): Likewise.
28450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28451
28452 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
28453
28454 [BZ #19006]
28455 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28456 to ...
28457 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28458 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28459 to ...
28460 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28461 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28462 to ...
28463 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28464 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28465 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28466 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28467 to ...
28468 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28469 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28470 Moved to ...
28471 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28472 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28473 Moved to ...
28474 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28475 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28476 to ...
28477 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28478 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28479 Moved to ...
28480 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28481 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28482 to ...
28483 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28484 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28485 Removed.
28486 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28487 Likewise.
28488 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28489 Likewise.
28490 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28491 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28492 Likewise.
28493 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28494 Likewise.
28495 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28496 Likewise.
28497 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28498 Likewise.
28499 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28500 Likewise.
28501 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28502 Likewise.
28503 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28504 Likewise.
28505 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28506 Likewise.
28507 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28508 Likewise.
28509 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28510 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28511 Likewise.
28512 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28513 Likewise.
28514 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28515 Likewise.
28516 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28517 Likewise.
28518 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28519 Likewise.
28520 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28521 Replace ../i486/pthread_cond_timedwait.S with
28522 ../pthread_cond_timedwait.S.
28523
28524 2015-09-30 Joseph Myers <joseph@codesourcery.com>
28525
28526 * math/libm-test.inc (acos_test_data): Refine expectations for
28527 errno and "inexact" exceptions.
28528 (acosh_test_data): Likewise.
28529 (asin_test_data): Likewise.
28530 (asinh_test_data): Likewise.
28531 (atan_test_data): Likewise.
28532 (atanh_test_data): Likewise.
28533 (atan2_test_data): Likewise.
28534 (cbrt_test_data): Likewise.
28535 (ceil_test_data): Likewise.
28536 (copysign_test_data): Likewise.
28537 (cosh_test_data): Likewise.
28538 (erf_test_data): Likewise.
28539 (erfc_test_data): Likewise.
28540 (exp_test_data): Likewise.
28541 (exp10_test_data): Likewise.
28542 (exp2_test_data): Likewise.
28543 (expm1_test_data): Likewise.
28544 (fabs_test_data): Likewise.
28545 (floor_test_data): Likewise.
28546 (fma_test_data): Likewise.
28547 (fmax_test_data): Likewise.
28548 (fmin_test_data): Likewise.
28549 (fmod_test_data): Likewise.
28550 (fpclassify_test_data): Likewise.
28551 (frexp_test_data): Likewise.
28552 (hypot_test_data): Likewise.
28553 (ilogb_test_data): Likewise.
28554 (isgreater_test_data): Likewise.
28555 (isgreaterequal_test_data): Likewise.
28556 (isinf_test_data): Likewise.
28557 (isless_test_data): Likewise.
28558 (islessequal_test_data): Likewise.
28559 (islessgreater_test_data): Likewise.
28560 (isnan_test_data): Likewise.
28561 (isnormal_test_data): Likewise.
28562 (issignaling_test_data): Likewise.
28563 (isunordered_test_data): Likewise.
28564 (j0_test_data): Likewise.
28565 (j1_test_data): Likewise.
28566 (jn_test_data): Likewise.
28567 (lgamma_test_data): Likewise.
28568 (lrint_test_data): Likewise.
28569 (llrint_test_data): Likewise.
28570 (log_test_data): Likewise.
28571 (log10_test_data): Likewise.
28572 (log1p_test_data): Likewise.
28573 (log2_test_data): Likewise.
28574 (logb_test_data): Likewise.
28575 (lround_test_data): Likewise.
28576 (llround_test_data): Likewise.
28577 (modf_test_data): Likewise.
28578 (nearbyint_test_data): Likewise.
28579 (nextafter_test_data): Likewise.
28580 (nexttoward_test_data): Likewise.
28581 (pow_test_data): Likewise.
28582 (remainder_test_data): Likewise.
28583 (remquo_test_data): Likewise.
28584 (rint_test_data): Likewise.
28585 (round_test_data): Likewise.
28586 (signbit_test_data): Likewise.
28587 (sinh_test_data): Likewise.
28588 (sqrt_test_data): Likewise.
28589 (tanh_test_data): Likewise.
28590 (tgamma_test_data): Likewise.
28591 (trunc_test_data): Likewise.
28592 (y0_test_data): Likewise.
28593 (y1_test_data): Likewise.
28594 (yn_test_data): Likewise.
28595 (significand_test_data): Likewise.
28596
28597 2015-09-29 Carlos O'Donell <carlos@redhat.com>
28598
28599 * manual/filesys.texi (Storage Allocation): Document that
28600 posix_fallocate emulation fails when fd is open with O_WRONLY.
28601
28602 2015-09-28 Joseph Myers <joseph@codesourcery.com>
28603
28604 [BZ #19016]
28605 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28606 allow more cases with X^2 + Y^2 >= 0.5.
28607 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
28608 normal element in sum instead of special-casing based on values of
28609 arguments.
28610 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28611 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
28612 -1 as normal element in sum instead of special-casing based on
28613 values of arguments.
28614 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28615 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28616 (__x2y2m1): Update comment.
28617 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
28618 as normal element in sum instead of special-casing based on values
28619 of arguments.
28620 * math/s_clog.c (__clog): Handle more cases using log1p without
28621 hypot.
28622 * math/s_clog10.c (__clog10): Likewise.
28623 * math/s_clog10f.c (__clog10f): Likewise.
28624 * math/s_clog10l.c (__clog10l): Likewise.
28625 * math/s_clogf.c (__clogf): Likewise.
28626 * math/s_clogl.c (__clogl): Likewise.
28627 * math/auto-libm-test-in: Add more tests of clog and clog10.
28628 * math/auto-libm-test-out: Regenerated.
28629 * sysdeps/i386/fpu/libm-test-ulps: Update.
28630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28631
28632 2015-09-28 Martin Sebor <msebor@redhat.com>
28633
28634 [BZ #18969]
28635 * string/Makefile (LOCALES): Define.
28636 (gen-locales.mk): Include.
28637 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28638 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28639 * string/tst-strxfrm2.c (do_test): Print the name of the locale
28640 on setlocale failure.
28641
28642 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
28643
28644 [BZ #18985]
28645 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28646 (__strftime_internal): Likewise.
28647 * time/tst-strftime.c (do_bz18985): New test.
28648 (do_test): Call it.
28649
28650 2015-09-26 Joseph Myers <joseph@codesourcery.com>
28651
28652 [BZ #18956]
28653 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28654 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
28655 extracting high part.
28656 * math/auto-libm-test-in: Add another test of pow.
28657 * math/auto-libm-test-out: Regenerated.
28658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28659
28660 2015-09-25 Joseph Myers <joseph@codesourcery.com>
28661
28662 [BZ #18825]
28663 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28664 New macro.
28665 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28666 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28667 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28668 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28669 DBL_NARROW_EVAL, reloading the PIC register as needed.
28670 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28671 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28672 FLT_NARROW_EVAL. Use separate return path for case when first
28673 argument is NaN.
28674 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
28675 DEFINE_LDBL_MIN.
28676 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28677 PIC register.
28678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28679 math_check_force_underflow_nonneg.
28680 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28681 underflow for subnormal result.
28682 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28683 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28684 math_check_force_underflow_nonneg.
28685 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28686 math_check_force_underflow.
28687 * sysdeps/x86_64/fpu/x86_64-math-asm.h
28688 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28689 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
28690 DEFINE_LDBL_MIN.
28691 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28692 * math/auto-libm-test-in: Add more tests of pow.
28693 * math/auto-libm-test-out: Regenerated.
28694
28695 2015-09-25 Florian Weimer <fweimer@redhat.com>
28696
28697 * nss/bug17079.c (init_test_items): Add diagnostic for
28698 inconsistent entries.
28699 (test_buffer_size): Skip inconsistent entries.
28700
28701 2015-09-25 Joseph Myers <joseph@codesourcery.com>
28702
28703 [BZ #13304]
28704 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28705 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28706 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28707
28708 [BZ #13304]
28709 * sysdeps/microblaze/s_fma.c: New file.
28710 * sysdeps/microblaze/s_fmaf.c: Likewise.
28711 * sysdeps/microblaze/sfp-machine.h: Likewise.
28712
28713 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
28714
28715 [BZ #17250]
28716 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28717 member.
28718
28719 2015-09-24 Joseph Myers <joseph@codesourcery.com>
28720
28721 [BZ #18803]
28722 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
28723 (MO): New macro.
28724 (__ieee754_hypot) [PIC]: Load PIC register.
28725 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
28726 DBL_NARROW_EVAL.
28727 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
28728 math_check_force_underflow_nonneg in case where result might be
28729 tiny.
28730 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28731 Likewise.
28732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28733 Likewise.
28734 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28735 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
28736 * math/auto-libm-test-in: Add more tests of hypot.
28737 * math/auto-libm-test-out: Regenerated.
28738
28739 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
28740
28741 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
28742
28743 2015-09-24 Joseph Myers <joseph@codesourcery.com>
28744
28745 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
28746 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
28747 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28748 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28749 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
28750 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28751 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28752
28753 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
28754 LOAD_PIC_REG.
28755
28756 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
28757 (FLT_CHECK_FORCE_UFLOW): Likewise.
28758 (DBL_CHECK_FORCE_UFLOW): Likewise.
28759 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
28760 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
28761 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
28762 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28763 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28764 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28765 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28766 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28767 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
28768 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28769 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
28770 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
28771 (flt_min): Replace with use of DEFINE_FLT_MIN.
28772 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
28773 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
28774 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28775 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
28776 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
28777 (flt_min): Replace with use of DEFINE_FLT_MIN.
28778 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
28779 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
28780 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28781 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
28782 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
28783 (flt_min): Replace with use of DEFINE_FLT_MIN.
28784 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
28785 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
28786 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28787 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28788 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
28789 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28790 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28791 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
28792 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28793 (__atan): Use DBL_CHECK_FORCE_UFLOW.
28794 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
28795 (flt_min): Replace with use of DEFINE_FLT_MIN.
28796 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
28797 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
28798 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28799 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
28800 main computation.
28801 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
28802 (flt_min): Replace with use of DEFINE_FLT_MIN.
28803 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
28804 main computation.
28805 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
28806 (dbl_min): Replace with use of DEFINE_DBL_MIN.
28807 (MO): New macro.
28808 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
28809 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
28810 (flt_min): Replace with use of DEFINE_FLT_MIN.
28811 (MO): New macro.
28812 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
28813 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
28814 (__log1pl): Use MO.
28815
28816 [BZ #19003]
28817 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
28818 $(config-cflags-nofma).
28819
28820 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
28821
28822 * sysdeps/aarch64/libm-test-ulps: Regenerated.
28823
28824 2015-09-23 Joseph Myers <joseph@codesourcery.com>
28825
28826 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
28827 (TWO127): Likewise.
28828
28829 * sysdeps/generic/math_private.h (fabs_tg): New macro.
28830 (min_of_type): Likewise.
28831 (math_check_force_underflow): Likewise.
28832 (math_check_force_underflow_nonneg): Likewise.
28833 (math_check_force_underflow_complex): Likewise.
28834 * math/e_exp2l.c (__ieee754_exp2l): Use
28835 math_check_force_underflow_nonneg.
28836 * math/k_casinh.c (__kernel_casinh): Likewise.
28837 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28838 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28839 * math/s_catan.c (__catan): Use
28840 math_check_force_underflow_complex.
28841 * math/s_catanf.c (__catanf): Likewise.
28842 * math/s_catanh.c (__catanh): Likewise.
28843 * math/s_catanhf.c (__catanhf): Likewise.
28844 * math/s_catanhl.c (__catanhl): Likewise.
28845 * math/s_catanl.c (__catanl): Likewise.
28846 * math/s_ccosh.c (__ccosh): Likewise.
28847 * math/s_ccoshf.c (__ccoshf): Likewise.
28848 * math/s_ccoshl.c (__ccoshl): Likewise.
28849 * math/s_cexp.c (__cexp): Likewise.
28850 * math/s_cexpf.c (__cexpf): Likewise.
28851 * math/s_cexpl.c (__cexpl): Likewise.
28852 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
28853 * math/s_clog10.c (__clog10): Likewise.
28854 * math/s_clog10f.c (__clog10f): Likewise.
28855 * math/s_clog10l.c (__clog10l): Likewise.
28856 * math/s_clogf.c (__clogf): Likewise.
28857 * math/s_clogl.c (__clogl): Likewise.
28858 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
28859 * math/s_csinf.c (__csinf): Likewise.
28860 * math/s_csinh.c (__csinh): Likewise.
28861 * math/s_csinhf.c (__csinhf): Likewise.
28862 * math/s_csinhl.c (__csinhl): Likewise.
28863 * math/s_csinl.c (__csinl): Likewise.
28864 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
28865 * math/s_csqrtf.c (__csqrtf): Likewise.
28866 * math/s_csqrtl.c (__csqrtl): Likewise.
28867 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
28868 * math/s_ctanf.c (__ctanf): Likewise.
28869 * math/s_ctanh.c (__ctanh): Likewise.
28870 * math/s_ctanhf.c (__ctanhf): Likewise.
28871 * math/s_ctanhl.c (__ctanhl): Likewise.
28872 * math/s_ctanl.c (__ctanl): Likewise.
28873 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
28874 instead of volatile.
28875 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
28876 math_check_force_underflow.
28877 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28878 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
28879 volatile when forcing underflow.
28880 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28881 math_check_force_underflow_nonneg.
28882 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28883 Likewise.
28884 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
28885 math_check_force_underflow.
28886 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28887 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28888 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28889 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
28890 math_check_force_underflow_nonneg.
28891 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
28892 math_check_force_underflow.
28893 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
28895 instead of volatile.
28896 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
28897 math_check_force_underflow.
28898 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28899 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28900 math_check_force_underflow_nonneg.
28901 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
28902 math_check_force_underflow.
28903 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
28904 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28905 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
28906 math_check_force_underflow_nonneg.
28907 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28908 Likewise.
28909 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
28910 math_check_force_underflow.
28911 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28912 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28913 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
28914 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
28915 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
28916 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
28917 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28918 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28919 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28920 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
28921 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
28922 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28923 Likewise.
28924 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
28925 math_check_force_underflow_nonneg.
28926 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28927 Likewise.
28928 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
28929 math_check_force_underflow.
28930 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28931 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28932 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28933 Likewise.
28934 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28935 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
28936 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
28937 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
28938 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
28939 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
28940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
28941 instead of volatile.
28942 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
28943 math_check_force_underflow.
28944 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28945 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
28946 math_check_force_underflow.
28947 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
28948 Likewise.
28949 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28950 Use math_check_force_underflow_nonneg.
28951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
28952 math_check_force_underflow.
28953 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
28954 Likewise.
28955 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28956 Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28959 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28960 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
28962 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28963 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28964 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28965 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
28966 math_check_force_underflow_nonneg.
28967 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
28968 math_check_force_underflow.
28969 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28970 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28971 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
28972 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
28973 math_check_force_underflow_nonneg.
28974 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
28975 math_check_force_underflow.
28976 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
28978 instead of volatile.
28979 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
28980 math_check_force_underflow.
28981
28982 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
28983 * stdlib/strtod_l.c: Include <math_private.h>.
28984 (overflow_value): Use math_narrow_eval.
28985 (underflow_value): Likewise.
28986 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28987 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28988 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
28989 (__ieee754_gamma_r): Likewise.
28990 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
28991 Likewise.
28992 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
28993 Likewise.
28994 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
28995 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
28996 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28997 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28998 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
28999 (__ieee754_gammaf_r): Likewise.
29000 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29001 Likewise.
29002 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29003 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29004 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29005 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29006 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29007 volatile.
29008 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29009 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29010 math_narrow_eval.
29011 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29012 Likewise.
29013 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29014 Likewise.
29015 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29016 Likewise.
29017 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29018 volatile.
29019 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29020 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29021 math_narrow_eval.
29022 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29023 Likewise.
29024 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29025 Likewise.
29026
29027 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
29028
29029 * nptl/Versions: Remove ignored symbols.
29030
29031 2015-09-22 Florian Weimer <fweimer@redhat.com>
29032
29033 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
29034 * nss/Makefile (tests): Update.
29035
29036 2015-09-22 Florian Weimer <fweimer@redhat.com>
29037
29038 * nss/bug18287.c: New file.
29039 * nss/Makefile (tests): Add bug18287.
29040
29041 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29042
29043 * mach/Versions (__mach_host_self_): Add symbol.
29044
29045 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
29046
29047 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29048 vm_page_size.
29049
29050 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
29051
29052 Really fix sysdeps/i386/fpu/s_scalbn.S build
29053
29054 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29055 (libc: GLIBC_2_22): Remove unused version set.
29056
29057 2015-09-18 Mike Frysinger <vapier@gentoo.org>
29058
29059 * config.make.in (enable-timezone-tools): New variable.
29060 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29061 (enable_timezone_tools): Export to generated files.
29062 * configure: Regenerate.
29063 * INSTALL: Regenerate.
29064 * manual/install.texi (--disable-timezone-tools): Document new flag.
29065 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29066 ifeq ($(enable-timezone-tools),yes) check.
29067
29068 2015-09-18 Joseph Myers <joseph@codesourcery.com>
29069
29070 * timezone/Makefile: Revert previous change.
29071
29072 [BZ #18980]
29073 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29074 (DEFINE_DBL_MIN): Likewise.
29075 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29076 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29077 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29078 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29079 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29080 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29081 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29082 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29083 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29084 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29085 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29086 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29087 (flt_min): Replace with use of DEFINE_FLT_MIN.
29088 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29089 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29090 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29091 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29092 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29093 (flt_min): Replace with use of DEFINE_FLT_MIN.
29094 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29095 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29096 (flt_min): Replace with use of DEFINE_FLT_MIN.
29097 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29098 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29099 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29100 (__ieee754_hypot): Use DBL_NARROW_EVAL.
29101 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29102 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29103 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29104 (__ieee754_pow): Use DBL_NARROW_EVAL.
29105 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29106 (__ieee754_powf): Use FLT_NARROW_EVAL.
29107 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29108 (__ieee754_expf_sse2): Convert double-precision result to single
29109 precision.
29110 * sysdeps/i386/fpu/libm-test-ulps: Update.
29111
29112 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29113
29114 * timezone/Makefile: Ignore unused variable errors due to private.h
29115 (time_t_min) and (time_t_max).
29116 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
29117 Likewise.
29118
29119 2015-09-18 Joseph Myers <joseph@codesourcery.com>
29120
29121 [BZ #18981]
29122 * sysdeps/i386/fpu/i386-math-asm.h: New file.
29123 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29124 (__ieee754_scalb): Use DBL_NARROW_EVAL.
29125 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29126 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29127 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29128 (__scalbn): Use DBL_NARROW_EVAL.
29129 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29130 (__scalbnf): Use FLT_NARROW_EVAL.
29131
29132 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29133
29134 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29135 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29136 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29137 * stdio-common/printf_fp.c (___printf_fp):
29138 Use signbit to get the sign. Use isinf macro to allow inlining.
29139 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29140 * stdio-common/printf_size.c (__printf_size): Likewise.
29141
29142 2015-09-18 Mike Frysinger <vapier@gentoo.org>
29143
29144 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29145
29146 2015-09-18 Joseph Myers <joseph@codesourcery.com>
29147
29148 [BZ #18980]
29149 * sysdeps/generic/math_private.h: Include <float.h>.
29150 (math_narrow_eval): New macro.
29151 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29152 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29153 math_narrow_eval on overflowing return value.
29154 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29155 Likewise.
29156 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29157 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29158 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29159 Likewise.
29160 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29161
29162 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29163
29164 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29165 * math/Makefile: Remove isinf_ns.c.
29166 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29167 * math/multc3.c (__multc3): Likewise.
29168 * math/s_casin.c (__casin): Likewise.
29169 * math/s_casinf.c (__casinf): Likewise.
29170 * math/s_casinl.c (__casinl): Likewise.
29171 * math/s_cproj.c (__cproj): Likewise.
29172 * math/s_cprojf.c (__cprojf): Likewise.
29173 * math/s_cprojl.c (__cprofl): Likewise.
29174 * math/s_ctan.c (__ctan): Likewise.
29175 * math/s_ctanf.c (__ctanf): Likewise.
29176 * math/s_ctanh.c (__ctanh): Likewise.
29177 * math/s_ctanhf.c (__ctanhf): Likewise.
29178 * math/s_ctanhl.c (__ctanhl): Likewise.
29179 * math/s_ctanl.c (__ctanl): Likewise.
29180 * math/w_fmod.c (__fmod): Likewise.
29181 * math/w_fmodf.c (__fmodf): Likewise.
29182 * math/w_fmodl.c (_fmodl): Likewise.
29183 * math/w_remainder.c (__remainder): Likewise.
29184 * math/w_remainderf.c (__remainderf): Likewise.
29185 * math/w_remainderl.c (__remainderl): Likewise.
29186 * math/w_scalb.c (__scalb): Likewise.
29187 * math/w_scalbf.c (__scalbf): Likewise.
29188 * math/w_scalbl.c (__scalbl): Likewise.
29189 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29190 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29191 with isinf.
29192 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29194 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29195 __isinf_nsf with isinf.
29196 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29197 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29198 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29199 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29200 with isinf.
29201 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29202 __isinf_nsl with isinf.
29203 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29204 with isinf.
29205 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29206 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29207 __isinf_nsl with isinf.
29208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29209 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29210 with isinf.
29211
29212 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29213
29214 * resolv/base64.c (rcsid): Remove unused static.
29215 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29216 static. (tqpi1): Likewise.
29217 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29218 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29219 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29220 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29222 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29223 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29224 * timezone/private.h (time_t_min): Likewise. (time_t_max):
29225 Likewise.
29226
29227 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
29228
29229 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29230 <nptl/pthreadP.h>.
29231 (_longjmp_unwind): Use __libc_ptf_call.
29232 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29233
29234 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
29235
29236 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29237 * sysdeps/arm/__longjmp.S: Likewise.
29238
29239 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29240
29241 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29242 Use __builtin_signbit.
29243 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29244 Use __builtin_signbitf.
29245 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29246 Use __builtin_signbitl.
29247 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29248 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29249
29250 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29251
29252 [BZ #15367]
29253 [BZ #17441]
29254
29255 * math/Makefile: Build test-snan.c with -fsignaling-nans.
29256 * math/math.h (fpclassify): Use __builtin_fpclassify when
29257 available. (signbit): Use __builtin_signbit(f/l).
29258 (isfinite): Use__builtin_isfinite. (isnormal): Use
29259 __builtin_isnormal. (isnan): Use __builtin_isnan.
29260 (isinf): Use __builtin_isinf_sign.
29261
29262 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
29263
29264 * benchtests/Makefile: Add bench-math-inlines, link with libm.
29265 * benchtests/bench-math-inlines.c: New benchmark.
29266 * benchtests/bench-util.h: New file.
29267 * benchtests/bench-util.c: New file.
29268 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29269
29270 2015-09-18 Carlos O'Donell <carlos@redhat.com>
29271
29272 * elf/tst-dlmopen1.c: Define TEST_SO.
29273 (do_test): Use TEST_SO.
29274
29275 * elf/dl-load.c: Include libc-internal.h.
29276 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29277
29278 2015-09-18 Vincent Bernat <vincent@bernat.im>
29279
29280 [BZ #17887]
29281 * time/strptime_l.c (__strptime_internal): Make %z accept
29282 [+-]HH:MM time zones.
29283
29284 2015-09-18 Vincent Bernat <vincent@bernat.im>
29285
29286 [BZ #17886]
29287 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29288 valid time zone.
29289
29290 2015-09-17 Mike Frysinger <vapier@gentoo.org>
29291
29292 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29293 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29294 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29295 (__ASSUME_FDATASYNC): Delete.
29296
29297 2015-09-17 Joseph Myers <joseph@codesourcery.com>
29298
29299 * conform/linknamespace.pl: Require weak undefined symbols to be
29300 in the standard namespace.
29301 (%strong_syms): Rename to %seen_syms.
29302 (%strong_seen): Rename to %seen_where.
29303
29304 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
29305
29306 [BZ #18970]
29307 * misc/error.c (error): Replace pthread_setcancelstate with
29308 __pthread_setcancelstate.
29309 (error_at_line): Likewise.
29310 * posix/wordexp.c (parse_comm): Likewise.
29311 * stdlib/fmtmsg.c (fmtmsg): Likewise.
29312 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29313 (__pthread_setcancelstate): This.
29314 (pthread_setcancelstate): Add an alias.
29315 * nptl/nptl-init.c (pthread_functions): Replace
29316 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29317 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29318 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29319 hidden_proto.
29320 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29321 it with hidden_def.
29322 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29323 (pthread_setcancelstate): Renamed to ...
29324 (__pthread_setcancelstate): This.
29325 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29326 __libc_ptf_call with __pthread_setcancelstate.
29327
29328 2015-09-17 Joseph Myers <joseph@codesourcery.com>
29329 Andreas Schwab <schwab@suse.de>
29330
29331 [BZ #17118]
29332 * math/s_ctan.c (__ctan): Determine sign of zero real part of
29333 result when imaginary part of argument is infinite using sine and
29334 cosine.
29335 * math/s_ctanf.c (__ctanf): Likewise.
29336 * math/s_ctanl.c (__ctanl): Likewise.
29337 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29338 of result when real part of argument is infinite using sine and
29339 cosine.
29340 * math/s_ctanhf.c (__ctanhf): Likewise.
29341 * math/s_ctanhl.c (__ctanhl): Likewise.
29342 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29343 (ctanh_test_data): Add more tests of ctanh.
29344
29345 2015-09-17 Joseph Myers <joseph@codesourcery.com>
29346
29347 [BZ #15384]
29348 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29349 bit-mask as in subtraction.
29350 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29351 Likewise.
29352 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29353 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29354 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29355
29356 [BZ #18951]
29357 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29358 underflow exception for small results.
29359 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29360 Likewise.
29361 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29362 Likewise.
29363 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29364 Likewise.
29365 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29366 Likewise.
29367 * math/auto-libm-test-in: Add more tests of tgamma.
29368 * math/auto-libm-test-out: Regenerated.
29369
29370 2015-09-17 Andreas Schwab <schwab@suse.de>
29371
29372 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29373
29374 2015-09-16 Joseph Myers <joseph@codesourcery.com>
29375
29376 [BZ #18977]
29377 * math/bits/mathcalls.h
29378 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29379 not declare.
29380 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29381 Likewise.
29382 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29383 Likewise.
29384 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29385 Likewise.
29386 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29387 Likewise.
29388 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29389 Likewise.
29390 * conform/data/math.h-data
29391 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29392 function.
29393 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29394 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29395 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29396 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29397 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29398 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29399 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29400 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29401 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29402 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29403 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29404
29405 [BZ #6803]
29406 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29407 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29408 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29409 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29410 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29411 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29412 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29413 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29414 [NO_LONG_DOUBLE] (scalbnl): Likewise.
29415 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29416 Likewise.
29417 [NO_LONG_DOUBLE] (scalbnl): Likewise.
29418 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29419 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29420 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29421 long_double_symbol calls.
29422 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29423 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29424 strong alias of __ldexpl.
29425 (scalbnl): Define using long_double_symbol.
29426 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29427 Remove alias.
29428 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29429 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29430 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29431 (scalbln_test_data): Add more errno expectations.
29432
29433 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
29434
29435 Cache the host port like we cache the task port. This way we do not
29436 need to call the kernel just to get the port. Furthermore, we no
29437 longer increase the reference count on every invocation of
29438 `mach_host_self'.
29439
29440 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29441 Protect declarations against the macro expansion.
29442 * mach/mach_init.c (__mach_host_self_): New variable.
29443 (mach_init): Initialize `__mach_host_self_'.
29444 * mach/mach_init.h (__mach_host_self_): New declaration.
29445 (__mach_host_self, mach_host_self): New macros.
29446 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29447 Release reference.
29448
29449 2015-09-16 Joseph Myers <joseph@codesourcery.com>
29450
29451 [BZ #4404]
29452 * po/de.po: Update from Translation Project.
29453
29454 [BZ #16415]
29455 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29456 (__expm1l): Remove code to handle positive infinity and overflow.
29457 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29458 variable.
29459 (__expm1l): Remove code to handle positive infinity and overflow.
29460
29461 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
29462 Paul Pluzhnikov <ppluzhnikov@google.com>
29463
29464 [BZ #18872]
29465 * stdio-common/Makefile (tst-printf-bz18872): New test.
29466 (tst-printf-bz18872-mem.out): Likewise.
29467 * stdio-common/tst-printf-bz18872.sh: Generate new test.
29468 * stdio-common/vfprintf.c: Fix memory leaks.
29469
29470 2015-09-16 Andreas Schwab <schwab@suse.de>
29471
29472 [BZ #17244]
29473 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29474 Remove extra va_start/va_end calls.
29475
29476 [BZ #17243]
29477 * posix/execl.c (execl): Add missing va_end.
29478 * posix/execle.c (execle): Likewise.
29479 * posix/execlp.c (execlp): Likewise.
29480
29481 2015-09-15 Roland McGrath <roland@hack.frob.com>
29482
29483 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29484 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29485
29486 2015-09-15 Joseph Myers <joseph@codesourcery.com>
29487
29488 [BZ #18967]
29489 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
29490 undefine around includes of <bits/mathcalls.h>.
29491 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29492 not declare function.
29493 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29494 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29495 (scalb): Likewise.
29496 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29497 not define macro.
29498 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29499 variable.
29500 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29501 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29502 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29503
29504 [BZ #18857]
29505 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29506 return non-finite argument without doing ordered comparisons on
29507 it.
29508
29509 [BZ #16296]
29510 * math/fenv.h (fegetround): Use __attribute_pure__.
29511 * include/fenv.h (__fegetround): Likewise.
29512
29513 [BZ #18595]
29514 * math/s_ctan.c (__ctan): Force underflow exception for results
29515 whose real or imaginary part has small absolute value.
29516 * math/s_ctanf.c (__ctanf): Likewise.
29517 * math/s_ctanh.c (__ctanh): Likewise.
29518 * math/s_ctanhf.c (__ctanhf): Likewise.
29519 * math/s_ctanhl.c (__ctanhl): Likewise.
29520 * math/s_ctanl.c (__ctanl): Likewise.
29521 * math/auto-libm-test-in: Do not allow missing underflow for ctan
29522 and ctanh. Add more tests of ctan and ctanh.
29523
29524 [BZ #15918]
29525 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29526 handling of cases where one argument is an infinity.
29527
29528 [BZ #18875]
29529 [BZ #18966]
29530 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29531 (MO): New macro.
29532 (__ieee754_exp10): For small results, force underflow exception
29533 and remove excess range and precision from return value.
29534 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29535 (MO): New macro.
29536 (__ieee754_exp10f): For small results, force underflow exception
29537 and remove excess range and precision from return value.
29538 * math/auto-libm-test-in: Add more tests of exp10.
29539 * math/auto-libm-test-out: Regenerated.
29540
29541 2015-09-14 Joseph Myers <joseph@codesourcery.com>
29542
29543 [BZ #18875]
29544 [BZ #18961]
29545 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29546 (MO): New macro.
29547 (__ieee754_exp): For small results, force underflow exception and
29548 remove excess range and precision from return value.
29549 (__exp_finite): Likewise.
29550 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29551 (MO): New macro.
29552 (__ieee754_expf): For small results, force underflow exception and
29553 remove excess range and precision from return value.
29554 (__expf_finite): Likewise.
29555 * math/auto-libm-test-in: Add more tests of exp.
29556 * math/auto-libm-test-out: Regenerated.
29557
29558 [BZ #16521]
29559 [BZ #18875]
29560 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29561 small results.
29562 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29563 (MO): New macro.
29564 (__ieee754_exp2): For small results, force underflow exception and
29565 remove excess range and precision from return value.
29566 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29567 (MO): New macro.
29568 (__ieee754_exp2f): For small results, force underflow exception
29569 and remove excess range and precision from return value.
29570 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29571 (MO): New macro.
29572 (__ieee754_exp2l): Force underflow exception for small results.
29573 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29574 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29575 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29576 (MO): New macro.
29577 (__ieee754_exp2l): Force underflow exception for small results.
29578 * math/auto-libm-test-in: Add more tests or exp2.
29579 * math/auto-libm-test-out: Regenerated.
29580
29581 2015-09-14 Carlos O'Donell <carlos@redhat.com>
29582
29583 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29584
29585 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29586 /dev/null.
29587
29588 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
29589
29590 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29591 io fs process)): Drop spurious backslash.
29592
29593 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
29594
29595 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29596 Use sysinfo system call instead of parsing /proc/meminfo.
29597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29598 Likewise.
29599
29600 2015-09-11 Mike Frysinger <vapier@gentoo.org>
29601
29602 [BZ #16985]
29603 * programs/localedef.c (main): Display argv[remaining] when
29604 output_path is NULL.
29605
29606 2015-09-11 Joseph Myers <joseph@codesourcery.com>
29607
29608 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29609 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29610 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29611 tanh.
29612 * math/auto-libm-test-out: Regenerated.
29613 * sysdeps/i386/fpu/libm-test-ulps: Update.
29614 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29615 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29617
29618 2015-09-11 Roland McGrath <roland@hack.frob.com>
29619
29620 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29621 Use 'override' keyword to freeze the value here, preventing
29622 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29623
29624 2015-09-11 Joseph Myers <joseph@codesourcery.com>
29625
29626 [BZ #14912]
29627 * sysdeps/aarch64/bits/atomic.h: Move to ...
29628 * sysdeps/aarch64/atomic-machine.h: ...here.
29629 (_AARCH64_BITS_ATOMIC_H): Rename macro to
29630 _AARCH64_ATOMIC_MACHINE_H.
29631 * sysdeps/alpha/bits/atomic.h: Move to ...
29632 * sysdeps/alpha/atomic-machine.h: ...here.
29633 * sysdeps/arm/bits/atomic.h: Move to ...
29634 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
29635 * bits/atomic.h: Move to ...
29636 * sysdeps/generic/atomic-machine.h: ...here.
29637 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29638 * sysdeps/i386/bits/atomic.h: Move to ...
29639 * sysdeps/i386/atomic-machine.h: ...here.
29640 * sysdeps/ia64/bits/atomic.h: Move to ...
29641 * sysdeps/ia64/atomic-machine.h: ...here.
29642 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29643 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29644 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29645 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29646 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29647 * sysdeps/microblaze/bits/atomic.h: Move to ...
29648 * sysdeps/microblaze/atomic-machine.h: ...here.
29649 * sysdeps/mips/bits/atomic.h: Move to ...
29650 * sysdeps/mips/atomic-machine.h: ...here.
29651 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29652 * sysdeps/powerpc/bits/atomic.h: Move to ...
29653 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
29654 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29655 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
29656 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
29657 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29658 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
29659 <atomic-machine.h> instead of <bits/atomic.h>.
29660 * sysdeps/s390/bits/atomic.h: Move to ...
29661 * sysdeps/s390/atomic-machine.h: ...here.
29662 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29663 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29664 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29665 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29666 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29667 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29668 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29669 * sysdeps/tile/bits/atomic.h: Move to ...
29670 * sysdeps/tile/atomic-machine.h: ...here.
29671 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29672 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
29673 <sysdeps/tile/atomic-machine.h> instead of
29674 <sysdeps/tile/bits/atomic.h>.
29675 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29676 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29677 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
29678 <sysdeps/tile/atomic-machine.h> instead of
29679 <sysdeps/tile/bits/atomic.h>.
29680 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29681 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29682 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
29683 <sysdeps/arm/atomic-machine.h> instead of
29684 <sysdeps/arm/bits/atomic.h>.
29685 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29686 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29687 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29688 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29689 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29690 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29691 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29692 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29693 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29694 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29695 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29696 * sysdeps/x86_64/bits/atomic.h: Move to ...
29697 * sysdeps/x86_64/atomic-machine.h: ...here.
29698 * include/atomic.h: Include <atomic-machine.h> instead of
29699 <bits/atomic.h>.
29700
29701 * sysdeps/mips/mips32/libm-test-ulps: Update.
29702 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29703
29704 [BZ #18952]
29705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29706 not convert non-integer negative arguments to int to determine the
29707 value of signgam.
29708 * math/auto-libm-test-in: Add more tests of lgamma.
29709 * math/auto-libm-test-out: Regenerated.
29710
29711 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29712 cosh, csqrt, erfc, expm1 and lgamma.
29713 * math/auto-libm-test-out: Regenerated.
29714 * sysdeps/i386/fpu/libm-test-ulps: Update.
29715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29716
29717 2015-09-10 Joseph Myers <joseph@codesourcery.com>
29718
29719 [BZ #2542]
29720 [BZ #2543]
29721 [BZ #2558]
29722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
29723 __lgamma_neg for arguments from -28.0 to -2.0.
29724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
29725 __lgamma_negf for arguments from -15.0 to -2.0.
29726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29727 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
29728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
29729 Call __lgamma_negl for arguments from -33.0 to -2.0.
29730 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
29731 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
29732 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
29733 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
29734 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
29735 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
29736 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
29737 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
29738 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
29739 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
29740 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
29741 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
29742 (__lgamma_neg): Likewise.
29743 (__lgamma_negl): Likewise.
29744 (__lgamma_product): Likewise.
29745 (__lgamma_productl): Likewise.
29746 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
29747 * math/auto-libm-test-in: Add more tests of lgamma.
29748 * math/auto-libm-test-out: Regenerated.
29749 * sysdeps/i386/fpu/libm-test-ulps: Update.
29750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29751
29752 2015-09-09 Justin Maggard <jmaggard@netgear.com>
29753
29754 [BZ #18675]
29755 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
29756
29757 2015-09-08 Joseph Myers <joseph@codesourcery.com>
29758
29759 [BZ #14912]
29760 * bits/libc-lock.h: Move to ...
29761 * sysdeps/generic/libc-lock.h: ...here.
29762 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29763 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
29764 * sysdeps/mach/hurd/libc-lock.h: ...here.
29765 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29766 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
29767 * sysdeps/mach/bits/libc-lock.h: Move to ...
29768 * sysdeps/mach/libc-lock.h: ...here.
29769 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29770 * sysdeps/nptl/bits/libc-lock.h: Move to ...
29771 * sysdeps/nptl/libc-lock.h: ...here.
29772 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29773 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
29774 * sysdeps/nptl/libc-lockP.h: ...here.
29775 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
29776 * crypt/crypt_util.c: Include <libc-lock.h> instead of
29777 <bits/libc-lock.h>.
29778 * dirent/scandir-tail.c: Likewise.
29779 * dlfcn/dlerror.c: Likewise.
29780 * elf/dl-close.c: Likewise.
29781 * elf/dl-iteratephdr.c: Likewise.
29782 * elf/dl-lookup.c: Likewise.
29783 * elf/dl-open.c: Likewise.
29784 * elf/dl-support.c: Likewise.
29785 * elf/dl-writev.h: Likewise.
29786 * elf/rtld.c: Likewise.
29787 * grp/fgetgrent.c: Likewise.
29788 * gshadow/fgetsgent.c: Likewise.
29789 * gshadow/sgetsgent.c: Likewise.
29790 * iconv/gconv_conf.c: Likewise.
29791 * iconv/gconv_db.c: Likewise.
29792 * iconv/gconv_dl.c: Likewise.
29793 * iconv/gconv_int.h: Likewise.
29794 * iconv/gconv_trans.c: Likewise.
29795 * include/link.h: Likewise.
29796 * inet/getnameinfo.c: Likewise.
29797 * inet/getnetgrent.c: Likewise.
29798 * inet/getnetgrent_r.c: Likewise.
29799 * intl/bindtextdom.c: Likewise.
29800 * intl/dcigettext.c: Likewise.
29801 * intl/finddomain.c: Likewise.
29802 * intl/gettextP.h: Likewise.
29803 * intl/loadmsgcat.c: Likewise.
29804 * intl/localealias.c: Likewise.
29805 * intl/textdomain.c: Likewise.
29806 * libidn/idn-stub.c: Likewise.
29807 * libio/libioP.h: Likewise.
29808 * locale/duplocale.c: Likewise.
29809 * locale/freelocale.c: Likewise.
29810 * locale/newlocale.c: Likewise.
29811 * locale/setlocale.c: Likewise.
29812 * login/getutent_r.c: Likewise.
29813 * login/getutid_r.c: Likewise.
29814 * login/getutline_r.c: Likewise.
29815 * login/utmp-private.h: Likewise.
29816 * login/utmpname.c: Likewise.
29817 * malloc/mtrace.c: Likewise.
29818 * misc/efgcvt.c: Likewise.
29819 * misc/error.c: Likewise.
29820 * misc/fstab.c: Likewise.
29821 * misc/getpass.c: Likewise.
29822 * misc/mntent.c: Likewise.
29823 * misc/syslog.c: Likewise.
29824 * nis/nis_call.c: Likewise.
29825 * nis/nis_callback.c: Likewise.
29826 * nis/nss-default.c: Likewise.
29827 * nis/nss_compat/compat-grp.c: Likewise.
29828 * nis/nss_compat/compat-initgroups.c: Likewise.
29829 * nis/nss_compat/compat-pwd.c: Likewise.
29830 * nis/nss_compat/compat-spwd.c: Likewise.
29831 * nis/nss_nis/nis-alias.c: Likewise.
29832 * nis/nss_nis/nis-ethers.c: Likewise.
29833 * nis/nss_nis/nis-grp.c: Likewise.
29834 * nis/nss_nis/nis-hosts.c: Likewise.
29835 * nis/nss_nis/nis-network.c: Likewise.
29836 * nis/nss_nis/nis-proto.c: Likewise.
29837 * nis/nss_nis/nis-pwd.c: Likewise.
29838 * nis/nss_nis/nis-rpc.c: Likewise.
29839 * nis/nss_nis/nis-service.c: Likewise.
29840 * nis/nss_nis/nis-spwd.c: Likewise.
29841 * nis/nss_nisplus/nisplus-alias.c: Likewise.
29842 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
29843 * nis/nss_nisplus/nisplus-grp.c: Likewise.
29844 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
29845 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
29846 * nis/nss_nisplus/nisplus-network.c: Likewise.
29847 * nis/nss_nisplus/nisplus-proto.c: Likewise.
29848 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
29849 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
29850 * nis/nss_nisplus/nisplus-service.c: Likewise.
29851 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
29852 * nis/ypclnt.c: Likewise.
29853 * nptl/libc_pthread_init.c: Likewise.
29854 * nss/getXXbyYY.c: Likewise.
29855 * nss/getXXent.c: Likewise.
29856 * nss/getXXent_r.c: Likewise.
29857 * nss/nss_db/db-XXX.c: Likewise.
29858 * nss/nss_db/db-netgrp.c: Likewise.
29859 * nss/nss_db/nss_db.h: Likewise.
29860 * nss/nss_files/files-XXX.c: Likewise.
29861 * nss/nss_files/files-alias.c: Likewise.
29862 * nss/nsswitch.c: Likewise.
29863 * posix/regex_internal.h: Likewise.
29864 * posix/wordexp.c: Likewise.
29865 * pwd/fgetpwent.c: Likewise.
29866 * resolv/res_hconf.c: Likewise.
29867 * resolv/res_libc.c: Likewise.
29868 * shadow/fgetspent.c: Likewise.
29869 * shadow/lckpwdf.c: Likewise.
29870 * shadow/sgetspent.c: Likewise.
29871 * socket/opensock.c: Likewise.
29872 * stdio-common/reg-modifier.c: Likewise.
29873 * stdio-common/reg-printf.c: Likewise.
29874 * stdio-common/reg-type.c: Likewise.
29875 * stdio-common/vfprintf.c: Likewise.
29876 * stdio-common/vfscanf.c: Likewise.
29877 * stdlib/abort.c: Likewise.
29878 * stdlib/cxa_atexit.c: Likewise.
29879 * stdlib/fmtmsg.c: Likewise.
29880 * stdlib/random.c: Likewise.
29881 * stdlib/setenv.c: Likewise.
29882 * string/strsignal.c: Likewise.
29883 * sunrpc/auth_none.c: Likewise.
29884 * sunrpc/bindrsvprt.c: Likewise.
29885 * sunrpc/create_xid.c: Likewise.
29886 * sunrpc/key_call.c: Likewise.
29887 * sunrpc/rpc_thread.c: Likewise.
29888 * sysdeps/arm/backtrace.c: Likewise.
29889 * sysdeps/generic/ldsodefs.h: Likewise.
29890 * sysdeps/generic/stdio-lock.h: Likewise.
29891 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
29892 * sysdeps/i386/backtrace.c: Likewise.
29893 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29894 * sysdeps/m68k/backtrace.c: Likewise.
29895 * sysdeps/mach/hurd/cthreads.c: Likewise.
29896 * sysdeps/mach/hurd/dirstream.h: Likewise.
29897 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29898 * sysdeps/nptl/malloc-machine.h: Likewise.
29899 * sysdeps/nptl/stdio-lock.h: Likewise.
29900 * sysdeps/posix/dirstream.h: Likewise.
29901 * sysdeps/posix/getaddrinfo.c: Likewise.
29902 * sysdeps/posix/system.c: Likewise.
29903 * sysdeps/pthread/aio_suspend.c: Likewise.
29904 * sysdeps/s390/s390-32/backtrace.c: Likewise.
29905 * sysdeps/s390/s390-64/backtrace.c: Likewise.
29906 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29907 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29908 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
29909 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
29910 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
29911 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29912 * sysdeps/unix/sysv/linux/system.c: Likewise.
29913 * sysdeps/x86_64/backtrace.c: Likewise.
29914 * time/alt_digit.c: Likewise.
29915 * time/era.c: Likewise.
29916 * time/tzset.c: Likewise.
29917 * wcsmbs/wcsmbsload.c: Likewise.
29918 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
29919 instead of <bits/libc-lock.h> in comment.
29920
29921 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
29922
29923 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
29924 Only use .set mips2 if the current ISA is below mips2.
29925 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
29926 Likewise.
29927 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
29928 mips32r2 if the current ISA is below mips32r2.
29929 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
29930 (TLS_IE): Updated to use the TLD_RDHWR macro.
29931 (TLS_LE): Likewise.
29932 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
29933 __ASSEMBLER__ condition.
29934
29935 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29936
29937 Fix parallel build of before-compile targets.
29938
29939 * sysdeps/mach/Makefile ($(patsubst
29940 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
29941 mach-before-compile target.
29942 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29943 io fs process)): Move rule to dedicated hurd-before-compile target.
29944
29945 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29946
29947 Fix rules generating headers in hurd/ and mach/ when initial make call
29948 has subdir= explicitly set.
29949
29950 * sysdeps/mach/Makefile ($(patsubst
29951 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
29952 calling $(MAKE).
29953 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29954 io fs process)): Force subdir to hurd when calling $(MAKE).
29955 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
29956 subdir to mach when calling $(MAKE).
29957
29958 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
29959
29960 Check sysheaders when looking for Mach and Hurd headers
29961
29962 * sysdeps/mach/configure.ac: Add sysheaders check.
29963 * sysdeps/mach/configure: Regenerate.
29964 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
29965 * sysdeps/mach/hurd/configure: Regenerate.
29966
29967 2015-09-04 Roland McGrath <roland@hack.frob.com>
29968
29969 [BZ #18921]
29970 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
29971 Fix inverted sense of test of 'o_directory_works' value.
29972 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
29973 Bernhard Voelker <mail@bernhard-voelker.de>.
29974
29975 2015-09-04 Joseph Myers <joseph@codesourcery.com>
29976
29977 [BZ #14912]
29978 * bits/linkmap.h: Move to ...
29979 * sysdeps/generic/linkmap.h: ...here.
29980 * sysdeps/aarch64/bits/linkmap.h: Move to ...
29981 * sysdeps/aarch64/linkmap.h: ...here.
29982 * sysdeps/arm/bits/linkmap.h: Move to ...
29983 * sysdeps/arm/linkmap.h: ...here.
29984 * sysdeps/hppa/bits/linkmap.h: Move to ...
29985 * sysdeps/hppa/linkmap.h: ...here.
29986 * sysdeps/ia64/bits/linkmap.h: Move to ...
29987 * sysdeps/ia64/linkmap.h: ...here.
29988 * sysdeps/mips/bits/linkmap.h: Move to ...
29989 * sysdeps/mips/linkmap.h: ...here.
29990 * sysdeps/s390/bits/linkmap.h: Move to ...
29991 * sysdeps/s390/linkmap.h: ...here.
29992 * sysdeps/sh/bits/linkmap.h: Move to ...
29993 * sysdeps/sh/linkmap.h: ...here.
29994 * sysdeps/x86/bits/linkmap.h: Move to ...
29995 * sysdeps/x86/linkmap.h: ...here.
29996 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
29997
29998 2015-09-04 Andreas Schwab <schwab@suse.de>
29999
30000 [BZ #18635]
30001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30002 (__makecontext): Terminate FDE before return label.
30003 (__novec_makecontext): Likewise.
30004
30005 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30006
30007 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30008 first member of struct sv in syscall macro.
30009
30010 2015-09-04 Joseph Myers <joseph@codesourcery.com>
30011
30012 [BZ #14912]
30013 * bits/stdio-lock.h: Move to ...
30014 * sysdeps/generic/stdio-lock.h: ...here.
30015 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30016 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30017 * sysdeps/nptl/stdio-lock.h: ...here.
30018 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30019 * include/libio.h: Include <stdio-lock.h> instead of
30020 <bits/stdio-lock.h>.
30021 * sysdeps/nptl/fork.c: Likewise.
30022 * sysdeps/pthread/flockfile.c: Likewise.
30023 * sysdeps/pthread/ftrylockfile.c: Likewise.
30024 * sysdeps/pthread/funlockfile.c: Likewise.
30025
30026 [BZ #14912]
30027 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30028 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30029 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30030 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30031 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30032 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30033 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30034
30035 2015-09-03 Roland McGrath <roland@hack.frob.com>
30036
30037 * elf/Makefile (test-xfail-tst-protected1a): New variable.
30038 (test-xfail-tst-protected1b): New variable.
30039
30040 2015-09-03 Joseph Myers <joseph@codesourcery.com>
30041
30042 [BZ #14912]
30043 * bits/libc-tsd.h: Move to ...
30044 * sysdeps/generic/libc-tsd.h: ...here.
30045 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30046 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30047 * sysdeps/mach/hurd/libc-tsd.h: ...here.
30048 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30049 * include/ctype.h: Include <libc-tsd.h> instead of
30050 <bits/libc-tsd.h>.
30051 * include/rpc/rpc.h: Likewise.
30052 * locale/localeinfo.h: Likewise.
30053 * sunrpc/rpc_thread.c: Likewise.
30054 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30055 * sysdeps/nptl/malloc-machine.h: Likewise.
30056
30057 * Makefile (headers): Remove bits/libc-lock.h.
30058 * libio/Makefile (headers): Remove bits/stdio-lock.h.
30059
30060 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30061 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30062 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30063 <bits/stdio-lock.h>.
30064 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30065 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30066
30067 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30068
30069 [BZ #18757]
30070 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30071 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30072 BZ #18757.
30073
30074 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30075
30076 * malloc/mtrace.pl: Filter out NULL entries.
30077
30078 2015-09-01 Joseph Myers <joseph@codesourcery.com>
30079
30080 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30081 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30082 macro.
30083
30084 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30085 (TCP_CC_INFO): Likewise.
30086 (TCP_SAVE_SYN): Likewise.
30087 (TCP_SAVED_SYN): Likewise.
30088
30089 2015-08-31 Brett Neumeier <brett@neumeier.us>
30090
30091 [BZ #18870]
30092 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30093
30094 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
30095
30096 [BZ #18873]
30097 Fix broken overflow check in posix_fallocate
30098 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30099 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30100 Fix parenthesization typo.
30101
30102 2015-08-28 Mike Frysinger <vapier@gentoo.org>
30103
30104 [BZ #18887]
30105 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30106 tst-mntent-blank-passno.
30107 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30108 * misc/tst-mntent-blank-corrupt.c: New test.
30109 * misc/tst-mntent-blank-passno.c: New test ripped from ...
30110 * misc/tst-mntent.c (do_test): ... here.
30111
30112 2015-08-29 Mike Frysinger <vapier@gentoo.org>
30113
30114 [BZ #4404]
30115 * po/de.po: Fix SIGALRM typo.
30116
30117 2015-08-28 James Perkins <james@loowit.net>
30118
30119 * time/tst-strptime2.c (tests): Replace short list of test
30120 strings for strptime %z specifier with code which exhaustively
30121 tests every combination of sign and 0 to 5 digits. Tests for
30122 rejection of invalid strings.
30123
30124 2015-08-28 James Perkins <james@loowit.net>
30125
30126 [BZ #16141]
30127 * time/strptime_l.c (__strptime_internal): Fix %z minutes
30128 calculation, removing incorrect decimal time rounding, so that
30129 all minute values result in a valid seconds value.
30130 * time/strptime_l.c (__strptime_internal): Extend %z time zone
30131 offset range limits to UTC-99:59 through UTC+99:59 to parse
30132 current and historical use cases.
30133 * time/tst-strptime2.c (tests): Modify and add tests for the
30134 strptime %z input field descriptor, specifically conversion of
30135 minutes to seconds and validating an offset range of -9959 to
30136 +9959.
30137
30138 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30139 Dmitry V. Levin <ldv@altlinux.org>
30140
30141 [BZ #18877]
30142 * posix/Makefile (tests): Add tst-mmap-offset.
30143 * posix/tst-mmap.c: New file.
30144 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30145 offset calculation for negative values.
30146
30147 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30148
30149 * sysdeps/i386/init-arch.h: New file.
30150 * sysdeps/i386/i586/init-arch.h: Likewise.
30151 * sysdeps/i386/i686/init-arch.h: Likewise.
30152 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30153 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
30154 * sysdeps/x86/cpu-features.h (bit_I586): New.
30155 (bit_I686): Likewise.
30156 (bit_CX8): Likewise.
30157 (bit_CMOV): Likewise.
30158 (index_CX8): Likewise.
30159 (index_CMOV): Likewise.
30160 (index_I586): Likewise.
30161 (index_I686): Likewise.
30162 (reg_CX8): Likewise.
30163 (reg_CMOV): Likewise.
30164 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30165 available at compile-time.
30166 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30167 available at compile-time.
30168 * sysdeps/x86/init-arch.h (USE_I586): New macro.
30169 (USE_I686): Likewise.
30170
30171 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30172
30173 * sysdeps/i386/bcopy.S: New file.
30174 * sysdeps/i386/bzero.S: Likewise.
30175 * sysdeps/i386/memcpy.S: Likewise.
30176 * sysdeps/i386/memmove.S: Likewise.
30177 * sysdeps/i386/mempcpy.S: Likewise.
30178 * sysdeps/i386/memset.S: Likewise.
30179 * sysdeps/i386/bzero.c: Removed.
30180 * sysdeps/i386/memset.c: Likewise.
30181 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30182 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30183 * sysdeps/i386/i586/memset_chk.S: Likewise.
30184 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30185 * sysdeps/i386/memcpy_chk.S: Here.
30186 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30187 * sysdeps/i386/memmove_chk.S: Here.
30188 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30189 * sysdeps/i386/mempcpy_chk.S: Likewise.
30190 * sysdeps/i386/i686/memset_chk.S: Moved to ...
30191 * sysdeps/i386/memset_chk.S: Likewise.
30192
30193 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
30194
30195 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30196 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30197 file, move DIAG_POP_NEEDS_COMMENT to end of file.
30198 * soft-fp/fmadf4.c: Ditto.
30199 * soft-fp/fmatf4.c: Ditto.
30200
30201 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30202
30203 * sysdeps/i386/i586/Implies: Removed.
30204 * sysdeps/i386/i686/Implies: Likewise.
30205
30206 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30207
30208 * sysdeps/i386/i486/strlen.S: Moved to ...
30209 * sysdeps/i386/strlen.S: Here.
30210
30211 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30212
30213 * sysdeps/i386/i486/strcat.S: Moved to ...
30214 * sysdeps/i386/strcat.S: Here.
30215
30216 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30217
30218 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30219 * sysdeps/i386/pthread_spin_trylock.S: Here.
30220 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30221 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30222
30223 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30224
30225 * sysdeps/i386/i486/string-inlines.c: Moved to ...
30226 * sysdeps/i386/string-inlines.c: Here.
30227
30228 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30229
30230 * sysdeps/i386/i486/htonl.S: Moved ...
30231 * sysdeps/i386/htonl.S: here.
30232
30233 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30234
30235 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30236 * sysdeps/i386/bits/atomic.h: Here.
30237
30238 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
30239
30240 * sysdeps/i386/i486/Versions: Removed.
30241
30242 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
30243
30244 [BZ #2898]
30245 * misc/mktemp.c: Add mkdtemp to the link_warning message.
30246 Based on patch by Aurelien Jarno.
30247
30248 2015-08-26 Stan Shebs <stanshebs@google.com>
30249
30250 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30251 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30252
30253 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30254
30255 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30256 * sysdeps/powerpc/dl-procinfo.c:
30257 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30258 feature so it shows when LD_SHOW_AUXV=1.
30259
30260 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
30261
30262 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30263 (__arch_compare_and_exchange_val_32_acq): Remove and use common
30264 definition. ISA 2.07B no longer requires full sync.
30265
30266 2015-08-26 Mike Frysinger <vapier@gentoo.org>
30267
30268 [BZ #18863]
30269 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30270 (si_call_addr): Define.
30271 (si_syscall): Define.
30272 (si_arch): Define.
30273
30274 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
30275
30276 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30277 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30278 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30279 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30280 (__memset_zero_constant_len_parameter): New.
30281 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30282 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30283 (__memset_zero_constant_len_parameter): Don't define if
30284 __memset_chk or USE_AS_BZERO are defined.
30285
30286 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30287 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30288 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30289
30290 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30291 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30292 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30293 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
30294 comments.
30295 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30296 -mno-mmx for $(all-rtld-routines).
30297 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30298 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
30299 i386.
30300
30301 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
30302
30303 * sysdeps/generic/unwind.h
30304 (_Unwind_Word): Use __mode__(__unwind_word__)
30305 instead of __mode__(__word__).
30306 (_Unwind_Sword): Likewise.
30307
30308 * sysdeps/s390/s390-64/utf8-utf16-z9.c
30309 (MAX_NEEDED_INPUT): New define.
30310 (MAX_NEEDED_OUTPUT): New define.
30311
30312 * NEWS: New item for IBM z13 string optimizations.
30313
30314 * sysdeps/s390/multiarch/memrchr-c.c: New File.
30315 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30316 * sysdeps/s390/multiarch/memrchr.c: Likewise.
30317 * sysdeps/s390/multiarch/Makefile
30318 (sysdep_routines): Add memrchr functions.
30319 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30320 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30321
30322 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30323 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30324 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30325 * sysdeps/s390/multiarch/Makefile
30326 (sysdep_routines): Add wmemcmp functions.
30327 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30328 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30329 * benchtests/bench-wmemcmp.c: New File.
30330 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30331
30332 * sysdeps/s390/multiarch/wmemset-c.c: New File.
30333 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30334 * sysdeps/s390/multiarch/wmemset.c: Likewise.
30335 * sysdeps/s390/multiarch/Makefile
30336 (sysdep_routines): Add wmemset functions.
30337 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30338 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30339 * wcsmbs/wmemset.c: Use WMEMSET if defined.
30340 * string/test-memset.c: Add wmemset support.
30341 * wcsmbs/test-wmemset.c: New File.
30342 * wcsmbs/Makefile (strop-tests): Add wmemset.
30343 * benchtests/bench-memset.c: Add wmemset support.
30344 * benchtests/bench-wmemset.c: New File.
30345 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30346
30347 * sysdeps/s390/multiarch/memccpy-c.c: New File.
30348 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30349 * sysdeps/s390/multiarch/memccpy.c: Likewise.
30350 * sysdeps/s390/multiarch/Makefile
30351 (sysdep_routines): Add memccpy functions.
30352 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30353 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30354 * string/memccpy.c: Use MEMCCPY if defined.
30355
30356 * sysdeps/s390/multiarch/memchr-vx.S: New File.
30357 * sysdeps/s390/multiarch/memchr.c: Likewise.
30358 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30359 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30360 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30361 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30362 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30363 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30364 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30365 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30366 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30367 and rawmemchr functions.
30368 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30369 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30370 and wmemchr.
30371 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30372 * string/test-memchr.c: Add wmemchr support.
30373 * wcsmbs/test-wmemchr.c: New File.
30374 * wcsmbs/Makefile (strop-tests): Add wmemchr.
30375 * benchtests/bench-memchr.c: Add wmemchr support.
30376 * benchtests/bench-wmemchr.c: New File.
30377 * benchtests/Makefile (wcsmbs-bench): wmemchr.
30378
30379 * sysdeps/s390/multiarch/strcspn-c.c: New File.
30380 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30381 * sysdeps/s390/multiarch/strcspn.c: Likewise.
30382 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30383 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30384 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30385 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30386 wcscspn functions.
30387 * sysdeps/s390/multiarch/ifunc-impl-list.c
30388 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30389 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30390 * string/test-strcspn.c: Add wcscspn support.
30391 * wcsmbs/test-wcscspn.c: New File.
30392 * wcsmbs/Makefile (strop-tests): Add wcscspn.
30393 * benchtests/bench-strcspn.c: Add wcscspn support.
30394 * benchtests/bench-wcscspn.c: New File.
30395 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30396
30397 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30398 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30399 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30400 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30401 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30402 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30403 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30404 wcspbrk functions.
30405 * sysdeps/s390/multiarch/ifunc-impl-list.c
30406 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30407 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30408 * string/test-strpbrk.c: Add wcspbrk support.
30409 * wcsmbs/test-wcspbrk.c: New File.
30410 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30411 * benchtests/bench-strpbrk.c: Add wcspbrk support.
30412 * benchtests/bench-wcspbrk.c: New File.
30413 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30414
30415 * sysdeps/s390/multiarch/strspn-c.c: New File.
30416 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30417 * sysdeps/s390/multiarch/strspn.c: Likewise.
30418 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30419 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30420 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30421 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30422 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30423 wcsspn functions.
30424 * sysdeps/s390/multiarch/ifunc-impl-list.c
30425 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30426 * string/test-strspn.c: Add wcsspn support.
30427 * wcsmbs/test-wcsspn.c: New File.
30428 * wcsmbs/Makefile (strop-tests): Add wcsspn.
30429 * benchtests/bench-strspn.c: Add wcsspn support.
30430 * benchtests/bench-wcsspn.c: New File.
30431 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30432
30433 * sysdeps/s390/multiarch/strrchr-c.c: New File.
30434 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30435 * sysdeps/s390/multiarch/strrchr.c: Likewise.
30436 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30437 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30438 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30439 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30440 wcsrchr functions.
30441 * sysdeps/s390/multiarch/ifunc-impl-list.c
30442 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30443 * benchtests/bench-wcsrchr.c: New File.
30444 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30445
30446 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30447 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30448 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30449 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30450 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30451 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30452 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30453 wcschrnul functions.
30454 * sysdeps/s390/multiarch/ifunc-impl-list.c
30455 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30456 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30457 * string/test-strchr.c: Add wcschrnul support.
30458 * wcsmbs/test-wcschrnul.c: New File.
30459 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30460 * benchtests/bench-strchr.c: Add wcschrnul support.
30461 * benchtests/bench-wcschrnul.c: New File.
30462 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30463
30464 * sysdeps/s390/multiarch/strchr-c.c: New File.
30465 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30466 * sysdeps/s390/multiarch/strchr.c: Likewise.
30467 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30468 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30469 * sysdeps/s390/multiarch/wcschr.c: Likewise.
30470 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30471 wcschr functions.
30472 * sysdeps/s390/multiarch/ifunc-impl-list.c
30473 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30474 * string/strchr.c (STRCHR): Define and use macro.
30475 * benchtests/bench-wcschr.c: New File.
30476 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30477
30478 * sysdeps/s390/multiarch/strncmp-c.c: New File.
30479 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30480 * sysdeps/s390/multiarch/strncmp.c: Likewise.
30481 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30482 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30483 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30484 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30485 wcsncmp functions.
30486 * sysdeps/s390/multiarch/ifunc-impl-list.c
30487 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30488 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30489 * benchtests/bench-strncmp.c: Add wcsncmp support.
30490 * benchtests/bench-wcsncmp.c: New File.
30491 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30492
30493 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30494 * sysdeps/s390/multiarch/strcmp.c: Likewise.
30495 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30496 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30497 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30498 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30499 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30500 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30501 wcscmp functions.
30502 * sysdeps/s390/multiarch/ifunc-impl-list.c
30503 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30504 * string/strcmp.c (STRCMP): Define and use macro.
30505 * benchtests/bench-wcscmp.c: New File.
30506 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30507 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30508 instead of _HAVE_STRING_ARCH_memchr.
30509
30510 * sysdeps/s390/multiarch/strncat-c.c: New File.
30511 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30512 * sysdeps/s390/multiarch/strncat.c: Likewise.
30513 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30514 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30515 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30516 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30517 wcsncat functions.
30518 * sysdeps/s390/multiarch/ifunc-impl-list.c
30519 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30520 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30521 * string/test-strncat.c: Add wcsncat support.
30522 * wcsmbs/test-wcsncat.c: New File.
30523 * wcsmbs/Makefile (strop-tests): Add wcsncat.
30524 * benchtests/bench-strncat.c: Add wcsncat support.
30525 * benchtests/bench-wcsncat.c: New File.
30526 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30527
30528 * sysdeps/s390/multiarch/strcat-c.c: New File.
30529 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30530 * sysdeps/s390/multiarch/strcat.c: Likewise.
30531 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30532 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30533 * sysdeps/s390/multiarch/wcscat.c: Likewise.
30534 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30535 wcscat functions.
30536 * sysdeps/s390/multiarch/ifunc-impl-list.c
30537 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30538 * string/strcat.c (STRCAT): Define and use macro.
30539 * wcsmbs/wcscat.c: Use WCSCAT if defined.
30540 * string/test-strcat.c: Add wcscat support.
30541 * wcsmbs/test-wcscat.c: New File.
30542 * wcsmbs/Makefile (strop-tests): Add wcscat.
30543 * benchtests/bench-strcat.c: Add wcscat support.
30544 * benchtests/bench-wcscat.c: New File.
30545 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30546
30547 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30548 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30549 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30550 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30551 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30552 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30553 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30554 wcpncpy functions.
30555 * sysdeps/s390/multiarch/ifunc-impl-list.c
30556 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30557 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30558 * string/test-stpncpy.c: Add wcpncpy support.
30559 * wcsmbs/test-wcpncpy.c: New File.
30560 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30561 * benchtests/bench-stpncpy.c: Add wcpncpy support.
30562 * benchtests/bench-wcpncpy.c: New File.
30563 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30564
30565 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30566 * sysdeps/s390/multiarch/strncpy.c: Likewise.
30567 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30568 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30569 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30570 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30571 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30572 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30573 wcsncpy functions.
30574 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30575 * sysdeps/s390/multiarch/ifunc-impl-list.c
30576 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30577 * string/test-strncpy.c: Add wcsncpy support.
30578 * wcsmbs/test-wcsncpy.c: New File.
30579 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30580 * benchtests/bench-strncpy.c: Add wcsncpy support.
30581 * benchtests/bench-wcsncpy.c: New File.
30582 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30583
30584 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30585 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30586 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30587 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30588 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30589 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30590 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30591 wcpcpy functions.
30592 * string/stpcpy.c: Use STPCPY if defined.
30593 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30594 * sysdeps/s390/multiarch/ifunc-impl-list.c
30595 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30596 * string/test-stpcpy.c: Add wcpcpy support.
30597 * wcsmbs/test-wcpcpy.c: New File.
30598 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30599 * benchtests/bench-stpcpy.c: Add wcpcpy support.
30600 * benchtests/bench-wcpcpy.c: New File.
30601 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30602
30603 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30604 * sysdeps/s390/multiarch/strcpy.c: Likewise.
30605 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30606 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30607 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30608 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30609 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30610 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30611 wcscpy functions.
30612 * sysdeps/s390/multiarch/ifunc-impl-list.c
30613 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30614 * benchtests/bench-wcscpy.c: New File.
30615 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30616
30617 * sysdeps/s390/multiarch/strnlen-c.c: New File.
30618 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30619 * sysdeps/s390/multiarch/strnlen.c: Likewise.
30620 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30621 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30622 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30623 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30624 wcsnlen functions.
30625 * sysdeps/s390/multiarch/ifunc-impl-list.c
30626 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30627 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30628 * string/test-strnlen.c: Add wcsnlen support.
30629 * wcsmbs/test-wcsnlen.c: New File.
30630 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30631 * benchtests/bench-strnlen.c: Add wcsnlen support.
30632 * benchtests/bench-wcsnlen.c: New File.
30633 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30634
30635 * sysdeps/s390/multiarch/Makefile: New File.
30636 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30637 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30638 * sysdeps/s390/multiarch/strlen.c: Likewise.
30639 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30640 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30641 * sysdeps/s390/multiarch/wcslen.c: Likewise.
30642 * string/strlen.c (STRLEN): Define and use macro.
30643 * sysdeps/s390/multiarch/ifunc-impl-list.c
30644 (IFUNC_VX_IMPL): New macro function.
30645 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30646 * benchtests/Makefile (wcsmbs-bench): New variable.
30647 (string-bench-all): Added wcsmbs-bench.
30648 * benchtests/bench-wcslen.c: New File.
30649
30650 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30651 s390_vx_libc_ifunc2): New macro function.
30652
30653 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30654 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30655 assembler support.
30656 * sysdeps/s390/configure: Regenerated.
30657
30658 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30659 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30660
30661 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30662 * sysdeps/s390/dl-procinfo.h: Add vector capability.
30663 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30664
30665 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30666 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30667 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30668 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30669 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30670 (memcmp, bcmp): Use __memcmp_default as alias source.
30671 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30672 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30673 Rename to __memcmp_default.
30674 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30675 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30676 (memcpy): Use __memcpy_default as alias source.
30677 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30678 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30679 Rename to __memcpy_default.
30680 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30681 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30682 (memset): Use __memset_default as alias source.
30683 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30684 * sysdeps/s390/s390-32/memset.S (__memset_g5):
30685 Rename to __memset_default.
30686 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30687 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30688 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30689 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30690 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30691 (memcmp, bcmp): Use __memcmp_default as alias source.
30692 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30693 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30694 Rename to __memcmp_default.
30695 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30696 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30697 (memcpy): Use __memcpy_default as alias source.
30698 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30699 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30700 Rename to __memcpy_default.
30701 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30702 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30703 (memset): Use __memset_default as alias source.
30704 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30705 * sysdeps/s390/s390-64/memset.S (__memset_z900):
30706 Rename to __memset_default.
30707 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30708 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30709
30710 [BZ #18610]
30711 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30712 __ieee_instruction_pointer to __unused.
30713 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30714 __ieee_instruction_pointer.
30715 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30716 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30717 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30718 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30719 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
30720 Mark dxc-field as reserved.
30721
30722 2015-08-25 Roland McGrath <roland@hack.frob.com>
30723
30724 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
30725 if the weak reference is not null.
30726
30727 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
30728
30729 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
30730
30731 [BZ #11214]
30732 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
30733
30734 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30735
30736 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
30737 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
30738 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
30739 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
30740 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
30741 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
30742 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
30743 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
30744 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
30745 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
30746 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
30747 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
30748 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
30749 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
30750 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
30751 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
30752 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
30753 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
30754
30755 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
30756
30757 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
30758 register other than r0 for tabort, it has special meaning.
30759 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
30760 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
30761 transaction before starting syscall.
30762
30763 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30764
30765 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
30766
30767 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
30768
30769 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
30770
30771 * sysdeps/x86_64/rtld-memcmp.c: Removed.
30772 * sysdeps/x86_64/rtld-memset.S: Likewise.
30773 * sysdeps/x86_64/rtld-strchr.S: Likewise.
30774 * sysdeps/x86_64/rtld-strlen.S: Likewise.
30775 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
30776 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30777
30778 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
30779
30780 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
30781
30782 * debug/strcpy_chk.c: Improve performance.
30783 * debug/stpcpy_chk.c: Likewise.
30784 * sysdeps/x86_64/strcpy_chk.S: Remove.
30785 * sysdeps/x86_64/stpcpy_chk.S: Remove.
30786
30787 [BZ #18240]
30788 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
30789
30790 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
30791
30792 [BZ #15128]
30793 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
30794 ifuncmain8.
30795 (modules-names): Add ifuncmod8.
30796 ($(objpfx)ifuncmain8): New rule.
30797 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
30798 <cpuid.h>.
30799 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
30800 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
30801 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
30802 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
30803 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
30804 * sysdeps/x86_64/dl-trampoline.h: Likewise.
30805 * sysdeps/x86_64/ifuncmain8.c: New file.
30806 * sysdeps/x86_64/ifuncmod8.c: Likewise.
30807 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
30808 Removed.
30809 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
30810 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
30811 Change rtld_savespace_sse to __glibc_unused2.
30812 (RTLD_CHECK_FOREIGN_CALL): Removed.
30813 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
30814 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
30815 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
30816
30817 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
30818
30819 * sysdeps/aarch64/bzero.S (__bzero): Remove.
30820
30821 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
30822
30823 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
30824 Unconditionally set __fpcr to avoid uninialized warning.
30825 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
30826
30827 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30828
30829 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
30830 is corrupt.
30831
30832 * malloc/arena.c (arena_get2): Drop unused argument.
30833 (arena_lock): Adjust.
30834 (arena_get_retry): Likewise.
30835
30836 2015-08-24 Andreas Schwab <schwab@suse.de>
30837
30838 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
30839 Don't define.
30840 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
30841 (__ASSUME_IPC64): Don't undef.
30842 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
30843 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30844 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30845 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
30846 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
30847 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
30848 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
30849 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
30850 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
30851 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
30852 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
30853 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
30854 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
30855 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
30856 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
30857 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
30858 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
30859 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
30860 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
30861 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
30862 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
30863
30864 2015-08-21 Mike Frysinger <vapier@gentoo.org>
30865
30866 * manual/Makefile (install): Only build manual when perl is available.
30867
30868 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30869
30870 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
30871 '#undef memcpy' by '#undef memchr'.
30872
30873 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
30874
30875 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
30876 memchr not point to the internal __GI_memchr implementation.
30877
30878 2015-08-20 Joseph Myers <joseph@codesourcery.com>
30879
30880 * timezone/Makefile (CFLAGS-zdump.c): Remove
30881 -Wno-strict-prototypes.
30882 (CFLAGS-zic.c): Likewise.
30883 (CFLAGS-ialloc.c): Likewise.
30884 (CFLAGS-scheck.c): Likewise.
30885
30886 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
30887 -Wno-error=undef.
30888
30889 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
30890
30891 * i386/i686/multiarch/strcasestr-c.c: Removed.
30892 * x86_64/multiarch/strcasestr.c: Likewise.
30893 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30894 Remove strcasestr.
30895
30896 2015-08-20 Joseph Myers <joseph@codesourcery.com>
30897
30898 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
30899
30900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
30901 variables for high and low parts before possibly modifying them.
30902
30903 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
30904
30905 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
30906 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
30907 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
30908 of "multiarch/init-arch.h".
30909 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
30910 * sysdeps/x86/init-arch.h: This.
30911
30912 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
30913
30914 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
30915 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
30916
30917 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
30918
30919 [BZ #17787]
30920 * manual/macros.texi: Add twoexp macro.
30921 * manual/filesys.texi: Fix exponents.
30922 * manual/llio.texi: Likewise.
30923 * manual/stdio.texi: Likewise.
30924
30925 2015-08-20 Florian Weimer <fweimer@redhat.com>
30926
30927 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
30928 incorrect use.
30929
30930 2015-08-19 Joseph Myers <joseph@codesourcery.com>
30931
30932 [BZ #18370]
30933 * math/s_csqrt.c (__csqrt): Force underflow exception for results
30934 whose real or imaginary part has small absolute value.
30935 * math/s_csqrtf.c (__csqrtf): Likewise.
30936 * math/s_csqrtl.c (__csqrtl): Likewise.
30937 * math/auto-libm-test-in: Add more tests of csqrt.
30938 * math/auto-libm-test-out: Regenerated.
30939 * sysdeps/i386/fpu/libm-test-ulps: Update.
30940
30941 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30942
30943 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
30944 __ppc_set_ppr_very_low): New functions.
30945 * manual/platform.texi: Add documentation about
30946 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
30947
30948 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
30949
30950 * string/stpncpy.c (stpncpy): Improve performance using
30951 __strnlen/memcpy/memset.
30952
30953 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
30954
30955 [BZ #18796]
30956 * scripts/test-installation.pl: Don't add -lmvec to build options if
30957 libmvec wasn't built.
30958
30959 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
30960
30961 [BZ #14341]
30962 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
30963 case when there is a gap between DT_REL and DT_JMPREL sections.
30964 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
30965 (LDFLAGS-tst-split-dynreloc): New.
30966 (tst-split-dynreloc-ENV): Likewise.
30967 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
30968 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
30969
30970 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
30971
30972 [BZ #18822]
30973 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
30974 attribute_hidden.
30975 (__xstat64_conv): Likewise.
30976 (__xstat32_conv): Likewise.
30977
30978 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
30979
30980 [BZ #18822]
30981 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
30982 Don't load %ebx when calling __setcontext. Call __setcontext
30983 with HIDDEN_JUMPTARGET.
30984 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
30985 libc_hidden_def.
30986
30987 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
30988
30989 * sysdeps/i386/i686/Makefile
30990 [$(subdir) == string] (sysdep_routines): Moved to ...
30991 * sysdeps/i386/Makefile: Here.
30992 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
30993 * sysdeps/i386/cacheinfo.c: Here.
30994 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
30995 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
30996 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
30997 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
30998
30999 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
31000
31001 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31002 __i586__ is defined.
31003 (HAS_I686): Defined to 1 if __i686__ is defined.
31004
31005 2015-08-19 Joseph Myers <joseph@codesourcery.com>
31006
31007 * elf/Makefile [$(have-z-execstack) = yes]
31008 (CPPFLAGS-tst-execstack.c): New variable.
31009
31010 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31011 conditional to [defined UTMPX || _HAVE_UT_TYPE].
31012 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31013 UTMPX || _HAVE_UT_TV].
31014 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31015 UTMPX || _HAVE_UT_TV - 0].
31016
31017 2015-08-18 Joseph Myers <joseph@codesourcery.com>
31018
31019 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31020 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31021 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31022
31023 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31024
31025 * sysdeps/powerpc/dl-procinfo.c:
31026 (_dl_powerpc_cap_flags): Added missing strings for some
31027 hwcap features.
31028 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31029
31030 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
31031
31032 Port the 0x7efe...feff pattern to GCC 6.
31033 See Steve Ellcey's bug report in:
31034 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31035 * string/memrchr.c (MEMRCHR):
31036 * string/rawmemchr.c (RAWMEMCHR):
31037 * string/strchr.c (strchr):
31038 * string/strchrnul.c (STRCHRNUL):
31039 Rewrite code to avoid issues with signed shift overflow.
31040
31041 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
31042
31043 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31044 whether cpuid is available only if HAS_CPUID is 0.
31045 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31046 (HAS_I586): Likewise.
31047 (HAS_I686): Likewise.
31048
31049 2015-08-18 Zack Weinberg <zackw@panix.com>
31050
31051 * misc/Versions (libc): Add GLIBC_2.23.
31052
31053 2015-08-18 Alan Modra <amodra@gmail.com>
31054
31055 [BZ #18421]
31056 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31057 .Lp__global.
31058 (_start): Load %dp via .Lp__global.
31059 [!SHARED]: Use .section .rodata.
31060
31061 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31062
31063 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31064 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31065
31066 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31067
31068 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31069 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31070
31071 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31072
31073 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31074 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31075
31076 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31077
31078 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31079 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31080
31081 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31082
31083 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31084 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31085
31086 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31087
31088 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31089 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31090
31091 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31092
31093 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31094
31095 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31096
31097 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31098 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
31099 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31100 (__ASSUME_LWS_CAS): Delete.
31101
31102 2015-08-18 Mike Frysinger <vapier@gentoo.org>
31103
31104 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31105 * sysdeps/hppa/configure: Regenerated.
31106 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31107 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31108 * sysdeps/hppa/nptl/tls.h: Likewise.
31109
31110 2015-08-17 Joseph Myers <joseph@codesourcery.com>
31111
31112 [BZ #18823]
31113 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31114 for scaling up small arguments.
31115 * math/s_csqrtf.c (__csqrtf): Likewise.
31116 * math/s_csqrtl.c (__csqrtl): Likewise.
31117 * math/auto-libm-test-in: Add more tests of csqrt.
31118 * math/auto-libm-test-out: Regenerated.
31119
31120 2015-08-17 Andreas Schwab <schwab@suse.de>
31121
31122 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31123 version set GLIBC_2.19.
31124
31125 2015-08-16 Zack Weinberg <zackw@panix.com>
31126
31127 [BZ #18681]
31128 * misc/regexp.h: This interface is no longer supported.
31129 Remove all contents, leaving only an #error directive.
31130 * misc/regexp.c (loc1, loc2, locs, step, advance):
31131 Demote to compatibility symbols.
31132
31133 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
31134
31135 [BZ #18084]
31136 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31137 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31138 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31139 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31140 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31141 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31142 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31143 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31144 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31145
31146 2015-08-15 Zack Weinberg <zackw@panix.com>
31147
31148 [BZ #18795]
31149 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31150 buffer length is known to be too large, not if it's known to be
31151 small enough.
31152 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31153 overflow at runtime, involving a length parameter, twice: once
31154 with a compile-time constant length parameter, once without.
31155
31156 2015-08-14 Joseph Myers <joseph@codesourcery.com>
31157
31158 [BZ #18824]
31159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31160 scaling x * y up instead of down.
31161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31163 * math/auto-libm-test-in: Add more tests of fma.
31164 * math/auto-libm-test-out: Regenerated.
31165
31166 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
31167
31168 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31169
31170 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31171
31172 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31173 unnecessary movq.
31174 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31175 Likewise.
31176
31177 2015-08-13 Joseph Myers <joseph@codesourcery.com>
31178
31179 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31180 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31181 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31182 and tgamma.
31183 * math/auto-libm-test-out: Regenerated.
31184 * sysdeps/i386/fpu/libm-test-ulps: Update.
31185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31186
31187 [BZ #16520]
31188 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31189 (__tanh): Force underflow exception for arguments with small
31190 absolute value.
31191 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31192 (__tanhf): Force underflow exception for arguments with small
31193 absolute value.
31194 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31195 (__tanhl): Force underflow exception for arguments with small
31196 absolute value.
31197 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31198 (__tanhl): Force underflow exception for arguments with small
31199 absolute value.
31200 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31201 (__tanhl): Force underflow exception for arguments with small
31202 absolute value.
31203 * math/auto-libm-test-in: Add more tests of tanh.
31204 * math/auto-libm-test-out: Regenerated.
31205 * sysdeps/i386/fpu/libm-test-ulps: Update.
31206
31207 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31208
31209 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31210 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31211
31212 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31213
31214 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31215 <cpuid.h>.
31216
31217 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31218
31219 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31220 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31221
31222 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31223
31224 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31225 Remove $(objpfx)init-arch.o.
31226 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31227 init-arch.
31228 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31229 (INIT_ARCH_EXT): Defined as empty.
31230 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31231 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31232 __init_cpu_features call. Replace HAS_XXX with
31233 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31234 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31235 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31236 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31237 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31238 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31239 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31240 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31241 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31242 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31243 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31244 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31245 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31246 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31247 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31248 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31249 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31251 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31252 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31253 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31254 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31255 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31256 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31257 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31258 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31259 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31260 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31261 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31262 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31263 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31264 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31265 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31266 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31267 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31268 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31269
31270 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31271
31272 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31273 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31274 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31275 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31276 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31277 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31278 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31279 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31280 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31281 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31282 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31283 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
31284 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31285 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31286 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31287 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31288 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31289 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31290 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31291 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31292 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31293 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31294 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31295 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31296 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31297 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31298 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31299 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31300 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31301 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31302 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31303 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31304 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31305 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31306 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31307 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31308 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31309 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31310 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31311 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31312 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31313 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31314 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31315
31316 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31317
31318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31319 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31320 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31322 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31323 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31324 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31325 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31326 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31327 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31328 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31329 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31330 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31331 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31332 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31333 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31334 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31335 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31336 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31337 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31339 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31340 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31341 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31342 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31343 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31344 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31345 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
31346 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31347 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31348 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31349 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31350 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31351 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31352 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31353 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31354 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31355 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31356 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31357 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31358 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31359 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31360 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31361
31362 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
31363
31364 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31365 (dl_platform_init): Call init_cpu_features.
31366 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31367 * sysdeps/i386/i686/cacheinfo.c
31368 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31369 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31370 * sysdeps/i386/i686/multiarch/Versions: Removed.
31371 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31372 Removed.
31373 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31374 * sysdeps/unix/sysv/linux/x86/Makefile
31375 (libpthread-sysdep_routines): Remove init-arch.
31376 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31377 <sysdeps/x86_64/dl-procinfo.c> instead of
31378 sysdeps/generic/dl-procinfo.c>.
31379 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31380 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31381 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31382 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31383 [$(subdir) == elf] (tests-static): Add
31384 tst-get-cpu-features-static.
31385 * sysdeps/x86/Versions: New file.
31386 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31387 * sysdeps/x86/cpu-features.c: Likewise.
31388 * sysdeps/x86/cpu-features.h: Likewise.
31389 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31390 * sysdeps/x86/libc-start.c: Likewise.
31391 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31392 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31393 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31394 * sysdeps/x86_64/dl-procinfo.c: Likewise.
31395 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31396 Assume USE_MULTIARCH is defined and don't check it.
31397 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31398 (is_amd): Likewise.
31399 (max_cpuid): Likewise.
31400 (intel_check_word): Likewise.
31401 (__cache_sysconf): Don't call __init_cpu_features.
31402 (__x86_preferred_memory_instruction): Removed.
31403 (init_cacheinfo): Don't call __init_cpu_features. Replace
31404 __cpu_features with GLRO(dl_x86_cpu_features).
31405 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31406 (dl_platform_init): Call init_cpu_features.
31407 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31408 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31409 * sysdeps/x86_64/multiarch/Versions: Removed.
31410 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31411 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31412 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31413 Removed.
31414 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31415
31416 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
31417
31418 [BZ #18820]
31419 * libio/Makefile (test-fmemopen-mem): New test.
31420 * libio/test-fmemopen.c (do_bz18820): New test.
31421 * libio/fmemopen.c (__fmemopen): Fix memory leak.
31422 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31423
31424 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
31425
31426 [BZ #16734]
31427 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31428 (FREE_BUF): Delete.
31429 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31430 * libio/genops.c (_IO_setb): Use malloc and free directly.
31431 (_IO_default_doallocate, _IO_default_finish): Likewise.
31432 ( _IO_unbuffer_all): Likewise.
31433 ( libc_freeres_fn): Likewise.
31434 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31435 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31436 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31437 (_IO_wdefault_doallocate): Likewise.
31438
31439 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
31440
31441 [BZ #18086]
31442 * sysdeps/posix/nice.c (nice): Restore old errno.
31443 * posix/tst-nice.c (do_test): Add test for BZ #18086.
31444
31445 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
31446
31447 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31448
31449 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31450
31451 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31452 __bcopy and add a weak_alias to bcopy.
31453 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31454 for static build.
31455
31456 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31457 cleanup macro usage.
31458 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31459 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31460 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31461 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31462 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31463 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31464 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31465 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31466 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31467 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31468 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31469 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31471 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31472 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31473 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31474 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31475 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31476 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31477
31478 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31479 libc_hidden_def.
31480 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31481
31482 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31483 (sysdep_routines): Add strstr-ppc64.
31484 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31485
31486 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
31487
31488 [BZ #18778]
31489 * elf/Makefile (tests): Add Add tst-nodelete2.
31490 (modules-names): Add tst-nodelete2mod.
31491 (tst-nodelete2mod.so-no-z-defs): New.
31492 ($(objpfx)tst-nodelete2): Likewise.
31493 ($(objpfx)tst-nodelete2.out): Likewise.
31494 (LDFLAGS-tst-nodelete2): Likewise.
31495 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31496 out of loop through all loaded libraries.
31497 * elf/tst-nodelete2.c: New file.
31498 * elf/tst-nodelete2mod.c: Likewise.
31499 * elf/tst-znodelete-zlib.cc: Delete.
31500
31501 2015-08-11 Andreas Schwab <schwab@suse.de>
31502
31503 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31504 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31505 (__openat64_nocancel): Likewise.
31506
31507 2015-08-11 Joseph Myers <joseph@codesourcery.com>
31508
31509 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31510 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31511 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31512 * math/auto-libm-test-out: Regenerated.
31513 * sysdeps/i386/fpu/libm-test-ulps: Update.
31514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31515
31516 2015-08-10 Joseph Myers <joseph@codesourcery.com>
31517
31518 [BZ #18790]
31519 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31520 threshold for returning +/- 1.
31521 * math/auto-libm-test-in: Add more tests of tanh.
31522 * math/auto-libm-test-out: Regenerated.
31523 * sysdeps/i386/fpu/libm-test-ulps: Update.
31524
31525 2015-08-10 Andreas Schwab <schwab@suse.de>
31526
31527 [BZ #18781]
31528 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31529 MORE_OFLAGS to oflag.
31530 * io/test-lfs.c (do_test): Test openat64.
31531
31532 2015-08-10 Joseph Myers <joseph@codesourcery.com>
31533
31534 [BZ #18789]
31535 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31536 smaller threshold for returning the argument.
31537 * math/auto-libm-test-in: Add more tests of sinh.
31538 * math/auto-libm-test-out: Regenerated.
31539 * sysdeps/i386/fpu/libm-test-ulps: Update.
31540
31541 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
31542
31543 [BZ #18674]
31544 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31545 break.
31546
31547 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
31548
31549 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31550 (generated): Don't add $(addprefix z.,$(tzfiles)).
31551
31552 2015-08-09 Mike Frysinger <vapier@gentoo.org>
31553
31554 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31555 * scripts/sysd-rules.awk: Likewise.
31556
31557 2015-08-09 Mike Frysinger <vapier@gentoo.org>
31558
31559 * iconvdata/tst-tables.sh: Change echo -n to printf.
31560 * nss/db-Makefile: Likewise.
31561 * posix/tst-getconf.sh: Likewise.
31562 * stdio-common/tst-unbputc.sh: Likewise.
31563
31564 2015-08-09 Mike Frysinger <vapier@gentoo.org>
31565
31566 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31567 MADV_*_PAGES defines behind this feature check.
31568
31569 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
31570
31571 [BZ #18480]
31572 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31573 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31574 Define.
31575 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31576 LOAD_REGS_5, LOAD_REGS_6): Update.
31577 (INTERNAL_SYSCALL): Update using new LOAD defines.
31578 (INTERNAL_SYSCALL_NCS): Likewise.
31579 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31580
31581 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31582
31583 [BZ #16734]
31584 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31585
31586 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31587
31588 [BZ #17905]
31589 * catgets/Makefile (tst-catgets-mem): New test.
31590 * catgets/catgets.c (catopen): Don't use unbounded alloca.
31591 * catgets/open_catalog.c (__open_catalog): Likewise.
31592 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31593
31594 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
31595
31596 [BZ #18787]
31597 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31598 clobber registers.
31599 (atomic_compare_and_exchange_val_acq): Use register asms to assign
31600 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
31601 Cast return to __typeof (oldval).
31602
31603 2015-08-08 Mike Frysinger <vapier@gentoo.org>
31604
31605 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31606 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
31607 and delete sys/syscall.h include.
31608
31609 2015-08-07 Joseph Myers <joseph@codesourcery.com>
31610
31611 [BZ #16517]
31612 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31613 (tan): Force underflow exception for arguments with small absolute
31614 value.
31615 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31616 (__kernel_tanf): Force underflow exception for arguments with
31617 small absolute value.
31618 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31619 (__kernel_tanl): Force underflow exception for arguments with
31620 small absolute value.
31621 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31622 (__kernel_tanl): Force underflow exception for arguments with
31623 small absolute value.
31624 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31625 (__kernel_tanl): Force underflow exception for arguments with
31626 small absolute value.
31627 * math/auto-libm-test-in: Add more tests of tan.
31628 * math/auto-libm-test-out: Regenerated.
31629
31630 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31631
31632 Fix sysdeps/i386/fpu/s_scalbn.S build
31633
31634 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31635
31636 2015-08-07 Mike Frysinger <vapier@gentoo.org>
31637
31638 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31639
31640 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31641
31642 Fix gcrt0.o compilation
31643
31644 When static-start-installed-name is different from
31645 start-installed-name, we must not use the shared objects.
31646
31647 * csu/Makefile
31648 (extra-objs): Add gmon-start.o when building shared library and
31649 $(static-start-installed-name) is different from
31650 $(start-installed-name).
31651 $(objpfx)g$(static-start-installed-name): When building shared
31652 library and $(static-start-installed-name) is different from
31653 $(static-start-installed-name), revert to non-shared rule,
31654 i.e. using $(objpfx)% and gmon-start.o.
31655
31656 2015-08-06 Joseph Myers <joseph@codesourcery.com>
31657
31658 [BZ #16519]
31659 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31660 (__ieee754_sinh): Force underflow exception for arguments with
31661 small absolute value.
31662 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31663 (__ieee754_sinhf): Force underflow exception for arguments with
31664 small absolute value.
31665 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31666 (__ieee754_sinhl): Force underflow exception for arguments with
31667 small absolute value.
31668 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31669 (__ieee754_sinhl): Force underflow exception for arguments with
31670 small absolute value.
31671 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31672 (__ieee754_sinhl): Force underflow exception for arguments with
31673 small absolute value.
31674 * math/auto-libm-test-in: Add more tests of sinh.
31675 * math/auto-libm-test-out: Regenerated.
31676 * sysdeps/i386/fpu/libm-test-ulps: Update.
31677
31678 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31679
31680 * libio/oldfileops.c: Include unistd.h.
31681
31682 2015-08-06 Mike Frysinger <vapier@gentoo.org>
31683
31684 * stdlib/isomac.c: Include ctype.h.
31685
31686 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
31687
31688 * dirent/tst-seekdir.c (main): Converted to ...
31689 (do_test): ... this.
31690 (TEST_FUNCTION): New macro.
31691 Include test-skeleton.c.
31692 * elf/tst-dlmodcount.c (main): Converted to ...
31693 (do_test): ... this.
31694 (TEST_FUNCTION): New macro.
31695 Include test-skeleton.c.
31696 * elf/tst-order-main.c (main): Converted to ...
31697 (do_test): ... this.
31698 (TEST_FUNCTION): New macro.
31699 Include test-skeleton.c.
31700 * elf/tst-pie2.c (main): Converted to ...
31701 (do_test): ... this.
31702 (TEST_FUNCTION): New macro.
31703 Include test-skeleton.c.
31704 * inet/tst-ether_aton.c (main): Converted to ...
31705 (do_test): ... this.
31706 (TEST_FUNCTION): New macro.
31707 Include test-skeleton.c.
31708 * misc/tst-mntent.c (main): Converted to ...
31709 (do_test): ... this.
31710 (TEST_FUNCTION): New macro.
31711 Include test-skeleton.c.
31712 * misc/tst-tsearch.c (main): Converted to ...
31713 (do_test): ... this.
31714 (TEST_FUNCTION): New macro.
31715 Include test-skeleton.c.
31716 * posix/tst-regexloc.c (main): Converted to ...
31717 (do_test): ... this.
31718 (TEST_FUNCTION): New macro.
31719 Include test-skeleton.c.
31720 * resolv/tst-aton.c (main): Converted to ...
31721 (do_test): ... this.
31722 (TEST_FUNCTION): New macro.
31723 Include test-skeleton.c.
31724 * stdio-common/test-fwrite.c (main): Converted to ...
31725 (do_test): ... this.
31726 (TEST_FUNCTION): New macro.
31727 Include test-skeleton.c.
31728 * stdio-common/tst-ferror.c (main): Converted to ...
31729 (do_test): ... this.
31730 (TEST_FUNCTION): New macro.
31731 Include test-skeleton.c.
31732 * stdio-common/tst-printf.c (main): Converted to ...
31733 (do_test): ... this.
31734 (TEST_FUNCTION): New macro.
31735 Include test-skeleton.c.
31736 * stdio-common/tst-printfsz.c (main): Converted to ...
31737 (do_test): ... this.
31738 (TEST_FUNCTION): New macro.
31739 Include test-skeleton.c.
31740 * stdlib/tst-strtod.c (main): Converted to ...
31741 (do_test): ... this.
31742 (TEST_FUNCTION): New macro.
31743 Include test-skeleton.c.
31744 * string/tst-strlen.c (main): Converted to ...
31745 (do_test): ... this.
31746 (TEST_FUNCTION): New macro.
31747 Include test-skeleton.c.
31748 * string/tst-svc.c (main): Converted to ...
31749 (do_test): ... this.
31750 (TEST_FUNCTION): New macro.
31751 Include test-skeleton.c.
31752 * time/tst-strptime.c (main): Converted to ...
31753 (do_test): ... this.
31754 (TEST_FUNCTION): New macro.
31755 Include test-skeleton.c.
31756 * timezone/tst-timezone.c (main): Converted to ...
31757 (do_test): ... this.
31758 (TEST_FUNCTION): New macro.
31759 Include test-skeleton.c.
31760
31761 2015-08-05 Zack Weinberg <zackw@panix.com>
31762
31763 * misc/regexp.h: Update comments.
31764
31765 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
31766
31767 [BZ #18635]
31768 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
31769 before return label.
31770
31771 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31772
31773 [BZ #18661]
31774 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
31775 when calling __errno_location.
31776 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
31777 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
31778
31779 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31780
31781 [BZ #18661]
31782 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
31783 (__lll_timedwait_tid): Align stack to 16 bytes when calling
31784 __gettimeofday.
31785
31786 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31787
31788 [BZ #18661]
31789 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31790 (__start_context): Don't use pop to restore %rdi so that stack
31791 is aligned to 16 bytes when calling __setcontext.
31792
31793 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31794
31795 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
31796 only for libc.
31797 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31798
31799 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31800
31801 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
31802 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
31803 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
31804
31805 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31806
31807 * string/memccpy.c (memccpy):
31808 Improve performance by using memchr/memcpy/__mempcpy.
31809
31810 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31811
31812 * string/strncpy.c (strncpy):
31813 Improve performance by using __strnlen/memcpy.
31814
31815 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31816
31817 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31818 Optimize to avoid an unnecessary FPCR read.
31819
31820 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
31821
31822 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31823 Optimize to reduce FPCR/FPSR accesses.
31824
31825 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
31826
31827 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
31828 dead->data[category] != NULL.
31829
31830 2015-08-05 Joseph Myers <joseph@codesourcery.com>
31831
31832 [BZ #18647]
31833 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
31834 and |x| close to 1, use absolute value of x when computing log.
31835 * math/auto-libm-test-in: Add more tests of pow.
31836 * math/auto-libm-test-out: Regenerated.
31837
31838 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31839
31840 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
31841 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
31842 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
31843
31844 2015-08-05 Marko Myllynen <myllynen@redhat.com>
31845
31846 [BZ #18525]
31847 * locales/km_KH: Remove timezone definition.
31848 * locales/lo_LA: Likewise.
31849 * locales/my_MM: Likewise.
31850 * locales/nan_TW@latin: Likewise.
31851 * locales/th_TH: Likewise.
31852 * locales/uk_UA: Likewise.
31853
31854 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
31855
31856 [BZ #18265]
31857 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
31858 (wcsncat): Likewise.
31859 (wcscmp): Likewise.
31860 (wcsncmp): Likewise.
31861
31862 2015-08-05 Mike Frysinger <vapier@gentoo.org>
31863
31864 * test-skeleton.c (usage): New function.
31865 (main): Call usage when opt is '?'.
31866
31867 2015-08-05 Mike Frysinger <vapier@gentoo.org>
31868
31869 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
31870 before first use.
31871
31872 2015-08-05 Mike Frysinger <vapier@gentoo.org>
31873
31874 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
31875 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
31876 in there too.
31877
31878 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
31879
31880 * version.h (RELEASE): Set to "development".
31881 (VERSION): Set to "2.22.90"
31882
31883 * version.h (RELEASE): Set to "stable".
31884 (VERSION): Set to "2.22"
31885 * include/features.h (__GLIBC_MINOR__): Set to 22.
31886
31887 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
31888
31889 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
31890 Restructure macro to avoid "value computed is not used" warning.
31891 (atomic_compare_and_exchange_val_acq): Likewise.
31892
31893 2015-08-04 Andreas Schwab <schwab@suse.de>
31894
31895 [BZ #18635]
31896 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
31897 ret.
31898 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
31899
31900 2015-08-01 Carlos O'Donell <carlos@redhat.com>
31901
31902 * po/pl.po: Updated translation.
31903 * po/uk.po: Likewise.
31904 * po/fi.po: Likewise.
31905 * po/ko.po: Likewise.
31906 * po/ru.po: Likewise.
31907 * po/vi.po: Likewise.
31908
31909 2015-07-31 Zack Weinberg <zackw@panix.com>
31910
31911 [BZ #18681]
31912 * regexp.h: Add unconditional #warning stating that this header
31913 will be removed soon. Revise banner comment to match.
31914 (compile): Consistently use ERROR instead of RETURN to report
31915 errors (partial fix for BZ #18681).
31916 * regexp.c: Don't include regexp.h. Remove some unnecessary
31917 declarations.
31918
31919 2015-07-31 Carlos O'Donell <carlos@redhat.com>
31920
31921 * po/libc.pot: Regenerated.
31922
31923 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
31924
31925 [BZ #18740]
31926 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
31927 float-vlen4-arch-ext-cflags): Removed.
31928 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
31929 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
31930
31931 2015-07-30 Mike Frysinger <vapier@gentoo.org>
31932
31933 [BZ #14113]
31934 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
31935 aligned to __aligned__.
31936 (pthread_cond_t, pthread_rwlock_t): Likewise.
31937
31938 2015-07-30 Torvald Riegel <triegel@redhat.com>
31939
31940 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
31941
31942 2015-07-30 Mike Frysinger <vapier@gentoo.org>
31943
31944 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
31945 (struct sigaction): Change sa_flags from a long to an int, and add
31946 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
31947
31948 2015-07-30 Mike Frysinger <vapier@gentoo.org>
31949
31950 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
31951 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
31952 sysdeps/generic/sysdep.h include.
31953 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
31954 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
31955 sysdeps/hppa/sysdep.h.
31956 (ENTRY, PSEUDO): Undefine before defining.
31957
31958 2015-07-30 Mike Frysinger <vapier@gentoo.org>
31959
31960 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
31961 from scratch to use INTERNAL_SYSCALL.
31962
31963 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
31964
31965 [BZ #18078]
31966 * scripts/check-localplt.awk: Support alternate relocations.
31967 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
31968 sections.
31969 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
31970 malloc entries with + REL R_386_GLOB_DAT.
31971 * sysdeps/x86_64/localplt.data: New file.
31972
31973 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
31974
31975 [BZ #18731]
31976 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
31977 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31978 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31979
31980 2015-07-27 Mike Frysinger <vapier@gentoo.org>
31981
31982 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
31983
31984 2015-07-27 Mike Frysinger <vapier@gentoo.org>
31985
31986 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
31987 directly in terms of __sync_fetch_and_add and delete (int) cast.
31988
31989 2015-07-27 Mike Frysinger <vapier@gentoo.org>
31990
31991 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
31992 the -D_ASM_IA64_CURRENT_H flag.
31993
31994 2015-07-27 Mike Frysinger <vapier@gentoo.org>
31995
31996 [BZ #18641]
31997 * pwd/pwd.h (putpwent): Delete __nonnull markings.
31998
31999 2015-07-27 Andreas Schwab <schwab@suse.de>
32000
32001 * conform/conformtest.pl (checknamespace): Filter out string
32002 literals while tokenizing.
32003
32004 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
32005
32006 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32007 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32008 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32009
32010 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
32011
32012 * nptl/tst-join7mod.c: Add #include <string.h>.
32013
32014 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
32015
32016 * sysdeps/nios2/libm-test-ulps: Update.
32017
32018 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
32019
32020 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32021 Fix order of arguments to the rt_sigprocmask syscall.
32022 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32023 Likewise.
32024
32025 2015-07-24 Roland McGrath <roland@hack.frob.com>
32026
32027 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32028
32029 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32030
32031 [BZ #18457]
32032 * nptl/Makefile (tests): New test case tst-join7.
32033 (modules-names): New test case module tst-join7mod.
32034 * nptl/tst-join7.c: New file.
32035 * nptl/tst-join7mod.c: New file.
32036 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32037 all translation units in libc.so, libpthread.so and rtld.
32038
32039 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32040
32041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32042
32043 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
32044
32045 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32046 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32047 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32048 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32049 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32050 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32051 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32052 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32053 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32054 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32055 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32056 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32057 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32058 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32059 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32060 implementation.
32061
32062 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32063
32064 [BZ #17711]
32065 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32066 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32067 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32068 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32069 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32070 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32071
32072 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32073
32074 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32075 instead of just saying load lock in the comments.
32076
32077 2015-07-23 Roland McGrath <roland@hack.frob.com>
32078
32079 * sysdeps/unix/Subdirs: Moved ...
32080 * sysdeps/posix/Subdirs: ... here.
32081 * login/pty.h (struct termios, struct winsize): Add forward decls.
32082 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32083 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32084 * sysdeps/arm/nacl/libc.abilist: Updated.
32085 * sysdeps/nacl/libutil.abilist: New file.
32086
32087 * bits/signum.h: Update comments to mention 1003.1-2013 too.
32088 (SIGWINCH): New macro.
32089
32090 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32091 * sysdeps/arm/nacl/libc.abilist: Add it.
32092
32093 2015-07-23 Mike Frysinger <vapier@gentoo.org>
32094
32095 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32096
32097 2015-07-23 Mike Frysinger <vapier@gentoo.org>
32098
32099 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32100 Swap __glibc_reserved0 and sa_flags order.
32101
32102 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32103
32104 [BZ #18657]
32105 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32106 are pending TLS destructor calls.
32107 * include/link.h (struct link_map): Add concurrency note for
32108 L_TLS_DTOR_COUNT.
32109 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32110 Don't touch the link map flag. Atomically increment
32111 l_tls_dtor_count.
32112 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32113 Avoid taking the load lock and don't touch the link map flag.
32114 * stdlib/tst-tls-atexit-nodelete.c: New test case.
32115 * stdlib/Makefile (tests): Use it.
32116 * stdlib/tst-tls-atexit.c (do_test): dlopen
32117 tst-tls-atexit-lib.so again before dlclose. Add conditionals
32118 to allow tst-tls-atexit-nodelete test case to use it.
32119
32120 2015-07-22 Mike Frysinger <vapier@gentoo.org>
32121
32122 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32123 to bits/types.h.
32124 (msgqnum_t): New typedef.
32125 (msglen_t): Likewise.
32126 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
32127 and msg_qbytes type to msglen_t.
32128
32129 2015-07-22 Mike Frysinger <vapier@gentoo.org>
32130
32131 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32132 pad0 to __glibc_reserved0.
32133 (struct stat64): Likewise.
32134
32135 2015-07-22 Mike Frysinger <vapier@gentoo.org>
32136
32137 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32138 Change sa_flags from a long to an int and add __glibc_reserved0 before
32139 it for padding.
32140
32141 2015-07-22 Mike Frysinger <vapier@gentoo.org>
32142
32143 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32144 anonymous by deleting "siginfo" name.
32145
32146 2015-07-21 Roland McGrath <roland@hack.frob.com>
32147
32148 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32149 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32150 rather than __nacl_irt_filename.
32151 * sysdeps/nacl/xstat.c (__xstat): Likewise.
32152
32153 * NEWS: New item for arm-nacl port.
32154 * sysdeps/arm/nacl/libc.abilist: New file.
32155 * sysdeps/nacl/ld.abilist: New file.
32156 * sysdeps/nacl/libBrokenLocale.abilist: New file.
32157 * sysdeps/nacl/libanl.abilist: New file.
32158 * sysdeps/nacl/libcrypt.abilist: New file.
32159 * sysdeps/nacl/libdl.abilist: New file.
32160 * sysdeps/nacl/libm.abilist: New file.
32161 * sysdeps/nacl/libpthread.abilist: New file.
32162 * sysdeps/nacl/libresolv.abilist: New file.
32163 * sysdeps/nacl/librt.abilist: New file.
32164
32165 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
32166
32167 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32168 __startcontext to initialize the new context.
32169 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32170 up CFI directive to forbid further backtracing.
32171
32172 2015-07-21 Marko Myllynen <myllynen@redhat.com>
32173
32174 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32175 reference.
32176 * charmaps/ANSI_X3.4-1968: Likewise.
32177 * charmaps/BS_4730: Likewise.
32178 * charmaps/BS_VIEWDATA: Likewise.
32179 * charmaps/CP1250: Likewise.
32180 * charmaps/CP1251: Likewise.
32181 * charmaps/CP1252: Likewise.
32182 * charmaps/CP1253: Likewise.
32183 * charmaps/CP1254: Likewise.
32184 * charmaps/CP1255: Likewise.
32185 * charmaps/CP1256: Likewise.
32186 * charmaps/CSN_369103: Likewise.
32187 * charmaps/EBCDIC-DK-NO: Likewise.
32188 * charmaps/GB_1988-80: Likewise.
32189 * charmaps/GREEK-CCITT: Likewise.
32190 * charmaps/GREEK7: Likewise.
32191 * charmaps/INIS-8: Likewise.
32192 * charmaps/ISIRI-3342: Likewise.
32193 * charmaps/ISO_2033-1983: Likewise.
32194 * charmaps/ISO_5427-EXT: Likewise.
32195 * locales/POSIX: Likewise.
32196 * locales/ar_SA: Likewise.
32197 * locales/be_BY: Likewise.
32198 * locales/be_BY@latin: Likewise.
32199 * locales/ca_ES: Likewise.
32200 * locales/cs_CZ: Likewise.
32201 * locales/da_DK: Likewise.
32202 * locales/de_BE: Likewise.
32203 * locales/de_CH: Likewise.
32204 * locales/de_LU: Likewise.
32205 * locales/en_AU: Likewise.
32206 * locales/en_BW: Likewise.
32207 * locales/en_CA: Likewise.
32208 * locales/en_DK: Likewise.
32209 * locales/en_GB: Likewise.
32210 * locales/en_IE: Likewise.
32211 * locales/en_NZ: Likewise.
32212 * locales/en_ZA: Likewise.
32213 * locales/en_ZW: Likewise.
32214 * locales/es_AR: Likewise.
32215 * locales/es_BO: Likewise.
32216 * locales/es_CL: Likewise.
32217 * locales/es_CO: Likewise.
32218 * locales/es_DO: Likewise.
32219 * locales/es_EC: Likewise.
32220 * locales/es_ES: Likewise.
32221 * locales/es_HN: Likewise.
32222 * locales/es_MX: Likewise.
32223 * locales/es_PA: Likewise.
32224 * locales/es_PE: Likewise.
32225 * locales/es_PY: Likewise.
32226 * locales/es_SV: Likewise.
32227 * locales/es_US: Likewise.
32228 * locales/es_UY: Likewise.
32229 * locales/es_VE: Likewise.
32230 * locales/et_EE: Likewise.
32231 * locales/fa_IR: Likewise.
32232 * locales/fo_FO: Likewise.
32233 * locales/fr_CA: Likewise.
32234 * locales/fr_CH: Likewise.
32235 * locales/gv_GB: Likewise.
32236 * locales/he_IL: Likewise.
32237 * locales/hr_HR: Likewise.
32238 * locales/id_ID: Likewise.
32239 * locales/is_IS: Likewise.
32240 * locales/it_CH: Likewise.
32241 * locales/iw_IL: Likewise.
32242 * locales/kl_GL: Likewise.
32243 * locales/ko_KR: Likewise.
32244 * locales/kw_GB: Likewise.
32245 * locales/lg_UG: Likewise.
32246 * locales/lt_LT: Likewise.
32247 * locales/lv_LV: Likewise.
32248 * locales/mi_NZ: Likewise.
32249 * locales/nhn_MX: Likewise.
32250 * locales/nl_BE: Likewise.
32251 * locales/pl_PL: Likewise.
32252 * locales/sk_SK: Likewise.
32253 * locales/sl_SI: Likewise.
32254 * locales/sv_FI: Likewise.
32255 * locales/tl_PH: Likewise.
32256 * locales/tr_TR: Likewise.
32257 * locales/vi_VN: Likewise.
32258
32259 2015-07-21 Khem Raj <raj.khem@gmail.com>
32260
32261 [BZ #17475]
32262 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32263 of tu_IN and bh_IN.
32264
32265 2015-07-21 Mike Frysinger <vapier@gentoo.org>
32266
32267 [BZ #18694]
32268 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32269 bits/wordsize.h.
32270 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32271
32272 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32273
32274 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32275 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32276 (spawn_thread): New function.
32277 (load): Rename to reg_dtor_and_close. Move dlopen to...
32278 (do_test): ... here. Use IS_LOADED to test for its
32279 availability.
32280
32281 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
32282
32283 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32284
32285 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
32286
32287 [BZ #18696]
32288 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32289 si_addr_bnd.
32290 (si_lower): New.
32291 (si_upper): Likewise.
32292
32293 2015-07-16 David S. Miller <davem@davemloft.net>
32294
32295 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32296
32297 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32298
32299 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32300 buffer.
32301 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32302 fail output information.
32303
32304 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32305
32306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32307 and strstr-ppc64..
32308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32309 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32310 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32311 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32312 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32313
32314 2015-07-16 Mike Frysinger <vapier@gentoo.org>
32315
32316 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32317 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32318 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32319 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32320
32321 2015-07-16 Mike Frysinger <vapier@gentoo.org>
32322
32323 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32324 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32325 rtld_hidden_proto.
32326 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32327
32328 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32329
32330 * tst-nodelete-opened.c (do_test): Add comment to clarify how
32331 the test can fail.
32332
32333 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32334
32335 [BZ #18676]
32336 * elf/tst-nodelete-opened.c: New test case.
32337 * elf/tst-nodelete-opened-lib.c: New test case module.
32338 * elf/Makefile (tests, modules-names): Use them.
32339 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32340 early.
32341
32342 2015-07-15 David S. Miller <davem@davemloft.net>
32343
32344 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32345 futex-intenal.h
32346 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32347 * sysdeps/sparc/sparc64/Makefile: Likewise.
32348 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32349 Remove space from macro define.
32350 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32351
32352 2015-07-15 Pravin Satpute <psatpute@redhat.com>
32353
32354 [BZ #17475]
32355 * locale/iso-639.def: Update Bhili and Tulu language codes as
32356 per iso639-3.
32357
32358 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
32359
32360 * elf/tst-leaks1.c (main): Converted to ...
32361 (do_test): ... this.
32362 (TEST_FUNCTION): New macro.
32363 Include test-skeleton.c.
32364 * localedata/tst-langinfo.c (main): Converted to ...
32365 (do_test): ... this.
32366 (TEST_FUNCTION): New macro.
32367 Include test-skeleton.c.
32368 * math/test-fpucw.c (main): Converted to ...
32369 (do_test): ... this.
32370 (TEST_FUNCTION): New macro.
32371 Include test-skeleton.c.
32372 * math/test-tgmath.c (main): Converted to ...
32373 (do_test): ... this.
32374 (TEST_FUNCTION): New macro.
32375 Include test-skeleton.c.
32376 * math/test-tgmath2.c (main): Converted to ...
32377 (do_test): ... this.
32378 (TEST_FUNCTION): New macro.
32379 Include test-skeleton.c.
32380 * setjmp/tst-setjmp.c (main): Converted to ...
32381 (do_test): ... this.
32382 (TEST_FUNCTION): New macro.
32383 Include test-skeleton.c.
32384 * stdio-common/tst-sscanf.c (main): Converted to ...
32385 (do_test): ... this.
32386 (TEST_FUNCTION): New macro.
32387 Include test-skeleton.c.
32388 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32389 (do_test): ... this.
32390 (TEST_FUNCTION): New macro.
32391 Include test-skeleton.c.
32392
32393 * elf/tst-audit9.c (main): Converted to ...
32394 (do_test): ... this.
32395 (TEST_FUNCTION): New macro.
32396 Include test-skeleton.c.
32397
32398 2015-07-15 Mike Frysinger <vapier@gentoo.org>
32399
32400 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32401
32402 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32403
32404 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32405 New variable.
32406
32407 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32408
32409 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32410
32411 2015-07-14 Roland McGrath <roland@hack.frob.com>
32412
32413 * sysdeps/generic/dl-fileid.h: New file.
32414 * sysdeps/posix/dl-fileid.h: New file.
32415 * sysdeps/nacl/dl-fileid.h: New file.
32416 * include/link.h: Include <dl-fileid.h>.
32417 (struct link_map): Replace l_dev and l_ino with l_file_id.
32418 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32419 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
32420 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
32421
32422 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32423
32424 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32425
32426 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32427
32428 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32429 Add iff $CXX is set.
32430 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32431 Likewise.
32432 (tst-nodelete-zmodiff): Likewise.
32433 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32434
32435 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32436
32437 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32438
32439 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
32440
32441 * sysdeps/aarch64/fpu/math_private.h
32442 (define math_opt_barrier): Add AArch64 version.
32443 (math_force_eval): Likewise.
32444
32445 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
32446
32447 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32448
32449 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
32450
32451 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32452 %ld with %jd and cast to intmax_t.
32453 (do_test_length_zero): Likewise.
32454
32455 2015-07-10 Roland McGrath <roland@hack.frob.com>
32456
32457 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32458
32459 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
32460
32461 * sysdeps/tile/libm-test-ulps: Regenerated.
32462
32463 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32464 Comment out the whole function, not just its body.
32465
32466 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32467
32468 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32469 locks.
32470
32471 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32472
32473 2015-07-10 Torvald Riegel <triegel@redhat.com>
32474
32475 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32476 (sem_assume_only_signals_cause_futex_EINTR): Remove.
32477
32478 2015-07-10 Torvald Riegel <triegel@redhat.com>
32479
32480 * sysdeps/nptl/futex-internal.h: New file.
32481 * sysdeps/nacl/futex-internal.h: New file.
32482 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32483 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32484 error checking.
32485 (setxid_unmark_thread): Likewise.
32486 (__nptl_setxid): Likewise.
32487 (__wait_lookup_done): Likewise.
32488 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32489 * nptl/nptl-init.c (sighandler_setxid): Likewise.
32490 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32491 * nptl/pthread_once.c (clear_once_control): Likewise.
32492 (__pthread_once_slow): Likewise.
32493 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32494 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32495 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32496 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32497 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32498 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32499 Likewise.
32500 (__pthread_rwlock_rdlock): Likewise.
32501 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32502 Likewise.
32503 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32504 Likewise.
32505 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32506 Likewise.
32507 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32508 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32509 Likewise.
32510 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32511 __ASSUME_PRIVATE_FUTEX check.
32512 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32513 Check that shared futexes are supported.
32514 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32515 wrappers with error checking.
32516 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32517 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32518 * nptl/pthread_barrierattr_setpshared.c
32519 (pthread_barrierattr_setpshared): Check that shared futexes are
32520 supported.
32521 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32522 Likewise.
32523 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32524 Likewise.
32525 * nptl/sem_init.c (futex_private_if_supported): Remove.
32526 (__new_sem_init): Adapt and check that shared futexes are supported.
32527 * nptl/sem_open.c (sem_open): Likewise.
32528 * nptl/sem_post.c (futex_wake): Remove.
32529 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32530 (do_futex_wait): Use futex wrappers with error checking.
32531 * nptl/sem_wait.c: Include lowlevellock.h.
32532 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32533 Use futex_supports_pshared.
32534 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32535 Use futex wrappers with error checking.
32536 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32537 Likewise.
32538 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32539 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32540 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32541 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32542 (futex_wake): Likewise.
32543 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32544 (do_futex_wait): Use futex wrappers with error checking.
32545 (__new_sem_wait_slow): Update EINTR handling.
32546 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32547
32548 2015-07-09 Martin Sebor <msebor@redhat.com>
32549
32550 [BZ #18435]
32551 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32552 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32553 * nptl/Makefile (test-xfail-tst-once5): Define.
32554
32555 2015-07-09 Roland McGrath <roland@hack.frob.com>
32556
32557 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32558 * elf/dl-minimal.c: For readability, reorder some definitions and
32559 introduce more page breaks. Include <stdio.h>.
32560 (__libc_fatal): New function.
32561
32562 * include/unistd.h: Add rtld_hidden_proto for _exit.
32563 * posix/_exit.c: Add rtld_hidden_def.
32564 * sysdeps/mach/hurd/_exit.c: Likewise.
32565 * sysdeps/nacl/_exit.c: Likewise.
32566 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32567 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32568
32569 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
32570
32571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32572 bndmov encoding with zero displacement.
32573
32574 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
32575 H.J. Lu <hongjiu.lu@intel.com>
32576
32577 [BZ #18134]
32578 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32579 * sysdeps/i386/configure: Regenerated.
32580 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32581 (_dl_runtime_profile): Save and restore Intel MPX return bound
32582 registers when calling _dl_call_pltexit. Add
32583 PRESERVE_BND_REGS_PREFIX before return.
32584 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32585 (LRV_BND1_OFFSET): Likewise.
32586 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32587 lrv_bnd1.
32588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32589 typo in bndmov encoding.
32590 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32591 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
32592 branch instructions to preserve bounds.
32593
32594 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32595
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32597 [GLIBC_2.22]: Add fmemopen.
32598
32599 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
32600
32601 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32602 returns an error, also try to use host port from __mach_host_self for
32603 the __vm_wire call.
32604 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32605
32606 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
32607
32608 [BZ #18400]
32609 [BZ #18648]
32610 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32611 Fix pr_uid and pr_gid members.
32612 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32613 definition to elf_greg_t.
32614
32615 2015-07-08 Roland McGrath <roland@hack.frob.com>
32616
32617 [BZ #18383]
32618 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32619 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32620 * sysdeps/arm/configure: Regenerated.
32621 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32622 (test-xfail-tst-tlsalign-static): Variable removed.
32623
32624 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32625 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32626 rather than explicit 'ln -s'.
32627
32628 * resolv/rpc/netdb.h: New file.
32629 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32630
32631 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32632
32633 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32634 length buffers.
32635 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32636 test-skeleton.c.
32637
32638 [BZ #6544]
32639 [BZ #11216]
32640 [BZ #12836]
32641 [BZ #13151]
32642 [BZ #13152]
32643 [BZ #14292]
32644 * include/stdio.h (fmemopen): Remove hidden prototype.
32645 (__fmemopen): Add new hidden prototype.
32646 * libio/Makefile: Add oldfmemopen object.
32647 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32648 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32649 compliance.
32650 * libio/oldfmemopen.c: New file: old fmemopen implementation for
32651 symbol compatibility.
32652 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32653 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32654 fmemopen.
32655 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32656 on append and read mode.
32657 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32658 fmemopen.
32659 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32660 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32661 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32662 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32663 Likewise.
32664 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32665 [GLIBC_2.22]: Likewise.
32666 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32667 Likewise.
32668 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32669 Likewise.
32670 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32671 [GLIBC_2.22]: Likewise.
32672 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32673 [GLIBC_2.22]: Likewise.
32674 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32675 [GLIBC_2.22]: Likewise.
32676 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32677 [GLIBC_2.22]: Likewise.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32679 [GLIBC_2.22]: Likewise.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32681 [GLIBC_2.22]: Likewise.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32683 [GLIBC_2.22]: Likewise.
32684 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32685 Likewise.
32686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32687 Likewise.
32688 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32689 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32690 [GLIBC_2.22]: Likewise.
32691 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32692 [GLIBC_2.22]: Likewise.
32693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32694 [GLIBC_2.22]: Likewise.
32695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32696 [GLIBC_2.22]: Likewise.
32697 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32698 Likewise.
32699 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32700 Likewise.
32701 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32702 Likewise.
32703 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32704 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32705
32706 2015-07-08 Carlos O'Donell <carlos@redhat.com>
32707
32708 [BZ #18643]
32709 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32710 IPV6_PATHMTU, and IPV6_DONTFRAG.
32711
32712 2015-07-08 Feng Gao <gfree.wind@gmail.com>
32713
32714 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32715 and _IO_UNBUFFERED.
32716 * libio/oldfileops.c: Likewise.
32717 * libio/wfileops.c: Likewise.
32718
32719 2015-07-08 Mike Frysinger <vapier@gentoo.org>
32720
32721 * nscd/selinux.c: Delete selinux/flask.h include.
32722
32723 2015-07-08 Mike Frysinger <vapier@gentoo.org>
32724
32725 [BZ #18641]
32726 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
32727 (putpwent): Likewise.
32728 (getpwnam): Likewise.
32729 (getpwent_r): Likewise.
32730 (getpwuid_r): Likewise.
32731 (getpwnam_r): Likewise.
32732 (fgetpwent_r): Likewise.
32733
32734 2015-07-08 Carlos O'Donell <carlos@redhat.com>
32735
32736 [BZ #18557]
32737 * inet/rcmd.c (__validuser2_sa): Check user first to
32738 short-circuit host check.
32739
32740 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
32741 Mikhail Ilin <m.ilin@samsung.com>
32742
32743 [BZ #17833]
32744 * elf/Makefile (tests): Add tst-nodelete.
32745 (modules-names): Add tst-nodelete-uniquemod.
32746 (tst-nodelete-uniquemod.so-no-z-defs): New.
32747 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
32748 (tst-nodelete-zmod.so-no-z-defs): Likewise.
32749 ($(objpfx)tst-nodelete): Likewise.
32750 ($(objpfx)tst-nodelete.out): Likewise.
32751 (LDFLAGS-tst-nodelete): Likewise.
32752 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
32753 * elf/dl-close.c (_dl_close_worker): Add a parameter to
32754 implement forced object deletion.
32755 (_dl_close): Pass false to _dl_close_worker.
32756 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
32757 * elf/tst-nodelete.cc: New file.
32758 * elf/tst-nodeletelib.cc: Likewise.
32759 * elf/tst-znodeletelib.cc: Likewise.
32760 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
32761
32762 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
32763
32764 [BZ #18508]
32765 * stdlib/Makefile ($(objpfx)tst-makecontext3):
32766 Depend on $(libdl).
32767 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
32768 is not called infinitely times.
32769 (backtrace_helper): New function.
32770 (trace_arg): New struct.
32771 (st1): Enlarge stack size.
32772 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32773 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
32774 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32775 Likewise.
32776
32777 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
32778
32779 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32780
32781 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
32782
32783 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
32784 Include sys/types.h instead of bits/types.h.
32785 Remove inclusion of bits/wordsize.h.
32786
32787 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
32788
32789 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
32790 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
32791 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
32792 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
32793 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
32794 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
32795
32796 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
32797
32798 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
32799 link-defines.sym.
32800 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
32801 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
32802 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
32803 and LR_SIZE.
32804 * sysdeps/i386/link-defines.sym: New file.
32805
32806 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
32809 (modules-names): Add tst-auditmod3a tst-auditmod3b.
32810 ($(objpfx)tst-audit3): New rule.
32811 ($(objpfx)tst-audit3.out): Likewise.
32812 * sysdeps/i386/tst-audit3.c: New file.
32813 * sysdeps/i386/tst-audit3.h: Likewise.
32814 * sysdeps/i386/tst-auditmod3a.c: Likewise.
32815 * sysdeps/i386/tst-auditmod3b.c: Likewise.
32816
32817 2015-07-07 Torvald Riegel <triegel@redhat.com>
32818
32819 [BZ #18633]
32820 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
32821 pointer in C code.
32822 (__strcat_c): Likewise.
32823 (__strcat_g): Likewise.
32824
32825 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
32826
32827 [BZ #18592]
32828 * misc/sbrk.c: Set errno to ENOMEM on overflow.
32829
32830 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
32831
32832 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
32833 New function. (__ieee754_sqrtf): New function.
32834 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
32835 New function.
32836 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
32837 New function.
32838
32839 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
32840
32841 * sysdeps/ieee754/support.c: Remove unused file.
32842
32843 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
32844
32845 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
32846 registers instead of d ones so the layout is kernel abi compatible.
32847 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
32848 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
32849 Likewise.
32850
32851 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
32852
32853 * sysdeps/aarch64/libm-test-ulps: Regenerated.
32854
32855 2015-07-01 Joseph Myers <joseph@codesourcery.com>
32856
32857 [BZ #18619]
32858 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
32859 and return argument in case of subnormal argument.
32860
32861 2015-07-01 Martin Sebor <msebor@redhat.com>
32862
32863 [BZ #18435]
32864 * nptl/Makefile: Add tst-once5.cc.
32865 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32866 Remove macro redefinitions.
32867 * nptl/tst-once5.cc: New test.
32868
32869 2015-07-01 Joseph Myers <joseph@codesourcery.com>
32870
32871 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32872
32873 * sysdeps/arm/libm-test-ulps: Regenerated.
32874
32875 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32876 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32877
32878 2015-06-30 Torvald Riegel <triegel@redhat.com>
32879
32880 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
32881 lll_lock_wait_private and lll_futex_wake probes.
32882
32883 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32884 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
32885 Likewise.
32886 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
32887 atomic_spin_nop.
32888 * sysdeps/x86_64/bits/atomic.h: Likewise.
32889 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
32890 to atomic_spin_nop and move ...
32891 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32892 ... here and ...
32893 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
32894 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
32895 atomic_spin_nop instead of BUSY_WAIT_NOP.
32896 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
32897 Likewise.
32898 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
32899 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32900 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
32901 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
32902 instead of atomic_delay.
32903
32904 2015-06-29 Joseph Myers <joseph@codesourcery.com>
32905
32906 [BZ #18613]
32907 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
32908 X_ADJ not X when adjusting exponent.
32909 (__ieee754_gamma_r): Do intermediate computations in
32910 round-to-nearest then adjust overflowing and underflowing results
32911 as needed.
32912 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
32913 of X_ADJ not X when adjusting exponent.
32914 (__ieee754_gammaf_r): Do intermediate computations in
32915 round-to-nearest then adjust overflowing and underflowing results
32916 as needed.
32917 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
32918 log of X_ADJ not X when adjusting exponent.
32919 (__ieee754_gammal_r): Do intermediate computations in
32920 round-to-nearest then adjust overflowing and underflowing results
32921 as needed. Use 1.0L not 1.0f as numerator of division.
32922 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
32923 log of X_ADJ not X when adjusting exponent.
32924 (__ieee754_gammal_r): Do intermediate computations in
32925 round-to-nearest then adjust overflowing and underflowing results
32926 as needed. Use 1.0L not 1.0f as numerator of division.
32927 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
32928 of X_ADJ not X when adjusting exponent.
32929 (__ieee754_gammal_r): Do intermediate computations in
32930 round-to-nearest then adjust overflowing and underflowing results
32931 as needed. Use 1.0L not 1.0f as numerator of division.
32932 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
32933 to auto-libm-test-in.
32934 (tgamma_test): Use ALL_RM_TEST.
32935 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
32936 tests of tgamma with spurious-overflow.
32937 * math/auto-libm-test-out: Regenerated.
32938 * math/gen-libm-have-vector-test.sh: Do not check for START.
32939 * sysdeps/i386/fpu/libm-test-ulps: Update.
32940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32941
32942 [BZ #18612]
32943 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
32944 arguments, just return 0.5 times the argument, with underflow
32945 forced as needed.
32946 * math/auto-libm-test-in: Add more tests of j1.
32947 * math/auto-libm-test-out: Regenerated.
32948
32949 [BZ #16559]
32950 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
32951 (__ieee754_j1): Force underflow exception for small results.
32952 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32953 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
32954 (__ieee754_j1f): Force underflow exception for small results.
32955 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32956 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32957 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32958 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
32959 (__ieee754_j1l): Force underflow exception for small results.
32960 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32961 * math/auto-libm-test-in: Add more tests of j1 and jn.
32962 * math/auto-libm-test-out: Regenerated.
32963
32964 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
32965 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
32966 (PF_MPLS): Likewise.
32967 (AF_IB): Likewise.
32968 (AF_MPLS): Likewise.
32969 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
32970 value and macro.
32971 (MS_RMT_MASK): Include MS_LAZYTIME.
32972
32973 2015-06-26 Mel Gorman <mgorman@suse.de>
32974
32975 [BZ #18502]
32976 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
32977 already minimal.
32978
32979 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
32980
32981 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
32982 (DT_MIPS_NUM): Update.
32983 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
32984 DT_MIPS_RLD_MAP_REL.
32985
32986 2015-06-25 Joseph Myers <joseph@codesourcery.com>
32987
32988 [BZ #16559]
32989 [BZ #18602]
32990 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
32991 round-to-nearest internally then recompute results that
32992 underflowed to zero in the original rounding mode.
32993 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32994 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32995 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32997 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
32998 * sysdeps/i386/fpu/libm-test-ulps: Update.
32999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33000
33001 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
33002
33003 * NEWS: Fixed description of link with vector math library.
33004
33005 2015-06-25 Andreas Schwab <schwab@suse.de>
33006
33007 [BZ #18549]
33008 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33009 * libio/test-fmemopen.c (do_test): Add test for it.
33010
33011 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
33012
33013 [BZ #17841]
33014 * Makeconfig (no-pie-ldflag): New.
33015 (+link): Set to $(+link-pie) if default to PIE.
33016 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33017 * config.make.in (build-pie-default): New.
33018 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
33019 is default. AC_SUBST.
33020 * configure: Regenerated.
33021 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33022
33023 2015-06-24 Roland McGrath <roland@hack.frob.com>
33024
33025 * nptl/descr.h (struct pthread): Change type of field setxid_futex
33026 to 'unsigned int'.
33027
33028 * resolv/gai_misc.h (struct waitlist): Change type of field
33029 counterp to 'volatile unsigned int *'.
33030 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33031 FUTEXADDR and OLDVAL.
33032 * resolv/getaddrinfo_a.c (getaddrinfo_a):
33033 Give local variable TOTAL type 'volatile unsigned int'.
33034 (struct async_waitlist): Change type of field counter to 'unsigned int'.
33035 * resolv/gai_suspend.c (gai_suspend):
33036 Give local variable CNTR type 'unsigned int'.
33037
33038 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33039 counterp to 'volatile unsigned int *'.
33040 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33041 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33042 (aio_suspend): Give local variable CNTR type 'unsigned int'.
33043 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33044 Give local variable TOTAL type 'volatile unsigned int'.
33045 (struct async_waitlist): Change type of field counter to 'unsigned int'.
33046
33047 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
33048
33049 [BZ #18383]
33050 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33051 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
33052 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33053 comment for i386/x86-64.
33054 (test-xfail-tst-tlsalign-extern-static): Removed.
33055
33056 2015-06-24 Joseph Myers <joseph@codesourcery.com>
33057
33058 * math/test-double.h: New file.
33059 * math/test-float.h: Likewise.
33060 * math/test-ldouble.h: Likewise.
33061 * math/test-math-inline.h: Likewise.
33062 * math/test-math-no-inline.h: Likewise.
33063 * math/test-math-scalar.h: Likewise.
33064 * math/test-math-vector.h: Likewise.
33065 * math/test-vec-loop.h: Remove file. Contents moved into
33066 test-math-vector.h.
33067 * math/libm-test.inc (MATHCONST): Do not document macro.
33068 * math/test-double.c: Include test-double.h, test-math-no-inline.h
33069 and test-math-scalar.h.
33070 (FUNC): Remove macro.
33071 (FUNC_TEST): Likewise.
33072 (FLOAT): Likewise.
33073 (MATHCONST): Likewise.
33074 (PRINTF_EXPR): Likewise.
33075 (PRINTF_XEXPR): Likewise.
33076 (PRINTF_NEXPR): Likewise.
33077 (TEST_DOUBLE): Likewise.
33078 (TEST_MATHVEC): Likewise.
33079 (__NO_MATH_INLINES): Likewise.
33080 * math/test-float.c: Include test-float.h, test-math-no-inline.h
33081 and test-math-scalar.h.
33082 (FUNC): Remove macro.
33083 (FUNC_TEST): Likewise.
33084 (FLOAT): Likewise.
33085 (MATHCONST): Likewise.
33086 (PRINTF_EXPR): Likewise.
33087 (PRINTF_XEXPR): Likewise.
33088 (PRINTF_NEXPR): Likewise.
33089 (TEST_FLOAT): Likewise.
33090 (TEST_MATHVEC): Likewise.
33091 (__NO_MATH_INLINES): Likewise.
33092 * math/test-idouble.c: Include test-double.h, test-math-inline.h
33093 and test-math-scalar.h.
33094 (FUNC): Remove macro.
33095 (FUNC_TEST): Likewise.
33096 (FLOAT): Likewise.
33097 (MATHCONST): Likewise.
33098 (PRINTF_EXPR): Likewise.
33099 (PRINTF_XEXPR): Likewise.
33100 (PRINTF_NEXPR): Likewise.
33101 (TEST_DOUBLE): Likewise.
33102 (TEST_MATHVEC): Likewise.
33103 (TEST_INLINE): Likewise.
33104 (__NO_MATH_INLINES): Likewise.
33105 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33106 test-math-scalar.h.
33107 (FUNC): Remove macro.
33108 (FUNC_TEST): Likewise.
33109 (FLOAT): Likewise.
33110 (MATHCONST): Likewise.
33111 (PRINTF_EXPR): Likewise.
33112 (PRINTF_XEXPR): Likewise.
33113 (PRINTF_NEXPR): Likewise.
33114 (TEST_FLOAT): Likewise.
33115 (TEST_MATHVEC): Likewise.
33116 (TEST_INLINE): Likewise.
33117 (__NO_MATH_INLINES): Likewise.
33118 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33119 and test-math-scalar.h.
33120 (FUNC): Remove macro.
33121 (FUNC_TEST): Likewise.
33122 (FLOAT): Likewise.
33123 (MATHCONST): Likewise.
33124 (PRINTF_EXPR): Likewise.
33125 (PRINTF_XEXPR): Likewise.
33126 (PRINTF_NEXPR): Likewise.
33127 (TEST_LDOUBLE): Likewise.
33128 (TEST_MATHVEC): Likewise.
33129 (TEST_INLINE): Likewise.
33130 (__NO_MATH_INLINES): Likewise.
33131 * math/test-ldouble.c: Include test-ldouble.h,
33132 test-math-no-inline.h and test-math-scalar.h.
33133 (FUNC): Remove macro.
33134 (FUNC_TEST): Likewise.
33135 (FLOAT): Likewise.
33136 (MATHCONST): Likewise.
33137 (PRINTF_EXPR): Likewise.
33138 (PRINTF_XEXPR): Likewise.
33139 (PRINTF_NEXPR): Likewise.
33140 (TEST_LDOUBLE): Likewise.
33141 (TEST_MATHVEC): Likewise.
33142 (__NO_MATH_INLINES): Likewise.
33143 * math/test-double-vlen2.h: Include test-double.h,
33144 test-math-no-inline.h and test-math-vector.h.
33145 (FLOAT): Remove macro.
33146 (FUNC): Likewise.
33147 (MATHCONST): Likewise.
33148 (PRINTF_EXPR): Likewise.
33149 (PRINTF_XEXPR): Likewise.
33150 (PRINTF_NEXPR): Likewise.
33151 (TEST_DOUBLE): Likewise.
33152 (TEST_MATHVEC): Likewise.
33153 (__NO_MATH_INLINES): Likewise.
33154 (CNCT): Likewise.
33155 (CONCAT): Likewise.
33156 (WRAPPER_NAME): Likewise.
33157 (WRAPPER_DECL): Likewise.
33158 (WRAPPER_DECL_ff): Likewise.
33159 (WRAPPER_DECL_fFF): Likewise.
33160 (VECTOR_WRAPPER): Likewise.
33161 (VECTOR_WRAPPER_ff): Likewise.
33162 (VECTOR_WRAPPER_fFF): Likewise.
33163 (VEC_LEN): New macro.
33164 * math/test-double-vlen4.h: Include test-double.h,
33165 test-math-no-inline.h and test-math-vector.h.
33166 (FLOAT): Remove macro.
33167 (FUNC): Likewise.
33168 (MATHCONST): Likewise.
33169 (PRINTF_EXPR): Likewise.
33170 (PRINTF_XEXPR): Likewise.
33171 (PRINTF_NEXPR): Likewise.
33172 (TEST_DOUBLE): Likewise.
33173 (TEST_MATHVEC): Likewise.
33174 (__NO_MATH_INLINES): Likewise.
33175 (CNCT): Likewise.
33176 (CONCAT): Likewise.
33177 (WRAPPER_NAME): Likewise.
33178 (WRAPPER_DECL): Likewise.
33179 (WRAPPER_DECL_ff): Likewise.
33180 (WRAPPER_DECL_fFF): Likewise.
33181 (VECTOR_WRAPPER): Likewise.
33182 (VECTOR_WRAPPER_ff): Likewise.
33183 (VECTOR_WRAPPER_fFF): Likewise.
33184 (VEC_LEN): New macro.
33185 * math/test-double-vlen8.h: Include test-double.h,
33186 test-math-no-inline.h and test-math-vector.h.
33187 (FLOAT): Remove macro.
33188 (FUNC): Likewise.
33189 (MATHCONST): Likewise.
33190 (PRINTF_EXPR): Likewise.
33191 (PRINTF_XEXPR): Likewise.
33192 (PRINTF_NEXPR): Likewise.
33193 (TEST_DOUBLE): Likewise.
33194 (TEST_MATHVEC): Likewise.
33195 (__NO_MATH_INLINES): Likewise.
33196 (CNCT): Likewise.
33197 (CONCAT): Likewise.
33198 (WRAPPER_NAME): Likewise.
33199 (WRAPPER_DECL): Likewise.
33200 (WRAPPER_DECL_ff): Likewise.
33201 (WRAPPER_DECL_fFF): Likewise.
33202 (VECTOR_WRAPPER): Likewise.
33203 (VECTOR_WRAPPER_ff): Likewise.
33204 (VECTOR_WRAPPER_fFF): Likewise.
33205 (VEC_LEN): New macro.
33206 * math/test-float-vlen4.h: Include test-float.h,
33207 test-math-no-inline.h and test-math-vector.h.
33208 (FLOAT): Remove macro.
33209 (FUNC): Likewise.
33210 (MATHCONST): Likewise.
33211 (PRINTF_EXPR): Likewise.
33212 (PRINTF_XEXPR): Likewise.
33213 (PRINTF_NEXPR): Likewise.
33214 (TEST_FLOAT): Likewise.
33215 (TEST_MATHVEC): Likewise.
33216 (__NO_MATH_INLINES): Likewise.
33217 (CNCT): Likewise.
33218 (CONCAT): Likewise.
33219 (WRAPPER_NAME): Likewise.
33220 (WRAPPER_DECL): Likewise.
33221 (WRAPPER_DECL_ff): Likewise.
33222 (WRAPPER_DECL_fFF): Likewise.
33223 (VECTOR_WRAPPER): Likewise.
33224 (VECTOR_WRAPPER_ff): Likewise.
33225 (VECTOR_WRAPPER_fFF): Likewise.
33226 (VEC_LEN): New macro.
33227 * math/test-float-vlen8.h: Include test-float.h,
33228 test-math-no-inline.h and test-math-vector.h.
33229 (FLOAT): Remove macro.
33230 (FUNC): Likewise.
33231 (MATHCONST): Likewise.
33232 (PRINTF_EXPR): Likewise.
33233 (PRINTF_XEXPR): Likewise.
33234 (PRINTF_NEXPR): Likewise.
33235 (TEST_FLOAT): Likewise.
33236 (TEST_MATHVEC): Likewise.
33237 (__NO_MATH_INLINES): Likewise.
33238 (CNCT): Likewise.
33239 (CONCAT): Likewise.
33240 (WRAPPER_NAME): Likewise.
33241 (WRAPPER_DECL): Likewise.
33242 (WRAPPER_DECL_ff): Likewise.
33243 (WRAPPER_DECL_fFF): Likewise.
33244 (VECTOR_WRAPPER): Likewise.
33245 (VECTOR_WRAPPER_ff): Likewise.
33246 (VECTOR_WRAPPER_fFF): Likewise.
33247 (VEC_LEN): New macro.
33248 * math/test-float-vlen16.h: Include test-float.h,
33249 test-math-no-inline.h and test-math-vector.h.
33250 (FLOAT): Remove macro.
33251 (FUNC): Likewise.
33252 (MATHCONST): Likewise.
33253 (PRINTF_EXPR): Likewise.
33254 (PRINTF_XEXPR): Likewise.
33255 (PRINTF_NEXPR): Likewise.
33256 (TEST_FLOAT): Likewise.
33257 (TEST_MATHVEC): Likewise.
33258 (__NO_MATH_INLINES): Likewise.
33259 (CNCT): Likewise.
33260 (CONCAT): Likewise.
33261 (WRAPPER_NAME): Likewise.
33262 (WRAPPER_DECL): Likewise.
33263 (WRAPPER_DECL_ff): Likewise.
33264 (WRAPPER_DECL_fFF): Likewise.
33265 (VECTOR_WRAPPER): Likewise.
33266 (VECTOR_WRAPPER_ff): Likewise.
33267 (VECTOR_WRAPPER_fFF): Likewise.
33268 (VEC_LEN): New macro.
33269 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33270 test-vec-loop.h.
33271 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33272 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33273 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33274 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33275 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33276 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33277 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33278
33279 2015-06-24 Roland McGrath <roland@hack.frob.com>
33280
33281 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33282 (__getlogin_r): ... this.
33283
33284 2015-06-24 Joseph Myers <joseph@codesourcery.com>
33285
33286 [BZ #18594]
33287 * math/s_ccosh.c (__ccosh): Compare with least normal value
33288 instead of comparing class with FP_SUBNORMAL.
33289 * math/s_ccoshf.c (__ccoshf): Likewise.
33290 * math/s_ccoshl.c (__ccoshl): Likewise.
33291 * math/s_cexp.c (__cexp): Likewise.
33292 * math/s_cexpf.c (__cexpf): Likewise.
33293 * math/s_cexpl.c (__cexpl): Likewise.
33294 * math/s_csin.c (__csin): Likewise.
33295 * math/s_csinf.c (__csinf): Likewise.
33296 * math/s_csinh.c (__csinh): Likewise.
33297 * math/s_csinhf.c (__csinhf): Likewise.
33298 * math/s_csinhl.c (__csinhl): Likewise.
33299 * math/s_csinl.c (__csinl): Likewise.
33300 * math/s_ctan.c (__ctan): Likewise.
33301 * math/s_ctanf.c (__ctanf): Likewise.
33302 * math/s_ctanh.c (__ctanh): Likewise.
33303 * math/s_ctanhf.c (__ctanhf): Likewise.
33304 * math/s_ctanhl.c (__ctanhl): Likewise.
33305 * math/s_ctanl.c (__ctanl): Likewise.
33306 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33307 csin, csinh, ctan and ctanh.
33308 * math/auto-libm-test-out: Regenerated.
33309 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33310 * sysdeps/i386/fpu/libm-test-ulps: Update.
33311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33312
33313 2015-06-24 Roland McGrath <roland@hack.frob.com>
33314
33315 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33316 return value is wrong, print the expected value too.
33317
33318 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
33319
33320 [BZ #18585]
33321 * elf/readlib.c (is_gdb_python_file): New.
33322 (process_file): Don't issue errors on filenames with -gdb.py
33323 suffix.
33324
33325 2015-06-24 Joseph Myers <joseph@codesourcery.com>
33326
33327 * math/auto-libm-test-in: Add more tests of csin and csinh.
33328 * math/auto-libm-test-out: Regenerated.
33329 * math/libm-test.inc (csin_test_data): Remove tests moved to
33330 auto-libm-test-in.
33331 (csinh_test_data): Likewise.
33332
33333 [BZ #18593]
33334 * math/s_csin.c (__csin): Negate before rather than after possibly
33335 overflowing multiplication.
33336 * math/s_csinf.c (__csinf): Likewise.
33337 * math/s_csinh.c (__csinh): Likewise.
33338 * math/s_csinhf.c (__csinhf): Likewise.
33339 * math/s_csinhl.c (__csinhl): Likewise.
33340 * math/s_csinl.c (__csinl): Likewise.
33341 * math/auto-libm-test-in: Add some tests of csin and csinh.
33342 * math/auto-libm-test-out: Regenerated.
33343 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33344 (csinh_test_data): Likewise.
33345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33346
33347 [BZ #18586]
33348 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33349 underflow exception for small results.
33350
33351 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
33352
33353 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33354 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33355 variable and included header.
33356 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33357 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33358 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33359 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33360 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33361 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33362 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33363 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33364 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33365 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33366 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33367 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33368 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33369 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33370 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33371 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33372
33373 2015-06-23 Joseph Myers <joseph@codesourcery.com>
33374
33375 [BZ #16526]
33376 [BZ #16538]
33377 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33378 (__sin): Force underflow exception for arguments with small
33379 absolute value.
33380 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33381 (__kernel_sinf): Force underflow exception for arguments with
33382 small absolute value.
33383 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33384 (__kernel_sincosl): Force underflow exception for arguments with
33385 small absolute value.
33386 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33387 (__kernel_sinl): Force underflow exception for arguments with
33388 small absolute value.
33389 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33390 (__kernel_sincosl): Force underflow exception for arguments with
33391 small absolute value.
33392 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33393 (__kernel_sinl): Force underflow exception for arguments with
33394 small absolute value.
33395 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33396 (__kernel_sinl): Force underflow exception for arguments with
33397 small absolute value.
33398 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33399 (__kernel_sinf): Force underflow exception for arguments with
33400 small absolute value.
33401 * math/auto-libm-test-in: Add more tests of sin and sincos.
33402 * math/auto-libm-test-out: Regenerated.
33403
33404 [BZ #18245]
33405 [BZ #18583]
33406 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33407 (__kernel_standard_l): Use feholdexcept and fesetenv around
33408 conversion to double instead of special-casing overflow and
33409 underflow.
33410 * math/libm-test.inc (fmod_test_data): Add more tests.
33411 (remainder_test_data): Likewise.
33412 (sqrt_test_data): Likewise.
33413
33414 2015-06-23 Torvald Riegel <triegel@redhat.com>
33415
33416 [BZ #17403]
33417 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33418 atomic_read_barrier, atomic_write_barrier): Define.
33419 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33420 atomic_read_barrier, atomic_write_barrier): Define.
33421
33422 2015-06-23 Joseph Myers <joseph@codesourcery.com>
33423
33424 * math/Makefile [$(PERL) != no]
33425 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33426 dependency on libm-test.stmp below the inclusion of Rules.
33427
33428 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
33429
33430 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33431 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33432 and included header.
33433 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33434 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33435 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33436 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33437 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33440 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33441 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33442 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33443 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33444 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33445 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33446 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33447 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33448 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33449 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33450 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33451 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33452
33453 2015-06-23 Joseph Myers <joseph@codesourcery.com>
33454
33455 [BZ #18371]
33456 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33457 intermediate but not final result might underflow.
33458 * math/s_csqrtf.c (__csqrtf): Likewise.
33459 * math/s_csqrtl.c (__csqrtl): Likewise.
33460 * math/auto-libm-test-in: Add more tests of csqrt.
33461 * math/auto-libm-test-out: Regenerated.
33462 * sysdeps/i386/fpu/libm-test-ulps: Update.
33463
33464 [BZ #18219]
33465 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33466 threshold on absolute value of exponent for which scaling is used.
33467 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33468 * math/auto-libm-test-in: Add more tests of exp2.
33469 * math/auto-libm-test-out: Regenerated.
33470
33471 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
33472
33473 [BZ #17977]
33474 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33475 when initializing interface list, based on the bug analysis
33476 and the patch proposed by Eric Newton.
33477 * resolv/tst-res_hconf_reorder.c: New test.
33478 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33479 tst-res_hconf_reorder.
33480 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33481 and $(shared-thread-library).
33482 (tst-res_hconf_reorder-ENV): New variable.
33483
33484 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33485 in comment.
33486
33487 2015-06-22 Joseph Myers <joseph@codesourcery.com>
33488
33489 [BZ #16353]
33490 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33491 (__expm1): Force underflow exception for arguments with small
33492 absolute value.
33493 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33494 (__expm1f): Force underflow exception for arguments with small
33495 absolute value.
33496 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33497 (__expm1): Force underflow exception for arguments with small
33498 absolute value.
33499 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33500 (__expm1f): Force underflow exception for arguments with small
33501 absolute value.
33502 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33503 Check for small arguments before calling __expm1.
33504 * math/auto-libm-test-in: Do not mark underflow exceptions as
33505 possibly missing for bug 16353.
33506 * math/auto-libm-test-out: Regenerated.
33507
33508 2015-06-22 Andreas Schwab <schwab@suse.de>
33509
33510 [BZ #18513]
33511 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33512 PTR queries.
33513
33514 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
33515
33516 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33517
33518 * string/strcoll_l.c: Remove unused struct element idxnow.
33519
33520 2015-06-21 Joseph Myers <joseph@codesourcery.com>
33521
33522 [BZ #18569]
33523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33524 underflow and return argument in case of subnormal argument.
33525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33526 Likewise.
33527 * math/auto-libm-test-in: Add more tests of expm1.
33528 * math/auto-libm-test-out: Regenerated.
33529
33530 [BZ #16361]
33531 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33532 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33533 tiny results.
33534 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33535 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33536 tiny results.
33537 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
33538 mark underflow exceptions as possibly missing for bug 16361.
33539 * math/auto-libm-test-out: Regenerated.
33540
33541 2015-06-19 Joseph Myers <joseph@codesourcery.com>
33542
33543 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33544 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33545 Remove variable.
33546 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33547 (test-xfail-XOPEN2K8/utmpx.h/conform).
33548
33549 * conform/conformtest.pl ($xerrors): New variable.
33550 (note_error): New function.
33551 (compiletest): New argument $xfail. Use not_error.
33552 (runtest): Likewise.
33553 (top level): Handle xfail- lines. Update calls to compiletest and
33554 runtest. Handle xfail- and optional- in headers listed with
33555 allow-header.
33556 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33557 (O_EXEC): Likewise.
33558 (O_SEARCH): Likewise.
33559 * conform/data/stropts.h-data (ioctl): Likewise.
33560 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33561 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33562 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33563 (msghdr.msg_controllen): Likewise.
33564 (cmsghdr.cmsg_len): Likewise.
33565 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33566 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33567 variable.
33568 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33569 (test-xfail-XPG4/stropts.h/conform): Likewise.
33570 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33571 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33572 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33573 (test-xfail-UNIX98/stropts.h/conform): Likewise.
33574 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33575 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33576 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33577 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33578 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33579 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33580 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33581 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33582 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33583 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33584 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33585 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33586 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33587 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33588 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33589
33590 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
33591
33592 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33593 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33594 definitions for proper unfolding of __MATHDECL_VEC.
33595
33596 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
33597
33598 * benchtests/bench-strcoll.c:
33599 Include string.h.
33600 (main): Remove unused variable res.
33601
33602 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
33603
33604 * timezone/Makefile (%/UTC %/Universal):
33605 Generate test-result files for UTC and Universal.
33606
33607 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
33608
33609 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33610
33611 2015-06-18 Joseph Myers <joseph@codesourcery.com>
33612
33613 [BZ #16350]
33614 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33615 for arguments with small absolute value.
33616 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33617 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33618 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33619 (__asinh): Force underflow exception for arguments with small
33620 absolute value.
33621 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33622 (__asinhf): Force underflow exception for arguments with small
33623 absolute value.
33624 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33625 (__asinhl): Force underflow exception for arguments with small
33626 absolute value.
33627 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33628 (__asinhl): Force underflow exception for arguments with small
33629 absolute value.
33630 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33631 (__asinhl): Force underflow exception for arguments with small
33632 absolute value.
33633 * math/auto-libm-test-in: Do not mark underflow exceptions as
33634 possibly missing for bug 16350.
33635 * math/auto-libm-test-out: Regenerated.
33636
33637 * include/bits/ipc.h: Remove file.
33638 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33639 variable.
33640 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33641 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33642 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33643 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33644 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33645 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33646 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33647 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33648 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33649
33650 * math/auto-libm-test-in: Remove spurious underflow allowance for
33651 tests of cexp.
33652 * math/auto-libm-test-out: Regenerated.
33653
33654 [BZ #18558]
33655 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33656 unconditional definition.
33657 (MCAST_BLOCK_SOURCE): Likewise.
33658 (MCAST_UNBLOCK_SOURCE): Likewise.
33659 (MCAST_LEAVE_GROUP): Likewise.
33660 (MCAST_JOIN_SOURCE_GROUP): Likewise.
33661 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33662 (MCAST_MSFILTER): Likewise.
33663 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33664 Remove variable.
33665 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33666 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33667 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33668 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33669 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33670
33671 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
33672
33673 * NEWS: Mention addition of x86_64 vector sincosf.
33674 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33675 * math/test-float-vlen4.h: Likewise.
33676 * math/test-float-vlen8.h: Likewise.
33677 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33678 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33679 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33680 * sysdeps/x86_64/fpu/Versions: New versions added.
33681 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33682 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33683 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33684 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33685 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33686 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33687 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33688 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33689 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33690 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33691 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33692 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33693 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33694 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33695 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33696 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33697 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33698 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33699 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33700 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33701 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33702 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33703 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33704 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33705
33706 * NEWS: Mention addition of x86_64 vector sincos.
33707 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33708 * math/math.h (__MATHDECL_VEC): New macro.
33709 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33710 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33711 declaration under condition.
33712 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33713 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33714 TEST_VEC_LOOP change.
33715 * math/test-double-vlen4.h: Likewise.
33716 * math/test-double-vlen8.h: Likewise.
33717 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
33718 * math/test-float-vlen4.h: Likewise.
33719 * math/test-float-vlen8.h: Likewise.
33720 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33721 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
33722 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33723 * sysdeps/x86_64/fpu/Versions: New versions added.
33724 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33725 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33726 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33727 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
33728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
33729 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
33730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
33731 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
33732 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
33733 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
33734 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
33735 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
33736 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
33737 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
33738 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
33739 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
33740 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
33741 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33742 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33743 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33744 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33745 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33746 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33747 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33748
33749 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33750 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33751 redirections for powf.
33752 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33753 * sysdeps/x86_64/fpu/Versions: New versions added.
33754 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33755 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33756 Added build of SSE, AVX2 and AVX512 IFUNC versions.
33757 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
33758 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
33759 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
33760 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
33761 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
33762 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
33763 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
33764 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
33765 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
33766 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
33767 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
33768 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
33769 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
33770 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
33771 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33772 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33773 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33774 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33775 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33776 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33777 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33778 * math/test-float-vlen16.h: Fixed 2 argument macro.
33779 * math/test-float-vlen4.h: Likewise.
33780 * math/test-float-vlen8.h: Likewise.
33781 * NEWS: Mention addition of x86_64 vector powf.
33782
33783 2015-06-17 Joseph Myers <joseph@codesourcery.com>
33784
33785 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33786 and redefine.
33787 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33788 and redefine.
33789 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
33790 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33792
33793 [BZ #18553]
33794 * resource/getpriority.c (getpriority): Rename to __getpriority
33795 and define as weak alias of __getpriority.
33796 * resource/setpriority.c (setpriority): Rename to __setpriority
33797 and define as weak alias of __setpriority.
33798 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
33799 __getpriority and define as weak alias of __getpriority.
33800 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
33801 __setpriority and define as weak alias of __setpriority.
33802 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
33803 strong name.
33804 (setpriority): Use __setpriority as strong name.
33805 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
33806 __getpriority and define as weak alias of __getpriority.
33807 * include/sys/resource.h (__getpriority): Declare. Use
33808 libc_hidden_proto.
33809 (__setpriority): Likewise.
33810 (getpriority): Don't use libc_hidden_proto.
33811 (setpriority): Likewise.
33812 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
33813 getpriority. Call __setpriority instead of setpriority.
33814 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
33815 Remove variable.
33816
33817 [BZ #18547]
33818 * misc/getttyent.c (getttynam): Rename to __getttynam and define
33819 as weak alias of __getttynam. Use prototype function definition.
33820 Call __setttyent, __getttyent and __endttyent instead of
33821 setttyent, getttyent and endttyent.
33822 (getttyent): Rename to __getttyent and define as weak alias of
33823 __getttyent. Call __setttyent instead of setttyent. Call
33824 __fgets_unlocked instead of fgets_unlocked.
33825 (setttyent): Rename to __setttyent and define as weak alias of
33826 __setttyent.
33827 (endttyent): Rename to __endttyent and define as weak alias of
33828 __endttyent.
33829 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
33830 (__setttyent): Likewise.
33831 (__endttyent): Likewise.
33832 (getttyent): Don't use libc_hidden_proto.
33833 (setttyent): Likewise.
33834 (endttyent): Likewise.
33835 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
33836 __endttyent instead of setttyent, getttyent and endttyent.
33837 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
33838 Remove variable.
33839
33840 [BZ #18546]
33841 * socket/recv.c (__recv): Use libc_hidden_def.
33842 * socket/socket.c (__socket): Likewise.
33843 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
33844 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
33845 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
33846 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
33847 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
33848 libc_hidden_def.
33849 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
33850 libc_hidden_weak.
33851 * include/sys/socket.h (__socket): Do not use attribute_hidden.
33852 Use libc_hidden_proto.
33853 (__recv): Likewise.
33854 * socket/Versions (libc): Export __recv and __socket at version
33855 GLIBC_PRIVATE.
33856 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
33857 instead of recv.
33858 (init_mq_netlink): Call __socket instead of socket.
33859 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
33860 Remove variable.
33861
33862 [BZ #18545]
33863 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
33864 __mq_timedreceive and define as alias of __mq_timedreceive. Use
33865 hidden_weak.
33866 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
33867 define as alias of __mq_timedsend. Use hidden_weak.
33868 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
33869 __mq_timedsend as strong name.
33870 (mq_timedreceive): Use __mq_timedreceive as strong name.
33871 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
33872 (__mq_timedreceive): Likewise.
33873 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
33874 __mq_timedreceive instead of mq_timedreceive.
33875 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
33876 instead of mq_timedsend.
33877 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
33878 Remove variable.
33879
33880 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
33881 hidden_def and hidden_weak instead of libc_hidden_def and
33882 libc_hidden_weak.
33883 (top level): Refer to hidden_def in comment.
33884 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
33885 macro. Use it instead of libc_hidden_def.
33886 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
33887 specify __GI_* name explicitly.
33888 (mq_timedreceive): Likewise.
33889 (mq_setattr): Likewise.
33890
33891 [BZ #18544]
33892 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
33893 __pthread_barrier_init and define as weak alias of
33894 __pthread_barrier_init.
33895 * sysdeps/sparc/nptl/pthread_barrier_init.c
33896 (pthread_barrier_init): Likewise.
33897 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
33898 __pthread_barrier_wait and define as weak alias of
33899 __pthread_barrier_wait.
33900 * sysdeps/sparc/nptl/pthread_barrier_wait.c
33901 (pthread_barrier_wait): Likewise.
33902 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
33903 (pthread_barrier_wait): Likewise.
33904 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
33905 (pthread_barrier_wait): Likewise.
33906 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
33907 (pthread_barrier_wait): Likewise.
33908 * nptl/Versions (libpthread): Export __pthread_barrier_init and
33909 __pthread_barrier_wait at version GLIBC_PRIVATE.
33910 * include/pthread.h (__pthread_barrier_init): Declare.
33911 (__pthread_barrier_wait): Likewise.
33912 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
33913 Call __pthread_barrier_wait instead of pthread_barrier_wait.
33914 (helper_thread): Likewise.
33915 (init_mq_netlink): Call __pthread_barrier_init instead of
33916 pthread_barrier_init.
33917
33918 [BZ #18542]
33919 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
33920 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
33921 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
33922 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
33923 vswscanf.
33924 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
33925 Remove variable.
33926
33927 [BZ #18540]
33928 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
33929 strong alias of _IO_fflush. Use libc_hidden_def.
33930 * libio/iofflush_u.c (fflush_unlocked): Rename to
33931 __fflush_unlocked and define as weak alias of __fflush_unlocked.
33932 Use libc_hidden_weak.
33933 * include/stdio.h (__fflush_unlocked): Declare. Use
33934 libc_hidden_proto.
33935 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
33936 fflush_unlocked.
33937 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
33938 Remove variable.
33939
33940 [BZ #18539]
33941 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
33942 define as weak alias of __addseverity.
33943 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
33944 Remove variable.
33945 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33946 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33947 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33948
33949 [BZ #18536]
33950 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
33951 (__tfind): Likewise.
33952 (__tdelete): Likewise.
33953 (__twalk): Likewise.
33954 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
33955 __twalk to GLIBC_PRIVATE.
33956 * include/search.h (__tsearch): Use libc_hidden_proto.
33957 (__tfind): Likewise.
33958 (__tdelete): Likewise.
33959 (__twalk): Likewise.
33960 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
33961 Call __tdelete instead of tdelete.
33962 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
33963 tfind. Call __tsearch instead of tsearch.
33964 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
33965 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
33966 Remove variable.
33967 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33968
33969 [BZ #18534]
33970 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
33971 (dprintf): Define as a weak alias of __dprintf, not a strong
33972 alias.
33973 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
33974 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
33975 dprintf.
33976 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
33977 Remove variable.
33978 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33979 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33980
33981 [BZ #18533]
33982 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
33983 not a strong alias.
33984 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
33985 Remove variable.
33986
33987 [BZ #18532]
33988 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
33989 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
33990 (in6addr_loopback): Rename to __in6addr_loopback and define as
33991 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
33992 * include/netinet/in.h (__in6addr_loopback): Declare. Use
33993 libc_hidden_proto.
33994 (__in6addr_any): Likewise.
33995 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
33996 in6addr_any.
33997 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
33998 variable.
33999 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34000
34001 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
34002
34003 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34004 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34005 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34006 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34007 redirections for pow.
34008 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34009 * sysdeps/x86_64/fpu/Versions: New versions added.
34010 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34011 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34012 build of SSE, AVX2 and AVX512 IFUNC versions.
34013 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34014 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34015 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34016 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34017 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34018 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34019 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34020 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34021 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34022 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34023 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34024 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34025 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34026 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34027 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34028 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34029 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34030 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34031 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34032 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34033 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34034 * NEWS: Mention addition of x86_64 vector pow.
34035
34036 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34037 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34038 redirections for expf.
34039 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34040 * sysdeps/x86_64/fpu/Versions: New versions added.
34041 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34042 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34043 build of SSE, AVX2 and AVX512 IFUNC versions.
34044 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34045 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34046 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34047 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34048 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34049 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34050 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34051 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34052 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34053 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34054 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34055 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34056 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34057 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34058 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34059 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34060 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34061 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34062 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34063 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34064 * NEWS: Mention addition of x86_64 vector expf.
34065
34066 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34067 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34068 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34069 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34070 redirections for exp.
34071 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34072 * sysdeps/x86_64/fpu/Versions: New versions added.
34073 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34074 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34075 build of SSE, AVX2 and AVX512 IFUNC versions.
34076 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34077 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34078 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34079 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34080 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34081 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34082 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34083 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34084 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34085 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34086 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34087 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34088 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34089 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34090 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34091 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34092 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34093 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34094 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34095 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34096 * NEWS: Mention addition of x86_64 vector exp.
34097
34098 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34099 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34100 redirections for logf.
34101 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34102 * sysdeps/x86_64/fpu/Versions: New versions added.
34103 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34104 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34105 build of SSE, AVX2 and AVX512 IFUNC versions.
34106 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34107 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34108 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34109 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34110 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34111 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34112 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34113 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34114 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34115 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34116 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34117 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34118 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34119 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34120 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34121 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34122 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34123 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34124 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34125 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34126 * NEWS: Mention addition of x86_64 vector logf.
34127
34128 * bits/libm-simd-decl-stubs.h: Added stubs for log.
34129 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34130 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34131 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34132 redirections for log.
34133 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34134 * sysdeps/x86_64/fpu/Versions: New versions added.
34135 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34136 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34137 build of SSE, AVX2 and AVX512 IFUNC versions.
34138 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34139 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34140 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34141 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34142 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34143 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34144 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34145 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34146 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34147 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34148 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34149 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34150 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34151 test.
34152 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34153 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34154 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34155 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34156 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34157 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34158 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34159 * NEWS: Mention addition of x86_64 vector log.
34160
34161 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
34162
34163 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34164 cfi_adjust_cfa_offset argument.
34165 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34166 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34167
34168 [BZ #18034]
34169 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34170 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34171 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34172 ordering using ldar.
34173 (_dl_tlsdesc_dynamic): Likewise.
34174 (_dl_tlsdesc_return_lazy): Likewise.
34175 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34176 relaxed atomics instead of volatile and synchronize with release store.
34177 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34178 volatile.
34179 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34180
34181 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
34182
34183 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34184 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
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_s_sinf16_core.S: New file.
34191 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34192 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34193 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34194 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34195 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34196 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34197 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34198 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34199 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34200 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34201 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34202 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34203 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34204 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34205 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34206 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34207 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34208 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34209 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34210 * NEWS: Mention addition of x86_64 vector sinf.
34211
34212 2015-06-14 Joseph Myers <joseph@codesourcery.com>
34213
34214 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34215 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34216 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34217 Remove variable.
34218 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34219 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34220
34221 2015-06-12 Joseph Myers <joseph@codesourcery.com>
34222
34223 [BZ #18530]
34224 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34225 strong alias of _IO_fputs. Use libc_hidden_def.
34226 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34227 and define as weak alias of __fputs_unlocked. Use
34228 libc_hidden_weak.
34229 * include/stdio.h (__fputs_unlocked): Declare. Use
34230 libc_hidden_proto.
34231 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34232 fputs_unlocked.
34233
34234 [BZ #18529]
34235 * resolv/netdb.h [__USE_POSIX]: Change condition to
34236 [__USE_XOPEN2K].
34237 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34238 not expect.
34239 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34240 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34241 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34242 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34243 [XPG4 || UNIX98] (AI_ALL): Likewise.
34244 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34245 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34246 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34247 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34248 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34249 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34250 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34251 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34252 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34253 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34254 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34255 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34256 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34257 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34258 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34259 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34260 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34261 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34262 [XPG4 || UNIX98] (gai_strerror): Likewise.
34263 [XPG4 || UNIX98] (getaddrinfo): Likewise.
34264 [XPG4 || UNIX98] (getnameinfo): Likewise.
34265
34266 [BZ #18528]
34267 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34268 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34269 __USE_XOPEN2K8].
34270 (getgrent): Likewise.
34271 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34272 expect.
34273 [XPG3 || POSIX2008] (endgrent): Likewise.
34274 [XPG3] (setgrent): Likewise.
34275 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34276 variable.
34277 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34278
34279 [BZ #18527]
34280 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34281 define as weak alias of __getlogin_r. Use libc_hidden_weak.
34282 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34283 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34284 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34285 * include/unistd.h (__getlogin_r): Declare. Use
34286 libc_hidden_proto.
34287 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34288 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34289 variable.
34290 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34291 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34292 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34293
34294 2015-06-12 Martin Sebor <msebor@redhat.com>
34295
34296 [BZ #18512]
34297 * Makerules (check-install-supported): New target.
34298 (install): Add check-install-supported as a dependency.
34299 * manual/install.texi (Installing the C Library): Document
34300 that overriding prefix and exec_prefix is not supported.
34301 Mention DESTDIR.
34302 * INSTALL: Regenerate from the above.
34303
34304 2015-06-12 Joseph Myers <joseph@codesourcery.com>
34305
34306 [BZ #18519]
34307 * posix/Versions (libc): Export __libc_pread at version
34308 GLIBC_PRIVATE.
34309 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34310 instead of pread.
34311 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34312 variable.
34313
34314 [BZ #18522]
34315 * misc/efgcvt_r.c
34316 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34317 (cvt_symbol): Use weak_alias instead of strong_alias.
34318 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34319 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34320 Remove variable.
34321 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34322 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34323
34324 [BZ #18520]
34325 * inet/herrno.c (h_errno): Rename to __h_errno.
34326 (__libc_h_errno): Define as alias of __h_errno not h_errno.
34327 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34328 to __h_errno instead of h_errno.
34329 * nptl/herrno.c (h_errno): Rename to __h_errno.
34330 (__h_errno_location): Refer to __h_errno not h_errno.
34331 * resolv/Versions (h_errno): Rename to __h_errno.
34332 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34333 Remove variable.
34334 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34335
34336 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
34337
34338 * configure.ac: More strict check for AVX512 assembler support.
34339 * configure: Regenerated.
34340
34341 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34342 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34343 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34344 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34345 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34346 * sysdeps/x86_64/fpu/Versions: New versions added.
34347 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34348 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34349 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34350 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34351 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34352 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34353 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34354 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34355 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34356 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34357 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34358 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34359 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34360 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34361 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34362 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34363 test.
34364 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34365 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34366 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34367 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34368 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34369 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34370 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34371 * NEWS: Mention addition of x86_64 vector sin.
34372
34373 2015-06-11 Florian Weimer <fweimer@redhat.com>
34374
34375 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34376 comment.
34377
34378 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
34379
34380 [BZ #18479]
34381 * nptl/pt-interp.c: New file.
34382 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34383 Add pt-interp.
34384 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34385 $(common-objpfx)runtime-linker.h.
34386
34387 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
34388
34389 * Makeconfig (+interp): Remove unused variable.
34390 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34391 only. Depend on $(common-objpfx)runtime-linker.h instead of
34392 $(elf-objpfx)runtime-linker.h.
34393 ($(elf-objpfx)runtime-linker.h): Rename to
34394 $(common-objpfx)runtime-linker.h and move ...
34395 * Makerules [$(build-shared) = yes]: ... here.
34396 * elf/interp.c: Include <runtime-linker.h> instead of
34397 <elf/runtime-linker.h>.
34398
34399 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34400
34401 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34402 (__gettimeofday_syscall): Remove vsyscall fallback.
34403 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34404 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34405 Add syscall fallback function.
34406 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34407 if vDSO is not present.
34408 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34409 fallback function.
34410 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34411 present.
34412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34413 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34414
34415 2015-06-09 Joseph Myers <joseph@codesourcery.com>
34416
34417 [BZ #18497]
34418 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34419 of wcscmp.
34420 (wcscmp): Define as weak alias of WCSCMP.
34421 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34422 wcscoll.
34423 (USE_HIDDEN_DEF): Define.
34424 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34425 __wcscoll. Don't use libc_hidden_weak.
34426 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34427 wcscmp.
34428 * sysdeps/i386/i686/multiarch/wcscmp-c.c
34429 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34430 __GI_wcscmp.
34431 (weak_alias): Undefine and redefine.
34432 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34433 __wcscmp and define as weak alias of __wcscmp.
34434 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34435 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
34436 (__wcscoll): Likewise.
34437 (wcscmp): Don't use libc_hidden_proto.
34438 (wcscoll): Likewise.
34439 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34440 wcscoll.
34441 * posix/regexec.c (check_node_accept_bytes): Likewise.
34442 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34443 variable.
34444 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34445 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34446
34447 [BZ #18507]
34448 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34449 __fstatvfs and define as weak alias of __fstatvfs. Use
34450 libc_hidden_weak.
34451 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34452 and define as weak alias of __statvfs. Use libc_hidden_weak.
34453 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34454 Define as alias of __fstatvfs, not fstatvfs.
34455 (fstatvfs64): Likewise.
34456 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34457 Define as alias of __statvfs, not statvfs.
34458 (statvfs64): Likewise.
34459 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34460 Remove variable.
34461
34462 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34463
34464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34465 (HAVE_GETCPU_VSYSCALL): Define.
34466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34467 (HAVE_GETCPU_VSYSCALL): Likewise.
34468 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34469 * sysdeps/unix/sysv/linux/sched_getcpu.c
34470 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34471 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34472 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34473 prototype.
34474 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34475 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34476 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34478 Define.
34479 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34480 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34481 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34482 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34483
34484 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
34485
34486 * sysdeps/x86_64/fpu/Makefile: New file.
34487 * sysdeps/x86_64/fpu/Versions: New file.
34488 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34489 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34490 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34491 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34492 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34493 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34494 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34495 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34496 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34497 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34498 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34499 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34500 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34501 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34502 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34503 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34504 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34505 * sysdeps/x86_64/configure.ac: Options for libmvec build.
34506 * sysdeps/x86_64/configure: Regenerated.
34507 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34508 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34509 * manual/install.texi (Configuring and compiling): Document
34510 --disable-mathvec.
34511 * INSTALL: Regenerated.
34512 * NEWS: Mention addition of libmvec and x86_64 vector cos.
34513
34514 * math/Makefile: Added rules for vector tests.
34515 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34516 declaration under condition.
34517 * math/test-double-vlen2.h: New file.
34518 * math/test-double-vlen4.h: New file.
34519 * math/test-double-vlen8.h: New file.
34520 * math/test-vec-loop.h: Added initialization macro.
34521 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34522 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34523 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34524 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34525 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34526 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34527 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34528 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34529 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34530 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34531 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34532
34533 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34534 * sysdeps/x86_64/fpu/Versions: New versions added.
34535 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34536 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34537 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34538 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34539 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34540 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34541 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34542 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34543 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34544 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34545 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34546 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34547 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34548 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34549 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34550 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34551 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34552 * NEWS: Mention addition of x86_64 vector cosf.
34553
34554 * math/Makefile: Added CFLAGS for new tests.
34555 * math/test-float-vlen16.h: New file.
34556 * math/test-float-vlen4.h: New file.
34557 * math/test-float-vlen8.h: New file.
34558 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34559 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34560 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34561 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34562 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34563 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34564 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34565 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34566 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34567 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34568 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34569
34570 2015-06-09 Marko Myllynen <myllynen@redhat.com>
34571
34572 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34573 * locale/programs/ld-ctype.c: Likewise.
34574
34575 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
34576
34577 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34578 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34579 bit_ZMM16_31_state): New macro.
34580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34581 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34582
34583 2015-06-08 Joseph Myers <joseph@codesourcery.com>
34584
34585 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34586
34587 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
34588
34589 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34590
34591 2015-06-05 Joseph Myers <joseph@codesourcery.com>
34592
34593 [BZ #18498]
34594 * libio/memstream.c (open_memstream): Rename to __open_memstream
34595 and define as weak alias of __open_memstream.
34596 * include/stdio.h (__open_memstream): Declare. Use
34597 libc_hidden_proto.
34598 (open_memstream): Don't use libc_hidden_proto.
34599 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34600 open_memstream.
34601 * posix/getopt.c (_getopt_internal_r): Likewise.
34602 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34603 variable.
34604 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34605 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34606 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34607
34608 [BZ #18496]
34609 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34610 instead of wcrtomb.
34611
34612 [BZ #18483]
34613 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34614 [__USE_XOPEN2K8]. Remove redundant #endif.
34615 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34616 Remove redundant #if.
34617 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34618 Remove variable.
34619 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34620 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34621
34622 [BZ #18495]
34623 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34624 (__iswlower): Likewise.
34625 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
34626 (__iswlower): Likewise.
34627 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34628 instead of towlower.
34629 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34630 instead of iswlower. Call __towupper instead of towupper.
34631 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34632 instead of iswalnum.
34633
34634 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34635
34636 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34637 errors to stderr.
34638
34639 2015-06-05 Florian Weimer <fweimer@redhat.com>
34640
34641 [BZ #15661]
34642 [BZ #17322]
34643 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34644 Check for overflow properly. Check for O_APPEND. Ignore large
34645 file system block sizes. Add comments about problems.
34646 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34647 * manual/filesys.texi (Storage Allocation): New node.
34648
34649 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34650
34651 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34652 cancellable syscalls.
34653 (SYS_ify): Add guard to no redefine it.
34654 (INLINE_SYSCALL): Likewise.
34655 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34656 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34657 SYSCALL_CANCEL instead.
34658 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34659 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34660 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34661 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34662 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34663 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34664 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34665 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34666 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34667 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34668 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34669 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34670 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34671 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34672 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34673 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34674 Likewise.
34675 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34676 (__libc_pread64): Likewise.
34677 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34678 (__libc_preadv): Likewise.
34679 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34680 (__libc_readv64): Likewise.
34681 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34682 (__libc_pwrite): Likewise.
34683 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34684 (__libc_pwrite64): Likewise.
34685 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34686 (__libc_pwritev): Likewise.
34687 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34688 (__libc_pwritev64): Likewise.
34689 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34690 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34691 (sync_file_range): Likewise.
34692 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34693 Likewise.
34694 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34695 Likewise.
34696 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34697 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34698 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34699 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34700 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34701 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34702 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34703 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34705 Likewise.
34706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34707 (__libc_read64): Likewise.
34708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34709 Likewise.
34710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34711 Likewise.
34712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34713 Likewise.
34714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34715 Likewise.
34716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34717 (__libc_pread64): Likewise.
34718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
34719 Likewise.
34720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34721 (__libc_pwrite64): Likewise.
34722 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
34723 (sync_file_range): Likewise.
34724 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
34725 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34726 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34727 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
34728 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
34729 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34730 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34731 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
34732 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
34733 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34734 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34735 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34736 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34737 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34738 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
34739 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34740 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34741 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34742 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34743 Likewise.
34744 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
34745 Likewise.
34746 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
34747 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
34748 Likewise.
34749 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
34750 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
34751 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
34752 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
34753 Likewise.
34754 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
34755 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
34756 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
34757 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
34758 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
34759
34760 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
34761
34762 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
34763 Include dl-vdso.
34764 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
34765 Use VDSO routines for gettimeofday, clock_gettime if
34766 available.
34767 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
34768 Declare VDSO symbols.
34769 * sysdeps/unix/sysv/linux/arm/sysdep.h:
34770 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
34771 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34772 * sysdeps/unix/sysv/linux/arm/Versions: Add
34773 __vdso_clock_gettime.
34774
34775 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34776
34777 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
34778 be an inline implementation regardless of library is built within.
34779 (open_not_cancel_2): Likewise.
34780 (__read_nocancel): Likewise.
34781 (__write_nocancel): Likewise.
34782 (openat_not_cancel): Likewise.
34783 (openat_not_cancel_3): Likewise.
34784 (openat64_not_cancel): Likewise.
34785 (openat64_not_cancel_3): Likewise.
34786 (__close_nocancel): Likewise.
34787 (pause_not_cancel): Likewise.
34788 (nanosleep_not_cancel): Likewise.
34789 (sigsuspend_not_cancel): Likewise.
34790
34791 2015-06-04 Torvald Riegel <triegel@redhat.com>
34792
34793 [BZ #14958]
34794 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
34795 wake-up.
34796 (__pthread_rwlock_rdlock_slow): Likewise.
34797 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34798 Likewise.
34799 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34800 Likewise.
34801 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
34802 * nptl/tst-rwlock16.c: New file.
34803 * nptl/Makefile (tests): Add new test.
34804
34805 2015-06-04 Torvald Riegel <triegel@redhat.com>
34806
34807 [BZ #18324]
34808 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
34809 missing wake-up of readers.
34810 * nptl/tst-rwlock15.c: New file.
34811 * nptl/Makefile (tests): Add new test.
34812
34813 2015-06-03 Roland McGrath <roland@hack.frob.com>
34814
34815 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
34816 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
34817 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
34818 and __nacl_supply_interface_rtld.
34819 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
34820 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
34821 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
34822 Add __nacl_supply_interface_rtld.
34823 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
34824
34825 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
34826
34827 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
34828 isfinite.
34829 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34830 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
34831
34832 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
34833
34834 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
34835 __signbit* with standard C99 macros.
34836 * math/e_exp10l.c: Likewise.
34837 * math/e_exp2l.c: Likewise.
34838 * math/e_scalb.c: Likewise.
34839 * math/e_scalbf.c: Likewise.
34840 * math/e_scalbl.c: Likewise.
34841 * math/s_ldexp.c: Likewise.
34842 * math/s_ldexpf.c: Likewise.
34843 * math/s_ldexpl.c: Likewise.
34844 * math/w_atan2.c: Likewise.
34845 * math/w_atan2f.c: Likewise.
34846 * math/w_atan2l.c: Likewise.
34847 * math/w_cosh.c: Likewise.
34848 * math/w_coshf.c: Likewise.
34849 * math/w_coshl.c: Likewise.
34850 * math/w_exp10.c: Likewise.
34851 * math/w_exp10f.c: Likewise.
34852 * math/w_exp10l.c: Likewise.
34853 * math/w_exp2.c: Likewise.
34854 * math/w_exp2f.c: Likewise.
34855 * math/w_exp2l.c: Likewise.
34856 * math/w_fmod.c: Likewise.
34857 * math/w_fmodf.c: Likewise.
34858 * math/w_fmodl.c: Likewise.
34859 * math/w_hypot.c: Likewise.
34860 * math/w_hypotf.c: Likewise.
34861 * math/w_hypotl.c: Likewise.
34862 * math/w_jnl.c: Likewise.
34863 * math/w_lgamma.c: Likewise.
34864 * math/w_lgamma_r.c: Likewise.
34865 * math/w_lgammaf.c: Likewise.
34866 * math/w_lgammaf_r.c: Likewise.
34867 * math/w_lgammal.c: Likewise.
34868 * math/w_lgammal_r.c: Likewise.
34869 * math/w_pow.c: Likewise.
34870 * math/w_powf.c: Likewise.
34871 * math/w_powl.c: Likewise.
34872 * math/w_remainder.c: Likewise.
34873 * math/w_remainderf.c: Likewise.
34874 * math/w_remainderl.c: Likewise.
34875 * math/w_scalb.c: Likewise.
34876 * math/w_scalbf.c: Likewise.
34877 * math/w_scalbl.c: Likewise.
34878 * math/w_scalbln.c: Likewise.
34879 * math/w_scalblnf.c: Likewise.
34880 * math/w_scalblnl.c: Likewise.
34881 * math/w_sinh.c: Likewise.
34882 * math/w_sinhf.c: Likewise.
34883 * math/w_sinhl.c: Likewise.
34884 * math/w_tgamma.c: Likewise.
34885 * math/w_tgammaf.c: Likewise.
34886 * math/w_tgammal.c: Likewise.
34887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34888 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
34889 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34890 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34891 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34892 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34893 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34894 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34895 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34896 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34897 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34898 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34899 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34900 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34901 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34902 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34903 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34904 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34905 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34906 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34908 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34911 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34912 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34913 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
34914 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34915 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34916 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34917 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
34918 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
34919 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
34920 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
34921 * stdio-common/printf_fp.c: Likewise.
34922 * stdio-common/printf_fphex.c: Likewise.
34923 * stdio-common/printf_size.c: Likewise.
34924
34925 2015-06-03 Joseph Myers <joseph@codesourcery.com>
34926
34927 [BZ #18470]
34928 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
34929 strnlen.
34930 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
34931 Remove variable.
34932 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34933 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34934 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34935 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34936 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34937 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34938 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34939 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34940 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34941 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34942
34943 [BZ #18468]
34944 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
34945 weak alias of __wmemchr. Use libc_hidden_weak.
34946 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
34947 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
34948 instead of wmemchr.
34949
34950 2015-06-02 Roland McGrath <roland@hack.frob.com>
34951
34952 [BZ #18383]
34953 * elf/tst-tlsalign-extern.c: New file.
34954 * elf/tst-tlsalign-extern-static.c: New file.
34955 * elf/tst-tlsalign-vars.c: New file.
34956 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
34957 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
34958 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
34959 ($(objpfx)tst-tlsalign-extern-static): Likewise.
34960 (test-xfail-tst-tlsalign-extern-static): New variable.
34961
34962 2015-06-02 Joseph Myers <joseph@codesourcery.com>
34963
34964 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
34965 Use variable name _sc_err instead of err.
34966 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
34967 instead of ret.
34968 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
34969 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
34970 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
34971 (INLINE_SYSCALL): Likewise.
34972
34973 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
34974 * include/string.h (__strnlen): Use libc_hidden_proto.
34975 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
34976 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
34977 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
34978 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
34979 (libc_hidden_def): Undefine and redefine.
34980 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
34981 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
34982 __GI_strnlen.
34983 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
34984 libc_hidden_def.
34985 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
34986
34987 [BZ #18469]
34988 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
34989 weak alias of __towlower. Use libc_hidden_weak.
34990 (towupper): Rename to __towupper and define as weak alias of
34991 __towupper. Use libc_hidden_weak.
34992 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
34993 (__towupper): Likewise.
34994 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
34995 __towlower instead of towlower.
34996
34997 2015-06-02 Roland McGrath <roland@hack.frob.com>
34998
34999 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35000 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35001
35002 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
35003
35004 * sysdeps/aarch64/libm-test-ulps: Update.
35005
35006 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35007
35008 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35009 Define.
35010 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35012 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35013 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35014 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35015 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35016 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35017
35018 2015-06-01 Martin Sebor <msebor@redhat.com>
35019
35020 [BZ #18116]
35021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35022 (__setcontext): Use extended four-operand version of mtsf whenever
35023 possible.
35024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35025 (__novec_swapcontext): Likewise.
35026
35027 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35028
35029 * benchtests/scripts/compare_bench.py: New file.
35030 * benchtests/scripts/import_bench.py (mean): New function.
35031 (split_list): Likewise.
35032 (do_for_all_timings): Likewise.
35033 (compress_timings): Likewise.
35034
35035 * benchtests/scripts/import_bench.py: New file.
35036 * benchtests/scripts/validate_benchout.py: Import import_bench
35037 instead of jsonschema.
35038 (validate_bench): Remove function.
35039 (main): Use import_bench.
35040
35041 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
35042
35043 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35044 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35045
35046 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35047
35048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35049
35050 2015-05-28 Roland McGrath <roland@hack.frob.com>
35051
35052 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35053 set THREAD_SELF->tid to a magic value and futex-wake it.
35054 Pass its address to the thread_exit system call.
35055 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35056 bit is clear.
35057 * sysdeps/nacl/lowlevellock.h: New file.
35058 * sysdeps/nacl/lll_timedwait_tid.c: New file.
35059
35060 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35061 Add TIMEOUT to current time, don't subtract it.
35062
35063 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
35064
35065 [BZ #2981]
35066 [BZ #18422]
35067 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35068 ($(objpfx)tst-audit2.out): Also depend on
35069 $(objpfx)tst-auditmod9b.so.
35070 * elf/tst-audit2.c: Include <dlfcn.h>.
35071 (calloc_called): New.
35072 (calloc): Allow to be called more than once.
35073 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35074
35075 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
35076
35077 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35078 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35079
35080 2015-05-27 Marko Myllynen <myllynen@redhat.com>
35081
35082 * stdlib/monetary.h: Fix comment.
35083
35084 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
35085
35086 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35087 Avoid using variables in #defines that might cause shadowing.
35088 (INTERNAL_VSYSCALL_CALL): Likewise.
35089
35090 2015-05-26 Roland McGrath <roland@hack.frob.com>
35091
35092 * sysdeps/nacl/lll_timedlock_wait.c: New file.
35093
35094 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35095 * nptl/lll_timedlock_wait.c: ... to this new file.
35096 * nptl/Makefile (libpthread-routines): Add it.
35097 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35098 * nptl/lll_timedwait_tid.c: ... to this new file.
35099 * nptl/Makefile (libpthread-routines): Add it.
35100 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35101 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35102 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35103 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35104 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35105 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35106 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35107 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35108 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35109 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35110
35111 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35112
35113 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35114 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35115 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35116 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35117 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35119 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35120 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35121 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35122 * sysdeps/unix/sysv/linux/tile/sysdep.h
35123 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35124 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35125 using vDSO syscall macro.
35126
35127 2015-05-26 Andriy Rysin <arysin@gmail.com>
35128
35129 [BZ #17293]
35130 * uk_UA: Fix sorting order for Ukrainian locale
35131
35132 2015-05-26 Marko Myllynen <myllynen@redhat.com>
35133
35134 * stdlib/monetary.h: Fix comment.
35135
35136 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
35137
35138 [BZ #18234]
35139 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35140 st_mtim and st_ctim members.
35141 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35142 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35143 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35144 (struct stat64): Likewise.
35145 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35146 (struct stat64): Likewise.
35147 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35148 (struct stat64): Likewise.
35149
35150 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35151
35152 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35153 Define and include sysdep-vdso.h.
35154 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35155 Likewise.
35156 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35157 Likewise.
35158 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35159 Define with VDSO_SYMBOL and use PTR_MANGLE.
35160 (__vdso_clock_gettime): Likewise.
35161 (__vdso_clock_getres): Likewise.
35162 (_libc_vdso_platform_setup): Likewise.
35163 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35164 Likewise.
35165 (_libc_vdso_platform_setup): Likewise.
35166 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35167 Likewise.
35168 (__vdso_clock_gettime): Likewise.
35169 (__vdso_clock_getres): Likewise.
35170 (__vdso_get_tbfreq): Likewise.
35171 (__vdso_getcpu): Likewise.
35172 (__vdso_time): Likewise.
35173 (__vdso_sigtramp_rt64): Likewise.
35174 (__vdso_signtramp32): Likewise.
35175 (__vdso_sigtramp_rt32): Likewise.
35176 (_libc_vdso_platform_setup): Likewise.
35177 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35178 Likewise.
35179 (__vdso_clock_gettime): Likewise.
35180 (__vdso_clock_getres): Likewise.
35181 (_libc_vdso_platform_setup): Likewise.
35182 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35183 Likewise.
35184 (__vdso_clock_gettime): Likewise.
35185 (_libc_vdso_platform_setup): Likewise.
35186 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35187 Likewise.
35188 (__vdso_getcpu): Likewise.
35189 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35190 Use VDSO_SYMBOL macro to define.
35191 (__vdso_clock_gettime): Likewise.
35192 (__vdso_clock_getres): Likewise.
35193 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35194 Likewise.
35195 (__vdso_clock_gettime): Likewise.
35196 (__vdso_clock_getres): Likewise.
35197 (__vdso_get_tbfreq): Likewise.
35198 (__vdso_getcpu): Likewise.
35199 (__vdso_time): Likewise.
35200 (__vdso_sigtramp_rt64): Likewise.
35201 (__vdso_signtramp32): Likewise.
35202 (__vdso_sigtramp_rt32): Likewise.
35203 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35204 Likewise.
35205 (__vdso_clock_gettime): Likewise.
35206 (__vdso_clock_getres): Likewise.
35207 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35208 Likewise.
35209 (__vdso_clock_gettime): Likewise.
35210 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35211 Likewise.
35212 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
35213 macro.
35214 (INTERNAL_VSYSCALL): Likewise.
35215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35216 Remove macro.
35217 (INTERNAL_VSYSCALL): Likewise.
35218 (INTERNAL_VSYSCALL_NCS): Likewise.
35219 (INTERNAL_VSYSCALL_CALL): New macro.
35220 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35222 Likewise.
35223 (INTERNAL_VSYSCALL): Likewise.
35224 (INTERNAL_VSYSCALL_NCS): Likewise.
35225 (INTERNAL_VSYSCALL_CALL): New macro.
35226 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35228 (INLINE_VSYSCALL): Remove macro.
35229 (INTERNAL_VSYSCALL): Remove macro.
35230 (INTERNAL_VSYSCALL_NCS): Remove macro.
35231 (INTERNAL_VSYSCALL_CALL): New macro.
35232 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35233 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35234 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35235 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35236 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35238 (INLINE_VSYSCALL): Remove macro.
35239 (INTERNAL_VSYSCALL): Likewise.
35240 (INTERNAL_VSYSCALL_NCS): Likewise.
35241 (INTERNAL_VSYSCALL_CALL): New macro.
35242 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35243 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35244 PTR_DEMANGLE on vDSO pointer.
35245 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35246 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35247 macro.
35248 (INTERNAL_SYSCALL): Likewise.
35249 (INTERNAL_VSYSCALL_NCS): Remove macro.
35250 (INTERNAL_VSYSCALL_CALL): New macro.
35251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35252 Remove macro.
35253 (INTERNAL_VSYSCALL): Likewise.
35254 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35255 sysdep-vdso.h instead of libc-vdso.h.
35256 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35257 definition.
35258 (INLINE_VSYSCALL): Likewise.
35259 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35260 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35261 definition.
35262 (INLINE_VSYSCALL): Likewise.
35263 (INTERNAL_VSYSCALL): Likewise.
35264 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35265 * sysdeps/unix/sysv/linux/timespec_get.c
35266 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35267 (timespec_get): Use ANSI prototype.
35268 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35269 and definition for Linux.
35270
35271 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
35272
35273 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35274 * include/libc-symbols.h: libmvec_hidden_* macro series added.
35275
35276 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
35277
35278 [BZ #2981]
35279 [BZ #18410]
35280 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35281 for missing DT_PLTRELSZ.
35282
35283 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
35284
35285 Remove obsolete aliases that broke 'locale -a'
35286 [BZ #18412]
35287 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35288 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35289 breaking some applications that use 'locale -a' output.
35290 Change the encoding of this file from Latin-1 to ASCII to avoid
35291 other potential problems with people grepping this file.
35292
35293 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35294
35295 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35296 -fasynchronous-unwind-tables.
35297 (CFLAGS-sendto.c): Likewise.
35298 (CFLAGS-sendmsg.c): Likewise.
35299 (CFLAGS-connect.c): Likewise.
35300 (CFLAGS-recvmsg.c): Likewise.
35301 (CFLAGS-recvfrom.c): Likewise.
35302 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35303 (SOCKETCALL): New macro: non-cancellable socketcall.
35304 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35305 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35306 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35307 * sysdeps/unix/sysv/linux/accept.c: New file.
35308 * sysdeps/unix/sysv/linux/bind.c: Likewise.
35309 * sysdeps/unix/sysv/linux/connect.c: Likewise.
35310 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35311 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35312 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35313 * sysdeps/unix/sysv/linux/listen.c: Likewise.
35314 * sysdeps/unix/sysv/linux/recv.c: Likewise.
35315 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35316 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35317 * sysdeps/unix/sysv/linux/send.c: Likewise.
35318 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35319 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35320 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35321 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35322 * sysdeps/unix/sysv/linux/socket.c: Likewise.
35323 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35324 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35325 prototype.
35326 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35327 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35328 instead of __internal_xxx function.
35329 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35330 prototype.
35331 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35332 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35333 instead of __internal_xxx function.
35334 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35335 prototype.
35336 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35337 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35338 instead of __internal_xxx function.
35339 * sysdeps/unix/sysv/linux/accept.S: Remove file.
35340 * sysdeps/unix/sysv/linux/bind.S: Likewise.
35341 * sysdeps/unix/sysv/linux/connect.S: Likewise.
35342 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35343 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35344 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35345 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35346 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35347 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35348 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35349 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35350 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35351 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35352 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35353 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35354 * sysdeps/unix/sysv/linux/listen.S: Likewise.
35355 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35356 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35357 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35358 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35361 * sysdeps/unix/sysv/linux/recv.S: Likewise.
35362 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35363 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35364 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35365 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35366 * sysdeps/unix/sysv/linux/send.S: Likewise.
35367 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35368 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35369 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35370 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35371 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35372 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35373 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35374 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35375 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35376 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35377 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35378 socketcall is implemented in GLIBC.
35379
35380 2015-05-22 Joseph Myers <joseph@codesourcery.com>
35381
35382 * soft-fp/fmadf4.c: Include <libc-internal.h>.
35383 (__fma): Ignore uninitialized warnings around packing.
35384 * soft-fp/fmasf4.c: Include <libc-internal.h>.
35385 (__fmaf): Ignore uninitialized warnings around packing.
35386 * soft-fp/fmatf4.c: Include <libc-internal.h>.
35387 (__fmal): Ignore uninitialized warnings around packing.
35388
35389 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35390 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35391 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35392 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35393
35394 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35395 switch statement into default case.
35396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35397
35398 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35399 a conditional in forcing "inexact".
35400 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35401 Likewise.
35402
35403 2015-05-22 Roland McGrath <roland@hack.frob.com>
35404
35405 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35406 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35407 for each INTERNAL_SYSCALL use.
35408
35409 2015-05-22 Joseph Myers <joseph@codesourcery.com>
35410
35411 [BZ #438]
35412 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35413 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35414 variable.
35415
35416 [BZ #18444]
35417 * string/basename.c (basename): Rename to __basename and define as
35418 weak alias of __basename. Use libc_hidden_weak.
35419 * include/string.h (__basename): Declare. Use libc_hidden_proto.
35420 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35421 __basename instead of basename.
35422 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35423 Remove variable.
35424 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35425
35426 2015-05-18 Florian Weimer <fweimer@redhat.com>
35427
35428 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35429 (_IO_JUMPS_FILE_plus): New.
35430 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35431 _IO_CAST_FIELD_ACCESS.
35432 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35433 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35434 * libio/freopen.c (freopen): Likewise.
35435 * libio/freopen64.c (freopen64): Likewise.
35436 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35437 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35438 * libio/iofwide.c (_IO_fwide): Likewise.
35439 * libio/memstream.c (open_memstream): Likewise.
35440 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35441 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35442 * libio/oldiopopen.c (_IO_old_popen): Likewise.
35443
35444 2015-05-21 Joseph Myers <joseph@codesourcery.com>
35445
35446 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35447 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35448 NADJ.
35449 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35450 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35451 NADJ.
35452 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35453 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35454 NADJ.
35455
35456 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35457 (p == 4) case.
35458
35459 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35460 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35461 Remove variable.
35462 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35463 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35464 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35465
35466 2015-05-21 Florian Weimer <fweimer@redhat.com>
35467
35468 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35469 Adjust jump table label generation macros.
35470
35471 2015-05-21 Florian Weimer <fweimer@redhat.com>
35472
35473 * stdio-common/vfprintf.c (vfprintf): Move local variables
35474 args_malloced, specs, specs_malloced, and the code after
35475 do_positional to the printf_positional function.
35476 (printf_positional): New function.
35477
35478 2015-05-21 Florian Weimer <fweimer@redhat.com>
35479
35480 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35481 function.
35482 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35483 STEP4_TABLE, process_arg): Move macro definitions
35484 out of the vfprintf function. (Cosmetic change only.)
35485
35486 2015-05-21 Carlos O'Donell <carlos@redhat.com>
35487
35488 * benchtests/Makefile (stdio-common-bench): Define.
35489 (benchset): Add stdio-common-bench.
35490 * sprintf-inputs: New file.
35491 * sprintf-source.c: New file.
35492
35493 2015-05-21 Andreas Schwab <schwab@suse.de>
35494
35495 [BZ #13028]
35496 [BZ #17053]
35497 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35498 of struct __res_state.
35499 * resolv/res_send.c (__libc_res_nsend): Likewise.
35500 (get_nsaddr): New function.
35501 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35502 statp directly.
35503
35504 2015-05-20 Joseph Myers <joseph@codesourcery.com>
35505
35506 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35507 -D_POSIX_C_SOURCE=199506L.
35508
35509 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35510
35511 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35512 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35513 Do not mention otherwise.
35514 [POSIX] (_XOPEN_VERSION): Do not expect.
35515 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35516 [POSIX] (_POSIX2_C_BIND): Likewise.
35517 [POSIX] (_POSIX2_VERSION): Likewise.
35518 [POSIX] (_XOPEN_XPG2): Likewise.
35519 [POSIX] (_XOPEN_XPG3): Likewise.
35520 [POSIX] (_XOPEN_XPG4): Likewise.
35521 [POSIX] (_XOPEN_UNIX): Likewise.
35522 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35523 [POSIX] (_POSIX_BARRIERS): Likewise.
35524 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35525 [POSIX] (_POSIX_CPUTIME): Likewise.
35526 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35527 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35528 [POSIX] (_POSIX_SHELL): Likewise.
35529 [POSIX] (_POSIX_SPAWN): Likewise.
35530 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35531 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35532 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35533 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35534 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35535 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35536 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35537 [POSIX] (_XBS5_LP64_OFF64): Likewise.
35538 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35539 [POSIX] (_POSIX_TIMEOUTS): Likewise.
35540 [POSIX] (_POSIX2_PBS): Likewise.
35541 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35542 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35543 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35544 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35545 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35546 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35547 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35548 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35549 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35550 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35551 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35552 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35553 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35554 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35555 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35556 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35557 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35558 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35559 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35560 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35561 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35562 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35563 [POSIX] (_SC_2_C_BIND): Likewise.
35564 [POSIX] (_SC_2_C_VERSION): Likewise.
35565 [POSIX] (_SC_2_PBS): Likewise.
35566 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35567 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35568 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35569 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35570 [POSIX] (_SC_2_PBS_TRACK): Likewise.
35571 [POSIX] (_SC_ATEXIT_MAX): Likewise.
35572 [POSIX] (_SC_BARRIERS): Likewise.
35573 [POSIX] (_SC_BASE): Likewise.
35574 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35575 [POSIX] (_SC_DEVICE_IO): Likewise.
35576 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35577 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35578 [POSIX] (_SC_FD_MGMT): Likewise.
35579 [POSIX] (_SC_FIFO): Likewise.
35580 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35581 [POSIX] (_SC_FILE_LOCKING): Likewise.
35582 [POSIX] (_SC_FILE_SYSTEM): Likewise.
35583 [POSIX] (_SC_IOV_MAX): Likewise.
35584 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35585 [POSIX] (_SC_NETWORKING): Likewise.
35586 [POSIX] (_SC_PAGE_SIZE): Likewise.
35587 [POSIX] (_SC_PASS_MAX): Likewise.
35588 [POSIX] (_SC_PIPE): Likewise.
35589 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35590 [POSIX] (_SC_REGEXP): Likewise.
35591 [POSIX] (_SC_SHELL): Likewise.
35592 [POSIX] (_SC_SIGNALS): Likewise.
35593 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35594 [POSIX] (_SC_SPIN_LOCKS): Likewise.
35595 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35596 [POSIX] (_SC_USER_GROUPS): Likewise.
35597 [POSIX] (_SC_USER_GROUPS_R): Likewise.
35598 [POSIX] (_SC_STREAMS): Likewise.
35599 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35600 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35601 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35602 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35603 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35604 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35605 [POSIX] (_PC_FILESIZEBITS): Likewise.
35606 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35607 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35608 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35609 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35610 [POSIX] (uid_t): Likewise.
35611 [POSIX] (gid_t): Likewise.
35612 [POSIX] (off_t): Likewise.
35613 [POSIX] (pid_t): Likewise.
35614 [POSIX] (cuserid): Allow.
35615 (_SC_2_CHAR_TERM): Require constant.
35616 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35617 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35618 variable.
35619
35620 2015-05-20 Roland McGrath <roland@hack.frob.com>
35621
35622 * sysdeps/nacl/pthread-pids.h: New file.
35623 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35624 (create_thread): Use __nacl_get_tid to initialize PD->tid.
35625
35626 * nptl/pthread-pids.h: New file.
35627 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35628 * nptl/nptl-init.c: Include <pthread-pids.h>.
35629 (__pthread_initialize_minimal_internal):
35630 Call __pthread_initialize_pids instead of set_tid_address syscall.
35631
35632 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35633 * sysdeps/posix/usleep.c: ... here.
35634
35635 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35636
35637 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35638 call_pselect6 object.
35639 [$(subdir) = io]: Remove call_sync_file_range object.
35640 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35641 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35642 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35643 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35644
35645 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
35646
35647 * math/s_cproj.c: Add include "math_private.h".
35648 * math/s_cprojf.c: Likewise.
35649 * math/s_cprojl.c: Likewise.
35650
35651 2015-05-19 Joseph Myers <joseph@codesourcery.com>
35652
35653 [BZ #18244]
35654 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35655 high mantissa bit when testing whether P is a NaN.
35656 * math/libm-test.inc (remainder_test_data): Add more tests.
35657 (remquo_test_data): Likewise.
35658
35659 [BZ #18049]
35660 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35661 below -32, return the argument, with underflow if subnormal.
35662 * math/auto-libm-test-in: Add more tests of atanh.
35663 * math/auto-libm-test-out: Regenerated.
35664
35665 2015-05-19 Roland McGrath <roland@hack.frob.com>
35666
35667 [BZ #18434]
35668 * nptl/tst-sem15.c: New file.
35669 * nptl/Makefile (tests): Add it.
35670 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35671 s/<</>>/ to fix typo in EOVERFLOW check.
35672 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35673
35674 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35675
35676 * manual/strings.texi (envz_remove): Fix typo in safety
35677 annotations.
35678
35679 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
35680 Steve Ellcey <sellcey@imgtec.com>
35681
35682 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35683 in order to avoid strict alias warnings.
35684 (iruserok_af): Ditto for ra.
35685
35686 2015-05-19 James Lemke <jwlemke@codesourcery.com>
35687
35688 [BZ #17581]
35689 * malloc/hooks.c
35690 (magicbyte): Convert to a function and avoid returning 0x01.
35691 (mem2mem_check): Avoid using a length byte equal to the magic byte.
35692 (mem2chunk_check): Fix unsigned comparisons to zero.
35693 Hoist defs of sz and magic.
35694
35695 2015-05-19 Richard Henderson <rth@redhat.com>
35696
35697 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35698
35699 * sysdeps/alpha/fpu/libm-test-ulps: Update.
35700
35701 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35702
35703 [BZ #16159]
35704 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35705 * malloc/arena.c (arena_lock): Check if arena is corrupt.
35706 (reused_arena): Find a non-corrupt arena.
35707 (heap_trim): Pass arena to unlink.
35708 * malloc/hooks.c (malloc_check_get_size): Pass arena to
35709 malloc_printerr.
35710 (top_check): Likewise.
35711 (free_check): Likewise.
35712 (realloc_check): Likewise.
35713 * malloc/malloc.c (malloc_printerr): Add arena argument.
35714 (unlink): Likewise.
35715 (munmap_chunk): Adjust.
35716 (ARENA_CORRUPTION_BIT): New macro.
35717 (arena_is_corrupt): Likewise.
35718 (set_arena_corrupt): Likewise.
35719 (sysmalloc): Use mmap if there are no usable arenas.
35720 (_int_malloc): Likewise.
35721 (__libc_malloc): Don't fail if arena_get returns NULL.
35722 (_mid_memalign): Likewise.
35723 (__libc_calloc): Likewise.
35724 (__libc_realloc): Adjust for additional argument to
35725 malloc_printerr.
35726 (_int_free): Likewise.
35727 (malloc_consolidate): Likewise.
35728 (_int_realloc): Likewise.
35729 (_int_memalign): Don't touch corrupt arenas.
35730 * malloc/tst-malloc-backtrace.c: New test case.
35731
35732 * Makefile (summarize-tests): Fix return value on success.
35733
35734 * manual/string.texi (Envz Functions): Add envz_remove.
35735
35736 2015-05-18 Roland McGrath <roland@hack.frob.com>
35737
35738 * sysdeps/posix/opendir.c: Include <stdbool.h>.
35739 (invalid_name): New function, broken out of ...
35740 (__opendirat): ... here. Call it.
35741 (need_isdir_precheck): New function, broken out of ...
35742 (__opendirat): ... here. Call it.
35743 Use __fxstatat64, not __xstatat64.
35744 (opendir_oflags): New function, broken out of ...
35745 (__opendirat): ... here. Call it.
35746 (opendir_tail): New function, broken out of ...
35747 (__opendirat): ... here. Call it.
35748 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
35749 opendir_tail, rather than punting to __opendirat.
35750 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
35751
35752 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35753
35754 * .gitignore: Ignore generated *.pyc.
35755
35756 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
35757
35758 * include/stdio.h: Define __need_wint_t.
35759 * test-skeleton.c: Avoid `for' loop initial declaration.
35760 * nptl/tst-initializers1.c: Use test-skeleton.c.
35761
35762 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35763
35764 [BZ #18418]
35765 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
35766
35767 2015-05-15 Joseph Myers <joseph@codesourcery.com>
35768
35769 [BZ #16352]
35770 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
35771 (__ieee754_atanh): Force underflow exception for results with
35772 small absolute value.
35773 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
35774 (__ieee754_atanhf): Force underflow exception for results with
35775 small absolute value.
35776 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
35777 (__ieee754_atanh): Force underflow exception for results with
35778 small absolute value.
35779 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
35780 (__ieee754_atanhf): Force underflow exception for results with
35781 small absolute value.
35782 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
35783 (__ieee754_atanhl): Force underflow exception for results with
35784 small absolute value.
35785 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
35786 (__ieee754_atanhl): Force underflow exception for results with
35787 small absolute value.
35788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
35789 (__ieee754_atanhl): Force underflow exception for results with
35790 small absolute value.
35791 * math/auto-libm-test-in: Do not allow missing underflow
35792 exceptions from atanh.
35793 * math/auto-libm-test-out: Regenerated.
35794
35795 [BZ #18221]
35796 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
35797 2**-28 as threshold for returning x or +/- 1/x.
35798 * math/auto-libm-test-in: Add more tests of tan.
35799 * math/auto-libm-test-out: Regenerated.
35800
35801 [BZ #18220]
35802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35803 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
35804 * math/auto-libm-test-in: Add another test of lgamma.
35805 * math/auto-libm-test-out: Regenerated.
35806
35807 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
35808
35809 * stdio-common/printf_fp.c (___printf_fp): Use abs.
35810 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
35811 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
35812 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
35813 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
35814 (ADD2A): Use fabs. (SUB2A): Use fabs.
35815 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
35816 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
35817 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
35818 (log1): Use fabs. (my_log2): Use fabs.
35819 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
35820 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
35821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
35822 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
35823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
35824 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
35825 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
35826 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
35827 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
35828 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
35829 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
35830
35831 2015-05-15 Joseph Myers <joseph@codesourcery.com>
35832
35833 [BZ #18217]
35834 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
35835 as threshold for returning 1 - x.
35836 * math/auto-libm-test-in: Add more tests of erfc.
35837 * math/auto-libm-test-out: Regenerated.
35838
35839 2015-05-14 Joseph Myers <joseph@codesourcery.com>
35840
35841 [BZ #18196]
35842 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
35843 threshold for large arguments.
35844 * math/auto-libm-test-in: Add another test of atan.
35845 * math/auto-libm-test-out: Regenerated.
35846
35847 [BZ #16339]
35848 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
35849 (__log1p): Force underflow exception for results with small
35850 absolute value.
35851 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
35852 (__log1pf): Force underflow exception for results with small
35853 absolute value.
35854 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
35855 (__log1p): Force underflow exception for results with small
35856 absolute value.
35857 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
35858 (__log1pf): Force underflow exception for results with small
35859 absolute value.
35860 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
35861 (__log1pl): Force underflow exception for results with small
35862 absolute value.
35863 * math/auto-libm-test-in: Do not allow missing underflow
35864 exceptions from log1p.
35865 * math/auto-libm-test-out: Regenerated.
35866
35867 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
35868 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35869
35870 [BZ #16704]
35871 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
35872
35873 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
35874
35875 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
35876 (libmvec): New variable.
35877 * configure.ac: Added option for mathvec build.
35878 * configure: Regenerated.
35879 * mathvec/Depend: New file.
35880 * mathvec/Makefile: New file.
35881 * shlib-versions: Added libmvec.
35882 * math/Makefile: Added rule for libm.so installation.
35883
35884 * bits/math-vector.h: New file.
35885 * bits/libm-simd-decl-stubs.h: New header.
35886 * math/Makefile (headers): Added new header
35887 libm-simd-decl-stubs.h.
35888 * math/math.h (__MATHCALL_VEC): New macro.
35889
35890 * math/gen-libm-have-vector-test.sh: Script generates series of macros
35891 for conditions in testing functions.
35892 * math/Makefile: Added call of libm-have-vector-test.sh.
35893 * math/libm-test.inc (HAVE_VECTOR): New macros.
35894
35895 * math/libm-test.inc: START refactored.
35896 * math/test-double.c (TEST_MATHVEC): Add define.
35897 * math/test-float.c: Likewise.
35898 * math/test-idouble.c: Likewise.
35899 * math/test-ifloat.c: Likewise.
35900 * math/test-ildoubl.c: Likewise.
35901 * math/test-ldouble.c: Likewise.
35902 * sysdeps/generic/math-tests-arch.h
35903 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
35904 architecture check.
35905
35906 * math/test-double.c (FUNC_TEST): New macro.
35907 * math/test-float.c: Likewise.
35908 * math/test-idouble.c: Likewise.
35909 * math/test-ifloat.c: Likewise.
35910 * math/test-ildoubl.c: Likewise.
35911 * math/test-ldouble.c: Likewise.
35912 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
35913
35914 2015-05-13 Roland McGrath <roland@hack.frob.com>
35915
35916 * sysdeps/nacl/fdopendir.c: New file.
35917
35918 * dirent/scandir-tail.c: New file.
35919 * dirent/scandir64-tail.c: New file.
35920 * dirent/Makefile (routines): Add them.
35921 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
35922 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
35923 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
35924 [!SCANDIR] (SCANDIR_TAIL): New macro.
35925 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
35926 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
35927 (SCANDIRAT): Macro removed.
35928 (SCANDIR_TAIL): New macro.
35929 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
35930 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
35931 (SCANDIRAT): Just call __opendirat and __scandir_tail.
35932 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
35933 (READDIR): Macro removed.
35934 (SCANDIR_TAIL): New macro.
35935 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
35936 (SCANDIR_TAIL): New macro.
35937
35938 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
35939 * dirent/scandir-cancel.c: ... to this new file.
35940 * dirent/Makefile (routines): Add it.
35941 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
35942 * sysdeps/unix/sysv/linux/i386/scandir64.c
35943 (SKIP_SCANDIR_CANCEL): Macro removed.
35944 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
35945
35946 * dirent/tst-scandir.c: New file.
35947 * dirent/tst-scandir64.c: New file.
35948 * dirent/Makefile (tests): Add them.
35949
35950 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
35951
35952 [BZ #18409]
35953 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
35954
35955 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
35956
35957 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
35958 list.
35959
35960 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
35961
35962 * benchtests/bench-strcoll.c: New benchmark.
35963 * benchtests/Makefile: Generate locales and run benchmark.
35964 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
35965 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
35966 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
35967 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
35968 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
35969 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
35970 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
35971 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
35972 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
35973 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
35974 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
35975 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
35976 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
35977 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
35978 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
35979 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
35980 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
35981 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
35982 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
35983 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
35984 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
35985 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
35986 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
35987 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
35988
35989 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
35990
35991 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
35992 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35993
35994 2015-05-12 Roland McGrath <roland@hack.frob.com>
35995
35996 * posix/uname-values.h: New file.
35997 * posix/uname.c: Include that instead of <config-name.h>.
35998 * sysdeps/nacl/uname-values.h: New file.
35999 * sysdeps/arm/nacl/uname-values.h: New file.
36000
36001 2015-05-12 Joseph Myers <joseph@codesourcery.com>
36002
36003 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36004 splitting into fields.
36005
36006 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
36007
36008 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36009 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36010 * locale/localeinfo.h: Add enum collation_encoding_type.
36011 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36012 * programs/ld-collate.c (collate_output): Add encoding type info.
36013 * string/strcoll_l.c (STRDIFF): New function.
36014 * (STRCOLL): Use STRDIFF to skip over equal prefix.
36015 * wcsmbs/wcscoll_l.c: Define STRDIFF.
36016
36017 2015-05-11 Joseph Myers <joseph@codesourcery.com>
36018
36019 [BZ #18397]
36020 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36021 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
36022 <fpu_control.h> instead of <math/fpu_control.c>.
36023 * sysdeps/mips/mips32/fpu/Makefile: New file.
36024
36025 2015-05-11 Andreas Schwab <schwab@suse.de>
36026
36027 [BZ #18007]
36028 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36029 nss_endgrent.
36030 (_nss_compat_endgrent): Call nss_endgrent.
36031 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36032 nss_endpwent.
36033 (_nss_compat_endpwent): Call nss_endpwent.
36034 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36035 needent, call nss_setspent only if non-zero.
36036 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36037 (internal_endspent): Don't call nss_endspent.
36038 (_nss_compat_endspent): Call nss_endspent.
36039 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36040 Remove. All uses removed.
36041 (internal_setent): Remove parameter stayopen, add parameter
36042 stream. Use it instead of global variable.
36043 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36044 (internal_endent, internal_getent): Add parameter stream. Use it
36045 instead of global variable.
36046 (CONCAT(_nss_files_end,ENTNAME))
36047 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36048 (_nss_files_get##name##_r): Pass local stream. Remove locking.
36049 * nss/nss_files/files-alias.c (position, last_use): Remove. All
36050 uses removed.
36051 (internal_setent, internal_endent): Add parameter stream. Use it
36052 instead of global variable.
36053 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36054 stream.
36055 (get_next_alias): Add parameter stream.
36056 (_nss_files_getaliasent_r): Pass global stream.
36057 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
36058 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36059 (_nss_files_gethostbyname4_r): Pass local stream to
36060 internal_setent, internal_getent and internal_endent. Remove
36061 locking.
36062
36063 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
36064
36065 * tst-strfmon1.c (tests): Update expected currency symbol.
36066
36067 2015-05-08 Roland McGrath <roland@hack.frob.com>
36068
36069 * sysdeps/nacl/gethostname.c: New file.
36070
36071 2015-05-08 Joseph Myers <joseph@codesourcery.com>
36072
36073 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36074 and sinh.
36075 * math/auto-libm-test-out: Regenerated.
36076 * sysdeps/i386/fpu/libm-test-ulps: Update.
36077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36078
36079 2015-05-08 Carlos O'Donell <carlos@redhat.com>
36080
36081 [BZ #18125]
36082 * stdlib/tst-setcontext3.c: New file.
36083 * stdlib/tst-setcontext3.sh: New file.
36084 * stdlib/Makefile (tests): Add tst-setcontext3.
36085 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36086 to verify test program created output file.
36087 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36088 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36089 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36090 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36091
36092 2015-05-06 Roland McGrath <roland@hack.frob.com>
36093
36094 [BZ #18383]
36095 * elf/tst-tlsalign.c: New file.
36096 * elf/tst-tlsalign-static.c: New file.
36097 * elf/tst-tlsalign-lib.c: New file.
36098 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36099 (tests-static): Add tst-tlsalign-static.
36100 (modules-names): Add tst-tlsalign-lib.
36101 (test-xfail-tst-tlsalign): New variable.
36102 (test-xfail-tst-tlsalign-static): New variable.
36103
36104 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36105 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36106
36107 2015-05-06 Joseph Myers <joseph@codesourcery.com>
36108
36109 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36110 csqrt, erfc, sin and sincos.
36111 * math/auto-libm-test-out: Regenerated.
36112 * sysdeps/i386/fpu/libm-test-ulps: Update.
36113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36114
36115 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
36116
36117 * sysdeps/aarch64/libm-test-ulps: Update.
36118
36119 2015-05-05 Joseph Myers <joseph@codesourcery.com>
36120
36121 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36122 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36123 * math/auto-libm-test-out: Regenerated.
36124 * sysdeps/i386/fpu/libm-test-ulps: Update.
36125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36126
36127 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
36128
36129 [BZ #18265]
36130 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36131 (wcsncpy): Likewise.
36132
36133 2015-05-05 Florian Weimer <fweimer@redhat.com>
36134
36135 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36136 Assume __ASSUME_FALLOCATE is always true.
36137 * sysdeps/unix/sysv/linux/posix_fallocate64.c
36138 (__posix_fallocate64_l64): Likewise.
36139 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36140 (posix_fallocate): Likewise.
36141 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36142 (__posix_fallocate64_l64): Likewise.
36143 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36144 [!__ASSUME_FALLOCATE]: Add comment.
36145
36146 2015-05-05 Florian Weimer <fweimer@redhat.com>
36147
36148 * sysdeps/unix/sysv/linux/i386/Makefile
36149 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36150 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36151 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36152 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36153 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36154 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36155 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36156
36157 2015-05-02 Joseph Myers <joseph@codesourcery.com>
36158
36159 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36160 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36161 tgamma.
36162 * math/auto-libm-test-out: Regenerated.
36163 * sysdeps/i386/fpu/libm-test-ulps: Update.
36164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36165
36166 2015-05-01 Joseph Myers <joseph@codesourcery.com>
36167
36168 * math/auto-libm-test-in: Add more tests of tgamma.
36169 * math/auto-libm-test-out: Regenerated.
36170 * sysdeps/i386/fpu/libm-test-ulps: Update.
36171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36172
36173 * math/auto-libm-test-in: Add more tests of tanh.
36174 * math/auto-libm-test-out: Regenerated.
36175 * sysdeps/i386/fpu/libm-test-ulps: Update.
36176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36177
36178 * math/auto-libm-test-in: Add more tests of tan.
36179 * math/auto-libm-test-out: Regenerated.
36180 * sysdeps/i386/fpu/libm-test-ulps: Update.
36181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36182
36183 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
36184 * math/auto-libm-test-out: Regenerated.
36185 * sysdeps/i386/fpu/libm-test-ulps: Update.
36186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36187
36188 * math/auto-libm-test-in: Add another test of pow.
36189 * math/auto-libm-test-out: Regenerated.
36190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36191
36192 * math/auto-libm-test-in: Add more tests of lgamma.
36193 * math/auto-libm-test-out: Regenerated.
36194 * sysdeps/i386/fpu/libm-test-ulps: Update.
36195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36196
36197 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36198 log1p.
36199 * math/auto-libm-test-out: Regenerated.
36200 * sysdeps/i386/fpu/libm-test-ulps: Update.
36201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36202
36203 2015-05-01 Mark Wielaard <mjw@redhat.com>
36204
36205 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36206 Elf64_Chdr structs and ELFCOMPRESS constants.
36207
36208 2015-05-01 Joseph Myers <joseph@codesourcery.com>
36209
36210 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36211 expm1.
36212 * math/auto-libm-test-out: Regenerated.
36213 * sysdeps/i386/fpu/libm-test-ulps: Update.
36214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36215
36216 * math/auto-libm-test-in: Add more tests of erf and erfc.
36217 * math/auto-libm-test-out: Regenerated.
36218 * sysdeps/i386/fpu/libm-test-ulps: Update.
36219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36220
36221 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
36222
36223 * config.h.in (HAVE_AARCH64_BE): Add.
36224
36225 2015-04-30 Joseph Myers <joseph@codesourcery.com>
36226
36227 * math/auto-libm-test-in: Add more tests of csqrt.
36228 * math/auto-libm-test-out: Regenerated.
36229 * sysdeps/i386/fpu/libm-test-ulps: Update.
36230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36231
36232 * math/auto-libm-test-in: Add more tests of cosh and sinh.
36233 * math/auto-libm-test-out: Regenerated.
36234 * sysdeps/i386/fpu/libm-test-ulps: Update.
36235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36236
36237 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36238
36239 2015-04-29 Roland McGrath <roland@hack.frob.com>
36240
36241 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36242 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36243
36244 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36245 (euidaccess, eaccess): Define as weak aliases.
36246
36247 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36248 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
36249 but __suseconds_t is often 'long int' so some sources assume that
36250 type is being used (e.g. they use %ld to print tv_usec).
36251
36252 2015-04-29 Florian Weimer <fweimer@redhat.com>
36253
36254 [BZ #18007]
36255 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36256 (CVE-2014-8121)
36257 * nss/tst-nss-getpwent.c: New file.
36258 * nss/Makefile (tests): Add new test.
36259
36260 2015-04-28 Joseph Myers <joseph@codesourcery.com>
36261
36262 [BZ #18346]
36263 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36264 exponents less than 48 as cases where high part of mantissa needs
36265 examining to determine whether argument is integral.
36266 * math/libm-test.inc (round_test_data): Add more tests.
36267
36268 2015-04-28 Mark Wielaard <mjw@redhat.com>
36269
36270 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36271
36272 2015-04-27 David S. Miller <davem@davemloft.net>
36273
36274 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36275 __tls_get_addr.
36276 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36277
36278 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
36279
36280 [BZ #18333]
36281 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36282
36283 2015-04-27 Florian Weimer <fweimer@redhat.com>
36284
36285 [BZ #18333]
36286 * time/tzset.c (parse_tzname): Return error on memory allocation
36287 failure.
36288 * test-skeleton.c (struct temp_name_list): Change type of name
36289 member to non-const.
36290 (add_temp_file): Create a copy of the file name.
36291 (delete_temp_files): Deallocate memory.
36292 (create_temp_file): Add comment.
36293
36294 2015-04-24 Florian Weimer <fweimer@redhat.com>
36295
36296 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36297 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36298
36299 2015-04-24 Roland McGrath <roland@hack.frob.com>
36300
36301 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36302 * sysdeps/arm/configure: Regenerated.
36303
36304 2015-04-24 Florian Weimer <fweimer@redhat.com>
36305
36306 [BZ #17715]
36307 * time/tzfile.c (__tzfile_read): Check for large values of
36308 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
36309 * time/tzset.c (__tzstring_len): New function, based on the old
36310 __tzstring function.
36311 (__tzstring): Call __tzstring_len.
36312 (parse_tzname): New helper function extracted from
36313 __tzset_parse_tz. Call __tzstring_len, without making a copy of
36314 the input string.
36315 (parse_offset): New helper function extracted from
36316 __tzset_parse_tz. Replace switch with fallthrough with
36317 initialization before sscanf.
36318 (parse_rule): Likewise.
36319 (__tzset_parse_tz): Rewrite using the new helper functions. Use
36320 new-style function definition.
36321 * timezone/Makefile (tests): Add tst-tzset.
36322 (tst-tzset.out): Dependencies on time zone files.
36323 (tst-tzset-ENV): Set TZDIR.
36324 (testdata/XT%): Copy crafted time zone files.
36325 * timezone/README: Mention crafted time zone files.
36326 * timezone/testdata/XT1, timezone/testdata/XT2,
36327 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36328 files.
36329 * timezone/tst-tzset.c: New test.
36330
36331 2015-04-24 Florian Weimer <fweimer@redhat.com>
36332
36333 * Makeconfig (+gccwarn): Remove -Winline.
36334
36335 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
36336
36337 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36338
36339 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
36340
36341 * NEWS: Mention sysconf() cache information support for s390.
36342 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36343
36344 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
36345
36346 * math/k_casinh.c (__kernel_casinh): Use __copysign.
36347 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36348 (__nearbyint): Likewise.
36349 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36350 (copysignl): Likewise.
36351
36352 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
36353
36354 [BZ #18287]
36355 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36356 based on padding. (CVE-2015-1781)
36357
36358 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36359
36360 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36361 libc-vdso.h.
36362 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36363 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36364 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36365 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36366 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36367 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36368 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36369 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36370 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36371 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36372 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36373 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36374 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36375 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36376 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36377 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36378 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36380 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36381 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36382 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36383 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36384 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36385
36386 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
36387
36388 * stdlib/setenv.c (__add_to_environ):
36389 Dump core quickly if setenv (..., NULL, ...) is called.
36390 This time, do it the right way, and pacify GCC with a pragma.
36391
36392 2015-04-17 Roland McGrath <roland@hack.frob.com>
36393
36394 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36395 IMAP->l_prev cannot be null, and #if out the code for the contrary
36396 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36397 believe that NS (&_dl_ns[NSID]) could point outside the array.
36398
36399 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36400 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36401 before using NSID as an index.
36402
36403 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
36404
36405 [BZ #17825]
36406 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36407 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36408 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36409
36410 2015-04-17 Roland McGrath <roland@hack.frob.com>
36411
36412 Add preliminary port to Google Native Client on ARM.
36413 * abi-tags (.*-.*-nacl.*): New entry.
36414 * sysdeps/arm/nacl: New directory.
36415 * sysdeps/nacl: New directory.
36416
36417 2015-04-16 David S. Miller <davem@davemloft.net>
36418
36419 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36420 lowlevellock-futex.h
36421
36422 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
36423
36424 * sysdeps/tile/configure.ac: New file.
36425 * sysdeps/tile/configure: Regenerated.
36426
36427 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36428
36429 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
36430 conditionals for weak_alias and libc_hidden_weak.
36431 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36432 libc_hidden_weak and weak_alias.
36433 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36434 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36435 and weak_alias for static one.
36436
36437 2015-04-15 David S. Miller <davem@davemloft.net>
36438
36439 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36440
36441 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36442
36443 [BZ #18206]
36444 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36445 Use signed comparision instead of substraction to avoid
36446 overflow bug.
36447 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36448 Take the sign of ret.
36449 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36450 Do not expect precise return values. Only the sign matters.
36451 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36452 * wcsmbs/test-wcsncmp.c: New File.
36453 * string/test-strncmp.c: Add wcsncmp support.
36454
36455 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36456
36457 [BZ #6792]
36458 * math/w_log1p.c: New file.
36459 * math/w_log1pf.c: Likewise.
36460 * math/w_log1pl.c: Likewise.
36461 * math/Makefile (libm-calls): Add w_log1p.
36462 * math/s_log1pl.c (log1pl): Remove weak_alias.
36463 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36464 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36465 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36466 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36467 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36468 [NO_LONG_DOUBLE] (log1pl): Likewise.
36469 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36470 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36471 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36472 (log1p): Remove long_double_symbol.
36473 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36474 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36475 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36476 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36477 remove weak_alias for corresponding log1p function.
36478 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36479 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36480 * sysdeps/ia64/fpu/w_log1p.c: New file.
36481 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36482 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36483 * math/libm-test.inc (log1p_test_data): Add errno expectations.
36484
36485 2015-04-10 Joseph Myers <joseph@codesourcery.com>
36486
36487 [BZ #18247]
36488 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36489 decimal exponent by 1.
36490 * stdlib/tst-strtod-round-data: Add more tests.
36491 * stdlib/tst-strtod-round.c (tests): Regenerated.
36492
36493 2015-04-09 Joseph Myers <joseph@codesourcery.com>
36494
36495 * math/auto-libm-test-in: Add more tests of clog and clog10.
36496 * math/auto-libm-test-out: Regenerated.
36497 * sysdeps/i386/fpu/libm-test-ulps: Update.
36498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36499
36500 2015-04-09 Roland McGrath <roland@hack.frob.com>
36501
36502 * Makeconfig (module-cppflags): Exclude all .v.i files.
36503 (skip-module-cppflags): Variable removed.
36504
36505 * configure.ac (libc_config_ok): Initialize before reading
36506 preconfigure scripts, not after.
36507 * configure: Regenerated.
36508
36509 * test-skeleton.c (TIMEOUT): Move #define to top level.
36510 (main): Grok environment variable TEST_DIRECT. If set, print
36511 test expectation details into that file and then behave as if
36512 given --direct.
36513
36514 2015-04-09 Florian Weimer <fweimer@redhat.com>
36515
36516 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36517 warning on 32-bit.
36518
36519 2015-04-08 David S. Miller <davem@davemloft.net>
36520
36521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36522
36523 2015-04-08 Joseph Myers <joseph@codesourcery.com>
36524
36525 * math/auto-libm-test-in: Add more tests of atanh.
36526 * math/auto-libm-test-out: Regenerated.
36527 * sysdeps/i386/fpu/libm-test-ulps: Update.
36528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36529
36530 * math/auto-libm-test-in: Add more tests of atan.
36531 * math/auto-libm-test-out: Regenerated.
36532 * sysdeps/i386/fpu/libm-test-ulps: Update.
36533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36534
36535 2015-04-08 Florian Weimer <fweimer@redhat.com>
36536
36537 * elf/pldd.c (main): Rewrite to use struct
36538 scratch_buffer instead of extend_alloca.
36539 * elf/pldd-xx.c (find_maps): Likewise.
36540 * grp/initgroups.c: Include <scratch_buffer.h> instead of
36541 <alloca.h>.
36542 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36543 scratch_buffer instead of extend_alloca.
36544 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36545 grp/compat-initgroups.c.
36546 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36547 Rewrite to use struct scratch_buffer instead of extend_alloca.
36548 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36549 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36550
36551 2015-04-08 Joseph Myers <joseph@codesourcery.com>
36552
36553 * math/auto-libm-test-in: Add more tests of cbrt.
36554 * math/auto-libm-test-out: Regenerated.
36555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36556
36557 * math/auto-libm-test-in: Add more tests of cabs.
36558 * math/auto-libm-test-out: Regenerated.
36559 * sysdeps/i386/fpu/libm-test-ulps: Update.
36560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36561
36562 [BZ #18210]
36563 [BZ #18211]
36564 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36565 (__ieee754_atan2): Set FE_TONEAREST mode for internal
36566 computations.
36567 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36568 clog10.
36569 * math/auto-libm-test-out: Regenerated.
36570 * sysdeps/i386/fpu/libm-test-ulps: Update.
36571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36572
36573 [BZ #18197]
36574 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36575 (atan): Set FE_TONEAREST mode for internal computations.
36576 * math/auto-libm-test-in: Add more tests of atan.
36577 * math/auto-libm-test-out: Regenerated.
36578
36579 2015-04-07 James Cowgill <james410@cowgill.org.uk>
36580
36581 [BZ #17930]
36582 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36583
36584 2015-04-07 Florian Weimer <fweimer@redhat.com>
36585
36586 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36587
36588 2015-04-07 Florian Weimer <fweimer@redhat.com>
36589
36590 * include/scratch_buffer.h: New file.
36591 * malloc/scratch_buffer_grow.c: Likewise.
36592 * malloc/scratch_buffer_grow_preserve.c: Likewise.
36593 * malloc/scratch_buffer_set_array_size.c: Likewise.
36594 * malloc/tst-scratch_buffer.c: Likewise.
36595 * malloc/Makefile (routines): Add scratch_buffer_grow.
36596 (tests): Add test case.
36597 * malloc/Versions (GLIBC_PRIVATE): Export
36598 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36599 __libc_scratch_buffer_set_array_size.
36600
36601 2015-04-06 Richard Henderson <rth@redhat.com>
36602
36603 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36604 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36605
36606 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36607 unsigned int before printing.
36608
36609 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36610
36611 [BZ #17596]
36612 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36613 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36614
36615 2015-04-02 Florian Weimer <fweimer@redhat.com>
36616
36617 * include/libc-internal.h (libc_max_align_t): Define.
36618
36619 2015-04-02 Andreas Schwab <schwab@suse.de>
36620
36621 [BZ #16850]
36622 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36623
36624 2015-04-02 Mel Gorman <mgorman@suse.de>
36625
36626 [BZ #17195]
36627 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36628 as well as the main arena.
36629
36630 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
36631
36632 [BZ #18185]
36633 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36634 sharing L2 cache to 2 for Silvermont/Knights Landing.
36635
36636 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
36637
36638 [BZ #17711]
36639 * config.make.in (have-protected-data): New.
36640 * configure.ac: Check linker support for protected data symbol.
36641 * configure: Regenerated.
36642 * elf/Makefile (modules-names): Add tst-protected1moda and
36643 tst-protected1modb if $(have-protected-data) is yes.
36644 (tests): Add tst-protected1a and tst-protected1b if
36645 $(have-protected-data) is yes.
36646 ($(objpfx)tst-protected1a): New.
36647 ($(objpfx)tst-protected1b): Likewise.
36648 (tst-protected1modb.so-no-z-defs): Likewise.
36649 * elf/tst-protected1a.c: New file.
36650 * elf/tst-protected1b.c: Likewise.
36651 * elf/tst-protected1mod.h: Likewise.
36652 * elf/tst-protected1moda.c: Likewise.
36653 * elf/tst-protected1modb.c: Likewise.
36654
36655 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
36656
36657 [BZ #17711]
36658 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36659 indicates it is called from do_lookup_x on relocation against
36660 protected data, skip the data definion in the executable from
36661 copy reloc.
36662 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36663 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36664 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36665 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36666 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36667 otherwise to 0.
36668 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36669 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36670 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36671 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36672 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36673 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36674
36675 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
36676
36677 * sysdeps/nptl/pthread.h: Remove duplicate definition of
36678 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36679
36680 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
36681
36682 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36683 THREAD_SETMEM_NC.
36684 * sysdeps/x86_64/nptl/tls.h: Ditto.
36685
36686 2015-03-27 Roland McGrath <roland@hack.frob.com>
36687
36688 * dlfcn/tststatic.c (main): Converted to ...
36689 (do_test): ... this.
36690 (TEST_FUNCTION): New macro.
36691 Include test-skeleton.c.
36692
36693 2015-03-26 Alan Modra <amodra@gmail.com>
36694
36695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36696 Don't segfault if ifunc resolver returns a NULL. Do set plt to
36697 zero for undefined weak.
36698 (elf_machine_plt_conflict): Similarly.
36699
36700 2015-03-25 Joseph Myers <joseph@codesourcery.com>
36701
36702 * math/auto-libm-test-in: Add more tests of acosh, asinh and
36703 atanh.
36704 * math/auto-libm-test-out: Regenerated.
36705 * sysdeps/i386/fpu/libm-test-ulps: Update.
36706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36707
36708 * math/auto-libm-test-in: Add another test of asin.
36709 * math/auto-libm-test-out: Regenerated.
36710 * sysdeps/i386/fpu/libm-test-ulps: Update.
36711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36712
36713 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36714 Remove macro.
36715 (LLL_EBX_REG): Likewise.
36716 (LLL_ENTER_KERNEL): Likewise.
36717
36718 * math/auto-libm-test-in: Add more tests of asin.
36719 * math/auto-libm-test-out: Regenerated.
36720 * sysdeps/i386/fpu/libm-test-ulps: Update.
36721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36722
36723 [BZ #18138]
36724 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
36725 libc_do_syscall_args): New structure.
36726 (INTERNAL_SYSCALL_MAIN_0): New macro.
36727 (INTERNAL_SYSCALL_MAIN_1): Likewise.
36728 (INTERNAL_SYSCALL_MAIN_2): Likewise.
36729 (INTERNAL_SYSCALL_MAIN_3): Likewise.
36730 (INTERNAL_SYSCALL_MAIN_4): Likewise.
36731 (INTERNAL_SYSCALL_MAIN_5): Likewise.
36732 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
36733 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
36734 Replace conditional definitions by conditional definitions of ....
36735 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
36736 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
36737 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
36738 (libpthread-sysdep_routines): Add libc-do-syscall.
36739 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
36740 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
36741 to __NR_futex not 240.
36742
36743 2015-03-25 Alan Modra <amodra@gmail.com>
36744
36745 * NEWS: Advertise TLS optimization.
36746 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
36747 (DT_PPC_NUM): Increment.
36748 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
36749 (CHECK_STATIC_TLS): Use here.
36750 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
36751 TLS descriptors.
36752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36753 * sysdeps/powerpc/dl-tls.c: New file.
36754 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
36755 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
36756 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
36757 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
36758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
36759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
36760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
36761
36762 2015-03-25 Alan Modra <amodra@gmail.com>
36763
36764 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
36765 for overlapping .opd entries" to "support...".
36766 * sysdeps/powerpc/powerpc64/configure: Regenerate
36767
36768 2015-03-25 Joseph Myers <joseph@codesourcery.com>
36769
36770 * math/auto-libm-test-in: Add more tests of acos.
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 * math/auto-libm-test-in: Add more tests of expm1.
36776 * math/auto-libm-test-out: Regenerated.
36777 * sysdeps/i386/fpu/libm-test-ulps: Update.
36778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36779
36780 2015-03-24 Joseph Myers <joseph@codesourcery.com>
36781
36782 * math/auto-libm-test-in: Add more tests of cosh and sinh.
36783 * math/auto-libm-test-out: Regenerated.
36784 * sysdeps/i386/fpu/libm-test-ulps: Update.
36785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36786
36787 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36789
36790 * math/auto-libm-test-in: Add more tests of log2.
36791 * math/auto-libm-test-out: Regenerated.
36792 * sysdeps/i386/fpu/libm-test-ulps: Update.
36793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36794
36795 2015-03-23 Roland McGrath <roland@hack.frob.com>
36796
36797 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
36798 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
36799 _IO_IS_APPENDING bit in READ_WRITE instead.
36800
36801 2015-03-23 Florian Weimer <fweimer@redhat.com>
36802
36803 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
36804 (__determine_cpumask_size): Replace extend_alloca with a
36805 variable-length array. Do not treat res == 0 as an error.
36806
36807 2015-03-23 Florian Weimer <fweimer@redhat.com>
36808
36809 [BZ #18100]
36810 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
36811 and integer overflow.
36812 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
36813 (main): Add integer overflow tests.
36814 * manual/pattern.texi (Calling Wordexp): Document additional use
36815 for WRDE_SYNTAX.
36816
36817 2015-03-23 Alan Modra <amodra@gmail.com>
36818
36819 * config.h.in: Remove HAVE_ASM_PPC_REL16.
36820 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
36821 and false branch of conditional.
36822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36823 Likewise.
36824
36825 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
36826
36827 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
36828 libc-modules.h
36829 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
36830 unused declaration of _hurd_intr_rpc_msg_in_trap.
36831 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
36832 defined instead of whether it is non-zero.
36833 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
36834 input constraint instead of both input and output constraint. Use ecx
36835 clobber instead of %ecx.
36836 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
36837 mutex_unlock): Use a statement expression instead of an expression list.
36838 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
36839 type to vm_size_t instead of vm_address_t.
36840 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
36841 defined instead of whether it is non-zero.
36842 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
36843 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
36844 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
36845 comparisons with mapaddr.
36846 * nscd/nscd-client.h: Include <time.h>.
36847 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
36848 9th parameter to __vm_region instead of int.
36849 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
36850 * scripts/check-local-headers.sh (exclude): Add device/,
36851 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
36852 cthreads.h.
36853
36854 2015-03-19 Roland McGrath <roland@hack.frob.com>
36855
36856 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
36857 to account for alignment padding.
36858 * sysdeps/arm/memmove.S: Likewise.
36859
36860 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
36861
36862 * sysdeps/unix/sysv/linux/generic/README: New file.
36863
36864 2015-03-18 Joseph Myers <joseph@codesourcery.com>
36865
36866 [BZ #18138]
36867 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
36868 (futex_abstimed_wait)
36869 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
36870 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
36871 of lll_futex_timed_wait.
36872
36873 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
36874
36875 [BZ #17542]
36876 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
36877
36878 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
36879
36880 [BZ #17090]
36881 [BZ #17620]
36882 [BZ #17621]
36883 [BZ #17628]
36884 * NEWS: Update.
36885 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
36886 entries with Static TLS too. Skip entries past the end of the
36887 allocated DTV, from Alan Modra.
36888 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
36889 Static TLS DTV entry set up from...
36890 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
36891 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
36892 * nptl/allocatestack.c (init_one_static_tls): ... and here...
36893 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
36894 for Static TLS.
36895 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
36896 that the slot we find is associated with the given map before
36897 using its generation count.
36898 * nptl_db/db_info.c: Include ldsodefs.h.
36899 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
36900 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
36901 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
36902 (link_map::l_tls_offset): New struct field.
36903 (dtv_t::counter): Likewise.
36904 (rtld_global): New struct.
36905 (_rtld_global): New rtld variable.
36906 (dl_tls_dtv_slotinfo_list): New rtld global field.
36907 (dtv_slotinfo_list): New struct.
36908 (dtv_slotinfo): Likewise.
36909 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
36910 (td_lookup): Rename to...
36911 (td_mod_lookup): ... this. Use new mod parameter instead of
36912 LIBPTHREAD_SO.
36913 * nptl_db/td_thr_tlsbase.c: Include link.h.
36914 (dtv_slotinfo_list, dtv_slotinfo): New functions.
36915 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
36916 addresses even if the DTV is out of date or missing them.
36917 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
36918 index zero-length arrays.
36919 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
36920 (td_lookup): Make it a macro implemented in terms of...
36921 (td_mod_lookup): ... this declaration.
36922 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
36923 (DB_MAIN_VARIABLE): Likewise.
36924
36925 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
36926
36927 [BZ #18134]
36928 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
36929
36930 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
36931
36932 * stdlib/setenv.c (__add_to_environ): Revert previous change.
36933
36934 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
36935
36936 [BZ #18128]
36937 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
36938 (atomic_add, atomic_increment_and_test)
36939 (atomic_decrement_and_test): Fix 64-bit arithmetic.
36940
36941 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
36942
36943 * stdlib/setenv.c (__add_to_environ):
36944 Dump core quickly if setenv (..., NULL, ...) is called.
36945
36946 2015-03-13 Roland McGrath <roland@hack.frob.com>
36947
36948 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
36949 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
36950 all the necessary asm magic in one place.
36951 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
36952 using those.
36953
36954 2015-03-13 Carlos O'Donell <carlos@redhat.com>
36955
36956 [BZ #14906]
36957 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
36958 traced file mtime. Use consistent log message.
36959 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
36960 (register_traced_file): Call install_watches. Always set mtime.
36961 (invalidate_cache): Iterate over all trace files. Call install_watches.
36962 (inotify_check_files): Don't inline. Handle watching parent
36963 directories and configuration file movement in and out.
36964 (handle_inotify_events): New function.
36965 (main_loop_poll): Call handle_inotify_events.
36966 (main_loop_epoll): Likewise.
36967 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
36968 (struct traced_file): Use array of inotify fds. Add parent directory,
36969 and basename.
36970 (struct database_dyn): Remove unused file_mtime.
36971 (init_traced_file): New inline function.
36972 (define_traced_file): New macro.
36973 * nss/nss_db/db-init.c: Use define_traced_file.
36974 (_nss_db_init): Use init_traced_file.
36975 * nss/nss_files/files-init.c: Use define_traced_file.
36976 (_nss_files_init): Use init_traced_file.
36977
36978 2015-03-12 Joseph Myers <joseph@codesourcery.com>
36979
36980 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
36981 [_LIBC]: Do not include <stdlib.h>.
36982 [!_LIBC] (abort): Remove declaration.
36983 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
36984 _FP_STATIC_ASSERT instead of conditionally calling abort.
36985 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
36986 (_FP_EXTEND_CNAN): Likewise.
36987 (FP_TRUNC): Likewise.
36988 (__FP_CLZ): Likewise.
36989 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
36990
36991 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
36992
36993 * manual/string.texi (XPG basename): Fix prototype.
36994
36995 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
36996
36997 [BZ #18080]
36998 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
36999 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37000 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37001 (__setcontext): Likewise.
37002 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37003 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37004 Call rt_sigprocmask syscall one time to set new signal mask
37005 and retrieve the current signal mask instead of two calls.
37006 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37007 (__swapcontext): Likewise.
37008 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37009 * stdlib/tst-setcontext2.c: New file.
37010
37011 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
37012
37013 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37014
37015 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
37016
37017 [BZ #18093]
37018 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37019 the wrong size.
37020
37021 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
37022
37023 [BZ #18043]
37024 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37025
37026 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
37027
37028 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37029 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37030 Remove define.
37031 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37032 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37033 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37034 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37035 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37036 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37037 define.
37038 * nptl_db/td_symbol_list.c (td_lookup): Remove
37039 HAVE_ASM_GLOBAL_DOT_NAME code.
37040 * sysdeps/powerpc/powerpc64/configure.ac: Remove
37041 HAVE_ASM_GLOBAL_DOT_NAME check.
37042 * sysdeps/powerpc/powerpc64/configure: Regenerate.
37043 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37044 (DOT_LABEL): Remove define.
37045 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37046 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37047 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37048 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37049 (__TLS_GET_ADDR): Likewise.
37050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37051 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37052
37053 2015-03-11 Carlos O'Donell <carlos@redhat.com>
37054
37055 [BZ #18111]
37056 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37057 (_FPU_SETCW): Initialize cw from fpsr before storing.
37058 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37059 (fesetexceptflag): Rewrite using fpu_control.h.
37060 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37061
37062 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
37063
37064 [BZ #18110]
37065 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37066 asms.
37067 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37068
37069 2015-03-11 Joseph Myers <joseph@codesourcery.com>
37070
37071 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37072 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37073 abort.
37074 (_FP_FMA): Likewise.
37075 (_FP_DIV): Likewise.
37076
37077 2015-03-10 Roland McGrath <roland@hack.frob.com>
37078
37079 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37080 with 0 in that case.
37081 * Makefile (summarize-tests): New canned sequence, factored out of
37082 commands for targets tests and xtests. Display summary lines that
37083 don't start with PASS: or XFAIL: rather than ones that do start with
37084 ERROR: or FAIL:. Make the commands fail if any summary lines fail
37085 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37086 do start with ERROR: or FAIL:.
37087 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37088 (except for [$(build-shared) = yes]).
37089 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37090 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37091 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37092 * nptl/Makefile: Revert 2015-03-04 changes.
37093 [$(CXX) empty] (tests-unsupported): New variable.
37094 * debug/Makefile: Likewise.
37095
37096 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37097 gnulib file. Replace __attribute with __attribute__ throughout.
37098
37099 2015-03-10 Carlos O'Donell <carlos@redhat.com>
37100
37101 * sysdeps/hppa/fpu/libm-test-ulps: Update.
37102
37103 2015-03-10 Joseph Myers <joseph@codesourcery.com>
37104
37105 [BZ #18104]
37106 * math/auto-libm-test-in: Add another test of pow.
37107 * math/auto-libm-test-out: Regenerated.
37108
37109 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37110
37111 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37112 $(config-cflags-nofma).
37113
37114 2015-03-10 Joseph Myers <joseph@codesourcery.com>
37115
37116 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37117 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37118 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37119 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37120 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37121 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37122 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37123 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37124 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37125 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37126 Add comment on closing #endif.
37127
37128 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
37129
37130 * posix/wordexp.c (CHAR_IN_SET): New macro.
37131 (parse_param): Use it.
37132
37133 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37134
37135 * sysdeps/powerpc/fpu/libm-test-ulps: update.
37136
37137 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
37138
37139 [BZ #18043]
37140 * posix/wordexp.c (parse_param): Fix buffer overflow.
37141 * posix/wordexp-test.c (test_case): Add test case.
37142
37143 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
37144
37145 [BZ #18042]
37146 * posix/wordexp.c (parse_backtick): Fix off-by-one.
37147 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37148
37149 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
37150
37151 [BZ #18043]
37152 * posix/wordexp-test.c (test_case): Add test for BZ #18043
37153 (do_bz18043): Delete.
37154 (at_page_end): New.
37155 (testit): Refactor to have words at the edge of unreadable page.
37156
37157 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
37158
37159 [BZ #16734]
37160 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37161 Cleanup read-only streams as well.
37162 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37163
37164 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
37165
37166 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37167 <bits/libc-lockP.h>
37168
37169 2015-03-07 Joseph Myers <joseph@codesourcery.com>
37170
37171 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
37172 on [__KERNEL__].
37173 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37174 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37175 * soft-fp/op-common.h (_FP_DECL): Likewise.
37176
37177 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
37178
37179 * elf/ifuncdep2.c (global): Replace
37180 __attribute__((visibility("protected"))) with
37181 asm (".protected global").
37182 * elf/ifuncmod1.c (global): Likewise.
37183 * elf/ifuncmod5.c (global): Likewise.
37184
37185 2015-03-06 Joseph Myers <joseph@codesourcery.com>
37186
37187 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37188 <asm/sfp-machine.h> instead of <sfp-machine.h>.
37189
37190 2015-03-06 Roland McGrath <roland@hack.frob.com>
37191
37192 * manual/install.texi (Configuring and compiling):
37193 Document test-wrapper-env-only.
37194 * INSTALL: Regenerated.
37195
37196 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37197
37198 [BZ #18043]
37199 * posix/wordexp.c (parse_param): Fix buffer overflow.
37200 * posix/wordexp-test.c (do_bz18043): Add test case.
37201
37202 2015-03-06 Vincent Bernat <vincent@bernat.im>
37203
37204 * time/tst-strptime2.c (do_test): Ensure failing tests are
37205 reported correctly.
37206 * time/tst-strptime3.c (do_test): Likewise.
37207
37208 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
37209
37210 Fix aio_error thread-safety.
37211 * sysdeps/pthread/aio_error.c: New file
37212 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37213 synchronization.
37214
37215 2015-03-06 Florian Weimer <fweimer@redhat.com>
37216
37217 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37218 (group_number, vfprintf): Use it.
37219 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37220 (JUMP, REF): Use it.
37221 (WORK_BUFFER_SIZE): New enum constant.
37222 (process_arg, vfprintf): Use it.
37223
37224 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
37225
37226 * manual/errno.texi (Error Messages): Complete example function
37227 by adding missing #define.
37228 (program_invocation_name): Add statement indicating GNU
37229 extension and reference which header file declares the variable.
37230 (program_invocation_short_name): Likewise.
37231
37232 2015-03-06 Mike Frysinger <vapier@gentoo.org>
37233
37234 * manual/errno.texi (Error Messages): Delete strerror ISO C89
37235 compatibility note.
37236
37237 2015-03-05 Roland McGrath <roland@hack.frob.com>
37238
37239 * Makeconfig (test-wrapper-env-only): New variable.
37240 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37241 then use that with $(test-wrapper-env-only) rather than using
37242 $(test-wrapper-env) $(run-program-env) $($*-ENV).
37243
37244 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
37245
37246 [BZ #18082]
37247 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37248 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37249 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37250 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37251 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37252 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37253 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37254 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37255 Likewise.
37256 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37257 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37258 Likewise.
37259 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37260 Likewise.
37261 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37262 Likewise.
37263 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37264 Likewise.
37265 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37267 Likewise.
37268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37269 Likewise.
37270 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37271 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37272
37273 2015-03-04 Roland McGrath <roland@hack.frob.com>
37274
37275 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37276 (ETH_ALEN): New macro.
37277 (struct ether_addr): Use it for length of ether_addr_octet.
37278
37279 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37280 (setdb): Don't call __nss_configure_lookup for "rpc".
37281 (do_test): Don't call test_rpc.
37282 (output_rpcent, test_rpc): Functions moved ...
37283 * sunrpc/test-rpcent.c: ... to this new file.
37284 * sunrpc/Makefile (tests): Add it.
37285
37286 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37287 __xpg_sigpause.
37288 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37289 * nptl/tst-signal6.c: Likewise.
37290 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37291 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37292
37293 * configure.ac (libc_cv_cxx_link_ok): New check.
37294 Reset CXX to empty if it fails to link.
37295 * configure: Regenerated.
37296 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37297 bug-atexit3-lib only if $(CXX) is nonempty.
37298 * nptl/Makefile (tests): Likewise for tst-cancel24.
37299 (tests, tests-static): Likewise for tst-cancel24-static.
37300 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37301 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37302 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37303 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37304
37305 2015-03-04 Andreas Schwab <schwab@suse.de>
37306
37307 [BZ #17631]
37308 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37309 for non-GCC compilers.
37310 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37311 Likewise.
37312
37313 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
37314
37315 [BZ #17776]
37316 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37317 integer before bitwise and assembly operations.
37318 (feclearexcept): Likewise.
37319 * math/test-fenvinline.c: New file.
37320 * math/Makefile: Add test-fenvinline test.
37321
37322 2015-03-03 Alan Modra <amodra@gmail.com>
37323
37324 [BZ #16512]
37325 * scripts/localplt.awk: Strip off symbol version.
37326 * NEWS: Mention bug fix.
37327
37328 2015-03-02 Roland McGrath <roland@hack.frob.com>
37329
37330 * sysdeps/pthread/timer_routines.c
37331 (timer_free_list, thread_free_list, thread_active_list): Make static.
37332
37333 2015-03-02 Joseph Myers <joseph@codesourcery.com>
37334
37335 [BZ #17779]
37336 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37337 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37338 Undefine.
37339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37340 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37341 Likewise.
37342 * sysdeps/unix/sysv/linux/sh/kernel-features.h
37343 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37344 Likewise.
37345
37346 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37347
37348 [BZ #18036]
37349 * posix/fnmatch_loop.c (END): Detect invalid pattern.
37350 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37351
37352 2015-03-02 Andreas Schwab <schwab@suse.de>
37353
37354 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37355 variable name.
37356
37357 2015-03-02 Florian Weimer <fweimer@redhat.com>
37358
37359 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37360 Return error status.
37361
37362 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
37363
37364 [BZ #15969]
37365 * locale/findlocale.c (_nl_find_locale): Introduce const
37366 version of loc_name and drop unsafe type casts.
37367
37368 2015-02-27 Roland McGrath <roland@hack.frob.com>
37369
37370 * dlfcn/tststatic2.c (main): Converted to ...
37371 (do_test): ... this.
37372 (TEST_FUNCTION): New macro.
37373 Include test-skeleton.c.
37374
37375 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
37376
37377 [BZ #17711]
37378 * elf/Makefile (tests): Add vismain only if PIE is enabled.
37379 (tests-pie): Add vismain.
37380 (CFLAGS-vismain.c): New.
37381 * elf/vismain.c: Add comments for PIE requirement.
37382
37383 2015-02-27 Joseph Myers <joseph@codesourcery.com>
37384
37385 [BZ #18046]
37386 [BZ #18047]
37387 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37388 0x1p-56L as threshold for just returning the argument.
37389 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37390 0x1p-32L as threshold for just returning the argument.
37391 * math/auto-libm-test-in: Add more tests of atanh.
37392 * math/auto-libm-test-out: Regenerated.
37393 * sysdeps/i386/fpu/libm-test-ulps: Update.
37394 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37395
37396 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
37397
37398 * string/bcopy.c (bcopy): Call memmove for performance.
37399
37400 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
37401
37402 * string/bzero.c (__bzero): Call memset for performance.
37403
37404 2015-02-27 John David Anglin <dave.anglin@bell.net>
37405
37406 [BZ #18068]
37407 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37408 to 00100000.
37409
37410 2015-02-27 Joseph Myers <joseph@codesourcery.com>
37411
37412 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37413
37414 2015-02-26 Joseph Myers <joseph@codesourcery.com>
37415
37416 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37417 (__kernel_standard): Use CSTR macro when setting exc.name.
37418 * sysdeps/ieee754/Makefile [$(subdir) = math]
37419 (CFLAGS-k_standard.c): Remove variable.
37420
37421 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37422 setting p and q from "else if" to "else".
37423 (qzero): Likewise.
37424 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37425 (qone): Likewise.
37426 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37427 (qzerof): Likewise.
37428 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37429 (qonef): Likewise.
37430 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37431 (qzero): Likewise.
37432 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37433 (qone): Likewise.
37434
37435 [BZ #18038]
37436 [BZ #18039]
37437 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37438 return pi/2 for arguments below 0x1p-113L.
37439 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37440 return pi/2 for arguments below 0x1p-106L.
37441 * math/auto-libm-test-in: Add more tests of acos.
37442 * math/auto-libm-test-out: Regenerated.
37443
37444 [BZ #16351]
37445 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37446 (MO): New macro.
37447 (__ieee754_asin): Force underflow exception for results with small
37448 absolute value.
37449 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37450 (MO): New macro.
37451 (__ieee754_asinf): Force underflow exception for results with
37452 small absolute value.
37453 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37454 (__ieee754_asin): Force underflow exception for results with small
37455 absolute value.
37456 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37457 (__ieee754_asinf): Force underflow exception for results with
37458 small absolute value.
37459 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37460 (__ieee754_asinl): Force underflow exception for results with
37461 small absolute value.
37462 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37463 (__ieee754_asinl): Force underflow exception for results with
37464 small absolute value.
37465 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37466 (__ieee754_asinl): Force underflow exception for results with
37467 small absolute value.
37468 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37469 Include <math.h>.
37470 * math/auto-libm-test-in: Do not mark underflow exceptions as
37471 possibly missing for bug 16351.
37472 * math/auto-libm-test-out: Regenerated.
37473
37474 [BZ #18030]
37475 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37476 of power of 2 down when low part has opposite sign.
37477 * math/libm-test.inc (logb_test_data): Add more tests.
37478
37479 2015-02-26 Andreas Schwab <schwab@suse.de>
37480
37481 [BZ #18032]
37482 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37483 over collating symbol inside a bracket expression. Minor cleanup.
37484 * posix/tst-fnmatch3.c (do_test): Add test case.
37485
37486 2015-02-26 Joseph Myers <joseph@codesourcery.com>
37487
37488 [BZ #18029]
37489 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37490 Adjust exponent of power of 2 down when low part has opposite
37491 sign.
37492 * math/libm-test.inc (ilogb_test_data): Add more tests.
37493
37494 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
37495
37496 [BZ #15969]
37497 * locale/findlocale.c (_nl_find_locale): Fix constness error in
37498 the previous change.
37499
37500 [BZ #15969]
37501 * locale/findlocale.c (_nl_find_locale): Retry archive search
37502 after alias expansion.
37503
37504 2015-02-25 Roland McGrath <roland@hack.frob.com>
37505
37506 * iconv/tst-iconv3.c (main): Converted to ...
37507 (do_test): ... this.
37508 (TEST_FUNCTION): New macro.
37509 Include test-skeleton.c.
37510
37511 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37512 (convert): Make function static.
37513 (test_unalign): Likewise. Add const to argument pointee types.
37514 (main): Replace with static function do_test.
37515 Print "Succeeded." only if RET is zero.
37516 (TEST_FUNCTION): New macro.
37517 Include test-skeleton.c.
37518
37519 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37520 returns a null pointer.
37521
37522 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37523
37524 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37525 to __memcpy_ppc only for static builds.
37526
37527 2015-02-25 Joseph Myers <joseph@codesourcery.com>
37528
37529 [BZ #18020]
37530 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37531 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37532 * math/auto-libm-test-in: Add more tests of asinh.
37533 * math/auto-libm-test-out: Regenerated.
37534 * sysdeps/i386/fpu/libm-test-ulps: Update.
37535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37536
37537 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
37538
37539 [BZ #15850]
37540 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37541 and ip6_mtuinfo definitions here.
37542 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37543 in this define too. Update comment.
37544
37545 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
37546
37547 * elf/sprof.c (load_shobj): Tweak error message to match others.
37548
37549 2015-02-24 Kevin Easton <kevin@guarana.org>
37550
37551 [BZ #16145] (partial fix)
37552 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37553 to reduce lock contention.
37554
37555 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
37556
37557 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37558 (struct timex): Update time comment.
37559 (ADJ_SETOFFSET): Define.
37560
37561 2015-02-24 Joseph Myers <joseph@codesourcery.com>
37562
37563 [BZ #18019]
37564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37565 2**56 not 2**28 as threshold for log (2x) formula.
37566 * math/auto-libm-test-in: Add more tests of acosh.
37567 * math/auto-libm-test-out: Regenerated.
37568 * sysdeps/i386/fpu/libm-test-ulps: Update.
37569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37570
37571 2015-02-24 Mike Frysinger <vapier@gentoo.org>
37572
37573 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37574 parenthesis around the buf assignment.
37575 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37576
37577 2015-02-24 Joseph Myers <joseph@codesourcery.com>
37578
37579 [BZ #16783]
37580 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37581 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37582 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37583 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37584 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37585 * math/libm-test.inc (scalb_test_data): Add more tests.
37586
37587 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
37588
37589 [BZ #17916]
37590 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37591 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37592
37593 2015-02-24 Eric Rannaud <e@nanocritical.com>
37594
37595 [BZ #17523]
37596 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37597 * io/bits/fcntl2.h (open): Use it.
37598 (openat): Likewise.
37599 * io/open.c (__libc_open): Likewise.
37600 * io/open64.c (__libc_open64): Likewise.
37601 * io/open64_2.c (__open64_2): Likewise.
37602 * io/open_2.c (__open_2): Likewise.
37603 * io/openat.c (__openat): Likewise.
37604 * io/openat64.c (__openat64): Likewise.
37605 * io/openat64_2.c (__openat64_2): Likewise.
37606 * io/openat_2.c (__openat_2): Likewise.
37607 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37608 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37609 * sysdeps/posix/open64.c (__libc_open64): Likewise.
37610 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37611 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37612 (__open_nocancel): Likewise.
37613 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37614 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37615 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37616
37617 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37618
37619 [BZ #14841]
37620 * resolv/gethnamaddr.c (getanswer): Skip logging if
37621 RES_USE_DNSSEC is set.
37622 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37623
37624 2015-02-24 Mike Frysinger <vapier@gentoo.org>
37625
37626 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37627
37628 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
37629
37630 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37631 201304L, for Unicode 7.
37632
37633 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
37634
37635 [BZ #17836]
37636 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37637 shared library. Add gmon-start.os otherwise.
37638 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37639 $(objpfx)gmon-start.os if builing shared library.
37640 ($(objpfx)g$(static-start-installed-name)): Likewise.
37641
37642 2015-02-23 Andreas Schwab <schwab@suse.de>
37643
37644 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37645
37646 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37647
37648 [BZ #17269]
37649 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37650 (enlarge_userbuf): Likewise.
37651
37652 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
37653
37654 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37655 * math/atest-exp.c (TIMEOUT): Adjust to 200.
37656 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37657 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37658
37659 2015-02-20 Joseph Myers <joseph@codesourcery.com>
37660
37661 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37662 expression inside statement expression.
37663
37664 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
37665
37666 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37667 <sysdeps/nptl/lowlevellock.h> and remove macros and
37668 functions that are now defined there.
37669 (SYS_futex): Remove.
37670 (lll_compare_and_swap): Remove.
37671 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37672
37673 2015-02-19 Joseph Myers <joseph@codesourcery.com>
37674
37675 [BZ #17999]
37676 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37677 instead of scandirat.
37678 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37679 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37680 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37681 __scandirat.
37682 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37683 (__scandirat): Declare. Use libc_hidden_proto.
37684 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37685 Remove variable.
37686 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37687
37688 2015-02-18 Joseph Myers <joseph@codesourcery.com>
37689
37690 [BZ #15319]
37691 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37692 (MO): New macro.
37693 (__ieee754_atan2): For results with small absolute value, force
37694 underflow exception and remove excess range and precision from
37695 return value.
37696 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37697 (MO): New macro.
37698 (__ieee754_atan2f): For results with small absolute value, force
37699 underflow exception and remove excess range and precision from
37700 return value.
37701 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37702 (MO): New macro.
37703 (__atan): For results with small absolute value, force underflow
37704 exception and remove excess range and precision from return value.
37705 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37706 (MO): New macro.
37707 (__atanf): For results with small absolute value, force underflow
37708 exception and remove excess range and precision from return value.
37709 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37710 <math.h>.
37711 (__ieee754_atan2): Force underflow exception for results with
37712 small absolute value.
37713 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37714 <math_private.h>.
37715 (atan): Force underflow exception for results with small absolute
37716 value.
37717 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
37718 (__atanf): Force underflow exception for results with small
37719 absolute value.
37720 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
37721 <math.h>.
37722 (__atanl): Force underflow exception for results with small
37723 absolute value.
37724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
37725 (__atanl): Force underflow exception for results with small
37726 absolute value.
37727 * sysdeps/x86/fpu/bits/mathinline.h
37728 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
37729 (__ieee754_atan2): Only define inline for long double.
37730 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37731 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
37732 * math/auto-libm-test-in: Do not mark underflow exceptions as
37733 possibly missing for bug 15319. Add more tests of atan2.
37734 * math/auto-libm-test-out: Regenerated.
37735 * math/libm-test.inc (casin_test_data): Do not mark underflow
37736 exceptions as possibly missing for bug 15319.
37737 (casinh_test_data): Likewise.
37738 * sysdeps/i386/fpu/libm-test-ulps: Update.
37739
37740 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
37741
37742 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
37743 * sysdeps/mips/bits/endian.h: Fix comments.
37744
37745 2015-02-18 Joseph Myers <joseph@codesourcery.com>
37746
37747 [BZ #17996]
37748 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
37749 (hdestroy_r): Likewise.
37750 (hsearch_r): Likewise.
37751 (__hcreate_r): Declare and use libc_hidden_proto.
37752 (__hdestroy_r): Likewise.
37753 (__hsearch_r): Likewise.
37754 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
37755 (hcreate): Call __hcreate_r instead of hcreate_r.
37756 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
37757 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
37758 as weak alias of __hcreate_r.
37759 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
37760 __hdestroy_r.
37761 (hsearch_r): Rename to __hsearch_r and define as weak alias of
37762 __hsearch_r.
37763 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
37764 Remove variable.
37765 (test-xfail-XPG4/search.h/linknamespace): Likewise.
37766 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37767 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37768 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37769
37770 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37771
37772 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
37773 arena_lock into a single arena_get.
37774
37775 2015-02-17 Carlos O'Donell <carlos@redhat.com>
37776
37777 * dl-reloc.c: Inlucde libc-internal.h.
37778 (_dl_try_allocate_static_tls): Call ALIGN_UP.
37779 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
37780 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
37781 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
37782 (grow_heap): Likewise.
37783 * malloc/malloc.c: Include libc-internal.h.
37784 (do_check_malloc): Call powerof2.
37785 (sysmalloc): Use pagesize. Call ALIGN_UP.
37786 (systrim): Use pagesize.
37787 (mremap_chunk): Use pagesize. Call ALIGN_UP.
37788 (__libc_valloc): Use pagesize.
37789 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
37790
37791 2015-02-17 Joseph Myers <joseph@codesourcery.com>
37792
37793 [BZ #17991]
37794 * include/sys/resource.h (__getrlimit64): Declare. Use
37795 libc_hidden_proto.
37796 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
37797 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
37798 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
37799 getrlimit64.
37800 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
37801 __getrlimit64.
37802 [!getrlimit64] (getrlimit64): Define as weak alias of
37803 __getrlimit64. Use libc_hidden_weak.
37804 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
37805 using __getrlimit64 not __new_getrlimit64.
37806 (__GI_getrlimit64): Likewise.
37807 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
37808 Likewise.
37809 (__GI_getrlimit64): Likewise.
37810 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
37811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
37812 (getrlimit): Add __getrlimit64 alias.
37813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
37814 Likewise.
37815 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
37816 Remove variable.
37817 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37818 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37819
37820 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
37821
37822 * libio/fileops.c: Add missing sys/mman.h
37823 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
37824
37825 2015-02-17 Joseph Myers <joseph@codesourcery.com>
37826
37827 * manual/math.texi (Errors in Math Functions): Clarify goals
37828 regarding inexact and underflow exceptions.
37829
37830 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
37831
37832 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
37833 * sysdeps/mips/memset.S: Ditto.
37834
37835 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
37836
37837 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
37838
37839 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
37840
37841 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
37842 (__v1longjmp): Remove versioned symbol.
37843 (__v1siglongjmp): Remove alias and versioned symbol.
37844 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
37845 (__v2siglongjmp): Likewise.
37846
37847 2015-02-16 Torvald Riegel <triegel@redhat.com>
37848
37849 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
37850
37851 2015-02-16 Mike Frysinger <vapier@gentoo.org>
37852
37853 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
37854
37855 2015-02-16 Joseph Myers <joseph@codesourcery.com>
37856
37857 [BZ #17987]
37858 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
37859 zero result does not depend on the sign resulting from
37860 subtraction.
37861 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37862 Likewise.
37863 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37864 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37865 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37866 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37867 * math/libm-test.inc (remquo_test_data): Add more tests.
37868
37869 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
37870
37871 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
37872 Problem reported by J William Piggott.
37873
37874 2015-02-16 Joseph Myers <joseph@codesourcery.com>
37875
37876 [BZ #17978]
37877 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
37878 products 4 * y and 2 * y where those would overflow.
37879 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37880 Likewise.
37881 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37882 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37883 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37884 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37885 * math/libm-test.inc (remquo_test_data): Add more tests.
37886
37887 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
37888
37889 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
37890 [defined _COMPILING_NEWLIB].
37891 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
37892 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
37893
37894 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
37895 [!defined __mips_isa_rev || __mips_isa_rev < 6].
37896
37897 2015-02-16 Torvald Riegel <triegel@redhat.com>
37898
37899 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
37900 acquired.
37901
37902 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
37903
37904 [BZ #17792]
37905 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
37906 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
37907 HOST_STACK_END_ADDR): Likewise.
37908
37909 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
37910
37911 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
37912 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
37913 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
37914
37915 2015-02-13 Roland McGrath <roland@hack.frob.com>
37916
37917 * sysdeps/generic/c++-types.data: New file.
37918 * sysdeps/generic/ld.abilist: New file.
37919 * sysdeps/generic/libBrokenLocale.abilist: New file.
37920 * sysdeps/generic/libanl.abilist: New file.
37921 * sysdeps/generic/libc.abilist: New file.
37922 * sysdeps/generic/libcrypt.abilist: New file.
37923 * sysdeps/generic/libdl.abilist: New file.
37924 * sysdeps/generic/libm.abilist: New file.
37925 * sysdeps/generic/libpthread.abilist: New file.
37926 * sysdeps/generic/libresolv.abilist: New file.
37927 * sysdeps/generic/librt.abilist: New file.
37928
37929 2015-02-13 Joseph Myers <joseph@codesourcery.com>
37930
37931 [BZ #17569]
37932 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37933 Compute absolute value of x as modified by fmod, not original
37934 value of x.
37935 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
37936 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
37937 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
37938 RUN_TEST_ffI_f1_mod8.
37939 (remquo_test_data): Add more tests.
37940
37941 2015-02-13 Roland McGrath <roland@hack.frob.com>
37942
37943 * sysdeps/init_array/pt-crti.S: New file.
37944
37945 2015-02-13 Joseph Myers <joseph@codesourcery.com>
37946
37947 [BZ #17967]
37948 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
37949 __builtin_fmaf instead of relying on contraction of a * b + c.
37950
37951 2015-02-12 J William Piggott <elseifthen@gmx.com>
37952
37953 [BZ #17969]
37954 * manual/time.texi: correct the zoneinfo path in the TZ Variable
37955 node.
37956
37957 2015-02-12 Joseph Myers <joseph@codesourcery.com>
37958
37959 [BZ #17964]
37960 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
37961 __builtin_fma instead of relying on contraction of a * b + c.
37962
37963 2015-02-12 Roland McGrath <roland@hack.frob.com>
37964
37965 * Makeconfig (ASFLAGS): Add -Werror=undef.
37966 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
37967 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
37968 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
37969
37970 * Makeconfig (after-link): New variable.
37971 (+link-pie, +link-pie-tests): Use it.
37972 (+link-static, +link-static-tests): Likewise.
37973 (+link, +link-tests): Likewise.
37974 * Makerules (build-module, build-module-asneeded): Likewise.
37975 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
37976 Likewise.
37977 * elf/Makefile ($(objpfx)ld.so): Likewise.
37978
37979 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
37980
37981 [BZ #17965]
37982 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
37983 both struct timeval and struct timespec.
37984
37985 2015-02-12 Joseph Myers <joseph@codesourcery.com>
37986
37987 [BZ #16560]
37988 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37989 and redefine.
37990 (__ieee754_exp2l): Do not multiply small fractional parts by
37991 M_LN2l.
37992 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
37993 small argument.
37994 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37995 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
37996 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
37997 * math/auto-libm-test-in: Add more tests of exp2.
37998 * math/auto-libm-test-out: Regenerated.
37999
38000 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38001
38002 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38003 unaligned path.
38004
38005 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38006
38007 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38008 little endian.
38009
38010 2015-02-12 Andreas Schwab <schwab@suse.de>
38011
38012 [BZ #15790]
38013 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38014 Filter out elision flags from value returned in kind.
38015 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38016 * nptl/tst-pthread-mutexattr.c: New file.
38017
38018 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
38019
38020 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38021 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38022 into gnu-gnu, and update comment to refer to abi-tags.
38023
38024 2015-02-11 Joseph Myers <joseph@codesourcery.com>
38025
38026 [BZ #15467]
38027 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38028 (__sincos): Set errno to EDOM for infinite argument.
38029 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38030 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38031 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38032 (__sincosl): Set errno to EDOM for infinite argument.
38033 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38034 (__sincosl): Set errno to EDOM for infinite argument.
38035 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38036 (__sincosl): Set errno to EDOM for infinite argument.
38037 * math/libm-test.inc (sincos_test_data): Test errno setting.
38038
38039 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
38040
38041 * string/strxfrm_l.c: Remove #define STRCMP.
38042 * string/strcoll_l.c: Remove #define STRLEN.
38043 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38044 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38045
38046 2015-02-10 Joseph Myers <joseph@codesourcery.com>
38047
38048 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38049 * sysdeps/mips/mips32/sfp-machine.h: ... here.
38050 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38051 * sysdeps/mips/mips64/Makefile: ... here.
38052 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38053 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38054 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38055 * sysdeps/mips/mips64/sfp-machine.h: ... here.
38056 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38057 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38058 * sysdeps/mips/mips64/n64/Implies: Likewise.
38059
38060 2015-02-10 Roland McGrath <roland@hack.frob.com>
38061
38062 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38063 <sys/time.h>, <string.h>, and <errno.h>.
38064 (dest_offset, dest_address, value, zero): Remove unused variables.
38065 (ldouble): Remove typedef.
38066 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38067 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
38068 1). Fix code style.
38069 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38070 (check): Function removed.
38071 (CHECK): New macro.
38072 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
38073 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38074 Don't call set_sigaction_FP and remove_sigaction_FP here.
38075 (ldouble_test): Just use 'long double' as macro argument, no need for
38076 the 'ldouble' typedef.
38077 (do_test): Set up SIGFPE handler at start, using plain signal rather
38078 than sigaction. Fix code style.
38079
38080 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
38081
38082 [BZ #17949]
38083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38084 jump label.
38085
38086 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38087
38088 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38089 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38090
38091 * sysdeps/powerpc/configure.ac: Remove file.
38092 * sysdeps/powerpc/configure: Likewise.
38093
38094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38095 [sysdep_routines]: Remove wordcopy-power6 object.
38096 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38097 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38098 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38099 (__memmove_ppc32): Likewise.
38100 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38101 file.
38102 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38103 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38104 Remove preprocessor.
38105
38106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38107 [sysdep_routines]: Remove wide chars objects.
38108 [wcsmbs]: New rule for wide char objects.
38109
38110 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38111 Remove wordcopy-power6 obejct.
38112 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38113 Use local call for wordcopy and memcpy symbols.
38114 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38115 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38116 implementation for loader.
38117 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38118
38119 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38120 Remove wordcopy-power7 object.
38121 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38122 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38123 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38124 (_wordcopy_fwd_dest_aligned): Likewise.
38125 (_wordcopy_bwd_aligned): Likewise.
38126 (_wordcopy_bwd_dest_aligned): Likewise.
38127
38128 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38129 Rewrite to call __memmove_ppc instead of include default
38130 implementation.
38131
38132 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38133 Remove wide chars objects.
38134 [wcsmbs]: New rule for wide char objects.
38135
38136 2015-02-09 Andreas Schwab <schwab@suse.de>
38137
38138 [BZ #17912]
38139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38140 in terms of __O_DIRECTORY.
38141
38142 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38143
38144 * time/getdate.c: Include <stdbool.h>.
38145 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38146 call PTR_MANGLE.
38147 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38148 PTR_DEMANGLE.
38149
38150 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
38151
38152 Add ersatz _Static_assert on older C hosts
38153 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38154 pre-C11 C platform that is not known to support _Static_assert.
38155
38156 2015-02-07 Richard Braun <rbraun@sceen.net>
38157
38158 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38159 sigstate.
38160 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38161
38162 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
38163
38164 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38165 priority against unexistent AIO_PRIO_DELTA_MAX.
38166 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38167 instead of int.
38168 * misc/fchflags.c (fchflags): Likewise.
38169 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38170 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38171 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38172 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38173 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38174 Declare macros.
38175 [__USE_MISC] (chflags, fchflags): Declare functions.
38176 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38177 EINVAL when nfds is greater than FD_SETSIZE.
38178 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38179 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38180 45.
38181 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38182 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38183 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38184 MACH_RCV_TIMED_OUT.
38185 * hurd/hurd/signal.h (_hurd_self_sigstate,
38186 _hurd_critical_section_lock, _hurd_critical_section_unlock):
38187 Explicit casts from void *.
38188 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38189 * abi-tags: Rename gnu-gnu os into gnu.
38190
38191 [BZ #4719]
38192 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38193 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38194 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38195 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38196 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38197 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38198
38199 [BZ #17944]
38200 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38201 duplicates ADDR->sun_path with sockaddr LEN limitation.
38202 * sysdeps/mach/hurd/connect.c: Include <string.h>
38203 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38204 * sysdeps/mach/hurd/sendmsg.c: Likewise.
38205 * sysdeps/mach/hurd/sendto.c: Likewise.
38206 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38207 implementing it by hand.
38208
38209 2015-02-06 Roland McGrath <roland@hack.frob.com>
38210
38211 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38212 Use sfi_breg on ldr.
38213 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38214 Likewise.
38215
38216 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38217 it's defined.
38218 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38219 Test SIGSETXID only if it's defined.
38220
38221 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38222
38223 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38224 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
38225
38226 * nptl/tst-align2.c: Moved ...
38227 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38228 * nptl/Makefile (tests): Remove tst-align2.
38229 * sysdeps/unix/sysv/linux/Makefile
38230 [$(subdir) = nptl] (tests): Add tst-align-clone.
38231 * nptl/tst-getpid1.c: Moved ...
38232 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38233 * nptl/tst-getpid2.c: Moved ...
38234 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38235 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38236 * sysdeps/unix/sysv/linux/Makefile
38237 [$(subdir) = nptl] (tests): ... here.
38238 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38239 * sysdeps/unix/sysv/linux/Makefile
38240 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38241
38242 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38243 Drop trailing \n from perror argument. Use return rather than exit.
38244
38245 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38246 on [SA_SIGINFO].
38247 * nptl/tst-cancel21.c (do_test): Likewise.
38248 * debug/tst-backtrace6.c: Include <signal.h> first thing.
38249 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38250 [!SA_SIGINFO]: Make it a stub test.
38251
38252 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38253 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38254
38255 * posix/tst-getlogin.c: Move to ...
38256 * login/tst-getlogin.c: ... here.
38257 * posix/Makefile (tests): Move tst-getlogin to ...
38258 * login/Makefile (tests): ... here.
38259
38260 * libio/tst-atime.c (do_test): Move local variables SV and E
38261 inside [ST_NOATIME] conditional.
38262
38263 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38264
38265 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38266
38267 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38268 (wait_code): New function replaces macro.
38269 Call nanosleep rather than syscall.
38270
38271 * nptl/pt-system.c: Rewritten. Put everything under
38272 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38273 Use IFUNC to redirect when possible.
38274
38275 * nptl/pt-longjmp.c: Rewritten. Put everything under
38276 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38277 Use IFUNC to redirect when possible.
38278
38279 * nptl/pt-fork.c: Rewritten. Put everything under
38280 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38281 Use IFUNC to redirect when possible.
38282 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38283
38284 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38285 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38286 unconditionally nowadays. This included the only reference to
38287 __vdso_clock_gettime that appears outside libc proper.
38288 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38289 Remove version set (containing only __vdso_clock_gettime).
38290 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38291 Add attribute_hidden.
38292 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38293 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38294 libc_hidden_data_def.
38295 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38296 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38297
38298 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38299 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38300 setrpcent, and getrpcport to ...
38301 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38302 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38303 getrpcbynumber_r, and getrpcent_r to ...
38304 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38305 * inet/getrpcbyname.c: Moved ...
38306 * sunrpc/getrpcbyname.c: ... here.
38307 * inet/getrpcbyname_r.c: Moved ...
38308 * sunrpc/getrpcbyname_r.c: ... here.
38309 * inet/getrpcbynumber.c: Moved ...
38310 * sunrpc/getrpcbynumber.c: ... here.
38311 * inet/getrpcbynumber_r.c: Moved ...
38312 * sunrpc/getrpcbynumber_r.c: ... here.
38313 * inet/getrpcent.c: Moved ...
38314 * sunrpc/getrpcent.c: ... here.
38315 * inet/getrpcent_r.c: Moved ...
38316 * sunrpc/getrpcent_r.c: ... here.
38317 * inet/Makefile (routines): Move those to ...
38318 * sunrpc/Makefile (routines): ... here.
38319 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38320 the $(subdirs) list.
38321 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
38322 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38323 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38324 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38325
38326 * elf/Makefile (routines): Include $(all-dl-routines), not just
38327 $(dl-routines).
38328 (rtld-routines): Likewise. Use = rather than :=.
38329 * sysdeps/aarch64/Makefile [$(subdir) = elf]
38330 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38331 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38332 * sysdeps/arm/Makefile: Likewise.
38333 * sysdeps/i386/Makefile: Likewise.
38334 * sysdeps/x86_64/Makefile: Likewise.
38335 * sysdeps/hppa/Makefile [$(subdir) = elf]
38336 (sysdep_routines, sysdep-rtld-routines): Don't add
38337 $(sysdep-dl-routines) to these.
38338 * sysdeps/ia64/Makefile: Likewise.
38339 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38340 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38341 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38342 Don't add dl-static to these; sysdep-dl-routines alone is enough.
38343 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38344 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38345 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38346 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38347 * sysdeps/powerpc/Makefile [$(subdir) = elf]
38348 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38349 these; sysdep-dl-routines alone is enough.
38350
38351 2015-02-06 Joseph Myers <joseph@codesourcery.com>
38352
38353 [BZ #17932]
38354 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38355 where multiplication results in zero and third argument is finite
38356 and nonzero.
38357 * math/auto-libm-test-in: Add more tests of fma.
38358 * math/auto-libm-test-out: Regenerated.
38359
38360 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38361 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38362 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38363 (_FP_CMP_EQ): Likewise.
38364 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38365
38366 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38367 extra argument CHECK_NAN. Redefine as wrapper around
38368 _FP_EXTEND_CNAN.
38369
38370 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
38371
38372 * version.h (RELEASE): Set to "stable".
38373 (VERSION): Set to "2.21"
38374 * include/features.h (__GLIBC_MINOR__): Set to 21.
38375
38376 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38377
38378 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38379 Paul Eggert <eggert@cs.ucla.edu>
38380
38381 [BZ #16618]
38382 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38383 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38384 size in bytes. Store needed elements in wpmax. Use needed size
38385 in bytes for extend_alloca.
38386
38387 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
38388
38389 * manual/install.texi: Latest tested versions are GCC 4.9.2,
38390 binutls 2.25, and texinfo 5.2.
38391 * INSTALL: Regenerate.
38392 * sysdeps/nios2/configure: Regenerate.
38393 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38394 * manual/contrib.texi: Update.
38395 * po/be.po: Update.
38396 * po/bg.po: Update.
38397 * po/ca.po: Update.
38398 * po/cs.po: Update.
38399 * po/da.po: Update.
38400 * po/de.po: Update.
38401 * po/el.po: Update.
38402 * po/eo.po: Update.
38403 * po/es.po: Update.
38404 * po/fi.po: Update.
38405 * po/fr.po: Update.
38406 * po/gl.po: Update.
38407 * po/hr.po: Update.
38408 * po/hu.po: Update.
38409 * po/ia.po: Update.
38410 * po/id.po: Update.
38411 * po/it.po: Update.
38412 * po/ja.po: Update.
38413 * po/ko.po: Update.
38414 * po/lt.po: Update.
38415 * po/nb.po: Update.
38416 * po/nl.po: Update.
38417 * po/pl.po: Update.
38418 * po/pt_BR.po: Update.
38419 * po/ru.po: Update.
38420 * po/rw.po: Update.
38421 * po/sk.po: Update.
38422 * po/sl.po: Update.
38423 * po/sv.po: Update.
38424 * po/tr.po: Update.
38425 * po/uk.po: Update.
38426 * po/vi.po: Update.
38427 * po/zh_CN.po: Update.
38428 * po/zh_TW.po: Update.
38429
38430 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38431 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38432 * sysdeps/hppa/dl-irel.h: Remove #warning.
38433 * sysdeps/hppa/entry.h: Provide prototype for
38434 __canonicalize_funcptr_for_compare and cast argument.
38435 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38436 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38437 * sysdeps/hppa/sotruss-lib.c: New file.
38438 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38439 (atomic_compare_and_exchange_val_acq): Use __typeof__.
38440 (atomic_compare_and_exchange_bool_acq): Likewise.
38441 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38442 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38443
38444 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38445 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38446 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38447
38448 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
38449
38450 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38451 called function in non-PIC case.
38452
38453 2015-01-31 David S. Miller <davem@davemloft.net>
38454
38455 * sysdeps/sparc/sparc32/bits/atomic.h
38456 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38457 unlock not after it.
38458 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38459 volatile register usage warnings from the compiler.
38460
38461 * sysdeps/sparc/nptl/sem_init.c: Delete.
38462 * sysdeps/sparc/nptl/sem_post.c: Delete.
38463 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38464 * sysdeps/sparc/nptl/sem_wait.c: Delete.
38465 * sysdeps/sparc/sparc32/sem_init.c: New file.
38466 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38467 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38468 padding explicitly initialized.
38469 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38470 padding for in-semaphore spinlock.
38471 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38472 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38473 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38474 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38475 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38476 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38477 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38478 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38479 version.
38480 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38481 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38482
38483 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
38484
38485 [BZ #17801]
38486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38487 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38488 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38489 New.
38490 (index_AVX_Fast_Unaligned_Load): Likewise.
38491 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38492 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38493 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38494 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38495 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38496 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38497 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38498 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38499 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38500
38501 2015-01-29 Andreas Schwab <schwab@suse.de>
38502
38503 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38504
38505 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38506
38507 [BZ #17892]
38508 * nscd/nscd_stat.c (send_stats): Initialize DATA.
38509
38510 2015-01-28 Martin Sebor <msebor@redhat.com>
38511
38512 * math/README.libm-test: Clarify. Add "How to read the test output."
38513
38514 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
38515
38516 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38517 Define to 0.
38518
38519 2015-01-28 Joseph Myers <joseph@codesourcery.com>
38520
38521 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38522 (__HAVE_64B_ATOMICS): Define to 0.
38523
38524 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38525
38526 [BZ #17885]
38527 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38528 value to set as new flag.
38529
38530 [BZ #16576]
38531 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38532 and use _ARCH_PPCSQ instead.
38533 (__ieee754_sqrt): Likewise.
38534 (__ieee754_sqrtf): Likewise.
38535 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38536 _ARCH_PPCSQ is defined.
38537 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38538 fsqrt instruction.
38539 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38540 _ARCH_PPCSQ is defined.
38541 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38542 fsqrts instruction.
38543 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38544
38545 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38546
38547 * iconv/loop.c: Suppress array out of bound warning caused by GCC
38548 bug (GCC BZ #64739).
38549
38550 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
38551
38552 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38553 Mark _retval as used.
38554 (lll_futex_wake_unlock): Likewise.
38555 (lll_futex_timed_wait_requeue_pi): Likewise.
38556
38557 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38558 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38559 register variables.
38560
38561 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38562 libm_hidden_def.
38563
38564 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38565 (__bswap_64): Mark as __always_inline.
38566
38567 2015-01-25 Bram <bug_rh@spam.wizbit.be>
38568
38569 [BZ #15378]
38570 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38571 when none of the search directories exist.
38572
38573 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38574
38575 [BZ #17869]
38576 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38577 power8 in .machine directive.
38578
38579 [BZ #17868]
38580 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38581 set dependency from opd value.
38582
38583 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
38584
38585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38586 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38587 architecture.
38588
38589 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
38590
38591 [BZ #17870]
38592 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38593 with uint64_t.
38594 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38595 (uint64_t) 1.
38596 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38597 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38598 Replace 1UL with (uint64_t) 1.
38599 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38600 int with uint64_t.
38601
38602 2015-01-23 Roland McGrath <roland@hack.frob.com>
38603
38604 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38605 (if_freenameindex): Likewise.
38606
38607 * resource/getrlimit64.c: Add missing libc_hidden_def.
38608
38609 2015-01-22 Joseph Myers <joseph@codesourcery.com>
38610
38611 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38612 __label__.
38613 (_FP_FMA): Likewise.
38614 (_FP_TO_INT_ROUND): Likewise.
38615 (_FP_FROM_INT): Likewise.
38616
38617 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38618
38619 [BZ #16418]
38620 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38621 Make code racy and cancel safe.
38622
38623 2015-01-21 Carlos O'Donell <carlos@redhat.com>
38624
38625 * sysdeps/arm/unwind-resume.h: Fix copyright year.
38626 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38627 attribution.
38628
38629 * pwd/tst-getpw.c: Rewrite.
38630
38631 [BZ #17702]
38632 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38633 (modules-names): Add moddummy1 and moddummy2.
38634 ($(objpfx)tst-rec-dlopen): Define.
38635 * dlfcn/moddummy1.c: New file.
38636 * dlfcn/moddummy2.c: New file.
38637 * dlfcn/tst-rec-dlopen.c: New file.
38638 * elf/dl-cache.c (_dl_load_cache_lookup):
38639 Return char*. Copy result with alloca/strcpy/strdup.
38640 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38641 returns char*. Free cached. If not saving realname
38642 free cached.
38643 * elf/dl-open.c (dl_open_worker): Do not assert that
38644 _r_debug->r_state is RT_CONSISTENT.
38645 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38646 returns char*.
38647
38648 2015-01-21 Torvald Riegel <triegel@redhat.com>
38649 Carlos O'Donell <carlos@redhat.com>
38650
38651 [BZ #12674]
38652 * nptl/sem_waitcommon.c: New file.
38653 * nptl/sem_wait.c: Include sem_waitcommon.c.
38654 (__sem_wait_cleanup, do_futex_wait): Remove.
38655 (__new_sem_wait): Adapt.
38656 (__new_sem_trywait): New function.
38657 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38658 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38659 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38660 (sem_timedwait): Adapt.
38661 * nptl/sem_post.c (__new_sem_post): Adapt.
38662 (futex_wake): New function.
38663 (__old_sem_post): Add release MO fence.
38664 * nptl/sem_open.c (sem_open): Adapt.
38665 * nptl/sem_init.c (__new_sem_init): Adapt.
38666 (futex_private_if_supported): New function.
38667 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38668 (__old_sem_getvalue): Add using previous code.
38669 * sysdeps/nptl/internaltypes.h: Adapt.
38670 * nptl/tst-sem13.c (do_test): Adapt.
38671 * nptl/tst-sem11.c (main): Adapt.
38672 * nptl/sem_trywait.c: Remove.
38673 * nptl/DESIGN-sem.txt: Remove.
38674 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38675 (gen-as-const-headers): Remove structsem.sym.
38676 * nptl/structsem.sym: Remove.
38677 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38678 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38679 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38680 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38681 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38682 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38683 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38684 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38685 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38686 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38687 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38688 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38689 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38690 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38691 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38692 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38693 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38694 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38695 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38696 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38697 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38698 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38699
38700 2015-01-20 Carlos O'Donell <carlos@redhat.com>
38701
38702 * INSTALL: Regenerated.
38703
38704 * po/libc.pot: Regenerated.
38705
38706 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
38707 Sandra Loosemore <sandra@codesourcery.com>
38708 Andrew Jenner <andrew@codesourcery.com>
38709 Joseph Myers <joseph@codesourcery.com>
38710 Nathan Sidwell <nathan@codesourcery.com>
38711
38712 * NEWS: Mention new Nios II port.
38713 * sysdeps/nios2/Implies: New file.
38714 * sysdeps/nios2/Makefile: New file.
38715 * sysdeps/nios2/Subdirs: New file.
38716 * sysdeps/nios2/Versions: New file.
38717 * sysdeps/nios2/__longjmp.S: New file.
38718 * sysdeps/nios2/abort-instr.h: New file.
38719 * sysdeps/nios2/backtrace.c: New file.
38720 * sysdeps/nios2/bits/endian.h: New file.
38721 * sysdeps/nios2/bits/fenv.h: New file.
38722 * sysdeps/nios2/bits/link.h: New file.
38723 * sysdeps/nios2/bits/setjmp.h: New file.
38724 * sysdeps/nios2/bsd-_setjmp.S: New file.
38725 * sysdeps/nios2/bsd-setjmp.S: New file.
38726 * sysdeps/nios2/configure: New generated file.
38727 * sysdeps/nios2/configure.ac: New file.
38728 * sysdeps/nios2/crti.S: New file.
38729 * sysdeps/nios2/crtn.S: New file.
38730 * sysdeps/nios2/dl-init.c: New file.
38731 * sysdeps/nios2/dl-machine.h: New file.
38732 * sysdeps/nios2/dl-sysdep.h: New file.
38733 * sysdeps/nios2/dl-tls.h: New file.
38734 * sysdeps/nios2/dl-trampoline.S: New file.
38735 * sysdeps/nios2/gccframe.h: New file.
38736 * sysdeps/nios2/gmp-mparam.h: New file.
38737 * sysdeps/nios2/jmpbuf-offsets.h: New file.
38738 * sysdeps/nios2/jmpbuf-unwind.h: New file.
38739 * sysdeps/nios2/ldsodefs.h: New file.
38740 * sysdeps/nios2/libc-tls.c: New file.
38741 * sysdeps/nios2/libm-test-ulps: New file.
38742 * sysdeps/nios2/machine-gmon.h: New file.
38743 * sysdeps/nios2/math-tests.h: New file.
38744 * sysdeps/nios2/math_private.h: New file.
38745 * sysdeps/nios2/memusage.h: New file.
38746 * sysdeps/nios2/nptl/Makefile: New file.
38747 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
38748 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
38749 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
38750 * sysdeps/nios2/nptl/pthreaddef.h: New file.
38751 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
38752 * sysdeps/nios2/nptl/tls.h: New file.
38753 * sysdeps/nios2/preconfigure: New file.
38754 * sysdeps/nios2/s_fma.c: New file.
38755 * sysdeps/nios2/s_fmaf.c: New file.
38756 * sysdeps/nios2/setjmp.S: New file.
38757 * sysdeps/nios2/sfp-machine.h: New file.
38758 * sysdeps/nios2/sotruss-lib.c: New file.
38759 * sysdeps/nios2/stackguard-macros.h: New file.
38760 * sysdeps/nios2/stackinfo.h: New file.
38761 * sysdeps/nios2/start.S: New file.
38762 * sysdeps/nios2/sysdep.h: New file.
38763 * sysdeps/nios2/tls-macros.h: New file.
38764 * sysdeps/nios2/tst-audit.h: New file.
38765 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
38766 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
38767 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
38768 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
38769 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
38770 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
38771 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
38772 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
38773 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
38774 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
38775 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
38776 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
38777 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
38778 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
38779 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
38780 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
38781 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
38782 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
38783 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
38784 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
38785 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
38786 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
38787 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
38788 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
38789 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
38790 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
38791 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
38792 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
38793 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
38794 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
38795 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
38796 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
38797 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
38798 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
38799 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
38800 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
38801 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
38802 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
38803 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
38804 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
38805 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
38806 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
38807 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
38808 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
38809
38810 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
38811
38812 [BZ #17844]
38813 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
38814 (getutent): Use weak_alias in non SHARED case
38815 and default_symbol_version in SHARED case.
38816 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
38817 (getutent_r, pututline): Likewise.
38818 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
38819 (getutid): Likewise.
38820 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
38821 (getutid_r): Likewise.
38822 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
38823 (getutline): Likewise.
38824 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
38825 (getutline_r): Likewise.
38826 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
38827 (updwtmp): Likewise.
38828
38829 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
38830
38831 [BZ #17848]
38832 * sysdeps/s390/s390-32/memcmp.S
38833 (memcmp_g5): Rename to __memcmp_g5.
38834 * sysdeps/s390/s390-32/memcpy.S
38835 (memcpy_g5): Rename to __memcpy_g5.
38836 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38837 (memcpy_mvcle) Rename to __memcpy_mvcle.
38838 * sysdeps/s390/s390-32/memset.S
38839 (memset_g5): Rename to __memset_g5.
38840 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38841 (IFUNC_RESOLVE): Prefix ifunc-resolve function
38842 and use prefixed functions.
38843 * sysdeps/s390/s390-32/multiarch/memcmp.S
38844 (memcmp_z196): Rename to __memcmp_z196.
38845 (memcmp_z10): Rename to __memcmp_z10.
38846 (memcmp): Set alias to __memcmp_g5.
38847 (bcmp): Set alias to __memcmp_g5.
38848 * sysdeps/s390/s390-32/multiarch/memcpy.S
38849 (memcpy_z196): Rename to __memcpy_z196.
38850 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38851 (memcpy_z10): Rename to __memcpy_z10.
38852 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38853 (memcpy): Set alias to __memcpy_g5.
38854 * sysdeps/s390/s390-32/multiarch/memset.S
38855 (memset_z196): Rename to __memset_z196.
38856 Jump to __memset_mvcle instead of memset_mvcle.
38857 (memset_z10): Rename to __memset_z10.
38858 Jump to __memset_mvcle instead of memset_mvcle.
38859 (memset_mvcle) Rename to __memset_mvcle.
38860 (memset): Set alias to __memset_g5.
38861 * sysdeps/s390/s390-64/memcmp.S
38862 (memcmp_z900): Rename to __memcmp_z900.
38863 * sysdeps/s390/s390-64/memcpy.S
38864 (memcpy_z900): Rename to __memcpy_z900.
38865 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38866 (memcpy_mvcle) Rename to __memcpy_mvcle.
38867 * sysdeps/s390/s390-64/memset.S
38868 (memset_z900): Rename to __memset_z900.
38869 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
38870 (IFUNC_RESOLVE): Prefix ifunc-resolve function
38871 and use prefixed functions.
38872 * sysdeps/s390/s390-64/multiarch/memcmp.S
38873 (memcmp_z196): Rename to __memcmp_z196.
38874 (memcmp_z10): Rename to __memcmp_z10.
38875 (memcmp): Set alias to __memcmp_z900.
38876 (bcmp): Set alias to __memcmp_z900.
38877 * sysdeps/s390/s390-64/multiarch/memcpy.S
38878 (memcpy_z196): Rename to __memcpy_z196.
38879 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38880 (memcpy_z10): Rename to __memcpy_z10.
38881 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38882 (memcpy): Set alias to __memcpy_z900.
38883 * sysdeps/s390/s390-64/multiarch/memset.S
38884 (memset_z196): Rename to __memset_z196.
38885 Jump to __memset_mvcle instead of memset_mvcle.
38886 (memset_z10): Rename to __memset_z10.
38887 Jump to __memset_mvcle instead of memset_mvcle.
38888 (memset_mvcle) Rename to __memset_mvcle.
38889 (memset): Set alias to __memset_z900.
38890
38891 2015-01-14 Joseph Myers <joseph@codesourcery.com>
38892
38893 [BZ #17748]
38894 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
38895 __fesetenv instead of fesetenv.
38896
38897 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38898
38899 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
38900 macro.
38901
38902 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38903
38904 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
38905 regression on LE.
38906
38907 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
38908 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
38909 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38910 strncmp-power8 object.
38911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38912 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
38913 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
38914 * NEWS: Update.
38915
38916 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38917 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38918
38919 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
38920 trailing byte check.
38921
38922 2015-01-13 David S. Miller <davem@davemloft.net>
38923
38924 * include/signal.h (__sigreturn): Guard with __USE_MISC.
38925
38926 2015-01-13 Roland McGrath <roland@hack.frob.com>
38927
38928 * login/logout.c (logout): Use memset rather than bzero.
38929 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
38930 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
38931 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
38932 (_gethtbyaddr): Likewise.
38933 * locale/programs/simple-hash.c (bcopy): Macro removed.
38934
38935 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38936
38937 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38938 Add strcmp-power8 object.
38939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38940 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
38941 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
38942 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
38943 __strcmp_power8 implementation.
38944 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
38945 * NEWS: Update.
38946
38947 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38948 Add strncpy-power8 and stpncpy-power8 objects.
38949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38950 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
38951 implementations.
38952 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
38953 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
38954 __stpncpy_power8 implementation.
38955 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
38956 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
38957 __strncpy_power8 implementation.
38958 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
38959 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
38960 * NEWS: Update.
38961
38962 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
38963 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
38964 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
38965
38966 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38967 strncat-power8 object.
38968 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
38969 __strcat_power8 implementation.
38970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38971 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
38972 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
38973 optimized strcat for power8.
38974
38975 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38976 strcpy-power8 and stpcpy-power8 objects.
38977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38978 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
38979 implementations.
38980 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
38981 multiarch stpcpy implementation for POWER8.
38982 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
38983 multiarch strcpy implementation for POWER8.
38984 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
38985 __strcpy_power8 function.
38986 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
38987 stpcpy for POWER8.
38988 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
38989 strcpy for POWER8.
38990 * NEWS: Update.
38991
38992 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
38993
38994 [BZ #16009]
38995 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
38996 weights and rules. Use do_xfrm_cached if data fits in cache,
38997 do_xfrm otherwise. Moved former main loop to...
38998 * (do_xfrm_cached): New function.
38999 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39000 find_idx, find_position and stack_push.
39001 * (find_idx): New function.
39002 * (find_position): Likewise.
39003 * localedata/sort-test.sh: Added test run for do_xfrm.
39004 * localedata/xfrm-test.c (main): Added command line option
39005 -nocache to run the test with strings that are too large for
39006 the STRXFRM cache.
39007
39008 2015-01-13 Torvald Riegel <triegel@redhat.com>
39009
39010 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39011 variable to lll_futex_wake call, not the value itself.
39012
39013 2015-01-12 Joseph Myers <joseph@codesourcery.com>
39014
39015 [BZ #17803]
39016 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39017 twom64. Adjust value to 0x1p-64L.
39018 (__scalblnl): Only return standard underflowing result for K <=
39019 -64 not K <= -63; adjust exponent for underflowing result by 64
39020 not 63.
39021 * math/libm-test.inc (scalbn_test_data): Add more tests.
39022 (scalbln_test_data): Likewise.
39023
39024 [BZ #17834]
39025 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39026 0x1p63L.
39027 (__scalblnl): Get new exponent of adjusted subnormal value from ES
39028 not HX.
39029 * math/libm-test.inc (scalbn_test_data): Add more tests.
39030 (scalbln_test_data): Likewise.
39031
39032 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39033 Stefani Seibold <stefani@seibold.net>
39034
39035 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39036 (sysdep_routines): Add dl-vdso here, ...
39037 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39038 (sysdep_routines): ... not here.
39039 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39040 fallback when vDSO is not presented.
39041 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39042 Define with libc_hidden_proto/libc_hidden_data_def definitions.
39043 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39044 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39045 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39046 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39047 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39048 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39049 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39050 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39051 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
39052 fallback configurable symbol when vDSO is not available.
39053 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39054 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
39055 be able to redefine fallback symbol when vDSO is not available.
39056 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39057 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39058
39059 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39060
39061 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39062 (TLS_INIT_TP): Add tm_capable initialization.
39063 (TLS_DEFINE_INIT_TP): Likewise.
39064 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39065 TCB.
39066 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39067 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39068 calculation.
39069 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39070 transactoion is lock elision is built and TCB tm_capable is set.
39071 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39073 (INTERNAL_SYSCALL_NCS): Likewise.
39074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39075 (INTERNAL_SYSCALL_NCS): Likewise.
39076 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39077
39078 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39079 for powerpc.
39080 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39081 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39082 and remove it for 32 bits case.
39083 [pthread_rwlock_t] (__rwelision): New field for lock elision.
39084 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39085 initialization.
39086 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39087 Disable lock elision with rdlocks if elision is not available.
39088
39089 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39090 (sysdep_routines): Add lock elision objects.
39091 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39092 [pthread_mutex_t] (__spins): Rework to add lock elision field.
39093 [pthread_mutex_t] (__elision): Add field.
39094 [__PTHREAD_SPINS]: Adjust to init lock elision field.
39095 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39096 elision definitions for powerpc.
39097 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39098 implementation of lock elision for powerpc.
39099 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39100 implementation of timed lock elision for powerpc.
39101 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39102 implementation of trylock with lock elision for powerpc.
39103 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39104 implementaion of unlock for lock elision for powerpc.
39105 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39106 automatic enable lock elision for mutexes.
39107 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39108 transaction execution definitions for powerpc.
39109 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39110 definitions.
39111 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39112 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39113 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39114 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39115 * NEWS: Update.
39116
39117 2015-01-09 Roland McGrath <roland@hack.frob.com>
39118
39119 * sysdeps/posix/shm-directory.c: Use <> rather than ""
39120 for #include of <shm-directory.h>.
39121
39122 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
39123
39124 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39125 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39126
39127 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
39128
39129 [BZ #17791]
39130 * NEWS: Mention bug fix.
39131 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39132 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39133 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39134
39135 2015-01-09 Torvald Riegel <triegel@redhat.com>
39136
39137 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39138
39139 2015-01-09 Torvald Riegel <triegel@redhat.com>
39140
39141 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39142
39143 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
39144
39145 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39146 pointer and cast to uintptr_t.
39147
39148 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
39149
39150 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39151 removed.
39152 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39153
39154 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
39155
39156 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39157 of 0.
39158
39159 2015-01-08 Roland McGrath <roland@hack.frob.com>
39160
39161 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39162 <nptl/pthreadP.h> instead.
39163 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39164
39165 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39166 already defined.
39167 [__SIGRTMIN] (init): Function removed.
39168 [__SIGRTMIN] (initialized): Variable removed.
39169 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39170 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39171 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39172 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39173 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39174 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39175 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39176 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39177 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39178 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39179 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39180 * sysdeps/nptl/allocrtsig.c: New file.
39181 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39182 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39183 * sysdeps/generic/testrtsig.h: File removed.
39184
39185 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39186 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39187
39188 * nptl/nptl-init.c (pthread_functions): Conditionalize
39189 .ptr__nptl_setxid initialization on [SIGSETXID].
39190
39191 * sysdeps/nptl/sys/procfs.h: New file.
39192 * nptl_db/Makefile (headers): Add it.
39193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39194
39195 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39196 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39197 * nptl/pthread_attr_setaffinity.c: Include it.
39198 * nptl/pthread_setattr_default_np.c: Likewise.
39199 * nptl/check-cpuset.h: New file.
39200
39201 2015-01-08 Richard Henderson <rth@redhat.com>
39202
39203 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39204 (CFLAGS-tst-execstack-prog.c): Likewise.
39205 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39206
39207 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
39208 Sandra Loosemore <sandra@codesourcery.com>
39209 Andrew Jenner <andrew@codesourcery.com>
39210 Joseph Myers <joseph@codesourcery.com>
39211 Nathan Sidwell <nathan@codesourcery.com>
39212
39213 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39214 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39215 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39216 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39217 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39218 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39219 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39220 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39221 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39222 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39223 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39224 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39225 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39226 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39227 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39228 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39229 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39230
39231 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39232
39233 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39234 timespec struct member in syscall macro.
39235 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39236 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39237 first timeval struct member in syscall macro.
39238 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39239
39240 2015-01-07 Joseph Myers <joseph@codesourcery.com>
39241
39242 [BZ #17748]
39243 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39244 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39245 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39246 __feupdateenv and define as weak alias of __feupdateenv. Use
39247 libm_hidden_weak.
39248 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39249 libm_hidden_def.
39250 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39251 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
39252 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39253 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39254 libm_hidden_def.
39255 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39256 __feupdateenv and define as weak alias of __feupdateenv. Use
39257 libm_hidden_weak.
39258 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39259 libm_hidden_def.
39260 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39261 __feupdateenv and define as weak alias of __feupdateenv. Use
39262 libm_hidden_weak.
39263 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39264 libm_hidden_def.
39265 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39266 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39267 (__feupdateenv): Likewise.
39268 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39269 __feupdateenv and define as weak alias of __feupdateenv. Use
39270 libm_hidden_weak.
39271 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39272 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39273 libm_hidden_def.
39274 * sysdeps/tile/math_private.h (__feupdateenv): New inline
39275 function.
39276 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39277 libm_hidden_def.
39278 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39279 __feupdateenv instead of feupdateenv.
39280 (default_libc_feupdateenv_test): Likewise.
39281 (libc_feresetround_ctx): Likewise.
39282
39283 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39284
39285 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39286 prototype.
39287
39288 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
39289
39290 * posix/regcomp.c (parse_bracket_exp): Initialize type to
39291 COLL_SYM in a couple of places to avoid uninitialized variable
39292 wanings on tilegx gcc 4.8.2.
39293
39294 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
39295
39296 * sysdeps/aarch64/strcpy.S: New file.
39297 * sysdeps/aarch64/stpcpy.S: New file.
39298 * NEWS: Updated.
39299
39300 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
39301
39302 * sysdeps/aarch64/strrchr.S: New file.
39303 * NEWS: Updated.
39304
39305 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
39306
39307 [BZ #17658]
39308 * stdlib/setenv.c: Fix memory leak when setting large,
39309 duplicate string.
39310
39311 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
39312
39313 [BZ #17273]
39314 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39315 and tabs from buffer before parsing fstab entry.
39316 * misc/tst-mntent.c (main): Add test for mount entry with
39317 trailing spaces and tabs.
39318
39319 2015-01-06 Joseph Myers <joseph@codesourcery.com>
39320
39321 [BZ #17748]
39322 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
39323 * math/fesetround.c (fesetround): Rename to __fesetround and
39324 define as weak alias of __fesetround. Use libm_hidden_weak.
39325 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39326 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39327 * sysdeps/arm/fesetround.c (fesetround): Likewise.
39328 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39329 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39330 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39331 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39332 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39333 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39334 __fesetround_inline.
39335 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39336 __fesetround_inline instead of __fesetround.
39337 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39338 __fesetround and define as weak alias of __fesetround. Use
39339 libm_hidden_weak. Call __fesetround_inline instead of
39340 __fesetround.
39341 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39342 __fesetround and define as weak alias of __fesetround. Use
39343 libm_hidden_weak.
39344 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39345 Likewise.
39346 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39347 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39348 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39349 * sysdeps/tile/math_private.h (__fesetround): New inline function.
39350 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39351 __fesetround and define as weak alias of __fesetround. Use
39352 libm_hidden_weak.
39353 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39354 __fesetround instead of fesetround.
39355 (default_libc_feholdexcept_setround): Likewise.
39356 (libc_feholdsetround_ctx): Likewise.
39357 (libc_feholdsetround_noex_ctx): Likewise.
39358
39359 [BZ #17748]
39360 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39361 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39362 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39363 and define as weak alias of __fesetenv. Use libm_hidden_weak.
39364 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39365 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39366 define as weak alias of __fesetenv. Use libm_hidden_weak.
39367 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39368 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39369 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39370 define as weak alias of __fesetenv. Use libm_hidden_weak.
39371 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39372 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39373 define as weak alias of __fesetenv. Use libm_hidden_weak.
39374 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39375 libm_hidden_def.
39376 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39377 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39378 Likewise.
39379 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39380 define as weak alias of __fesetenv. Use libm_hidden_weak.
39381 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39382 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39383 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39384 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39385 and define as weak alias of __fesetenv. Use libm_hidden_weak.
39386 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39387 __fesetenv instead of fesetenv.
39388 (libc_feresetround_noex_ctx): Likewise.
39389 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39390 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39391 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39392 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39393 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39394 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39395 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39396 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39397 (__feupdateenv): Likewise.
39398 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39399 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39400 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39401 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39402
39403 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
39404
39405 [BZ #17806]
39406 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39407 addresses have been freed.
39408
39409 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
39410
39411 * resolv/res_init.c (__res_vinit): Improve comments about nserv
39412 and nservall.
39413
39414 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
39415
39416 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39417 Clean up check_pf allocation pattern. addresses
39418
39419 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39420
39421 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39422 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39423 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39424 * nptl/pthread_exit.c (__pthread_exit): Likewise.
39425 * nptl/pthread_join.c (pthread_join): Likewise.
39426 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39427 * sysdeps/posix/waitid.c (__waitid): Likewise.
39428 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39429 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39430 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39431 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39432 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39433 Likewise.
39434 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39435 (__libc_pread64): Likewise.
39436 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39437 (__libc_pwrite): Likewise.
39438 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39439 (__libc_pwrite64): Likewsie.
39440 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39441 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39442 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39443 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39444 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39445 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39446 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39448 Likewise.
39449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39450 (__libc_pread64): Likewise.
39451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39452 Likewise.
39453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39454 (__libc_pwrite64): Likewise.
39455 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39456 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39457 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39458 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39459 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39460 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39461 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39462 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39463 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39464 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39465 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39466 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39467 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39468 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39469 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39470 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39471 Likewise.
39472
39473 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
39474
39475 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39476 (CFLAGS-test-double.c): Likewise.
39477 (CFLAGS-test-ldouble.c): Likewise.
39478 (CPPFLAGS-test-ifloat.c): Likewise.
39479 (CPPFLAGS-test-idouble.c): Likewise.
39480 (CPPFLAGS-test-ildoubl.c): Likewise.
39481 (CFLAGS-test-test-fenv.c): Remove variable.
39482 (CFLAGS-test-misc.c): Likewise.
39483
39484 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
39485
39486 [BZ #17797]
39487 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39488 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39489 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39490 CLOCKS_PER_SEC == 1000000.
39491 * time/clocktest.c (main): Replace %ld with %jd and cast to
39492 intmax_t.
39493
39494 2015-01-05 Roland McGrath <roland@hack.frob.com>
39495
39496 * sysdeps/generic/unwind-resume.h: New file.
39497 * sysdeps/gnu/unwind-resume.c: Include it.
39498 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39499 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39500 argument list.
39501 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39502 global rather than static.
39503 (_Unwind_Resume): Update user.
39504 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39505 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
39506 rather than static. Add __attribute__ ((cold)).
39507 (_Unwind_Resume, __gcc_personality_v0): Update callers.
39508 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39509 * sysdeps/arm/arm-unwind-resume.S: New file.
39510 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39511 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39512 * sysdeps/arm/Makefile [$(subdir) = csu]
39513 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39514 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39515 Add rt-arm-unwind-resume.
39516 [$(subdir) = nptl]
39517 (libpthread-sysdep_routines, libpthread-shared-only-routines):
39518 Add pt-arm-unwind-resume.
39519 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39520 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39521
39522 2015-01-05 Joseph Myers <joseph@codesourcery.com>
39523
39524 [BZ #17748]
39525 * include/fenv.h (__feholdexcept): Declare. Use
39526 libm_hidden_proto.
39527 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39528 define as weak alias of __feholdexcept. Use libm_hidden_weak.
39529 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39530 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39531 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39532 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39533 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39534 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39535 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39536 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39537 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39538 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39539 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39540 (feholdexcept): Likewise.
39541 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39542 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39543 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39544 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39545 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39546 __feholdexcept instead of feholdexcept.
39547 (default_libc_feholdexcept_setround): Likewise.
39548
39549 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
39550
39551 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39552 to avoid using stl/str to align destination.
39553
39554 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
39555
39556 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39557
39558 2015-01-05 Joseph Myers <joseph@codesourcery.com>
39559
39560 [BZ #17796]
39561 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39562 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39563 Define as weak alias not strong alias.
39564
39565 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
39566
39567 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39568 bltzal with addiupc.
39569 (RTLD_START): Ditto.
39570
39571 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
39572
39573 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39574 for __vdso_* functions in declarations.
39575 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39576 definitions.
39577 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39578 INTERNAL_VSYSCALL): Use struct return types to check for error.
39579
39580 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39581 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39582 function with cast from llround().
39583 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39584 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39585 Define.
39586
39587 2015-01-05 Joseph Myers <joseph@codesourcery.com>
39588
39589 [BZ #17793]
39590 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39591 Define as weak alias not strong alias.
39592
39593 [BZ #17635]
39594 * ctype/ctype-c99.c: New file. isblank implementation moved from
39595 ...
39596 * ctype/ctype-extn.c: ... here.
39597 (__isblank_l): Move to ...
39598 * ctype/ctype-c99_l.c: ... here. New file.
39599 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39600 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39601 Remove variable.
39602 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39603 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39604 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39605 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39606 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39607
39608 [BZ #17777]
39609 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39610 (posix_fadvise64): Define as weak alias not strong alias.
39611 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39612 (posix_fallocate64): Likewise.
39613 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39614 Remove variable.
39615 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39616 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39617 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39618 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39619 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39620
39621 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
39622
39623 [BZ #16191]
39624 * NEWS: Mention bug fix.
39625 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39626 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39627 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39628 (HOST_STACK_END_ADDR): Likewise.
39629
39630 2015-01-02 Joseph Myers <joseph@codesourcery.com>
39631
39632 [BZ #17748]
39633 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
39634 * math/fegetround.c (fegetround): Rename to __fegetround and
39635 define as weak alias of __fegetround. Use libm_hidden_weak.
39636 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39637 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39638 * sysdeps/arm/fegetround.c (fegetround): Likewise.
39639 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39640 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39641 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39642 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39643 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39644 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39645 Undefine after rather than before function definition; use
39646 parentheses around function name in definition.
39647 (__fegetround): Also undefine macro after function definition.
39648 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39649 __fegetround and define as weak alias of __fegetround. Use
39650 libm_hidden_weak. Do not undefine as macro.
39651 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39652 Likewise.
39653 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39654 __fegetround and define as weak alias of __fegetround. Use
39655 libm_hidden_weak.
39656 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39657 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39658 * sysdeps/tile/math_private.h (__fegetround): New inline function.
39659 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39660 __fegetround and define as weak alias of __fegetround. Use
39661 libm_hidden_weak.
39662 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39663 __fegetround instead of fegetround.
39664
39665 [BZ #17782]
39666 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39667 Condition macro definition on [__USE_MISC].
39668
39669 [BZ #17781]
39670 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39671 (struct sigaction): Change type of sa_flags field to int.
39672
39673 [BZ #17780]
39674 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39675 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39676 __glibc_reserved0.
39677
39678 * nptl/version.c (banner): Use single year in copyright notice.
39679
39680 * NEWS: Update copyright dates.
39681 * catgets/gencat.c (print_version): Likewise.
39682 * csu/version.c (banner): Likewise.
39683 * debug/catchsegv.sh: Likewise.
39684 * debug/pcprofiledump.c (print_version): Likewise.
39685 * debug/xtrace.sh (do_version): Likewise.
39686 * elf/ldconfig.c (print_version): Likewise.
39687 * elf/ldd.bash.in: Likewise.
39688 * elf/pldd.c (print_version): Likewise.
39689 * elf/sotruss.sh: Likewise.
39690 * elf/sprof.c (print_version): Likewise.
39691 * iconv/iconv_prog.c (print_version): Likewise.
39692 * iconv/iconvconfig.c (print_version): Likewise.
39693 * locale/programs/locale.c (print_version): Likewise.
39694 * locale/programs/localedef.c (print_version): Likewise.
39695 * login/programs/pt_chown.c (print_version): Likewise.
39696 * malloc/memusage.sh (do_version): Likewise.
39697 * malloc/memusagestat.c (print_version): Likewise.
39698 * malloc/mtrace.pl: Likewise.
39699 * manual/libc.texinfo: Likewise.
39700 * nptl/version.c (banner): Likewise.
39701 * nscd/nscd.c (print_version): Likewise.
39702 * nss/getent.c (print_version): Likewise.
39703 * nss/makedb.c (print_version): Likewise.
39704 * posix/getconf.c (main): Likewise.
39705 * scripts/test-installation.pl: Likewise.
39706 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39707
39708 2015-01-02 Will Newton <will.newton@linaro.org>
39709
39710 * sysdeps/arm/armv7/configure: Removed.
39711 * sysdeps/arm/armv7/configure.ac: Likewise.
39712
39713 2015-01-02 Joseph Myers <joseph@codesourcery.com>
39714
39715 * All files with FSF copyright notices: Update copyright dates
39716 using scripts/update-copyrights.
39717 * intl/plural.c: Regenerated.
39718 * locale/programs/charmap-kw.h: Likewise.
39719 * locale/programs/locfile-kw.h: Likewise.
39720
39721 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39722
39723 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
39724
39725 2014-12-31 Joseph Myers <joseph@codesourcery.com>
39726
39727 [BZ #17748]
39728 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
39729 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
39730 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39731 and define as weak alias of __fegetenv. Use libm_hidden_weak.
39732 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39733 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
39734 define as weak alias of __fegetenv. Use libm_hidden_weak.
39735 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
39736 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39737 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39738 define as weak alias of __fegetenv. Use libm_hidden_weak.
39739 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39740 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39741 define as weak alias of __fegetenv. Use libm_hidden_weak.
39742 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
39743 libm_hidden_def.
39744 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
39745 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
39746 Likewise.
39747 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39748 define as weak alias of __fegetenv. Use libm_hidden_weak.
39749 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39750 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39751 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
39752 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39753 and define as weak alias of __fegetenv. Use libm_hidden_weak.
39754 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
39755 __fegetenv instead of fegetenv.
39756 (libc_feholdsetround_noex_ctx): Likewise.
39757
39758 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
39759
39760 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
39761 (Elf_MIPS_ABIFlags_v0): New structure.
39762 (EF_MIPS_FP64): Define.
39763 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
39764 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
39765 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
39766 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
39767 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
39768 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
39769 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
39770 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
39771 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
39772 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
39773 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
39774 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
39775 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
39776 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
39777 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
39778 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
39779 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
39780 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
39781 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
39782 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
39783 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
39784 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
39785 field.
39786 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
39787 EF_MIPS_FP64.
39788 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
39789 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
39790 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
39791 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
39792 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
39793 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
39794 * sysdeps/mips/tst-abi-interlink.c: Likewise.
39795 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
39796 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
39797 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
39798 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
39799 record the current FP ABI extension.
39800 (mips-mode-switch): Define to show if kernel headers support mode
39801 switching.
39802 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
39803 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
39804 supported SYSV ABI version to 3.
39805 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
39806 feature.
39807
39808 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39809 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39810
39811 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
39812 path.
39813 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
39814
39815 2014-12-31 Joseph Myers <joseph@codesourcery.com>
39816
39817 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
39818 __fegetround and redefine to call __fegetround. Remove condition
39819 on [!__NO_MATH_INLINES].
39820 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
39821 function.
39822 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
39823 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39824 Remove macro.
39825 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
39826 instead of <fenv_libc.h>.
39827 (__llrintl): Call fegetround instead of __fegetround.
39828 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
39829 instead of <fenv_libc.h>.
39830 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39831 (__lrintl): Call fegetround instead of __fegetround.
39832 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
39833 instead of <fenv_libc.h>.
39834 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39835 (__rintl): Call fegetround instead of __fegetround.
39836
39837 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39838
39839 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
39840 arrays.
39841
39842 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
39843
39844 [BZ #17775]
39845 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
39846 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
39847 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
39848
39849 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
39850
39851 * sysdeps/i386/tls-macros.h: Include <features.h>.
39852 (TLS_LE): Use non-PIC version for GCC >= 5.0.
39853 (TLS_IE): Likewise.
39854 (TLS_LD): Likewise.
39855 (TLS_GD): Likewise.
39856 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
39857 define for GCC >= 5.0.
39858
39859 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
39860
39861 * math/test-fenv.c (test_single_exception, set_single_exc,
39862 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
39863 feexcp_mask_test, feenable_test, fe_single_test): Add
39864 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
39865 case where they are not used.
39866 * math/libm-test.inc: Likewise.
39867 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
39868 unused in the absence of FP rounding/exception support.
39869 * stdio-common/tst-printf-round.c: Likewise.
39870 * stdlib/tst-strtod-round.c: Likewise.
39871 * stdlib/tst-strtod-underflow.c: Likewise.
39872
39873 2014-12-30 Joseph Myers <joseph@codesourcery.com>
39874
39875 [BZ #17723]
39876 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
39877 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
39878 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39879 __feraiseexcept and define as weak alias of __feraiseexcept. Use
39880 libm_hidden_weak.
39881 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
39882 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39883 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
39884 libm_hidden_def.
39885 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39886 __feraiseexcept and define as weak alias of __feraiseexcept. Use
39887 libm_hidden_weak.
39888 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
39889 Likewise.
39890 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
39891 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39892 __feraiseexcept and define as weak alias of __feraiseexcept. Use
39893 libm_hidden_weak.
39894 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39895 libm_hidden_def.
39896 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39897 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
39898 (__feraiseexcept): Likewise.
39899 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39900 __feraiseexcept and define as weak alias of __feraiseexcept. Use
39901 libm_hidden_weak.
39902 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39903 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39904 libm_hidden_def.
39905 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
39906 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
39907 Use libm_hidden_def.
39908 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
39909 libm_hidden_def.
39910 (feraiseexcept): Define as weak not strong alias. Use
39911 libm_hidden_weak.
39912 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
39913 New inline function. Factored out of ...
39914 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
39915 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
39916 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
39917 feraiseexcept.
39918 * math/w_acos.c (__acos): Likewise.
39919 * math/w_asin.c (__asin): Likewise.
39920 * math/w_ilogb.c (__ilogb): Likewise.
39921 * math/w_j0.c (y0): Likewise.
39922 * math/w_j1.c (y1): Likewise.
39923 * math/w_jn.c (yn): Likewise.
39924 * math/w_log.c (__log): Likewise.
39925 * math/w_log10.c (__log10): Likewise.
39926 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
39927 * sysdeps/aarch64/fpu/math_private.h
39928 (libc_feupdateenv_test_aarch64): Likewise.
39929 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39930 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
39931 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
39932 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39933 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39934 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39935 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
39936 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39937 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39938 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39939
39940 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
39941
39942 [BZ #17732]
39943 * io/test-utime.c (main): Replace %ld with %jd and cast to
39944 intmax_t.
39945 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
39946 * nptl/tst-mutex5.c: Include <stdint.h>.
39947 (do_test): Replace %ld with %jd and cast to intmax_t.
39948 * posix/tst-regex.c (run_test): Likewise.
39949 (run_test_backwards): Likewise.
39950 * rt/tst-clock.c: Include <stdint.h>.
39951 (clock_test): Replace %ld with %jd and cast to intmax_t.
39952 * rt/tst-cpuclock1.c: Include <stdint.h>.
39953 (do_test): Replace %lu with %ju and cast to uintmax_t.
39954 * rt/tst-cpuclock2.c: Include <stdint.h>.
39955 (do_test): Replace %lu with %ju and cast to uintmax_t.
39956 * rt/tst-mqueue1.c: Include <stdint.h>.
39957 (check_attrs): Replace %ld with %jd and cast to intmax_t.
39958 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
39959 intmax_t.
39960 * rt/tst-mqueue4.c (do_test): Likewise.
39961 * rt/tst-timer4.c: Include <stdint.h>.
39962 (check_ts): Replace %ld with %jd and cast to intmax_t.
39963 (do_test): Likewise.
39964 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
39965 and cast to intmax_t.
39966 * sysdeps/pthread/tst-timer.c (main): Likewise.
39967 * time/clocktest.c (main): Likewise.
39968 * time/tst-posixtz.c (do_test): Likewise.
39969 * timezone/tst-timezone.c (main): Likewise.
39970
39971 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
39972 H.J. Lu <hongjiu.lu@intel.com>
39973
39974 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
39975 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39976 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
39977 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
39978 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
39979 version if bit_Fast_Unaligned_Load is set.
39980 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39981 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39982 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39983 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39984 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39985 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39987 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
39988 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
39989 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
39990 to 4.
39991 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
39992 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
39993 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
39994 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
39995
39996 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
39997
39998 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
39999 instead of #if to avoid a Wundef warning.
40000 * stdlib/tst-limits.c (do_test): Likewise.
40001
40002 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40003 parallel other exception macros.
40004 (fegetenv): Convert from macro to extern inline so that it applies
40005 retroactively to inline functions already seen by the compiler.
40006 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40007
40008 * posix/Makefile (before-compile): Use $(objpfx) for
40009 posix-conf-vars-def.h.
40010
40011 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40012
40013 * posix/getconf.c (main): Use size_t for type of I.
40014 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40015 NSPEC.
40016
40017 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40018 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40019 * posix/posix-envs.def: Likewise.
40020 * sysdeps/posix/sysconf.c: Likewise.
40021 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40022 (specs): Remove array.
40023 * scripts/gen-posix-conf-vars.awk: Support generation of specs
40024 array.
40025
40026 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40027 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40028 (__sysconf): Use CONF_IS_* macros.
40029
40030 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40031 ($(objpfx)posix-conf-vars-def.h): New target.
40032 * posix/posix-conf-vars.list: New file.
40033 * posix/posix-conf-vars.h: New file.
40034 * posix/confstr.c: Include posix-conf-vars.h.
40035 (confstr): Use CONF_IS_* macros.
40036 * posix/posix-envs.def: Include posix-conf-vars.h. Use
40037 CONF_IS_* macros.
40038 * scripts/gen-posix-conf-vars.awk: New file.
40039
40040 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
40041
40042 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40043 fegetround): Add no-op macros to avoid linknamespace issues.
40044
40045 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40046 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40047
40048 * sysdeps/unix/sysv/linux/tile/sysdep.h
40049 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40050 assembly-specific section to avoid a redefinition warning.
40051
40052 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40053 long before casting to pointer to avoid a cast warning.
40054
40055 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
40056
40057 * sysdeps/tile/tilegx/Implies: New file.
40058
40059 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
40060
40061 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40062
40063 2014-12-23 Florian Weimer <fweimer@redhat.com>
40064
40065 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40066
40067 2014-12-22 Joseph Myers <joseph@codesourcery.com>
40068
40069 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40070 not define.
40071 * sysdeps/unix/sysv/linux/utimes.c: Do not include
40072 <kernel-features.h>.
40073 (__utimes) [__NR_utimes]: Make code unconditional.
40074 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40075 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40076 (__ASSUME_UTIMES): Do not undefine.
40077 * sysdeps/unix/sysv/linux/tile/kernel-features.h
40078 (__ASSUME_UTIMES): Likewise.
40079 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40080 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40081 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40082 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40083
40084 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
40085
40086 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40087
40088 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
40089
40090 [BZ #17747]
40091 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40092 alias to weak alias for j0l, y0l.
40093 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40094 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40095
40096 [BZ #17746]
40097 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40098 conversion.
40099
40100 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
40101
40102 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40103 to zero if not already defined.
40104
40105 2014-12-22 Joseph Myers <joseph@codesourcery.com>
40106
40107 [BZ #17724]
40108 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40109 (__kernel_standard_f): Remove. Moved to k_standardf.c.
40110 (__kernel_standard_l): Remove. Moved to k_standardl.c with
40111 (char *) casts added.
40112 * sysdeps/ieee754/k_standardf.c: New file.
40113 * sysdeps/ieee754/k_standardl.c: Likewise.
40114 * math/Makefile (libm-support): Remove k_standard.
40115 (libm-calls): Add k_standard.
40116
40117 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
40118
40119 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40120 Optimize to avoid an unnecessary FPCR read.
40121
40122 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
40123
40124 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40125 Optimize to reduce FPCR/FPSR accesses.
40126
40127 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
40128
40129 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40130 Call libc_fetestexcept_aarch64.
40131
40132 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
40133
40134 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40135 Call libc_fesetround_aarch64.
40136
40137 2014-12-22 Joseph Myers <joseph@codesourcery.com>
40138
40139 [BZ #17733]
40140 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40141 (__bind): Do not define as weak alias.
40142 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40143 define.
40144 (__getsockname): Do not define as weak alias.
40145
40146 2014-12-22 Will Newton <will.newton@linaro.org>
40147
40148 * manual/install.texi: Document that we require bison 2.7
40149 or above.
40150 * INSTALL: Regenerate.
40151 * configure.ac: Use AC_CHECK_PROG_VER instead of
40152 AC_PATH_PROG when checking for bison and check for
40153 version 2.7 or above.
40154 * configure: Regenerate.
40155
40156 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
40157
40158 [BZ #17745]
40159 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40160 * sysdeps/tile/ffsll.c (ffsll): To here.
40161
40162 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40163
40164 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
40165
40166 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40167 if not defined.
40168 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40169 definition.
40170 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40171 hidden ___tls_get_addr.
40172 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40173 hidden __tls_get_addr.
40174 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40175 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40176 Likewise.
40177
40178 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
40179
40180 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40181 _dl_init call.
40182
40183 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
40184
40185 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40186 from "call _dl_init@PLT".
40187 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40188
40189 2014-12-21 Anders Kaseorg <andersk@mit.edu>
40190
40191 * manual/search.texi: (Array Sort Function): Clarify stable sorting
40192 guarantees.
40193
40194 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
40195
40196 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40197
40198 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
40199
40200 [BZ #17744]
40201 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40202 strnlen.
40203
40204 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
40205
40206 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40207 of multu on MIPSr6.
40208 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40209 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40210 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40211 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40212 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40213
40214 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
40215
40216 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40217 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40218 (PTR_SUBU): Use subu for mips32r6/mips64r6.
40219 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40220 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40221 mips32r6/mips64r6.
40222 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40223
40224 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
40225
40226 * string/strncat.c (STRNCAT): Simplify implementation.
40227
40228 2014-12-19 David S. Miller <davem@davemloft.net>
40229
40230 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40231 access the quad as both a long double and as a series of 4 words.
40232
40233 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40234 link_map->l_info array access.
40235
40236 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
40237
40238 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40239
40240 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40241 * math/atest-exp2.c (TIMEOUT): Likewise.
40242 * math/atest-sincos.c (TIMEOUT): Likewise.
40243
40244 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
40245
40246 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40247 -Wno-error with -fno-builtin-lround.
40248
40249 2014-12-19 Torvald Riegel <triegel@redhat.com>
40250
40251 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40252 Contains futex constants and functions moved over from ...
40253 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
40254 <lowlevellock-futex.h>.
40255 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40256 (lll_timedwait_tid): Add comments and parentheses around macro
40257 arguments.
40258
40259 2014-12-19 Torvald Riegel <triegel@redhat.com>
40260
40261 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40262 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
40263 (__lll_private_flag): Remove.
40264 (lll_futex_wait): Likewise.
40265 (lll_futex_timed_wait): Likewise.
40266 (lll_futex_wake): Likewise.
40267 (lll_futex_requeue): Likewise.
40268 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40269 (__lll_timedwait_tid): Spell out argument names.
40270 (lll_timedwait_tid): Add comments and parentheses around macro
40271 arguments.
40272 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40273 LLL_SHARED and LLL_PRIVATE usable from assembly code.
40274
40275 2014-12-19 Torvald Riegel <triegel@redhat.com>
40276
40277 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40278 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40279 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40280 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40281 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40282 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40283 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40284 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40285 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40286 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40287 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40288 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40289 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40290 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40291 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40292 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40293 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40294 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40295 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40296
40297 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
40298
40299 * sysdeps/x86_64/x32/Makefile: New file.
40300
40301 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
40302
40303 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40304 1L with (mp_limb_t) 1.
40305
40306 2014-12-17 Roland McGrath <roland@hack.frob.com>
40307
40308 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40309 * nptl/libc_pthread_init.c: ... here.
40310 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40311 * nptl/register-atfork.c: ... here.
40312
40313 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40314 Use pthread_sigmask rather than INTERNAL_SYSCALL.
40315 Use assert_perror to check its return value.
40316 (__gai_create_helper_thread): Likewise.
40317
40318 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40319
40320 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40321
40322 2014-12-17 Joseph Myers <joseph@codesourcery.com>
40323
40324 [BZ #17725]
40325 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40326 __profil_counter.
40327 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40328 Likewise.
40329 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40330 Likewise.
40331 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40332 Likewise.
40333 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40334 (profil_counter): Likewise.
40335 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40336 (profil_counter): Likewise.
40337 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40338 Likewise.
40339 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40340 Likewise.
40341 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40342 (profil_counter): Likewise.
40343 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40344 Likewise.
40345 [!__profil_counter] (profil_counter): Define as weak alias of
40346 __profil_counter.
40347 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40348 (profil_counter): Rename to __profil_counter.
40349 [!__profil_counter] (profil_counter): Define as weak alias of
40350 __profil_counter.
40351 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40352 (profil_counter): Rename to __profil_counter.
40353 [!__profil_counter] (profil_counter): Define as weak alias of
40354 __profil_counter.
40355 * sysdeps/posix/profil.c: Update comment referring to
40356 profil_counter.
40357 (__profil): Use __profil_counter instead of profil_counter.
40358 * sysdeps/posix/sprofil.c (profil_counter): Rename to
40359 __profil_counter. Use __profil_counter_ushort and
40360 __profil_counter_uint in definitions.
40361 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40362 instead of profil_counter_uint and profil_counter_ushort.
40363
40364 [BZ #17722]
40365 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40366 define as weak alias of __inet_makeaddr.
40367 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40368 as weak alias of __inet_addr.
40369 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40370 as weak alias of __inet_pton. Use libc_hidden_weak.
40371 * include/arpa/inet.h (__inet_pton): Declare. Use
40372 libc_hidden_proto.
40373 (inet_makeaddr): Don't use libc_hidden_proto.
40374 (__inet_makeaddr): Declare. Use libc_hidden_proto.
40375 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40376 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
40377 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40378 Remove variable.
40379 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40380 (test-xfail-POSIX/time.h/linknamespace): Likewise.
40381
40382 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
40383
40384 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40385
40386 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
40387
40388 * stdio-common/bug-vfprintf-nargs.c (do_test):
40389 Cast value to intptr_t to avoid format warning
40390 for usage with PRIdPTR printing macro.
40391
40392 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
40393
40394 * libio/tst-widetext.c (do_test):
40395 Use format type %td instead of %Zd for ptrdiff_t
40396 in order to avoid format warning.
40397
40398 2014-12-17 Andreas Schwab <schwab@suse.de>
40399
40400 * nscd/mem.c (gc): Add size_t cast to match printf format.
40401
40402 2014-12-16 Roland McGrath <roland@hack.frob.com>
40403
40404 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40405 (init): Apply PTR_MANGLE to pointers before storing them.
40406 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40407 before using them.
40408
40409 2014-12-16 Joseph Myers <joseph@codesourcery.com>
40410
40411 [BZ #17719]
40412 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40413 define as weak alias of __memrchr.
40414 (__memrchr): Do not define as strong alias of memrchr.
40415 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40416 Remove variable.
40417 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40418 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40419 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40420
40421 [BZ #17717]
40422 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40423 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
40424 (if_indextoname): Rename to __if_indextoname and define as weak
40425 alias of __if_indextoname. Use libc_hidden_weak.
40426 (if_freenameindex): Rename to __if_freenameindex and define as
40427 weak alias of __if_freenameindex.
40428 (if_nameindex): Rename to __if_nameindex and define as weak alias
40429 of __if_nameindex.
40430 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40431 __if_nametoindex and define as weak alias of __if_nametoindex.
40432 Use libc_hidden_weak.
40433 (if_freenameindex): Rename to __if_freenameindex and define as
40434 weak alias of __if_freenameindex.
40435 (if_nameindex): Rename to __if_nameindex and define as weak alias
40436 of __if_nameindex.
40437 (if_indextoname): Rename to __if_indextoname and define as weak
40438 alias of __if_indextoname. Use libc_hidden_weak.
40439 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40440 __if_nametoindex and define as weak alias of __if_nametoindex.
40441 Use libc_hidden_weak.
40442 (if_freenameindex): Rename to __if_freenameindex and define as
40443 weak alias of __if_freenameindex. Use libc_hidden_weak.
40444 (if_nameindex_netlink): Use __if_freenameindex instead of
40445 if_freenameindex.
40446 (if_nameindex): Rename to __if_nameindex and define as weak alias
40447 of __if_nameindex. Use libc_hidden_weak.
40448 (if_indextoname): Rename to __if_indextoname and define as weak
40449 alias of __if_indextoname. Use libc_hidden_weak.
40450 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40451 libc_hidden_proto.
40452 [!_ISOMAC] (__if_freenameindex): Likewise.
40453 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40454 if_nametoindex.
40455 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40456 variable.
40457 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40458 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40459 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40460 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40461 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40462 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40463 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40464
40465 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40466 Remove variable.
40467 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40468 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40469
40470 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40471
40472 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40473 subscript above bounds'
40474
40475 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40476 bounds.
40477
40478 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
40479
40480 * libio/tst-fopenloc.c: Use test-skeleton.c.
40481
40482 * stdlib/tst-bsearch.c: Use test-skeleton.c.
40483 (entry): Rename to ITEM.
40484 (do_test, comp): Adjust.
40485
40486 * stdio-common/tst-fseek.c: Use test-skeleton.c.
40487
40488 2014-12-16 Torvald Riegel <triegel@redhat.com>
40489
40490 * string/tester.c: Include <libc-internal.h>.
40491 (test_memset): Ignore -Wmemset-transposed-args.
40492
40493 2014-12-16 Torvald Riegel <triegel@redhat.com>
40494
40495 * misc/tst-mntent2.c (do_test): Fix warning.
40496
40497 2014-12-16 Torvald Riegel <triegel@redhat.com>
40498
40499 * elf/tst-unique4lib.cc(a): Mark as used.
40500
40501 2014-12-16 Florian Weimer <fweimer@redhat.com>
40502
40503 [BZ #17630]
40504 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40505 names.
40506
40507 2014-12-16 Allan McRae <allan@archlinux.org>
40508
40509 * stdio-common/Makefile (tests): Re-add bug26.
40510
40511 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
40512
40513 [BZ #17657]
40514 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40515 static array.
40516
40517 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
40518
40519 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40520 (__lll_lock_wait): Likewise.
40521 (__lll_timedlock_wait): Likewise.
40522 (__lll_timedwait_tid): Likewise.
40523 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40524 (__lll_robust_timedlock_wait): Likewise.
40525 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40526 (lll_cond_trylock): Likewise.
40527 (__lll_lock): Likewise.
40528 (__lll_robust_lock): Likewise.
40529 (__lll_cond_lock): Likewise.
40530 (lll_robust_cond_lock): Likewise.
40531 (__lll_timedlock): Likewise.
40532 (__lll_robust_timedlock): Likewise.
40533 (__lll_unlock): Likewise.
40534 (__lll_robust_unlock): Likewise.
40535 (lll_wait_tid): Likewise.
40536 (lll_timedwait_tid): Likewise.
40537
40538 2014-12-15 Torvald Riegel <triegel@redhat.com>
40539
40540 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40541
40542 2014-12-15 Torvald Riegel <triegel@redhat.com>
40543
40544 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40545
40546 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
40547
40548 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40549 * stdio-common/tst-sprintf.c: Likewise.
40550
40551 2014-12-15 Torvald Riegel <triegel@redhat.com>
40552
40553 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40554
40555 2014-12-15 Jeff Law <law@redhat.com>
40556
40557 [BZ #16617]
40558 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40559 on the heap. (CVE-2012-3406)
40560 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40561 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
40562 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40563
40564 2014-12-15 Will Newton <will.newton@linaro.org>
40565
40566 * manual/install.texi: Bump required version of texinfo
40567 to 4.7 from 4.5.
40568 * INSTALL: Regenerated.
40569 * configure.ac: Check for makeinfo version 4.7 and above.
40570 * configure: Regenerated.
40571
40572 2014-12-12 Roland McGrath <roland@hack.frob.com>
40573
40574 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40575 PREFIX, string constant to insert between directory and name.
40576 * sysdeps/posix/shm_open.c: Update caller.
40577 * sysdeps/posix/shm_unlink.c: Likewise.
40578 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40579 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40580 (SEM_SHM_PREFIX): New macro.
40581 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40582 [$(have-thread-library) = no].
40583 * nptl/Makefile (libpthread-routines): Add shm-directory.
40584 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40585 * sysdeps/nptl/shm-directory.h: New file.
40586 * sysdeps/posix/shm-directory.c
40587 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40588 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40589 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40590 INTERNAL_SYSCALL.
40591 (__where_is_shmfs): Function removed.
40592 (mountpoint, defaultmount, defaultdir, __namedsem_once):
40593 Variables removed.
40594 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40595 Use SHM_GET_NAME.
40596 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
40597
40598 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40599 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40600 unconditional for use inside libpthread.
40601 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40602
40603 2014-12-12 Roland McGrath <roland@hack.frob.com>
40604
40605 * nptl/pthread_getaffinity.c: New file.
40606 * nptl/pthread_setaffinity.c: New file.
40607 * nptl/pthread_getname.c: New file.
40608 * nptl/pthread_setname.c: New file.
40609
40610 * nptl/pthread_create.c (START_THREAD_DEFN)
40611 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40612
40613 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40614 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40615
40616 * resolv/res_send.c (send_vc): Disable warning resplen may
40617 be used uninitialized.
40618
40619 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40620
40621 * nptl/tst-mutex6.c
40622 (ATTR_NULL): New define checks ATTR against NULL.
40623 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40624 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40625
40626 2014-12-11 James Lemke <jwlemke@codesourcery.com>
40627
40628 [BZ #17581]
40629 * malloc/hooks.c
40630 (mem2mem_check): Revert my previous change.
40631 (malloc_check_get_size): Revert my previous change.
40632 (mem2chunk_check): Revert my previous change.
40633
40634 2014-12-11 Roland McGrath <roland@hack.frob.com>
40635
40636 * sysdeps/posix/shm-directory.c: New file.
40637 * sysdeps/posix/shm-directory.h: New file.
40638 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40639 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40640 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
40641 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40642 Transmute EPERM to EACCES.
40643 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40644 from ...
40645 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
40646 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40647
40648 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40649
40650 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40651 pointer and cast to uintptr_t.
40652 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40653 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40654 Add cast to avoid warning.
40655 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40656
40657 2014-12-11 Joseph Myers <joseph@codesourcery.com>
40658
40659 * nptl/semaphore.h: Move to ...
40660 * sysdeps/pthread/semaphore.h: ... here.
40661 * Makefile (installed-headers): Change nptl/semaphore.h to
40662 sysdeps/pthread/semaphore.h.
40663
40664 2014-12-11 Roland McGrath <roland@hack.frob.com>
40665
40666 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40667 generated error format strings.
40668
40669 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40670 -Wformat-extra-args warnings for scanf formats.
40671 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40672 test of zero-length format (duh).
40673 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40674 corner-case scanf format test.
40675 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40676 generated fprintf format string.
40677 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40678 corner-case sprintf format tests.
40679 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40680 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40681 -Wformat-extra-args warnings throughout.
40682 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40683 (CFLAGS-scanf4.c): Likewise.
40684 (CFLAGS-scanf7.c): Likewise.
40685 (CFLAGS-tst-sprintf.c): Likewise.
40686 (CFLAGS-tst-printf.c): Likewise.
40687 (CFLAGS-tst-printfsz.c): Likewise.
40688
40689 2014-12-11 Joseph Myers <joseph@codesourcery.com>
40690
40691 * include/cpio.h: New file.
40692 * include/fmtmsg.h: Likewise.
40693
40694 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
40695 corresponding format argument to size_t.
40696 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
40697 arguments.
40698 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
40699 corresponding format argument to size_t.
40700 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
40701 arguments.
40702 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
40703 corresponding format argument to size_t.
40704 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40705 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40706 (CFLAGS-tst-mbswcs2.c): Likewise.
40707 (CFLAGS-tst-mbswcs3.c): Likewise.
40708 (CFLAGS-tst-mbswcs4.c): Likewise.
40709 (CFLAGS-tst-mbswcs5.c): Likewise.
40710 (CFLAGS-tst-trans.c): Likewise.
40711
40712 2014-12-11 Roland McGrath <roland@hack.frob.com>
40713
40714 * posix/regexbug1.c (main): Use "%s" format with regerror results,
40715 rather than assuming they won't contain any '%'s.
40716
40717 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
40718
40719 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
40720 inhibit_loop_to_libcall to avoid recursive calls.
40721 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
40722 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
40723
40724 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
40725
40726 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
40727 prototype.
40728
40729 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
40730
40731 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
40732 integer value instead of boolean.
40733
40734 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
40735
40736 * malloc/malloc.c: Fix powerof2 check.
40737
40738 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
40739
40740 * locale/programs/locfile.h (maybe_swap_uint32):
40741 Remove inline and add unused attribute.
40742
40743 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
40744
40745 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40746 Truncating assembler expression to a .long expression.
40747
40748 2014-12-11 Andreas Schwab <schwab@suse.de>
40749
40750 * elf/rtld.c (struct map_args): Constify str member.
40751 (do_preload): Constify fname argument.
40752
40753 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40754
40755 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
40756 constants definition.
40757
40758 2014-12-11 Andreas Schwab <schwab@suse.de>
40759
40760 [BZ #16657]
40761 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
40762 FORCE_ELISION instead of DO_ELISION.
40763 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
40764 Remove.
40765 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
40766 Likewise.
40767
40768 * iconvdata/gconv-modules: Remove duplicate entry.
40769
40770 2014-12-11 Will Newton <will.newton@linaro.org>
40771
40772 Merge gettext 0.19.3 into intl/.
40773
40774 This involves a number of cosmetic changes to comments
40775 and ANSI function definitions and prototypes throughout
40776 all the files. The gettext copyright header is used but
40777 with the date ranges taken from the glibc copy.
40778
40779 * NEWS: Add gettext merge to 2.21.
40780 * intl/bindtextdom.c: Switch to gettext copyright.
40781 Use ANSI definitions and prototypes.
40782 Use gl_* locking primitives rather than __libc_* ones.
40783 Use __builtin_expect rather than __glibc_likely/unlikely.
40784 * intl/dcgettext.c: Switch to gettext copyright.
40785 Use ANSI definitions and prototypes.
40786 * intl/dcigettext.c: Switch to gettext copyright.
40787 Use ANSI definitions and prototypes.
40788 (INTDIV0_RAISES_SIGFPE): New define.
40789 Use gl_* locking primitives rather than __libc_* ones.
40790 Include eval-plural.h instead of plural-eval.c.
40791 Use __builtin_expect rather than __glibc_likely/unlikely.
40792 * intl/dcngettext.c: Switch to gettext copyright.
40793 Use ANSI definitions and prototypes.
40794 * intl/dgettext.c: Likewise.
40795 * intl/dngettext.c: Likewise.
40796 * intl/plural-eval.c: Renamed to...
40797 * intl/eval-plural.h: ...this.
40798 * intl/explodename.c: Switch to gettext copyright.
40799 Use ANSI definitions and prototypes.
40800 (_nl_explode_name): Use strchr instead of __rawmemchr.
40801 * intl/finddomain.c: Switch to gettext copyright.
40802 Use ANSI definitions and prototypes.
40803 Use gl_* locking primitives rather than __libc_* ones.
40804 (_nl_find_domain): Use malloc rather than alloca for
40805 allocation of temporary locale name.
40806 * intl/gettext.c: Switch to gettext copyright.
40807 Use ANSI definitions and prototypes.
40808 * intl/gettextP.h: Switch to gettext copyright.
40809 Use ANSI definitions and prototypes.
40810 Use gl_* locking primitives rather than __libc_* ones.
40811 * intl/gmo.h: Switch to gettext copyright.
40812 (struct sysdep_string): Move struct segment_pair outside of
40813 struct definition.
40814 * intl/hash-string.c: Use ANSI definitions and prototypes.
40815 * intl/hash-string.h: Switch to gettext copyright.
40816 Use ANSI definitions and prototypes.
40817 * intl/l10nflist.c: Switch to gettext copyright.
40818 Use ANSI definitions and prototypes.
40819 (_nl_normalize_codeset): Avoid integer overflow.
40820 * intl/loadinfo.h: Switch to gettext copyright.
40821 Use ANSI definitions and prototypes.
40822 (LIBINTL_DLL_EXPORTED): New define.
40823 (PATH_SEPARATOR): New define.
40824 * intl/loadmsgcat.c: Switch to gettext copyright.
40825 * intl/localealias.c: Switch to gettext copyright.
40826 Use ANSI definitions and prototypes.
40827 (_nl_expand_alias): Use PATH_SEPARATOR.
40828 * intl/ngettext.c: Switch to gettext copyright.
40829 Use ANSI definitions and prototypes.
40830 * intl/plural-exp.c: Likewise.
40831 * intl/plural-exp.h: Switch to gettext copyright.
40832 Use ANSI definitions and prototypes.
40833 (struct expression): Move definition of enum operator outside
40834 of struct definition.
40835 * intl/plural.c: Regenerate.
40836 * intl/plural.y: Switch to gettext copyright.
40837 Use ANSI definitions and prototypes.
40838 Port to bison 3.0.
40839 * intl/textdomain.c: Switch to gettext copyright.
40840 Use ANSI definitions and prototypes.
40841 Use gl_* locking primitives rather than __libc_* ones.
40842
40843 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
40844
40845 * debug/warning-nop.c: Add used atrribute.
40846
40847 2014-12-10 Joseph Myers <joseph@codesourcery.com>
40848
40849 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
40850
40851 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
40852 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
40853 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
40854
40855 2014-12-10 Joseph Myers <joseph@codesourcery.com>
40856 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40857
40858 [BZ #17634]
40859 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
40860 Undefine after defining function. Define as weak alias of
40861 __wcschr. Use libc_hidden_weak.
40862 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
40863 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
40864 (libc_hidden_def): Also define __GI___wcschr alias.
40865 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
40866 __wcschr and define as weak alias of __wcschr.
40867 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
40868 __wcschr.
40869 [!WCSCHR] (DEFAULT_WCSCHR): Define.
40870 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
40871 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
40872 libc_hidden_weak. Do not use libc_hidden_def.
40873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
40874 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
40875 __GI___wcschr alias.
40876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
40877 [IS_IN (libc)] (wcschr): Define as macro expanding to
40878 __redirect_wcschr.
40879 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
40880 [IS_IN (libc)] (__wcschr_power6): Likewise.
40881 [IS_IN (libc)] (__wcschr_power7): Likewise.
40882 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
40883 instead of wcschr.
40884 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
40885 __libc_wcschr.
40886 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
40887 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
40888 __wcschr and define as weak alias of __wcschr. Use
40889 libc_hidden_builtin_def.
40890 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
40891 as weak alias of __wcschr. Use libc_hidden_weak.
40892 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
40893 wcschr.
40894 * time/era.c (_nl_init_era_entries): Likewise.
40895 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
40896 variable.
40897 (test-xfail-XPG3/time.h/linknamespace): Likewise.
40898 (test-xfail-XPG4/time.h/linknamespace): Likewise.
40899
40900 2014-12-10 Joseph Myers <joseph@codesourcery.com>
40901
40902 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
40903 format for long int variable.
40904
40905 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
40906
40907 [BZ #10672]
40908 * manual/search.texi: (Array Sort Function): Remove claim how to make
40909 qsort stable.
40910
40911 2014-12-10 Andreas Schwab <schwab@suse.de>
40912
40913 [BZ #12847]
40914 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
40915 user-controlled locks.
40916
40917 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
40918
40919 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
40920 register.
40921
40922 2014-12-10 Joseph Myers <joseph@codesourcery.com>
40923
40924 * configure.ac (--disable-werror): New configure option.
40925 (enable_werror): New AC_SUBST.
40926 * configure: Regenerated.
40927 * config.make.in (enable-werror): New variable.
40928 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
40929 -Wno-error=undef.
40930 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
40931 * manual/install.texi (Configuring and compiling): Document
40932 --disable-werror.
40933 * INSTALL: Regenerated.
40934 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
40935 (CFLAGS-tst-chk2.c): Likewise.
40936 (CFLAGS-tst-chk3.c): Likewise.
40937 (CFLAGS-tst-chk4.cc): Likewise.
40938 (CFLAGS-tst-chk5.cc): Likewise.
40939 (CFLAGS-tst-chk6.cc): Likewise.
40940 (CFLAGS-tst-lfschk1.c): Likewise.
40941 (CFLAGS-tst-lfschk2.c): Likewise.
40942 (CFLAGS-tst-lfschk3.c): Likewise.
40943 (CFLAGS-tst-lfschk4.cc): Likewise.
40944 (CFLAGS-tst-lfschk5.cc): Likewise.
40945 (CFLAGS-tst-lfschk6.cc): Likewise.
40946
40947 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
40948 (main): Disable -Wdeprecated-declarations around calls to
40949 register_printf_function.
40950
40951 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
40952 (do_test): Disable -Wdiv-by-zero around some calls to
40953 fwrite_unlocked and fread_unlocked.
40954
40955 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
40956 (DIAG_POP_NEEDS_COMMENT): Likewise.
40957 (_DIAG_STR1): Likewise.
40958 (_DIAG_STR): Likewise.
40959 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
40960 * stdio-common/bug21.c: Include <libc-internal.h>.
40961 (do_test): Disable -Wformat around call to sscanf.
40962 * stdio-common/scanf14.c: Include <libc-internal.h>.
40963 (main): Disable -Wformat around some calls to scanf functions.
40964
40965 2014-12-09 Torvald Riegel <triegel@redhat.com>
40966
40967 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
40968
40969 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40970
40971 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
40972 stack variable alignment.
40973
40974 2014-12-06 Joseph Myers <joseph@codesourcery.com>
40975
40976 [BZ #17682]
40977 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
40978 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
40979 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
40980 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
40981 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
40982 __getrlimit instead of getrlimit.
40983 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
40984 __gettimeofday instead of gettimeofday.
40985 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
40986 Likewise.
40987 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
40988 Likewise.
40989 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40990 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
40991 Remove variable.
40992 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40993 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40994
40995 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40996
40997 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
40998 for wide-character tests.
40999
41000 2014-12-04 Roland McGrath <roland@hack.frob.com>
41001
41002 * io/openat64.c: #include <libc-internal.h>
41003 (__openat64): Prototypify. Use ignore_value on MODE.
41004 * io/openat.c: Likewise.
41005 * misc/reboot.c: #include <libc-internal.h>
41006 (reboot): Prototypify. Use ignore_value on HOWTO.
41007 * misc/ptrace.c: #include <libc-internal.h>
41008 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
41009
41010 2014-12-04 Joseph Myers <joseph@codesourcery.com>
41011
41012 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41013 XPG4, UNIX98 and XOPEN2K.
41014 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41015 Remove variable.
41016 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41017
41018 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41019
41020 * libio/fileops.c: Use ISO C style for function definitions.
41021 * libio/iofopen.c: Likewise.
41022 * libio/wfileops.c: Likewise.
41023
41024 [BZ #17653]
41025 * libio/fileops.c (_IO_new_file_underflow): Unset cached
41026 offset on EOF.
41027 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41028 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41029 (fgets_func): Function pointer to fgets and fgetws.
41030 (do_ftell_test): Add test to verify ftell value after read
41031 EOF.
41032 (do_test): Set fgets_func.
41033
41034 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41035 O_TRUNC flag for w and w+ modes.
41036 (do_rewind_test): Likewise.
41037 (do_ftell_test): Likewise.
41038 (do_write_test): Likewise.
41039
41040 [BZ #17647]
41041 * libio/fileops.c (do_ftell): Seek only when there are
41042 unflushed writes.
41043 * libio/wfileops.c (do_ftell_wide): Likewise.
41044 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41045 test case.
41046 (do_one_test): Call it.
41047
41048 2014-12-03 Joseph Myers <joseph@codesourcery.com>
41049
41050 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41051 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41052 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41053 Remove variable.
41054 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41055 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41056 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41057
41058 2014-12-02 Joseph Myers <joseph@codesourcery.com>
41059
41060 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41061 Remove variable.
41062 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41063
41064 [BZ #17668]
41065 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41066 as weak alias of __getifaddrs. Use libc_hidden_weak.
41067 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41068 __freeifaddrs. Use libc_hidden_weak.
41069 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41070 define as weak alias of __getifaddrs. Use libc_hidden_weak.
41071 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41072 __freeifaddrs. Use libc_hidden_weak.
41073 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41074 __getifaddrs and define as weak alias of __getifaddrs. Use
41075 libc_hidden_weak.
41076 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41077 __freeifaddrs. Use libc_hidden_weak.
41078 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41079 Remove variable.
41080 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41081 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41082
41083 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
41084
41085 [BZ #17601]
41086 * sysdeps/mips/start.S (__start): Use indirect jump to call
41087 __libc_start_main.
41088
41089 2014-12-02 Joseph Myers <joseph@codesourcery.com>
41090
41091 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41092
41093 * nptl/tst-mutex1.c: Include <stdbool.h>.
41094 [!ATTR] (ATTR_NULL): New macro.
41095 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41096 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41097 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41098
41099 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41100 to char *.
41101
41102 [BZ #17665]
41103 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41104 Change conditional to [__USE_MISC].
41105
41106 [BZ #17664]
41107 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41108 fgets_unlocked.
41109 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41110 __fgets_unlocked.
41111 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41112 fgets_unlocked.
41113 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41114 Remove variable.
41115 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41116 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41117 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41118 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41119 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41120 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41121 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41122 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41123 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41124
41125 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41126
41127 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41128
41129 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41130 Remove strpbrk objects.
41131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41132 (__libc_ifunc_impl_list): Remove strpbrk implementation.
41133 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41134 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41135 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41136 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41137
41138 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41139 Remove strcspn objects.
41140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41141 (__libc_ifunc_impl_list): Remove strcspn implementation.
41142 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41143 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41144 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41145 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41146
41147 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41148 Remove strspn objetcs.
41149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41150 (__libc_ifunc_impl_list): Remove strspn implementation.
41151 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41152 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41153 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41154 * sysdeps/powerpc/powerpc64/strspn.S: New file.
41155
41156 2014-12-01 James Lemke <jwlemke@codesourcery.com>
41157
41158 [BZ #17581]
41159 * malloc/hooks.c
41160 (mem2mem_check): Add a terminator to the chain of checking blocks.
41161 (malloc_check_get_size): Use it here.
41162 (mem2chunk_check): Ditto.
41163
41164 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41165
41166 * sysdeps/powerpc/powerpc64/strtok.S: New file.
41167 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41168
41169 2014-11-29 Carlos O'Donell <carlos@redhat.com>
41170
41171 * bits/ioctl-types.h: Indent preprocessor directives correctly.
41172
41173 * nptl/nptl-init.c: Include libc-internal.h.
41174 (__pthread_initialize_minimal_internal): Use ROUND_UP.
41175
41176 * elf/ldconfig.c (search_dir): Expand comment.
41177
41178 2014-11-29 Joseph Myers <joseph@codesourcery.com>
41179
41180 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41181 variable.
41182 (linknamespace-symlist-stdlibs-tests): Likewise.
41183 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41184 instead of $(objpfx)symlist-stdlibs.
41185 (linknamespace-libs-isoc): New variable.
41186 (linknamespace-libs): Use $(linknamespace-libs-isoc).
41187 (linknamespace-libs-ISO): New variable.
41188 (linknamespace-libs-ISO99): Likewise.
41189 (linknamespace-libs-ISO11): Likewise.
41190 (linknamespace-libs-XPG3): Likewise.
41191 (linknamespace-libs-XPG4): Likewise.
41192 (linknamespace-libs-POSIX): Likewise.
41193 (linknamespace-libs-UNIX98): Likewise.
41194 (linknamespace-libs-XOPEN2K): Likewise.
41195 (linknamespace-libs-POSIX2008): Likewise.
41196 (linknamespace-libs-XOPEN2K8): Likewise.
41197 ($(objpfx)symlist-stdlibs): Replace by
41198 $(linknamespace-symlist-stdlibs-tests). Use
41199 $(linknamespace-libs-$*) as set of libraries.
41200 ($(linknamespace-header-tests)): Update dependencies. Use
41201 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41202 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41203 * conform/linknamespace.pl: Remove comment about considering
41204 definitions of symbols from irrelevant libraries.
41205
41206 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
41207
41208 [BZ #13862]
41209 * elf/dl-tls.c: Include <atomic.h>.
41210 (oom): Remove #ifdef SHARED/#endif.
41211 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41212 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
41213 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41214 big enough.
41215 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41216 * nptl/Makefile (tests): Add tst-stack4.
41217 (modules-names): Add tst-stack4mod.
41218 ($(objpfx)tst-stack4): New.
41219 (tst-stack4mod.sos): Likewise.
41220 ($(objpfx)tst-stack4.out): Likewise.
41221 ($(tst-stack4mod.sos)): Likewise.
41222 (clean): Likewise.
41223 * nptl/tst-stack4.c: New file.
41224 * nptl/tst-stack4mod.c: Likewise.
41225
41226 2014-11-27 J. Brown <jb999@gmx.de>
41227
41228 * sysdeps/x86/bits/string.h: Add recent CPUs.
41229
41230 2014-11-27 Joseph Myers <joseph@codesourcery.com>
41231
41232 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41233 sigblock.
41234
41235 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41236 feof.
41237
41238 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41239 variable.
41240
41241 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
41242
41243 * nscd/connections.c: Include libc-internal.h because of macro
41244 usage ignore_value.
41245
41246 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41247
41248 * string/bits/string3.h (__warn_memset_zero_len): Don't
41249 declare for gcc newer than 5.0.
41250 (memset): Don't test for zero-length __LEN for gcc newer than
41251 5.0.
41252
41253 2014-11-27 Joseph Myers <joseph@codesourcery.com>
41254
41255 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41256 size_t for %zu format.
41257
41258 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41259 difference, not %ju.
41260
41261 2014-11-26 Joseph Myers <joseph@codesourcery.com>
41262
41263 * include/libc-internal.h (ignore_value): New macro.
41264 * nscd/connections.c (restart): Wrap calls to setuid and setgid
41265 with ignore_value.
41266
41267 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41268 definition.
41269
41270 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41271 pthread_cleanup_push to void *.
41272
41273 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41274 Undefine.
41275
41276 [BZ #16619]
41277 [BZ #16740]
41278 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41279 instead of 1L << 52.
41280
41281 * libio/bug-rewind.c (do_test): Check fwscanf return values.
41282 * libio/bug-rewind2.c (do_test): Likewise.
41283
41284 * debug/test-stpcpy_chk-ifunc.c: Remove file.
41285 * debug/test-strcpy_chk-ifunc.c: Likewise.
41286 * wcsmbs/test-wcschr-ifunc.c: Likewise.
41287 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41288 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41289 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41290 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41291 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41292 * Rules [$(multi-arch) = no] (tests): Do not filter out
41293 $(tests-ifunc).
41294 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41295 * debug/Makefile (tests-ifunc): Remove variable.
41296 (tests): Do not add $(tests-ifunc).
41297 * wcsmbs/Makefile (tests-ifunc): Remove variable.
41298 (tests): Do not add $(tests-ifunc).
41299 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41300 [TEST_IFUNC]: Remove conditionals.
41301 * string/test-string.h (TEST_IFUNC): Remove macro.
41302 [TEST_IFUNC]: Remove conditionals.
41303
41304 * string/test-strchr.c [!WIDE] (L): New macro.
41305 [WIDE] (L): Likewise.
41306 (check1): Use CHAR instead of char. Use L on string and character
41307 constants.
41308
41309 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
41310
41311 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41312 tests.
41313 * sysdeps/powerpc/bits/atomic.h
41314 (__arch_atomic_exchange_and_add_32_acq): Add definition.
41315 (__arch_atomic_exchange_and_add_32_rel): Likewise.
41316 (atomic_exchange_and_add_acq): Likewise.
41317 (atomic_exchange_and_add_rel): Likewise.
41318 * sysdeps/powerpc/powerpc32/bits/atomic.h
41319 (__arch_atomic_exchange_and_add_64_acq): Add definition.
41320 (__arch_atomic_exchange_and_add_64_rel): Likewise.
41321 * sysdeps/powerpc/powerpc64/bits/atomic.h
41322 (__arch_atomic_exchange_and_add_64_acq): Add definition.
41323 (__arch_atomic_exchange_and_add_64_rel): Likewise.
41324
41325 2014-11-26 Torvald Riegel <triegel@redhat.com>
41326
41327 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41328 Change synchronization of __sched_fifo_min_prio and
41329 __sched_fifo_max_prio.
41330 * nptl/pthread_mutexattr_getprioceiling.c
41331 (pthread_mutexattr_getprioceiling): Likewise.
41332 * nptl/pthread_mutexattr_setprioceiling.c
41333 (pthread_mutexattr_setprioceiling): Likewise.
41334 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41335 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41336 Likewise.
41337
41338 2014-11-26 Joseph Myers <joseph@codesourcery.com>
41339
41340 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41341 void.
41342
41343 2014-11-25 Joseph Myers <joseph@codesourcery.com>
41344
41345 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41346 third argument const.
41347
41348 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
41349
41350 fnmatch: work around GCC compiler warning bug with uninit var
41351 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41352 This works around a bug with x86-64 GCC 4.9.2 and earlier
41353 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41354 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41355 used uninitialized in this function [-Wmaybe-uninitialized]".
41356
41357 2014-11-25 Joseph Myers <joseph@codesourcery.com>
41358
41359 * posix/bug-regex31.c (main): Return RES not 0.
41360
41361 2014-11-25 Anton Blanchard <anton@samba.org>
41362
41363 * sysdeps/powerpc/bits/atomic.h
41364 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41365
41366 2014-11-24 Sterling Augustine <saugustine@google.com>
41367
41368 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41369
41370 2014-11-24 Ryan Cumming <etaoins@gmail.com>
41371
41372 [BZ #17608]
41373 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41374
41375 2014-11-24 Joseph Myers <joseph@codesourcery.com>
41376
41377 [BZ #17633]
41378 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41379 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41380 variable.
41381 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41382 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41383
41384 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
41385
41386 * string/strncpy.c (strncpy): Improve performance by using memset.
41387
41388 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
41389
41390 * string/strcpy.c (strcpy):
41391 Improve performance by using strlen and memcpy.
41392
41393 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
41394
41395 * string/strcoll_l.c (get_next_seq): __always_inline.
41396 * string/strcoll_l.c (do_compare): __always_inline.
41397
41398 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41399
41400 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41401 defined.
41402 * include/mqueue.h: Likewise.
41403 * include/stdlib.h: Likewise.
41404
41405 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41406 (get_null_defines): Adjust.
41407 * sunrpc/Makefile: Adjust comment.
41408 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41409 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41410 (CFLAGS-interp.c): Likewise.
41411 (CFLAGS-ldconfig.c): Likewise.
41412 (CPPFLAGS-.os): Likewise.
41413 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41414 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41415 * extra-modules.mk (extra-modules.mk): Likewise.
41416 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41417 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41418 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41419 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41420 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41421 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41422 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41423 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41424 * iconvdata/Makefile (CPPFLAGS): Likewise.
41425 (cpp-srcs-left): Add libof for all iconvdata routines.
41426 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41427 * include/assert.h: Likewise.
41428 * include/ctype.h: Likewise.
41429 * include/errno.h: Likewise.
41430 * include/libc-symbols.h: Likewise.
41431 * include/math.h: Likewise.
41432 * include/netdb.h: Likewise.
41433 * include/resolv.h: Likewise.
41434 * include/stdio.h: Likewise.
41435 * include/stdlib.h: Likewise.
41436 * include/string.h: Likewise.
41437 * include/sys/stat.h: Likewise.
41438 * include/wctype.h: Likewise.
41439 * intl/l10nflist.c: Likewise.
41440 * libidn/idn-stub.c: Likewise.
41441 * libio/libioP.h: Likewise.
41442 * nptl/libc_multiple_threads.c: Likewise.
41443 * nptl/pthreadP.h: Likewise.
41444 * posix/regex_internal.h: Likewise.
41445 * resolv/res_hconf.c: Likewise.
41446 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41447 * sysdeps/arm/memmove.S: Likewise.
41448 * sysdeps/arm/sysdep.h: Likewise.
41449 * sysdeps/generic/_itoa.h: Likewise.
41450 * sysdeps/generic/symbol-hacks.h: Likewise.
41451 * sysdeps/gnu/errlist.awk: Likewise.
41452 * sysdeps/gnu/errlist.c: Likewise.
41453 * sysdeps/i386/i586/memcpy.S: Likewise.
41454 * sysdeps/i386/i586/memset.S: Likewise.
41455 * sysdeps/i386/i686/memcpy.S: Likewise.
41456 * sysdeps/i386/i686/memmove.S: Likewise.
41457 * sysdeps/i386/i686/mempcpy.S: Likewise.
41458 * sysdeps/i386/i686/memset.S: Likewise.
41459 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41460 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41461 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41462 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41463 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41464 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41465 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41466 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41467 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41469 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41470 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41471 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41472 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41473 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41474 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41475 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41476 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41477 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41478 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41479 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41480 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41484 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41485 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41486 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41488 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41489 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41492 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41495 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41496 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41497 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41498 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41500 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41502 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41503 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41504 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41505 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41506 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41507 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41508 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41509 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41510 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41511 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41512 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41513 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41514 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41515 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41516 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41517 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41518 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41519 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41520 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41521 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41522 * sysdeps/nptl/bits/libc-lock.h: Likewise.
41523 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41524 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41525 * sysdeps/posix/closedir.c: Likewise.
41526 * sysdeps/posix/opendir.c: Likewise.
41527 * sysdeps/posix/readdir.c: Likewise.
41528 * sysdeps/posix/rewinddir.c: Likewise.
41529 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41530 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41531 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41532 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41533 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41534 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41535 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41536 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41538 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41539 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41540 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41541 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41542 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41543 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41544 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41545 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41546 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41547 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41548 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41549 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41550 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41551 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41552 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41553 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41554 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41556 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41557 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41561 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41562 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41563 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41564 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41565 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41566 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41567 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41568 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41569 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41570 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41571 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41572 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41573 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41574 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41575 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41576 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41577 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41578 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41579 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41580 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41581 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41582 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41583 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41584 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41585 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41586 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41587 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41588 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41589 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41590 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41591 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41592 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41593 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41594 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41595 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41596 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41597 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41598 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41599 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41600 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41601 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41602 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41603 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41604 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41605 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41606 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41607 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41608 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41609 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41610 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41611 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41612 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41613 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41614 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41615 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41616 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41617 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41618 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41619 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41620 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41621 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41622 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41625 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41627 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41628 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41629 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41630 * sysdeps/unix/alpha/sysdep.S: Likewise.
41631 * sysdeps/unix/alpha/sysdep.h: Likewise.
41632 * sysdeps/unix/make-syscalls.sh: Likewise.
41633 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41634 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41635 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41636 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41637 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41638 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41639 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41640 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41641 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41642 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41643 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41644 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41645 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41646 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41647 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41648 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41649 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41650 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41651 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41652 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41653 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41654 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41655 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41656 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41657 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41658 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41659 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41662 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41663 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41664 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41665 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41667 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41671 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41672 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41673 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41674 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41675 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41676 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41677 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41680 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41683 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41684 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41685 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41686 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41687 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41688 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41689 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41691 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41692 * sysdeps/x86_64/memcpy.S: Likewise.
41693 * sysdeps/x86_64/memmove.c: Likewise.
41694 * sysdeps/x86_64/memset.S: Likewise.
41695 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41696 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41697 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41698 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41699 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41701 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41702 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41703 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41704 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41705 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41706 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41707 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41708 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41709 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41710 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41711 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41712 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41713 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41714 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41715 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41716 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41719 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41720 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41721 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41722 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
41723 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41724 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41725 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
41726 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41727 * sysdeps/x86_64/strcmp.S: Likewise.
41728
41729 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
41730
41731 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
41732 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
41733 * elf/rtld-Rules: Likewise.
41734 * elf/setup-vdso.h: Likewise.
41735 * include/assert.h: Likewise.
41736 * include/bits/stdlib-float.h: Likewise.
41737 * include/errno.h: Likewise.
41738 * include/sys/stat.h: Likewise.
41739 * include/unistd.h: Likewise.
41740 * sysdeps/aarch64/setjmp.S: Likewise.
41741 * sysdeps/alpha/setjmp.S: Likewise.
41742 * sysdeps/arm/__longjmp.S: Likewise.
41743 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
41744 * sysdeps/arm/setjmp.S: Likewise.
41745 * sysdeps/arm/sysdep.h: Likewise.
41746 * sysdeps/generic/_itoa.h: Likewise.
41747 * sysdeps/generic/dl-sysdep.h: Likewise.
41748 * sysdeps/generic/ldsodefs.h: Likewise.
41749 * sysdeps/i386/dl-tls.h: Likewise.
41750 * sysdeps/i386/setjmp.S: Likewise.
41751 * sysdeps/m68k/setjmp.c: Likewise.
41752 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
41753 * sysdeps/mach/hurd/opendir.c: Likewise.
41754 * sysdeps/posix/getcwd.c: Likewise.
41755 * sysdeps/posix/opendir.c: Likewise.
41756 * sysdeps/posix/profil.c: Likewise.
41757 * sysdeps/powerpc/dl-procinfo.h: Likewise.
41758 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41759 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41760 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41761 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41762 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
41763 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41764 * sysdeps/s390/dl-tls.h: Likewise.
41765 * sysdeps/s390/s390-32/setjmp.S: Likewise.
41766 * sysdeps/s390/s390-64/setjmp.S: Likewise.
41767 * sysdeps/sh/sh3/setjmp.S: Likewise.
41768 * sysdeps/sh/sh4/setjmp.S: Likewise.
41769 * sysdeps/unix/alpha/sysdep.h: Likewise.
41770 * sysdeps/unix/arm/sysdep.S: Likewise.
41771 * sysdeps/unix/i386/sysdep.S: Likewise.
41772 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41773 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41774 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41775 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41776 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41777 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41778 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41779 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41780 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41781 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41782 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
41783 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41784 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41787 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41790 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41791 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41792 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41795 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41796 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41797 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41799 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41800 * sysdeps/x86_64/setjmp.S: Likewise.
41801
41802 * include/math.h: Use IS_IN instead of IS_IN_libm.
41803 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
41804 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41805 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41806 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
41807 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41808 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41809 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41810 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41812 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41813 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
41814 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
41815 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
41816 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
41817 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
41818 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
41819 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
41820 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
41821 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
41822 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
41823 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
41824 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
41825 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
41826 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
41827 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
41828 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
41829 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
41830 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
41831 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
41832 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
41833 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
41834 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41835 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
41837 Likewise.
41838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
41839 Likewise.
41840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
41841 Likewise.
41842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
41843 Likewise.
41844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
41845 Likewise.
41846 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41847 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
41848 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41849 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41850 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41851 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
41853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
41854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
41855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
41856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
41857 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
41858 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
41859 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41860 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41861 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41862 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41863 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41864 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41865 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41866 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
41867 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
41868 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
41869 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
41870 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
41871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41872 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
41873
41874 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
41875 * nptl/pthreadP.h: Likewise.
41876 * nptl_db/structs.def: Likewise.
41877 * sysdeps/arm/sysdep.h: Likewise.
41878 * sysdeps/nptl/bits/libc-lock.h: Likewise.
41879 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41880 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
41881 * sysdeps/unix/alpha/sysdep.h: Likewise.
41882 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41883 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41884 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41885 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41886 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41887 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41888 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41889 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41890 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41891 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41892 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41893 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41894 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41895 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41899 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41900 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41903 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41904 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41905 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41906 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
41907 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41908
41909 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
41910 * nptl/pthreadP.h: Likewise.
41911 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41912 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41913 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41914 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41915 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41916 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41917 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41918 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41919 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41920 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41921 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41922 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41924 Likewise.
41925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41926 Likewise.
41927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41928 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41929 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41932 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41933 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41934 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41935
41936 * dlfcn/dladdr.c: Use IS_IN.
41937 * dlfcn/dladdr1.c: Likewise.
41938 * dlfcn/dlclose.c: Likewise.
41939 * dlfcn/dlerror.c: Likewise.
41940 * dlfcn/dlinfo.c: Likewise.
41941 * dlfcn/dlmopen.c: Likewise.
41942 * dlfcn/dlopen.c: Likewise.
41943 * dlfcn/dlsym.c: Likewise.
41944 * dlfcn/dlvsym.c: Likewise.
41945
41946 * include/ifaddrs.h: Use IS_IN.
41947 * inet/check_pf.c: Likewise.
41948 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41949 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
41950
41951 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
41952 IS_IN_ldconfig.
41953 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
41954 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
41955
41956 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
41957 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
41958 IS_IN (libc).
41959
41960 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
41961
41962 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
41963 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41964 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41965 * include/libc-symbols.h (IS_IN_LIB): New macro.
41966 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
41967 * include/netdb.h: Likewise.
41968 * include/stap-probe.h: Remove all uses of IN_LIB.
41969
41970 * Makeconfig (module-cppflags-real): Define MODULE_NAME
41971 instead of IN_MODULE.
41972 * include/libc-symbols.h (IN_MODULE): Define using
41973 MODULE_NAME.
41974 (PASTE_NAME, PASTE_NAME1): New macros.
41975 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
41976 of IN_LIB.
41977 (STAP_PROBE_ASM): Likewise.
41978
41979 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
41980
41981 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
41982 __mach_init in dlopened libc.
41983
41984 2014-11-22 Mike Frysinger <vapier@gentoo.org>
41985
41986 * sysdeps/arm/preconfigure.ac: Delete EABI check.
41987 * sysdeps/arm/preconfigure: Regenerate.
41988
41989 2014-11-21 Roland McGrath <roland@hack.frob.com>
41990
41991 * nptl/pthread_create.c (__pthread_create_2_1): Set
41992 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
41993 when copying values from IATTR into PD.
41994
41995 2014-11-21 Will Newton <will.newton@linaro.org>
41996 Andrew Pinski <andrew.pinski@caviumnetworks.com>
41997
41998 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
41999 Refactor inline-asm. Also add comment.
42000
42001 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42002 ElfW macro instead of hardcoded Elf64 types.
42003 (la_aarch64_gnu_pltenter): Likewise.
42004 * sysdeps/aarch64/dl-machine.h
42005 (elf_machine_runtime_setup): Use ElfW(Addr).
42006
42007 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42008 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42009 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42010 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42011 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42012 (R_AARCH64_TLS_DTPMOD64): Rename to ..
42013 (R_AARCH64_TLS_DTPMOD): This.
42014 (R_AARCH64_TLS_DTPREL64): Rename to ...
42015 (R_AARCH64_TLS_DTPREL): This.
42016 (R_AARCH64_TLS_TPREL64): Rename to ...
42017 (R_AARCH64_TLS_TPREL): This.
42018 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42019 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42020 R_AARCH64_TLS_TPREL64.
42021 (elf_machine_rela): Likewise.
42022
42023 2014-11-21 Torvald Riegel <triegel@redhat.com>
42024
42025 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42026 by setting it to 0. 64b atomics are not supported currently.
42027
42028 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42029
42030 [BZ #16469]
42031 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42032 search domain names.
42033
42034 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42035
42036 [BZ #16469]
42037 * NEWS: Update.
42038 * resolv/res_query.c (__libc_res_nquerydomain): Retain
42039 trailing dot.
42040 * posix/tst-getaddrinfo5.c: New.
42041 * posix/Makefile (tests): Add it.
42042
42043 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42044
42045 [BZ #14498]
42046 * NEWS: Fixed.
42047 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42048 after parsing line but before break_if_match.
42049 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42050 if there is a protocol mismatch.
42051
42052 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42053
42054 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42055 because the potential race is on the user-supplied stream.
42056
42057 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42058
42059 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42060 string literal if not passed a buffer.
42061 * manual/job.texi (ctermid): Update reasoning, note deviation
42062 from posix, suggest mtasurace when not passed a buffer, for
42063 future non-preliminary safety notes.
42064
42065 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42066
42067 * manual/users.texi (cuserid): Fix MT-Safety note for the case
42068 of not passing it a buffer.
42069 Reported by Peng Haitao.
42070
42071 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
42072
42073 * manual/Makefile ($(objpfx)stamp-summary): Require
42074 check-safety.sh to pass.
42075 * manual/check-safety.sh: Wish for verification that every
42076 @deftypefn and @deftypefun is followed by a @safety remark.
42077
42078 2014-11-20 Roland McGrath <roland@hack.frob.com>
42079
42080 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42081
42082 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42083 PTHREAD_CANCEL_ASYNCHRONOUS.
42084 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42085 send SIGCANCEL.
42086
42087 * nptl/default-sched.h: New file.
42088 * sysdeps/unix/sysv/linux/default-sched.h: New file.
42089 * nptl/pthread_create.c: Include it.
42090 (__pthread_create_2_1): Use collect_default_sched instead of making
42091 Linux syscalls here directly.
42092
42093 2014-11-20 Torvald Riegel <triegel@redhat.com>
42094
42095 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42096 __pthread_once): Use C11 atomics.
42097
42098 2014-11-20 Torvald Riegel <triegel@redhat.com>
42099
42100 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42101
42102 2014-11-20 Torvald Riegel <triegel@redhat.com>
42103
42104 * include/atomic.h (__atomic_link_error, __atomic_check_size,
42105 atomic_thread_fence_acquire, atomic_thread_fence_release,
42106 atomic_thread_fence_seq_cst, atomic_load_relaxed,
42107 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42108 atomic_compare_exchange_weak_relaxed,
42109 atomic_compare_exchange_weak_acquire,
42110 atomic_compare_exchange_weak_release,
42111 atomic_exchange_acquire, atomic_exchange_release,
42112 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42113 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42114 atomic_fetch_and_acquire,
42115 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42116
42117 2014-11-20 Torvald Riegel <triegel@redhat.com>
42118
42119 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42120 USE_ATOMIC_COMPILER_BUILTINS): Define.
42121 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42122 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42123 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42124 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42125 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42126 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42127 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42128 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42129 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42130 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42131 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42132 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42133 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42134 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42135 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42136 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42137 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42139 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42141 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42143 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42144 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42145 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42147 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42149 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42150 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42151 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42153 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42155 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42156 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42157 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42159 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42161
42162 2014-11-19 Roland McGrath <roland@hack.frob.com>
42163
42164 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42165 the sched_priority value here. It was already checked when the user
42166 called pthread_attr_setschedparam.
42167
42168 * nptl/tst-bad-schedattr.c: New file.
42169 * nptl/Makefile (tests): Add it.
42170
42171 2014-11-19 Carlos O'Donell <carlos@redhat.com>
42172 Florian Weimer <fweimer@redhat.com>
42173 Joseph Myers <joseph@codesourcery.com>
42174 Adam Conrad <adconrad@0c3.net>
42175 Andreas Schwab <schwab@suse.de>
42176 Brooks <bmoses@google.com>
42177
42178 [BZ #17625]
42179 * wordexp-test.c (__dso_handle): Add prototype.
42180 (__register_atfork): Likewise.
42181 (__app_register_atfork): New function.
42182 (registered_forks): New global.
42183 (register_fork): New function.
42184 (test_case): Add 3 new tests for WRDE_CMDSUB.
42185 (main): Call __app_register_atfork.
42186 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42187 fork count is non-zero fail the test.
42188 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42189 is set.
42190 (parse_dollars): Remove check for WRDE_NOCMD.
42191 (parse_dquote): Likewise.
42192
42193 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42194
42195 * Makeconfig (built-modules): List non-library modules to be
42196 built.
42197 (module-cppflags): Include libc-modules.h for
42198 everything except shlib-versions.v.i.
42199 (CPPFLAGS): Use it.
42200 (before-compile): Add libc-modules.h.
42201 ($(common-objpfx)libc-modules.h,
42202 $(common-objpfx)libc-modules.stmp): New targets.
42203 (common-generated): Add libc-modules.h and libc-modules.stmp.
42204 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42205 * include/libc-symbols.h: Don't include libc-modules.h.
42206 * include/libc-modules.h: Remove file.
42207 * scripts/gen-libc-modules.awk: New script to generate
42208 libc-modules.h.
42209 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42210 Depend on libc-modules.stmp.
42211
42212 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42213
42214 * Makeconfig (in-module): Get value of libof set for the
42215 translation unit.
42216 (CPPFLAGS): Use $(in-module).
42217 * Makerules: Don't suffix routine names for nonlib.
42218 * include/libc-modules.h: New file.
42219 * include/libc-symbols.h: Include libc-modules.h
42220 (IS_IN): New macro to replace IS_IN_* macros.
42221 * elf/Makefile: Set libof-* for each routine.
42222 * elf/rtld-Rules: Likewise.
42223 * extra-modules.mk: Likewise.
42224 * iconv/Makefile: Likewise.
42225 * iconvdata/Makefile: Likewise.
42226 * locale/Makefile: Likewise.
42227 * malloc/Makefile: Likewise.
42228 * nss/Makefile: Likewise.
42229 * sysdeps/gnu/Makefile: Likewise.
42230 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42231 * sysdeps/unix/sysv/linux/Makefile: Likewise.
42232 * sysdeps/s390/s390-64/Makefile: Likewise.
42233 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
42234 CPPFLAGS for nscd instead of nonlib.
42235
42236 2014-11-18 Roland McGrath <roland@hack.frob.com>
42237
42238 * nptl/createthread.c: New file.
42239
42240 * nptl/createthread.c: Moved ...
42241 * sysdeps/unix/sysv/linux/createthread.c: ... here.
42242
42243 * nptl/createthread.c: Add proper top-line comment.
42244 (do_clone): Folded into ...
42245 (create_thread): ... here. Take new arguments STOPPED_START and
42246 THREAD_RAN. Always set PD->stopped_start to something here. Don't
42247 increment __nptl_threads, do event-reporting logic, do
42248 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42249 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
42250 resource cleanup if sched_setaffinity or sched_setscheduler fails,
42251 just send SIGCANCEL.
42252 * nptl/pthread_create.c: Forward-declare create_thread before
42253 including createthread.c.
42254 (start_thread): Use new macro START_THREAD_DEFN to replace defining
42255 declaration, and new macro START_THREAD_SELF to replace argument.
42256 Remove return statement.
42257 (report_thread_creation): New function.
42258 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
42259 synchronization logic, and __nptl_nthreads increment here, around
42260 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
42261 PD->parent_cancelhandling here, before create_thread. When
42262 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42263 __deallocate_stack, and ENOMEM translation here.
42264
42265 2014-11-18 Joseph Myers <joseph@codesourcery.com>
42266
42267 [BZ #17616]
42268 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42269 (mptwo): Rename to __mptwo.
42270 (__inv): Use __mptwo instead of mptwo.
42271 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42272 (mptwo): Rename to __mptwo.
42273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42274 of mpone and __mptwo instead of mptwo.
42275 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42276 instead of mpone.
42277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42278 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42279 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42280 of mpone and __mptwo instead of mptwo.
42281 (__mpranred): Use __mpone instead of mpone.
42282 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42283 variable.
42284 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42285 (test-xfail-ISO99/math.h/linknamespace): Likewise.
42286 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42287 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42288 (test-xfail-ISO11/math.h/linknamespace): Likewise.
42289 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42290 (test-xfail-XPG3/math.h/linknamespace): Likewise.
42291 (test-xfail-XPG4/math.h/linknamespace): Likewise.
42292 (test-xfail-POSIX/math.h/linknamespace): Likewise.
42293 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42294 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42295 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42296 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42297 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42298 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42299 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42300 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42301 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42302 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42303
42304 2014-11-18 Tom de Vries <tom@codesoucery.com>
42305
42306 * manual/signal.texi (Primitives Interrupted by Signals): In section,
42307 replace BSD Handler xref with BSD Signal Handling.
42308
42309 2014-11-17 Richard Henderson <rth@redhat.com>
42310
42311 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42312 (_FP_PACK_RAW_2): Remove.
42313 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42314 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42315 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42316 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42317 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42318 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42319 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42320 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42321 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42322 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42323 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42324 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42325 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42326 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42327 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42328 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42329
42330 2014-11-14 Roland McGrath <roland@hack.frob.com>
42331
42332 * signal/signal.h [__USE_MISC]
42333 (struct sigvec): Remove type.
42334 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42335 (sigvec): Remove declaration.
42336 * sysdeps/posix/sigvec.c: Moved ...
42337 * signal/sigvec.c: ... here, replacing old file.
42338 (struct sigvec): New type, copied from old signal.h definition.
42339 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42340 (__sigvec): Convert definition to prototype.
42341 (sigvec): Replace weak_alias with compat_symbol.
42342 * signal/Versions (libc: GLIBC_2.21): New version set.
42343 * include/signal.h: Remove __sigvec declaration.
42344 * sysdeps/unix/bsd/sigvec.c: Remove file.
42345 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42346 * manual/signal.texi (BSD Handler): Remove subsection.
42347 Move siginterrupt up to ...
42348 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
42349 (Blocking in BSD): Fold subsection into its parent.
42350 * NEWS: Mention sigvec removal.
42351
42352 2014-11-14 Joseph Myers <joseph@codesourcery.com>
42353
42354 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42355 (DLA_FMS): Make definition conditional only on [__FMA4__].
42356 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42357 definition.
42358
42359 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42360 Make definition conditional only on [PROF].
42361 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42362 definition.
42363 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42364 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42365
42366 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42367 !__GNUC__].
42368 * include/signal.h (__sigpause): Move declaration above call to
42369 libc_hidden_proto.
42370 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42371 variable.
42372 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42373 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42374
42375 2014-11-14 David S. Miller <davem@davemloft.net>
42376
42377 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42378 Define before including <string/memcpy.c> and <string/mempcpy.c>.
42379
42380 2014-11-14 Joseph Myers <joseph@codesourcery.com>
42381
42382 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42383 * configure: Regenerated.
42384 * manual/install.texi (Tools for Compilation): Document a
42385 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42386 compiler verified to work.
42387 * INSTALL: Regenerated.
42388
42389 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42390 redeclare with asm name.
42391 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42392 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42393 including <string.h>.
42394 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42395 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42396 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42397 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42398 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42399 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42400 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42401
42402 2014-11-13 Joseph Myers <joseph@codesourcery.com>
42403
42404 * stdlib/strtol.c (__strtol): Use prototype definition.
42405
42406 [BZ #17594]
42407 * stdlib/strtol.c (SYM__): New macro.
42408 (SYM__1): Likewise.
42409 (__strtol): Likewise.
42410 (strtol): Rename to __strtol and define as weak alias of
42411 __strtol. Use libc_hidden_weak.
42412
42413 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42414
42415 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42416 Use numbered labels in inline assembly.
42417
42418 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42419
42420 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42421 Add setjmp LIBC_PROBE.
42422 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42423 Likewise.
42424 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42425 Add longjmp, longjmp_target LIBC_PROBE.
42426 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42427 Likewise.
42428
42429 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42430
42431 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42432 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42433 to get rid of unused variable warning.
42434
42435 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42436
42437 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42438 Check for unwind_backtrace == NULL only in SHARED case.
42439 (__backchain_backtrace): Compile only in SHARED case.
42440 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42441 Likewise.
42442 (__backchain_backtrace): Declare as static.
42443
42444 2014-11-12 Roland McGrath <roland@hack.frob.com>
42445
42446 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42447 (__libc_multiple_threads_ptr): Variable moved ...
42448 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42449
42450 2014-11-12 Joseph Myers <joseph@codesourcery.com>
42451
42452 * conform/GlibcConform.pm: New file.
42453 * conform/conformtest.pl: Use GlibcConform module.
42454 * conform/linknamespace.pl: New file.
42455 * conform/list-header-symbols.pl: Likewise.
42456 * conform/Makefile (linknamespace-symlists-base): New variable.
42457 (linknamespace-symlists-tests): Likewise.
42458 (linknamespace-header-base): Likewise.
42459 (linknamespace-header-tests): Likewise.
42460 (tests-special): Add new tests.
42461 ($(linknamespace-symlists-tests)): New rule.
42462 (linknamespace-libs): New variable.
42463 ($(objpfx)symlist-stdlibs): New rule.
42464 ($(linknamespace-header-tests)): Likewise.
42465 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42466 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42467 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42468 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42469 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42470 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42471 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42472 (test-xfail-ISO/math.h/linknamespace): Likewise.
42473 (test-xfail-ISO/signal.h/linknamespace): Likewise.
42474 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42475 (test-xfail-ISO/time.h/linknamespace): Likewise.
42476 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42477 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42478 (test-xfail-ISO99/math.h/linknamespace): Likewise.
42479 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42480 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42481 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42482 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42483 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42484 (test-xfail-ISO11/math.h/linknamespace): Likewise.
42485 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42486 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42487 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42488 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42489 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42490 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42491 (test-xfail-XPG3/math.h/linknamespace): Likewise.
42492 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42493 (test-xfail-XPG3/search.h/linknamespace): Likewise.
42494 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42495 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42496 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42497 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42498 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42499 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42500 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42501 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42502 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42503 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42504 (test-xfail-XPG4/math.h/linknamespace): Likewise.
42505 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42506 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42507 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42508 (test-xfail-XPG4/search.h/linknamespace): Likewise.
42509 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42510 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42511 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42512 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42513 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42514 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42515 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42516 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42517 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42518 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42519 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42520 (test-xfail-POSIX/math.h/linknamespace): Likewise.
42521 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42522 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42523 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42524 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42525 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42526 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42527 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42528 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42529 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42530 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42531 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42532 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42533 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42534 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42535 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42536 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42537 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42538 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42539 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42540 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42541 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42542 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42543 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42544 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42545 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42546 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42547 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42548 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42549 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42550 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42551 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42552 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42553 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42554 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42555 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42556 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42557 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42558 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42559 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42560 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42561 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42562 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42563 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42564 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42565 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42566 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42567 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42568 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42569 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42570 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42571 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42572 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42573 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42574 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42575 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42576 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42577 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42578 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42579 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42580 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42581 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42582 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42583 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42584 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42585 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42586 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42587 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42588 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42589 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42590 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42591 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42592 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42593 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42594 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42595 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42596 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42597 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42598 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42599 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42600 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42601 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42602 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42603 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42604 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42605 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42606 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42607 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42608 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42609 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42610 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42611 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42612 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42613 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42614 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42615 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42616 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42617 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42618 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42619 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42620 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42621 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42622 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42623 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42624 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42625 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42626
42627 [BZ #17589]
42628 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42629 of fgets_unlocked.
42630
42631 [BZ #17585]
42632 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42633 (memmem): Rename to __memmem and define as weak alias of
42634 __memmem. Use libc_hidden_weak.
42635 (__memmem): Use libc_hidden_def.
42636 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
42637 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42638 memmem.
42639
42640 [BZ #17582]
42641 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42642 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
42643 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42644 and define as weak alias of __fgets_unlocked. Use
42645 libc_hidden_weak.
42646 (__fgets_unlocked): Use libc_hidden_def.
42647 * include/stdio.h (__fgets_unlocked): Declare. Use
42648 libc_hidden_proto.
42649 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42650 __fgets_unlocked instead of fgets_unlocked.
42651 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42652 (GET_NPROCS_CONF_PARSER): Likewise.
42653 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42654 (GET_NPROCS_CONF_PARSER): Likewise.
42655
42656 [BZ #17574]
42657 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42658 weak alias of __wmemset. Use libc_hidden_weak.
42659 (__wmemset): Use libc_hidden_def.
42660 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
42661 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42662 of wmemset.
42663
42664 [BZ #17573]
42665 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42666 with asm name __mempcpy.
42667 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42668
42669 [BZ #17572]
42670 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42671 and define as weak alias of __rawmemchr.
42672 (__rawmemchr): Do not define as strong alias of rawmemchr.
42673
42674 [BZ #17571]
42675 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42676 alias of __qsort_r.
42677 (qsort): Call __qsort_r instead of qsort_r.
42678 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42679 (__qsort_r): Declare. Call libc_hidden_proto.
42680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42681 instead of qsort_r.
42682 * nscd/gai.c (__qsort_r): Define to qsort_r.
42683 * posix/tst-rfc3484.c (__qsort_r): Likewise.
42684 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42685 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42686
42687 [BZ #17570]
42688 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42689 define as weak alias of __malloc_info.
42690
42691 [BZ #17584]
42692 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42693 as weak alias of __rewinddir. Don't use libc_hidden_def.
42694 (__rewinddir): Use libc_hidden_def.
42695 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42696 as weak alias of __rewinddir. Don't use libc_hidden_def.
42697 (__rewinddir): Use libc_hidden_def.
42698 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42699 weak alias of __rewinddir. Don't use libc_hidden_def.
42700 (__rewinddir): Use libc_hidden_def.
42701 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42702 (__rewinddir): Use libc_hidden_proto.
42703 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42704 rewinddir.
42705 (__getcwd): Use __rewinddir instead of rewinddir.
42706
42707 [BZ #17583]
42708 * libio/fileno.c (fileno): Rename to __fileno and define as weak
42709 alias of __fileno. Use libc_hidden_weak.
42710 (__fileno): Use libc_hidden_def.
42711 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42712 * libio/ftello.c (ftello): Rename to __ftello and define as weak
42713 alias of __ftello.
42714 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42715 __ftello.
42716 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42717 (__fread_unlocked): Define as strong alias of _IO_fread. Use
42718 libc_hidden_def.
42719 (fread_unlocked): Don't use libc_hidden_ver.
42720 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
42721 and define as weak alias of __fread_unlocked. Don't use
42722 libc_hidden_def.
42723 (__fread_unlocked): Use libc_hidden_def.
42724 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
42725 (ftello): Don't use libc_hidden_proto.
42726 (__ftello): Declare. Use libc_hidden_proto.
42727 (fread_unlocked): Don't use libc_hidden_proto.
42728 (__fread_unlocked): Declare. Use libc_hidden_proto.
42729 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
42730 and __ftello instead of fileno, fread_unlocked and ftello.
42731
42732 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
42733
42734 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
42735 GOT12.
42736 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42737 Likewise.
42738 (_dl_start_user): Likewise.
42739 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
42740
42741 2014-11-12 Carlos O'Donell <carlos@redhat.com>
42742 Siddhesh Poyarekar <siddhesh@redhat.com>
42743
42744 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
42745 Move argv and envp down instead of moving argc up.
42746 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
42747
42748 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
42749
42750 [BZ #17506]
42751 * test-skeleton.c (main): Return successful if one of
42752 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
42753 * string/tst-strcoll-overflow.c: Define expected status.
42754
42755 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
42756
42757 [BZ #17475]
42758 * locale/iso-639.def: Define Bhili and Tulu language codes.
42759
42760 2014-11-11 Alan Hayward <alan.hayward@arm.com>
42761
42762 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
42763
42764 2014-11-10 Renlin Li <Renlin.Li@arm.com>
42765
42766 [BZ #17555]
42767 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
42768
42769 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
42770
42771 * configure.ac: Updated check of minimal required version to
42772 2.22.
42773 * manual/install.texi (Tools for Compilation): Updated version
42774 number.
42775 * configure: Regenerated.
42776 * INSTALL: Likewise.
42777
42778 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
42779
42780 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
42781 __tls_get_addr.
42782
42783 2014-11-07 Joseph Myers <joseph@codesourcery.com>
42784
42785 * include/sys/wait.h (__libc_waitpid): Remove declaration.
42786 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
42787 (__waitpid): Don't define as alias. Use libc_hidden_def not
42788 libc_hidden_weak.
42789 (waitpid): Define as alias of __waitpid.
42790 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
42791 __waitpid.
42792 (__waitpid): Don't define as alias. Use libc_hidden_def not
42793 libc_hidden_weak.
42794 (waitpid): Define as alias of __waitpid.
42795 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
42796 __libc_waitpid alias.
42797 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
42798 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
42799 Likewise.
42800 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
42801 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
42802 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
42803 alias.
42804 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
42805 __waitpid.
42806 (__waitpid): Don't define as alias. Use libc_hidden_def not
42807 libc_hidden_weak.
42808 (waitpid): Define as alias of __waitpid.
42809
42810 2014-11-06 Carlos O'Donell <carlos@redhat.com>
42811
42812 * manual/llio.texi: Add comment that write safety has been
42813 fixed in Linux.
42814
42815 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
42816 (localplt-build-dso): Add elf/ld.so.
42817 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
42818 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
42819 and free for ld.so.
42820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
42821 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
42822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
42823 Likewise.
42824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42825 Likewise.
42826 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
42827 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
42828 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
42829 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
42830 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
42831 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
42832 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
42833 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
42834 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
42835 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
42836 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
42837
42838 2014-11-05 Joseph Myers <joseph@codesourcery.com>
42839
42840 [BZ #14132]
42841 * include/libc-symbols.h (INTUSE): Remove macro.
42842 (INTDEF): Likewise.
42843 (INTVARDEF): Likewise.
42844 (_INTVARDEF): Likewise.
42845 (INTDEF2): Likewise.
42846 (INTVARDEF2): Likewise.
42847 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
42848 rtld_hidden_def instead of INTVARDEF.
42849 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
42850 (_dl_starting_up_internal): Remove declaration.
42851 (_dl_starting_up): Use rtld_hidden_proto.
42852 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
42853 declaration.
42854 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
42855 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
42856 _dl_starting_up.
42857 * elf/dl-writev.h (_dl_writev): Likewise.
42858 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
42859 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
42860 _dl_starting_up_internal.
42861
42862 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42863
42864 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
42865 test-skeleton.c.
42866
42867 2014-11-05 Will Newton <will.newton@linaro.org>
42868
42869 * benchtests/Makefile: (bench-malloc): Add malloc thread
42870 scalability benchmark.
42871 * benchtests/bench-malloc-threads.c: New file.
42872
42873 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
42874
42875 * sysdeps/aarch64/strchrnul.S: New file.
42876
42877 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42878
42879 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
42880 definition.
42881 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42882 Likewise.
42883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42884 Likewise.
42885 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42886 Likewise.
42887 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42888 Likewise.
42889 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42890 Likewise.
42891
42892 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
42893
42894 * catgets/test-gencat.c: Use test-skeleton.c.
42895 * catgets/tst-catgets.c: Likewise.
42896 * csu/tst-empty.c: Likewise.
42897 * elf/tst-audit2.c: Likewise.
42898 * elf/tst-global1.c: Likewise.
42899 * elf/tst-pathopt.c: Likewise.
42900 * elf/tst-piemod1.c: Likewise.
42901 * elf/tst-tls10.c: Likewise.
42902 * elf/tst-tls11.c: Likewise.
42903 * elf/tst-tls12.c: Likewise.
42904 * gnulib/tst-gcc.c: Likewise.
42905 * iconvdata/tst-e2big.c: Likewise.
42906 * iconvdata/tst-loading.c: Likewise.
42907 * iconv/tst-iconv1.c: Likewise.
42908 * iconv/tst-iconv2.c: Likewise.
42909 * inet/test-inet6_opt.c: Likewise.
42910 * inet/tst-gethnm.c: Likewise.
42911 * inet/tst-network.c: Likewise.
42912 * inet/tst-ntoa.c: Likewise.
42913 * intl/tst-codeset.c: Likewise.
42914 * intl/tst-gettext2.c: Likewise.
42915 * intl/tst-gettext3.c: Likewise.
42916 * intl/tst-ngettext.c: Likewise.
42917 * intl/tst-translit.c: Likewise.
42918 * io/test-stat.c: Likewise.
42919 * libio/test-fmemopen.c: Likewise.
42920 * libio/tst-freopen.c: Likewise.
42921 * libio/tst-sscanf.c: Likewise.
42922 * libio/tst-ungetwc1.c: Likewise.
42923 * libio/tst-ungetwc2.c: Likewise.
42924 * libio/tst-widetext.c: Likewise.
42925 * localedata/tst-ctype.c: Likewise.
42926 * localedata/tst-digits.c: Likewise.
42927 * localedata/tst-leaks.c: Likewise.
42928 * localedata/tst-mbswcs1.c: Likewise.
42929 * localedata/tst-mbswcs2.c: Likewise.
42930 * localedata/tst-mbswcs3.c: Likewise.
42931 * localedata/tst-mbswcs4.c: Likewise.
42932 * localedata/tst-mbswcs5.c: Likewise.
42933 * localedata/tst-setlocale.c: Likewise.
42934 * localedata/tst-trans.c: Likewise.
42935 * localedata/tst-wctype.c: Likewise.
42936 * localedata/tst-xlocale1.c: Likewise.
42937 * login/tst-grantpt.c: Likewise.
42938 * malloc/tst-calloc.c: Likewise.
42939 * malloc/tst-malloc.c: Likewise.
42940 * malloc/tst-mallocstate.c: Likewise.
42941 * malloc/tst-mcheck.c: Likewise.
42942 * malloc/tst-mtrace.c: Likewise.
42943 * malloc/tst-obstack.c: Likewise.
42944 * math/atest-exp2.c: Likewise.
42945 * math/atest-exp.c: Likewise.
42946 * math/atest-sincos.c: Likewise.
42947 * math/test-matherr.c: Likewise.
42948 * math/test-misc.c: Likewise.
42949 * math/test-powl.c: Likewise.
42950 * math/tst-definitions.c: Likewise.
42951 * misc/tst-dirname.c: Likewise.
42952 * misc/tst-efgcvt.c: Likewise.
42953 * misc/tst-fdset.c: Likewise.
42954 * misc/tst-hsearch.c: Likewise.
42955 * misc/tst-mntent2.c: Likewise.
42956 * nptl/tst-sem7.c: Likewise.
42957 * nptl/tst-sem8.c: Likewise.
42958 * nptl/tst-sem9.c: Likewise.
42959 * nss/test-netdb.c: Likewise.
42960 * posix/tst-fnmatch.c: Likewise.
42961 * posix/tst-getlogin.c: Likewise.
42962 * posix/tst-gnuglob.c: Likewise.
42963 * posix/tst-mmap.c: Likewise.
42964 * pwd/tst-getpw.c: Likewise.
42965 * resolv/tst-inet_ntop.c: Likewise.
42966 * rt/tst-timer.c: Likewise.
42967 * stdio-common/test-fseek.c: Likewise.
42968 * stdio-common/test-popen.c: Likewise.
42969 * stdio-common/test-vfprintf.c: Likewise.
42970 * stdio-common/tst-cookie.c: Likewise.
42971 * stdio-common/tst-fileno.c: Likewise.
42972 * stdio-common/tst-gets.c: Likewise.
42973 * stdio-common/tst-obprintf.c: Likewise.
42974 * stdio-common/tst-perror.c: Likewise.
42975 * stdio-common/tst-sprintf2.c: Likewise.
42976 * stdio-common/tst-sprintf3.c: Likewise.
42977 * stdio-common/tst-sprintf.c: Likewise.
42978 * stdio-common/tst-swprintf.c: Likewise.
42979 * stdio-common/tst-tmpnam.c: Likewise.
42980 * stdio-common/tst-unbputc.c: Likewise.
42981 * stdio-common/tst-wc-printf.c: Likewise.
42982 * stdlib/tst-environ.c: Likewise.
42983 * stdlib/tst-fmtmsg.c: Likewise.
42984 * stdlib/tst-limits.c: Likewise.
42985 * stdlib/tst-rand48-2.c: Likewise.
42986 * stdlib/tst-rand48.c: Likewise.
42987 * stdlib/tst-random2.c: Likewise.
42988 * stdlib/tst-random.c: Likewise.
42989 * stdlib/tst-strtol.c: Likewise.
42990 * stdlib/tst-strtoll.c: Likewise.
42991 * stdlib/tst-tls-atexit.c: Likewise.
42992 * stdlib/tst-xpg-basename.c: Likewise.
42993 * string/test-ffs.c: Likewise.
42994 * string/tst-bswap.c: Likewise.
42995 * string/tst-inlcall.c: Likewise.
42996 * string/tst-strtok.c: Likewise.
42997 * string/tst-strxfrm.c: Likewise.
42998 * sysdeps/x86_64/tst-audit10.c: Likewise.
42999 * sysdeps/x86_64/tst-audit3.c: Likewise.
43000 * sysdeps/x86_64/tst-audit4.c: Likewise.
43001 * sysdeps/x86_64/tst-audit5.c: Likewise.
43002 * time/tst-ftime_l.c: Likewise.
43003 * time/tst-getdate.c: Likewise.
43004 * time/tst-mktime3.c: Likewise.
43005 * time/tst-mktime.c: Likewise.
43006 * time/tst-posixtz.c: Likewise.
43007 * time/tst-strptime2.c: Likewise.
43008 * time/tst-strptime3.c: Likewise.
43009 * wcsmbs/tst-btowc.c: Likewise.
43010 * wcsmbs/tst-mbrtowc.c: Likewise.
43011 * wcsmbs/tst-mbsrtowcs.c: Likewise.
43012 * wcsmbs/tst-wchar-h.c: Likewise.
43013 * wcsmbs/tst-wcpncpy.c: Likewise.
43014 * wcsmbs/tst-wcrtomb.c: Likewise.
43015 * wcsmbs/tst-wcsnlen.c: Likewise.
43016 * wcsmbs/tst-wcstof.c: Likewise.
43017
43018 2014-11-04 Joseph Myers <joseph@codesourcery.com>
43019
43020 [BZ #14132]
43021 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43022 INTDEF.
43023 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43024 declaration.
43025 (_dl_mcount): Use rtld_hidden_proto.
43026 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43027 _dl_mcount.
43028 * elf/rtld.c (_rtld_global_ro): Likewise.
43029
43030 [BZ #14132]
43031 * elf/dl-init.c (_dl_init): Don't use INTDEF.
43032 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43033 of _dl_init_internal.
43034 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43035 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43036 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43037 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43038 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43039 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43040 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43041 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43042 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43043 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43044 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43045 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43046 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43047 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43048 * sysdeps/tile/dl-start.S (_start): Likewise.
43049 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43050 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43051
43052 [BZ #14132]
43053 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43054 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43055 (rtld_progname): Make macro definition unconditional.
43056 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43057 INTDEF.
43058 (dlmopen_doit): Do not use INTUSE with _dl_argv.
43059 (dl_main): Likewise.
43060 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43061 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43062 instead of _dl_argv_internal.
43063 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43064 __GI__dl_argv instead of INTUSE(_dl_argv).
43065 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43066 __GI__dl_argv instead of _dl_argv_internal.
43067
43068 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43069 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43070 macro.
43071 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43072 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43073 New macro.
43074 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43075 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43076 macro.
43077 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43078 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43079
43080 2014-11-04 Andreas Schwab <schwab@suse.de>
43081
43082 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43083
43084 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43085
43086 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43087 mtvsrd instruction in binary form.
43088
43089 2014-11-03 Andreas Schwab <schwab@suse.de>
43090
43091 [BZ #17522]
43092 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43093 for less than MB_LEN_MAX use a local buffer of that size.
43094 * libio/tst-fputws.c: New file.
43095 * libio/Makefile (tests): Add tst-fputws.
43096
43097 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
43098
43099 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43100 the size of the fpu_fr.fpu_dregs[] array.
43101
43102 2014-11-01 Joseph Myers <joseph@codesourcery.com>
43103
43104 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43105 (__nanosleep): Do not define as alias.
43106 (nanosleep): Define as alias of __nanosleep.
43107 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43108 __libc_nanosleep name.
43109
43110 2014-10-31 Joseph Myers <joseph@codesourcery.com>
43111
43112 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43113 install.texi in comment.
43114
43115 2014-10-31 Torvald Riegel <triegel@redhat.com>
43116
43117 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43118 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43119 ... add here and use lwsync or sync ...
43120 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43121 ... and add here using lwsync.
43122
43123 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
43124
43125 * elf/dl-machine-reject-phdr.h: New file.
43126 * elf/dl-load.c: #include that.
43127 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43128 if that returned true.
43129
43130 2014-10-31 Roland McGrath <roland@hack.frob.com>
43131
43132 [BZ #17496]
43133 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43134 gen-as-const-headers chunk. Add a big scare comment after the last
43135 safe place to touch before-compile.
43136
43137 2014-10-31 Joseph Myers <joseph@codesourcery.com>
43138
43139 * manual/install.texi (Tools for Compilation): Update autoconf
43140 version requirements.
43141 * INSTALL: Regenerated.
43142
43143 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43144 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43145 (__libc_pselect): Likewise.
43146
43147 [BZ #14138]
43148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43152
43153 2014-10-31 Torvald Riegel <triegel@redhat.com>
43154
43155 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43156 correct barrier instruction.
43157 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43158 Likewise.
43159 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43160 Likewise.
43161
43162 2014-10-30 Roland McGrath <roland@hack.frob.com>
43163
43164 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43165 after defining inlines. Instead, just use parens to defeat macro
43166 expansion of __isctype in its declaration.
43167
43168 2014-10-30 Joseph Myers <joseph@codesourcery.com>
43169
43170 * include/sys/uio.h (__libc_readv): Remove declaration.
43171 (__libc_writev): Likewise.
43172 * misc/readv.c (__libc_readv): Rename to __readv.
43173 (__readv): Do not define as alias.
43174 (readv): Define as alias of __readv.
43175 * misc/writev.c (__libc_writev): Rename to __writev.
43176 (__writev): Do not define as alias.
43177 (writev): Define as alias of __writev.
43178 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43179 (__readv): Do not define as alias.
43180 (readv): Define unconditionally as alias of __readv.
43181 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43182 (__writev): Do not define as alias.
43183 (writev): Define unconditionally as alias of __writev.
43184 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43185 name.
43186 (writev): Do not define __libc_writev name.
43187
43188 2014-10-30 Roland McGrath <roland@hack.frob.com>
43189
43190 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43191 (convert_charseq): New function, broken out of ...
43192 (use_from_charmap): ... here. Call it.
43193 (use_to_charmap): Use convert_charseq and free instead of duplicating
43194 its code with a variable-length stack struct.
43195
43196 2014-10-30 Joseph Myers <joseph@codesourcery.com>
43197
43198 * include/fcntl.h (__libc_creat): Remove declaration.
43199 * io/creat.c (__libc_creat): Rename to creat.
43200 (creat): Do not define as alias.
43201 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43202 of creat instead of __libc_creat.
43203 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43204 to creat.
43205 (creat): Do not define as alias.
43206 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43207 __libc_creat.
43208 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43209 __libc_creat name.
43210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43211 Likewise.
43212
43213 2014-10-29 Carlos O'Donell <carlos@redhat.com>
43214
43215 * manual/llio.texi: Add comments discussing why write() may be
43216 considered MT-unsafe on Linux.
43217
43218 2014-10-28 Carlos O'Donell <carlos@redhat.com>
43219
43220 * dl-load.c (local_strdup): Remove.
43221 (expand_dynamic_string_token): Use __strdup.
43222 (decompose_rpath): Likewise.
43223 (_dl_map_object): Likewise.
43224
43225 2014-10-28 Joseph Myers <joseph@codesourcery.com>
43226
43227 [BZ #14132]
43228 * sysdeps/generic/unwind-dw2-fde.c
43229 (__register_frame_info_bases_internal): Do not declare.
43230 (__register_frame_info_table_bases_internal): Likewise.
43231 (__deregister_frame_info_bases_internal): Likewise.
43232 (__register_frame_info_bases): Declare and use hidden_proto before
43233 definition. Use hidden_def instead of INTDEF.
43234 (__register_frame_info_table_bases): Likewise.
43235 (__deregister_frame_info_bases): Likewise.
43236 (__register_frame_info): Do not use INTUSE.
43237 (__register_frame): Likewise.
43238 (__register_frame_info_table): Likewise.
43239 (__register_frame_table): Likewise.
43240 (__deregister_frame_info): Likewise.
43241 (__deregister_frame): Likewise.
43242
43243 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
43244
43245 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43246 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43247 not undefine.
43248 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43249 Likewise.
43250 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43251 Likewise.
43252
43253 2014-10-27 Joseph Myers <joseph@codesourcery.com>
43254
43255 [BZ #14138]
43256 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43257 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43258 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43259 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43260 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43261 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43262 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43263 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43264 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43265 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43266 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43267 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43268 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43269 syscall.
43270 (setfsuid): Likewise.
43271 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43272 (setfsuid): Likewise.
43273 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43274 (setfsuid): Likewise.
43275 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43276 Likewise.
43277 (setfsuid): Likewise.
43278 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43279 (setfsuid): Likewise.
43280 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43281 Likewise.
43282 (setfsuid): Likewise.
43283
43284 2014-10-27 Andreas Schwab <schwab@suse.de>
43285
43286 [BZ #17501]
43287 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43288 check for Slow_SSE4_2 feature bit.
43289 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43290 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43291 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43292 Likewise. Fix check for Fast_Unaligned_Load feature bit.
43293
43294 2014-10-24 Roland McGrath <roland@hack.frob.com>
43295
43296 * configure.ac: Validate compiler version with a empirical test of
43297 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43298 $CC -v output.
43299 * configure: Regenerated.
43300
43301 * inet/htons.c (htons): Prototypify.
43302 * inet/htonl.c (htonl): Likewise.
43303
43304 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43305
43306 * string/strncat.c (strncat): Improve performance by using strlen.
43307
43308 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43309
43310 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43311
43312 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43313
43314 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43315 Call libc_fetestexcept_aarch64.
43316
43317 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43318
43319 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43320 Call libc_feholdexcept_aarch64.
43321
43322 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43323
43324 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43325 Call get_rounding_mode.
43326
43327 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43328
43329 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43330 Simplify logic.
43331
43332 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
43333
43334 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43335 Simplify logic.
43336
43337 2014-10-24 Joseph Myers <joseph@codesourcery.com>
43338
43339 [BZ #14138]
43340 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43341 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43342 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43343 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43344 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43345 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43346 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43347 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43348 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43349 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43350 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43351 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43352 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43353 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43354 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43355 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43356 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43357 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43358 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43359 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43360 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43361 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43362 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43363 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43364 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43365 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43366 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43367 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43368 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43369 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43370 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43371 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43372 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43373 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43374 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43375 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43376 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43377 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43378 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43379 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43380 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43381 syscall.
43382 (geteuid): Likewise.
43383 (getgid): Likewise.
43384 (getuid): Likewise.
43385 (getresgid): Likewise.
43386 (getresuid): Likewise.
43387 (getgroups): Likewise.
43388 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43389 (geteuid): Likewise.
43390 (getgid): Likewise.
43391 (getuid): Likewise.
43392 (getresgid): Likewise.
43393 (getresuid): Likewise.
43394 (getgroups): Likewise.
43395 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43396 (geteuid): Likewise.
43397 (getgid): Likewise.
43398 (getuid): Likewise.
43399 (getresgid): Likewise.
43400 (getresuid): Likewise.
43401 (getgroups): Likewise.
43402 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43403 Likewise.
43404 (geteuid): Likewise.
43405 (getgid): Likewise.
43406 (getuid): Likewise.
43407 (getresgid): Likewise.
43408 (getresuid): Likewise.
43409 (getgroups): Likewise.
43410 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43411 (geteuid): Likewise.
43412 (getgid): Likewise.
43413 (getuid): Likewise.
43414 (getresgid): Likewise.
43415 (getresuid): Likewise.
43416 (getgroups): Likewise.
43417 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43418 Likewise.
43419 (geteuid): Likewise.
43420 (getgid): Likewise.
43421 (getuid): Likewise.
43422 (getgroups): Likewise.
43423
43424 [BZ #14138]
43425 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43426 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43427 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43428 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43429 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43430 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43431 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43432 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43433 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43434 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43435 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43436 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43437 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43438 __chown.
43439 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43440 (lchown): Likewise.
43441 (fchown): Likewise.
43442 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43443 Likewise.
43444 (lchown): Likewise.
43445 (fchown): Likewise.
43446 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43447 (lchown): Likewise.
43448 (fchown): Likewise.
43449 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43450 Likewise.
43451 (lchown): Likewise.
43452 (fchown): Likewise.
43453
43454 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
43455
43456 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43457 Simplify logic.
43458
43459 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
43460
43461 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43462 Cleanup logic.
43463
43464 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
43465
43466 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43467 Remove unused include.
43468
43469 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
43470
43471 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43472 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43473 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43474 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43475
43476 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
43477 Helge Deller <deller@gmx.de>
43478
43479 [BZ #17508]
43480 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43481 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43482 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43483
43484 2014-10-23 Joseph Myers <joseph@codesourcery.com>
43485
43486 [BZ #14132]
43487 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43488 Remove macro definition.
43489 (__ashrdi3_v_glibc20): Likewise.
43490 (__lshrdi3_v_glibc20): Likewise.
43491 (__cmpdi2_v_glibc20): Likewise.
43492 (__ucmpdi2_v_glibc20): Likewise.
43493 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43494 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43495 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43496 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43497 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43498 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43499
43500 2014-10-22 Roland McGrath <roland@hack.frob.com>
43501
43502 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43503 old GNU extension [0] syntax.
43504 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43505 alloca rather than an array member with variable length.
43506 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43507 * nscd/nscd.c (invalidate_db): New function, broken out of ...
43508 (parse_opt): ... here. Likewise use alloca there.
43509 Validate the -i argument before checking for rootness.
43510 (send_shutdown): New function, broken out of ...
43511 (parse_opt): ... here.
43512
43513 2014-10-22 Roland McGrath <roland@hack.frob.com>
43514
43515 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43516 macro to get at the _rt_local_ro field.
43517 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43518 ([PIC] case) or _dl_hwcap ([!PIC] case).
43519 * sysdeps/arm/setjmp.S: Likewise.
43520
43521 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43522 * sysdeps/arm/configure.ac: New check to define it.
43523 * sysdeps/arm/configure: Regenerated.
43524 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43525 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43526 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43527 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43528 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43529 Use move/movt pair instead of a load.
43530 (LDST_GLOBAL): Macro removed.
43531 (LDR_GLOBAL): New macro replaces it.
43532 (LDR_HIDDEN): New macro.
43533 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43534 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43535
43536 * setjmp/tst-setjmp-static.c: New file.
43537 * setjmp/Makefile (tests): Add it.
43538 (tests-static): New variable.
43539
43540 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
43541
43542 [BZ #17485]
43543 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43544
43545 2014-10-21 Joseph Myers <joseph@codesourcery.com>
43546
43547 [BZ #14132]
43548 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43549
43550 2014-10-21 Roland McGrath <roland@hack.frob.com>
43551
43552 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43553
43554 2014-10-20 Roland McGrath <roland@hack.frob.com>
43555
43556 * io/fts.c (dirent_not_directory): New function.
43557 (fts_build): Call it.
43558
43559 2014-10-20 Roland McGrath <roland@hack.frob.com>
43560
43561 * nptl/version.c (__nptl_main): Use normal __write rather than
43562 INTERNAL_SYSCALL.
43563 (banner): Update copyright years.
43564
43565 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43566 gettimeofday.
43567 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43568 * nptl/pthread_cond_timedwait.c: Likewise.
43569 * nptl/pthread_mutex_timedlock.c: Likewise.
43570 * nptl/sem_timedwait.c: Likewise.
43571
43572 * sysdeps/nptl/bits/libc-lock.h
43573 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43574 (__libc_lock_init_recursive): Return void, not 0.
43575 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43576 (__libc_rwlock_init): Likewise.
43577 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43578
43579 2014-10-20 Torvald Riegel <triegel@redhat.com>
43580
43581 [BZ #15215]
43582 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43583 (__pthread_once_slow): ... here.
43584 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43585 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43586
43587 2014-10-20 Torvald Riegel <triegel@redhat.com>
43588
43589 [BZ #15215]
43590 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43591 __PTHREAD_ONCE_FORK_GEN_INCR): New.
43592 * sysdeps/nptl/fork.c (__libc_fork): Use them.
43593 * nptl/pthread_once.c (__pthread_once): Likewise.
43594 Update comments.
43595
43596 2014-10-20 Joseph Myers <joseph@codesourcery.com>
43597
43598 [BZ #14138]
43599 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43600 name.
43601 (writev): Use __libc_writev as strong name.
43602 * sysdeps/unix/sysv/linux/readv.c: Remove file.
43603 * sysdeps/unix/sysv/linux/writev.c: Likewise.
43604
43605 2014-10-17 Roland McGrath <roland@hack.frob.com>
43606
43607 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43608
43609 * sysdeps/i386/nptl/tls.h
43610 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43611 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43612 New macros.
43613 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43614 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43615 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43616 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43617 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43618 Call CHECK_THREAD_SYSINFO instead of doing an assert.
43619
43620 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43621 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43622 on [__NR_futex].
43623 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43624 broken out of ...
43625 (__pthread_mutex_init): ... here. Call it.
43626 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43627 Conditionalize PI cases on [__NR_futex].
43628 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43629 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43630 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43631
43632 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43633 conditional on [SIGSETXID].
43634 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43635 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43636 is defined. Likewise for SIGSETXID.
43637 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43638 Conditionalize definitions on [SIGSETXID].
43639 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43640 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43641 unblocking on [SIGCANCEL].
43642
43643 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43644 [__NR_set_robust_list].
43645
43646 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43647
43648 * string/strcoll_l.c (get_next_seq): Fix up formatting.
43649 (do_compare): Likewise.
43650
43651 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
43652
43653 [BZ #15884]
43654 * string/strcoll_l.c: Don't include stdio.h.
43655 (coll_seq): Remove members idxarr and rulearr.
43656 (get_next_seq_cached): Remove function.
43657 (get_next_seq): Likewise.
43658 (get_next_seq_nocache): Rename to get_next_seq.
43659 (do_compare): Remove function.
43660 (do_compare_nocache): Rename to do_compare.
43661 (STRCOLL): Remove weight and rules cache.
43662
43663 2014-10-16 Roland McGrath <roland@hack.frob.com>
43664
43665 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43666 * sysdeps/arm/sfp-machine.h: ... to here.
43667 * sysdeps/arm/Implies: Remove arm/soft-fp.
43668
43669 2014-10-14 Joseph Myers <joseph@codesourcery.com>
43670
43671 * conform/data/sys/utsname.h-data (*_t): Allow.
43672 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43673 [POSIX] (WEXITED): Do not expect constant.
43674 [POSIX] (WSTOPPED): Likewise.
43675 [POSIX] (WNOHANG): Likewise.
43676 [POSIX] (WNOWAIT): Likewise.
43677 [POSIX] (siginfo_t): Do not expect type or elements.
43678 [POSIX] (pid_t): Do not expect type.
43679 [POSIX] (signal.h): Do not allow header.
43680 [POSIX] (sys/resource.h): Likewise.
43681 [POSIX] (si_*): Do not allow pattern.
43682 [POSIX] (W*): Likewise.
43683 [POSIX] (P_*): Likewise.
43684 [POSIX] (BUS_*): Likewise.
43685 [POSIX] (CLD_*): Likewise.
43686 [POSIX] (FPE_*): Likewise.
43687 [POSIX] (ILL_*): Likewise.
43688 [POSIX] (POLL_*): Likewise.
43689 [POSIX] (SEGV_*): Likewise.
43690 [POSIX] (SI_*): Likewise.
43691 [POSIX] (TRAP_*): Likewise.
43692 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43693 variable.
43694
43695 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
43696
43697 [BZ #12926]
43698 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43699 infinite loop when __recvmsg returns 0.
43700
43701 2014-10-10 Joseph Myers <joseph@codesourcery.com>
43702
43703 * CANCEL-FCT-WAIVE: Remove file.
43704 * CANCEL-FILE-WAIVE: Likewise.
43705
43706 [BZ #14132]
43707 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43708 instead of INTVARDEF.
43709 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43710 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43711 rtld_hidden_data_def instead of INTVARDEF.
43712 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43713 * elf/dl-deps.c (expand_dst): Likewise.
43714 * elf/dl-load.c (_dl_dst_count): Likewise.
43715 (_dl_dst_substitute): Likewise.
43716 (decompose_rpath): Likewise.
43717 (_dl_init_paths): Likewise.
43718 (open_path): Likewise.
43719 (_dl_map_object): Likewise.
43720 * elf/rtld.c (dl_main): Likewise.
43721 (process_dl_audit): Likewise.
43722 (process_envvars): Likewise.
43723 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
43724 Remove declaration.
43725 (__libc_enable_secure): Use rtld_hidden_proto.
43726
43727 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
43728
43729 * elf/dl-load.c
43730 (add_path): New function broken out of _dl_rtld_di_serinfo.
43731 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
43732
43733 2014-10-09 Joseph Myers <joseph@codesourcery.com>
43734
43735 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
43736 parentheses around macro arguments.
43737 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
43738 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
43739 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
43740 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
43741 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
43742 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43743 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43744 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
43745 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
43746 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
43747 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
43748 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
43749 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
43750 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
43751 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
43752 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
43753 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
43754 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
43755 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
43756 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
43757 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
43758 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
43759 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
43760 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43761 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43762 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
43763 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
43764 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
43765 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
43766 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
43767 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
43768 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
43769 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
43770 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
43771 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
43772 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
43773 Likewise.
43774 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
43775 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43776 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43777 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
43778 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
43779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
43780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
43781 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
43782 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
43783 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
43784 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
43785 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
43786 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
43787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
43788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
43789 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43790 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43791 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
43792 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
43793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
43794 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
43795 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
43796 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
43797 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
43798 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
43799 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
43800 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
43801 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
43802 (_FP_FRAC_SRS_1): Likewise.
43803 (_FP_FRAC_CLZ_1): Likewise.
43804 (_FP_MUL_MEAT_1_imm): Likewise.
43805 (_FP_MUL_MEAT_1_wide): Likewise.
43806 (_FP_MUL_MEAT_1_hard): Likewise.
43807 (_FP_SQRT_MEAT_1): Likewise.
43808 (_FP_FRAC_ASSEMBLE_1): Likewise.
43809 (_FP_FRAC_DISASSEMBLE_1): Likewise.
43810 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
43811 (__FP_CLZ_2): Likewise.
43812 (_FP_MUL_MEAT_2_wide): Likewise.
43813 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43814 (_FP_MUL_MEAT_2_gmp): Likewise.
43815 (_FP_MUL_MEAT_2_120_240_double): Likewise.
43816 (_FP_SQRT_MEAT_2): Likewise.
43817 (_FP_FRAC_ASSEMBLE_2): Likewise.
43818 (_FP_FRAC_DISASSEMBLE_2): Likewise.
43819 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
43820 (_FP_FRAC_CLZ_4): Likewise.
43821 (_FP_MUL_MEAT_4_wide): Likewise.
43822 (_FP_MUL_MEAT_4_gmp): Likewise.
43823 (_FP_SQRT_MEAT_4): Likewise.
43824 (_FP_FRAC_ASSEMBLE_4): Likewise.
43825 (_FP_FRAC_DISASSEMBLE_4): Likewise.
43826 * soft-fp/op-common.h (_FP_CMP): Likewise.
43827 (_FP_CMP_EQ): Likewise.
43828 (_FP_CMP_UNORD): Likewise.
43829 (_FP_TO_INT): Likewise.
43830 (_FP_FROM_INT): Likewise.
43831 [!__FP_CLZ] (__FP_CLZ): Likewise.
43832 (_FP_DIV_HELP_imm): Likewise.
43833 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
43834 Likewise.
43835 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
43836 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
43837 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
43838 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
43839 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
43840 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43842 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
43843 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
43844 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
43845 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
43846 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
43847 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
43848 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
43849 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
43850 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
43851 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
43852 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
43853 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
43854 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
43855 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
43856 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
43857 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
43858 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43859 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43860 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
43861 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
43862 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
43863 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
43864 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
43865 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
43866 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
43867 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
43868 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
43869 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
43870 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
43871 (FP_UNPACK_RAW_SP): Likewise.
43872 (FP_PACK_RAW_S): Likewise.
43873 (FP_PACK_RAW_SP): Likewise.
43874 (FP_UNPACK_S): Likewise.
43875 (FP_UNPACK_SP): Likewise.
43876 (FP_UNPACK_SEMIRAW_S): Likewise.
43877 (FP_UNPACK_SEMIRAW_SP): Likewise.
43878 (FP_PACK_S): Likewise.
43879 (FP_PACK_SP): Likewise.
43880 (FP_PACK_SEMIRAW_S): Likewise.
43881 (FP_PACK_SEMIRAW_SP): Likewise.
43882 (_FP_SQRT_MEAT_S): Likewise.
43883 (FP_CMP_S): Likewise.
43884 (FP_CMP_EQ_S): Likewise.
43885 (FP_CMP_UNORD_S): Likewise.
43886 (FP_TO_INT_S): Likewise.
43887 (FP_FROM_INT_S): Likewise.
43888
43889 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
43890
43891 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
43892 (FP_EX_INVALID_IMZ): Likewise.
43893 (FP_EX_INVALID_IMZ_FMA): Likewise.
43894 (FP_EX_INVALID_ISI): Likewise.
43895 (FP_EX_INVALID_ZDZ): Likewise.
43896 (FP_EX_INVALID_IDI): Likewise.
43897 (FP_EX_INVALID_SQRT): Likewise.
43898 (FP_EX_INVALID_CVI): Likewise.
43899 (FP_EX_INVALID_VC): Likewise.
43900 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
43901 "invalid" exceptions.
43902 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
43903 (_FP_ADD_INTERNAL): Likewise.
43904 (_FP_MUL): Likewise.
43905 (_FP_FMA): Likewise.
43906 (_FP_DIV): Likewise.
43907 (_FP_CMP_CHECK_NAN): Likewise.
43908 (_FP_SQRT): Likewise.
43909 (_FP_TO_INT): Likewise.
43910 (FP_EXTEND): Likewise.
43911
43912 2014-10-09 Allan McRae <allan@archlinux.org>
43913
43914 * po/fr.po: Update French translation from translation project.
43915
43916 2014-10-09 Joseph Myers <joseph@codesourcery.com>
43917
43918 [BZ #14132]
43919 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
43920 of INTDEF.
43921 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
43922 (__cxa_atexit): Use libc_hidden_proto.
43923 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
43924
43925 [BZ #14132]
43926 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
43927 declaration.
43928 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
43929 [!_ISOMAC] (__iswspace_l_internal): Likewise.
43930 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
43931 [!_ISOMAC] (__iswctype_internal): Likewise.
43932 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
43933 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
43934 alias.
43935 (fcntl): Remove __fcntl_internal alias.
43936 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
43937 __connect_internal alias.
43938 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
43939 Likewise.
43940
43941 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
43942 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
43943 FP_DENORM_ZERO.
43944 (_FP_CHECK_FLUSH_ZERO): New macro.
43945 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
43946 (_FP_CMP): Likewise.
43947 (_FP_CMP_EQ): Likewise.
43948 (_FP_TO_INT): Do not set inexact for subnormal arguments if
43949 FP_DENORM_ZERO.
43950 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
43951 (FP_TRUNC): Likewise.
43952
43953 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
43954 treated as invalid conversion, not as normal exponent.
43955
43956 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
43957 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
43958 (_FP_CMP_EQ): Likewise.
43959 (_FP_CMP_UNORD): Likewise.
43960 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
43961 (FP_CMP_EQ_D): Likewise.
43962 (FP_CMP_UNORD_D): Likewise.
43963 * soft-fp/extended.h (FP_CMP_E): Likewise.
43964 (FP_CMP_EQ_E): Likewise.
43965 (FP_CMP_UNORD_E): Likewise.
43966 * soft-fp/quad.h (FP_CMP_Q): Likewise.
43967 (FP_CMP_EQ_Q): Likewise.
43968 (FP_CMP_UNORD_Q): Likewise.
43969 * soft-fp/single.h (FP_CMP_S): Likewise.
43970 (FP_CMP_EQ_S): Likewise.
43971 (FP_CMP_UNORD_S): Likewise.
43972 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
43973 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
43974 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
43975 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
43976 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
43977 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
43978 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
43979 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
43980 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
43981 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
43982 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
43983 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
43984 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
43985 to FP_CMP_Q.
43986 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
43987 FP_CMP_Q.
43988 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
43989 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
43990 FP_CMP_EQ_Q.
43991 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
43992 FP_CMP_Q.
43993 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
43994 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
43995 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
43996 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
43997 FP_CMP_EQ_Q.
43998 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
43999 FP_CMP_Q.
44000 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44001 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44002 FP_CMP_EQ_Q.
44003 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44004 FP_CMP_Q.
44005 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44006 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44007 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44008 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44009 FP_CMP_EQ_Q.
44010
44011 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44012 a subnormal result, set the underflow exception if trapping on
44013 underflow is enabled.
44014 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44015 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44016 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44017 redefine to 0.
44018 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44019 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44020 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44021 * soft-fp/extendxftf2.c (__extendxftf2): Use
44022 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44023
44024 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44025 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44026 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44027 FP_HANDLE_EXCEPTIONS.
44028 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44029 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44030 FP_HANDLE_EXCEPTIONS.
44031 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44032 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44033 FP_HANDLE_EXCEPTIONS.
44034 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44035 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44036 FP_HANDLE_EXCEPTIONS.
44037
44038 2014-10-08 Joseph Myers <joseph@codesourcery.com>
44039
44040 [BZ #14132]
44041 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44042 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44043 use INTUSE.
44044 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44045 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44046 Remove alias.
44047 (__adjtimex): Define using libc_hidden_ver.
44048 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44049 Remove declaration.
44050 (ntp_gettime): Call __adjtimex directly.
44051 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44052 Remove declaration.
44053 (ntp_gettimex): Call __adjtimex directly.
44054 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44055 __adjtimex_internal alias.
44056
44057 2014-10-08 Roland McGrath <roland@hack.frob.com>
44058
44059 [BZ #17460]
44060 * nscd/nscd.c (more_help): Rewrite list of tables collection
44061 using xstrdup and asprintf.
44062
44063 * nscd/nscd_conf.c: Remove local xstrdup declaration.
44064
44065 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44066 Roland McGrath <roland@hack.frob.com>
44067
44068 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44069 (do_lookup_unique): ... local function 'enter' here; update callers.
44070
44071 2014-10-06 Joseph Myers <joseph@codesourcery.com>
44072
44073 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44074 compat_symbol calls on [SHARED].
44075 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44076 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44077 Remove.
44078 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44079 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44080 (oldsetrlimit): Remove.
44081 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44083 (lchown): New syscall entry.
44084 (oldsetrlimit): Remove.
44085 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44086 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44087 (oldsetrlimit): Remove.
44088 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44089
44090 [BZ #14138]
44091 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44092 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44093 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44094 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44095 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44096 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44097 (fchown): Likewise.
44098 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44099 (fchown): Likewise.
44100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44101 Likewise.
44102
44103 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44104
44105 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44106 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44107 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44108 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44109 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44110 Likewise.
44111 (__old_sem_post): Likewise.
44112
44113 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
44114
44115 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44116 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44117 HAVE_CLOCK_GETTIME_VSYSCALL macros.
44118 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44119 Use INLINE_VSYSCALL macro.
44120 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44121 __vdso_clock_gettime.
44122 * sysdeps/unix/sysv/linux/tile/init-first.c
44123 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44124 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44125 __vdso_clock_gettime.
44126
44127 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44128 to set up frame more cleanly.
44129
44130 * sysdeps/tile/memcmp.c: New file.
44131
44132 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44133
44134 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44135 * sysdeps/tile/tilegx/strcasestr.c: New file.
44136 * sysdeps/tile/tilegx/strnlen.c: New file.
44137 * sysdeps/tile/tilegx/strstr.c: New file.
44138
44139 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44140
44141 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
44142
44143 * nptl/tst-setuid3.c: Write errors to stdout.
44144
44145 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44146
44147 * elf/dl-deps.c
44148 (preload): New functions broken out of _dl_map_object_deps.
44149 (_dl_map_object_deps): Remove a nested function. Update call sites.
44150
44151 2014-10-01 Joseph Myers <joseph@codesourcery.com>
44152
44153 [BZ #14138]
44154 * sysdeps/unix/sysv/linux/execve.c: Remove file.
44155 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44156
44157 2014-10-01 Steve Ellcey <sellcey@mips.com>
44158
44159 * sysdeps/mips/strcmp.S: New.
44160
44161 2014-09-30 Joseph Myers <joseph@codesourcery.com>
44162
44163 [BZ #14138]
44164 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44165 (linkat): Likewise.
44166 (mkdirat): Likewise.
44167 (readlinkat): Likewise.
44168 (renameat): Likewise.
44169 (symlinkat): Likewise.
44170 (unlinkat): Likewise.
44171 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44172 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44173 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44174 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44175 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44176 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44177 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44178
44179 2014-09-30 Will Newton <will.newton@linaro.org>
44180
44181 * math/math.h: Define long double math functions if
44182 _LIBC_TEST is defined.
44183 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44184
44185 * localedata/Makefile: Move assignment to tests-special
44186 into an ifdef testing run-built-tests.
44187 * timezone/Makefile: Likewise.
44188
44189 2014-09-29 Joseph Myers <joseph@codesourcery.com>
44190
44191 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44192 with $(BASH) not $(SHELL).
44193
44194 2014-09-29 Carlos O'Donell <carlos@redhat.com>
44195 Matthew LeGendre <legendre1@llnl.gov>
44196
44197 [BZ #17411]
44198 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44199 l_reloc_result.
44200
44201 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44202
44203 * stdio-common/printf_fp.c
44204 (hack_digit): New function, broken out of ...
44205 (__printf_fp): ... local function here. Update call sites.
44206 hack_digit now takes an additional parameter that is a pointer
44207 to a struct of the referenced locals. Those locals moved inside
44208 the struct and references updated.
44209
44210 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
44211
44212 * aclocal.m4: Require autoconf 2.69.
44213 * configure: Regenerated.
44214 * sysdeps/aarch64/configure: Likewise.
44215 * sysdeps/alpha/configure: Likewise.
44216 * sysdeps/arm/armv7/configure: Likewise.
44217 * sysdeps/arm/configure: Likewise.
44218 * sysdeps/ia64/configure: Likewise.
44219 * sysdeps/mach/configure: Likewise.
44220 * sysdeps/mips/configure: Likewise.
44221 * sysdeps/s390/configure: Likewise.
44222 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44224
44225 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44226 file.
44227 * sysdeps/ia64/configure.ac: Likewise.
44228
44229 2014-09-26 Joseph Myers <joseph@codesourcery.com>
44230
44231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44232 specify symbol version for ld.so. Do not include entry for
44233 libpthread.
44234 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44235 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44236 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44237
44238 [BZ #14171]
44239 * Makeconfig [$(build-shared) = yes]
44240 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44241 makefiles.
44242 [$(build-shared) = yes && $(soversions.mk-done) = t]
44243 ($(common-objpfx)gnu/lib-names.h): Remove rule.
44244 [$(build-shared) = yes && $(soversions.mk-done) = t]
44245 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
44246 to Makerules.
44247 [$(build-shared) = yes && $(soversions.mk-done) = t]
44248 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44249 here.
44250 [$(build-shared) = yes && $(soversions.mk-done) = t]
44251 (common-generated): Don't append gnu/lib-names.h and
44252 gnu/lib-names.stmp here.
44253 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44254 (lib-names-h-abi): New variable.
44255 [$(build-shared) = yes && $(soversions.mk-done) = t]
44256 (lib-names-stmp-abi): Likewise.
44257 [$(build-shared) = yes && $(soversions.mk-done) = t &&
44258 abi-variants] (before-compile): Append
44259 $(common-objpfx)$(lib-names-h-abi).
44260 [$(build-shared) = yes && $(soversions.mk-done) = t &&
44261 abi-variants] (common-generated): Append gnu/lib-names.h.
44262 [$(build-shared) = yes && $(soversions.mk-done) = t &&
44263 abi-variants] (install-others-nosubdir): Depend on
44264 $(inst_includedir)/$(lib-names-h-abi).
44265 [$(build-shared) = yes && $(soversions.mk-done) = t &&
44266 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44267 [$(build-shared) = yes && $(soversions.mk-done) = t]
44268 ($(common-objpfx)$(lib-names-h-abi)): New rule.
44269 [$(build-shared) = yes && $(soversions.mk-done) = t]
44270 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44271 [$(build-shared) = yes && $(soversions.mk-done) = t]
44272 (common-generated): Append $(lib-names-h-abi) and
44273 $(lib-names-stmp-abi).
44274 * scripts/lib-names.awk: Do not handle multi being set.
44275 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44276 Remove variable.
44277 (abi-lp64_be-ld-soname): Likewise.
44278 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44279 Likewise.
44280 (abi-hard-ld-soname): Likewise.
44281 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44282 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44283 Remove variable.
44284 (abi-o32_hard-ld-soname): Likewise.
44285 (abi-o32_soft_2008-ld-soname): Likewise.
44286 (abi-o32_hard_2008-ld-soname): Likewise.
44287 (abi-n32_soft-ld-soname): Likewise.
44288 (abi-n32_hard-ld-soname): Likewise.
44289 (abi-n32_soft_2008-ld-soname): Likewise.
44290 (abi-n32_hard_2008-ld-soname): Likewise.
44291 (abi-n64_soft-ld-soname): Likewise.
44292 (abi-n64_hard-ld-soname): Likewise.
44293 (abi-n64_soft_2008-ld-soname): Likewise.
44294 (abi-n64_hard_2008-ld-soname): Likewise.
44295 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44296 Likewise.
44297 (abi-64-v2-ld-soname): Likewise.
44298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44299 ld.so entries.
44300 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44301 variable.
44302 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44303 entry.
44304 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44305 variable.
44306 (abi-64-ld-soname): Likewise.
44307 (abi-x32-ld-soname): Likewise.
44308 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44309 entry.
44310 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44311
44312 2014-09-23 Joseph Myers <joseph@codesourcery.com>
44313
44314 [BZ #14138]
44315 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44316 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44317 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44318 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44319 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44320 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44321 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44322 syscall entry for GLIBC_2.2 symbol version.
44323 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44324 Likewise.
44325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44326 (setrlimit): Likewise.
44327 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44328 Likewise.
44329
44330 2014-09-23 Will Newton <will.newton@linaro.org>
44331
44332 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44333 _LINUX_ARM_SYSDEP_H include guard too.
44334 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44335 define.
44336
44337 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
44338
44339 * sysdeps/unix/sysv/linux/eventfd.c:
44340 Make first argument unsigned.
44341 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44342 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44343
44344 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
44345
44346 [BZ #16852]
44347 * socket/recvmmsg.c (recvmmsg): Drop const argument.
44348 * socket/sys/socket.h: Likewise.
44349 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44350
44351 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44352
44353 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44354
44355 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
44356
44357 * time/tst-ftime.c: New test.
44358 * time/Makefile (tests): Add tst-ftime.
44359
44360 2014-09-17 Joseph Myers <joseph@codesourcery.com>
44361
44362 * soft-fp/extended.h: Fix comment formatting.
44363 * soft-fp/op-1.h: Likewise.
44364 * soft-fp/op-2.h: Likewise.
44365 * soft-fp/op-4.h: Likewise.
44366 * soft-fp/op-8.h: Likewise.
44367 * soft-fp/op-common.h: Likewise.
44368 * soft-fp/soft-fp.h: Likewise.
44369
44370 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44371
44372 2014-09-16 Joseph Myers <joseph@codesourcery.com>
44373
44374 [BZ #6652]
44375 * Makeconfig (soversions-default-setname): Remove variable.
44376 ($(common-objpfx)soversions.i): Don't pass default_setname to
44377 soversions.awk.
44378 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44379 oldest_abi to abi-versions.awk.
44380 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44381 * config.make.in (oldest-abi): Remove variable.
44382 * configure.ac (--enable-oldest-abi): Remove configure option.
44383 * configure: Regenerated.
44384 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44385 text.
44386 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44387 * scripts/soversions.awk: Do not handle default_setname variable.
44388 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44389 variable.
44390 * sysdeps/mach/hurd/configure: Regenerated.
44391 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44392 variable.
44393 * sysdeps/unix/sysv/linux/configure: Regenerated.
44394
44395 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44396
44397 * elf/Makefile (CFLAGS-interp.c): Remove.
44398 ($(elf-objpfx)runtime-linker.h): Generate header with linker
44399 path string.
44400 * elf/interp.c: Include generated runtime-linker.h
44401
44402 * Makerules (lib%.so): Don't include $(+interp) in
44403 prerequisites.
44404 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44405 * dlfcn/eval.c: Remove file.
44406
44407 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44408 macros.
44409
44410 [BZ #17266]
44411 * misc/sys/cdefs.h: Define __extern_always_inline for clang
44412 4.2 and newer.
44413
44414 [BZ #17370]
44415 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44416
44417 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44418 Jakub Jelinek <jakub@redhat.com>
44419
44420 [BZ #17266]
44421 * libio/stdio.h: Check definition of __fortify_function
44422 instead of __extern_always_inline to include bits/stdio2.h.
44423 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44424 check if __extern_always_inline is defined.
44425 [__USE_MISC || __USE_XOPEN]: Likewise.
44426 [__USE_ISOC99] Likewise.
44427 * misc/sys/cdefs.h (__fortify_function): Define only if
44428 __extern_always_inline is defined.
44429 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44430 __extern_always_inline and __extern_inline only for g++-4.3
44431 and newer or a compatible gcc.
44432
44433 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
44434
44435 [BZ #17371]
44436 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44437 last change to handle zero prefix length.
44438
44439 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44440
44441 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44442 _SC_REGEX_VERSION.
44443
44444 * posix/getconf.c (vars): Add _POSIX_IPV6 and
44445 _POSIX_RAW_SOCKETS.
44446
44447 2014-09-13 Allan McRae <allan@archlinux.org>
44448
44449 * po/ru.po: Update Russian translation from translation project.
44450
44451 2014-09-12 Roland McGrath <roland@hack.frob.com>
44452
44453 * locale/programs/locale.c (show_locale_vars): Inline local function
44454 into its sole call site. Clean up some style nits.
44455 (print_item): New function, broken out of ...
44456 (show_info): ... local function here. Clean up style nits.
44457
44458 * locale/programs/ld-ctype.c (set_one_default): New function, broken
44459 out of ...
44460 (set_class_defaults): ... local function set_default here.
44461 Define set_default as a macro locally to pass constant parameters.
44462 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44463 rather than a shared local.
44464
44465 * stdlib/rpmatch.c (try): New function, broken out of ...
44466 (rpmatch): ... local function here. Also, prototypify definition.
44467
44468 2014-09-12 Joseph Myers <joseph@codesourcery.com>
44469
44470 * scripts/soversions.awk: Do not handle configuration names.
44471 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44472 vendor and os variables to soversions.awk.
44473 * configure.ac: Do not modify gnu-* host_os.
44474 * configure: Regenerated
44475 * shlib-versions: Remove first column with configuration names.
44476 * nptl/shlib-versions: Likewise.
44477 * nptl_db/shlib-versions: Likewise.
44478 * sysdeps/hppa/shlib-versions: Likewise.
44479 * sysdeps/m68k/shlib-versions: Likewise.
44480 * sysdeps/mach/hurd/shlib-versions: Likewise.
44481 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44482 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44483 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44484 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44485 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44486 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44487 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44488 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44490 Likewise.
44491 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44492 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44493 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44494 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44495 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44496 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44497 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44498 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44499
44500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44501 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44503 Regenerated.
44504 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44506 Condition symbol version definitions on [HAVE_ELFV2_ABI].
44507
44508 * shlib-versions: Remove OS-specific entries. Moved to files in
44509 sysdeps.
44510 * sysdeps/mach/hurd/shlib-versions: New file.
44511 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44512
44513 * nptl/shlib-versions: Remove architecture-specific entries.
44514 Moved to files in sysdeps.
44515 * shlib-versions: Likewise.
44516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44517 file.
44518 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44519 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44520 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44521 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44522
44523 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44524 (UDP_NO_CHECK6_RX): Likewise.
44525
44526 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44527
44528 * sysdeps/posix/sysconf.c (__sysconf): Spell
44529 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44530
44531 2014-08-12 Florian Weimer <fweimer@redhat.com>
44532
44533 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44534 loading.
44535 * iconv/Versions (__gconv_transliterate): Export for use from
44536 gconv modules.
44537 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44538 (struct __gconv_trans_data, __gconv_trans_fct,
44539 __gconv_trans_context_fct, __gconv_trans_query_fct,
44540 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44541 definitions.
44542 (struct __gconv_step_data): Remove __trans member.
44543 (__gconv_transliterate): Declaration moved from gconv_int.h. No
44544 longer hidden. Remove unused trans_data argument.
44545 * iconv/gconv_int.h (struct trans_struct): Remove definition.
44546 (__gconv_translit_find): Remove declaration.
44547 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
44548 prototype.
44549 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44550 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44551 trans_data argument. Add hidden definition.
44552 (__gconv_translit_find): Remove.
44553 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44554 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44555 * iconv/skeleton.c: Remove transliteration initialization.
44556 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44557 __gconv_step_data initialization.
44558 * libio/iofwide.c (__libio_translit_): Remove.
44559 (_IO_fwide): Adjust struct __gconv_step_data initialization.
44560 * wcsmbs/btowc.c (__btowc): Likewise.
44561 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44562 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44563 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44564 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44565 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44566 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44567 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44568 * wcsmbs/wctob.c (wctob): Likewise.
44569
44570 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44571
44572 [BZ #16194]
44573 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44574 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
44575 register usage.
44576 * sysdeps/x86/Makefile: Adjust.
44577
44578 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44579 Roland McGrath <roland@hack.frob.com>
44580
44581 * locale/weight.h: Add include guard.
44582 (findidx): Make static rather than auto; take new parameters
44583 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44584 * locale/weightwc.h: Likewise.
44585 * posix/fnmatch_loop.c
44586 (FCT): Change type of EXTRA from int32_t to wint_t.
44587 Don't include either header inside the function.
44588 Call FINDIDX rather than findidx, and pass new arguments.
44589 #undef FINDIDX at the end of the file.
44590 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44591 FINDIDX before including fnmatch_loop.c for the non-wide version.
44592 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44593 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44594 for the wide version.
44595 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44596 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44597 Pass new arguments to findidx.
44598 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44599 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44600 Don't #include it inside the function. Pass new arguments to findidx.
44601 * posix/regex_internal.h
44602 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44603 (re_string_elem_size_at): Don't #include it inside the function.
44604 Pass new arguments to findidx.
44605 * string/strcoll_l.c: #include WEIGHT_H at top level.
44606 (get_next_seq): Don't #include it inside the function.
44607 Pass new arguments to findidx.
44608 (get_next_seq_nocache): Likewise.
44609 * string/strxfrm_l.c: #include WEIGHT_H at top level.
44610 (STRXFRM): Don't #include it inside the function.
44611 Pass new arguments to findidx.
44612
44613 2014-09-11 Florian Weimer <fweimer@redhat.com>
44614
44615 [BZ #17344]
44616 * malloc/malloc.c (unlink): Turn asserts into a call to
44617 malloc_printerr.
44618
44619 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
44620
44621 [BZ #17370]
44622 * libio/wfileops (do_ftell_wide): Free OUT.
44623
44624 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
44625
44626 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44627
44628 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44629
44630 [BZ #17363]
44631 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44632 group if the current group is empty.
44633
44634 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44635
44636 * benchtests/bench-memset.c (test_main): Add more test from size
44637 from 32 to 512 bytes.
44638 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44639 Add POWER8 memset object.
44640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44641 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44642 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44643 implementation.
44644 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44645 Likewise.
44646 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44647 multiarch POWER8 memset optimization.
44648 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44649 POWER8 memset optimization.
44650
44651 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44652 Remove bzero multiarch objects.
44653 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44654 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44655 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44656 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44657 Remove define.
44658 [__bzero]: Redefine to specific name.
44659 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44660 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44661 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44662 define.
44663 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44664 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44665
44666 2014-09-10 Florian Weimer <fweimer@redhat.com>
44667
44668 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44669 warnings into errors.
44670
44671 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44672 __cxa_thread_atexit_impl prototype.
44673
44674 2014-09-09 Steve Ellcey <sellcey@mips.com>
44675
44676 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44677 Fix capitalization of error message.
44678
44679 2014-09-09 Steve Ellcey <sellcey@mips.com>
44680
44681 * sysdeps/mips/preconfigure: Modify ABI tests.
44682
44683 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
44684
44685 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44686
44687 2014-09-07 Roland McGrath <roland@hack.frob.com>
44688 Carlos O'Donell <carlos@systemhalted.org>
44689
44690 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44691 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44692 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44693 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44694 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44695 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44696 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44697 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44698 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44699 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44700 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44701 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44702 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44703 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44704 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44705 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44706 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44707 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44708 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44709 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44710 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44711 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44712 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44713 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44714 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44715 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44716 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44717 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
44718 Deconditionalize the code that was previously under [RESET_PID].
44719 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
44720 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
44721 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
44722 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
44723 include sysdep.h.
44724
44725 2014-09-08 Allan McRae <allan@archlinux.org>
44726
44727 * version.h (RELEASE): Set to "development".
44728 (VERSION): Set to "2.20.90"
44729
44730 2014-09-07 Allan McRae <allan@archlinux.org
44731
44732 * version.h (RELEASE): Set to "stable".
44733 (VERSION): Set to "2.20"
44734 * include/features.h (__GLIBC_MINOR__): Set to 20.
44735
44736 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
44737 Liebler.
44738
44739 * po/ko.po: Update Korean translation from translation project.
44740
44741 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
44742
44743 [BZ #17354]
44744 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
44745 macro for handling signed relocations.
44746
44747 2014-09-03 Florian Weimer <fweimer@redhat.com>
44748
44749 [BZ #17325]
44750 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
44751 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
44752 assert.
44753 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
44754 * iconvdata/ibm935.c (BODY): Likewise.
44755 * iconvdata/ibm937.c (BODY): Likewise.
44756 * iconvdata/ibm939.c (BODY): Likewise.
44757 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
44758 assert.
44759 * iconvdata/Makefile (iconv-test.out): Pass module list to test
44760 script.
44761 * iconvdata/run-iconv-test.sh: New test loop for checking for
44762 decoder crashers.
44763
44764 2014-09-02 Khem Raj <raj.khem@gmail.com>
44765
44766 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
44767 libm_hidden_ver.
44768
44769 2014-09-01 Allan McRae <allan@archlinux.org>
44770
44771 * po/eo.po: Update Esperanto translation from translation project.
44772
44773 * po/ca.po: Update Catalan translation from translation project.
44774
44775 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
44776
44777 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
44778 __proc_dostop call.
44779
44780 2014-08-27 Mark Wielaard <mjw@redhat.com>
44781
44782 [BZ #17319]
44783 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
44784 to call set_thread_area instead of hand written asm.
44785 (__NR_set_thread_area): Removed define.
44786 (TLS_FLAG_WRITABLE): Likewise.
44787 (__ASSUME_SET_THREAD_AREA): Remove check.
44788 (TLS_EBX_ARG): Remove define.
44789 (TLS_LOAD_EBX): Likewise.
44790
44791 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
44792
44793 Simplify atomicity of socket creation in bind.
44794
44795 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
44796 looking up the name after linking the file.
44797
44798 2014-08-27 Allan McRae <allan@archlinux.org>
44799
44800 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44801
44802 2014-08-26 Florian Weimer <fweimer@redhat.com>
44803
44804 [BZ #17187]
44805 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
44806 trans_compare, open_translit, __gconv_translit_find):
44807 Remove module loading code.
44808
44809 2014-08-26 Allan McRae <allan@archlinux.org>
44810
44811 * po/vi.po: Update Vietnamese translation from translation project.
44812
44813 * po/uk.po: Update Ukrainian translation from translation project.
44814
44815 * po/fr.po: Update French translation from translation project.
44816
44817 * po/ru.po: Update Russian translation from translation project.
44818
44819 * po/pl.po: Update Polish translation from translation project.
44820
44821 * po/cs.po: Update Czech translation from translation project.
44822
44823 * po/de.po: Update German translation from translation project.
44824
44825 * po/bg.po: Update Bulgarian translation from translation project.
44826
44827 * po/sv.po: Update Sweedish translation from translation project.
44828
44829 * po/nl.po: Update Dutch translation from translation project.
44830
44831 * po/es.po: Update Spanish translation from translation project.
44832
44833 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44834
44835 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
44836
44837 * catgets/Makefile (CPPFLAGS-gencat): Remove.
44838 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
44839 (CPPFLAGS-iconvconfig): Likewise.
44840 * timezone/Makefile (CPPFLAGS-zic): Likewise.
44841
44842 * include/libc-symbols.h: Remove unnecessary check for
44843 NOT_IN_libc.
44844 * nptl/pthreadP.h: Likewise.
44845 * sysdeps/aarch64/setjmp.S: Likewise.
44846 * sysdeps/alpha/setjmp.S: Likewise.
44847 * sysdeps/arm/sysdep.h: Likewise.
44848 * sysdeps/i386/setjmp.S: Likewise.
44849 * sysdeps/m68k/setjmp.c: Likewise.
44850 * sysdeps/posix/getcwd.c: Likewise.
44851 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44852 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
44853 * sysdeps/s390/s390-32/setjmp.S: Likewise.
44854 * sysdeps/s390/s390-64/setjmp.S: Likewise.
44855 * sysdeps/sh/sh3/setjmp.S: Likewise.
44856 * sysdeps/sh/sh4/setjmp.S: Likewise.
44857 * sysdeps/unix/alpha/sysdep.h: Likewise.
44858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
44859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44860 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
44861 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44865 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44866 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44869 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
44870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44871 * sysdeps/x86_64/setjmp.S: Likewise.
44872
44873 2014-08-13 Joseph Myers <joseph@codesourcery.com>
44874
44875 [BZ #17263]
44876 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
44877 <stdint.h>.
44878 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
44879 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
44880
44881 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
44882
44883 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
44884
44885 [BZ #17262]
44886 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
44887 and __x86_64__ when disabling x87 inline functions.
44888
44889 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
44890
44891 [BZ #17259]
44892 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
44893 asm statement with __cpuid_count.
44894
44895 2014-08-12 Mike Frysinger <vapier@gentoo.org>
44896
44897 * configure.ac: Change __ehdr_start code to dereference the struct.
44898 Run readelf on the output to look for relocations.
44899 * configure: Regenerated.
44900
44901 2014-08-12 Joseph Myers <joseph@codesourcery.com>
44902
44903 [BZ #17261]
44904 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
44905 value to 0.
44906 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
44907
44908 2014-08-12 Roland McGrath <roland@hack.frob.com>
44909
44910 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
44911
44912 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
44913
44914 [BZ #16892]
44915 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
44916 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
44917
44918 2014-08-12 Sean Anderson <seanga2@gmail.com>
44919
44920 * malloc/malloc.c: Fix typo in comment.
44921
44922 2014-08-09 Allan McRae <allan@archlinux.org>
44923
44924 * Regenerate libc.po.
44925
44926 2014-08-08 Mike Frysinger <vapier@gentoo.org>
44927
44928 * intl/tst-gettext2.sh: Check every lang file for creation.
44929
44930 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
44931
44932 * sysdeps/aarch64/fpu/math_private.h
44933 (libc_feholdsetround_noex_aarch64_ctx): New function.
44934
44935 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
44936
44937 * sysdeps/arm/armv6/strcpy.S (strcpy):
44938 Fix performance issue in misaligned cases.
44939
44940 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44941
44942 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
44943 Move definition from termios.h.
44944 (struct termio): Likewise.
44945 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44946 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44947 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44948 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44949 Likewise.
44950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
44951 Move definition to ioctl-types.h
44952 (struct termio): Likewise.
44953 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44954 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44955 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44956 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44957 Likewise.
44958
44959 2014-08-05 Richard Henderson <rth@redhat.com>
44960
44961 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
44962 exceptions.
44963 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
44964 Add fraiseexcpt.
44965 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
44966 Use __feraiseexcept.
44967 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
44968 Protect libm symbols with IS_IN_libm.
44969
44970 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
44971
44972 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
44973
44974 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
44975
44976 2014-08-04 Will Newton <will.newton@linaro.org>
44977
44978 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
44979 file.
44980
44981 2014-08-04 Mike Frysinger <vapier@gentoo.org>
44982
44983 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
44984 variants for each function.
44985
44986 2014-08-04 Roland McGrath <roland@hack.frob.com>
44987
44988 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
44989 appended ...
44990 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
44991 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
44992 appended ...
44993 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
44994 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
44995 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
44996 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
44997 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
44998 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
44999 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45000 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45001 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45002 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45003 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45004 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45005 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45006 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45007 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45008 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45009 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45010 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45011 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45012 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45013 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45014 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45015 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45016 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45017 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45018 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45019 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45020 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45021 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45022 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45023 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45024 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45025 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45026 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45027 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45028 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45029 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45030 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45031 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45032 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45033 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45034 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45035 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45036 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45037 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45038 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45039 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45040 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45041 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45042 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45043 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45044 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45045 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45046 Update #include.
45047 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45048 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45049
45050 2014-08-04 Roland McGrath <roland@hack.frob.com>
45051
45052 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45053 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45054 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45055 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45056 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45057 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45058
45059 2014-08-04 Roland McGrath <roland@hack.frob.com>
45060
45061 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45062 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45063 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45064 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45065
45066 2014-08-04 Roland McGrath <roland@hack.frob.com>
45067
45068 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45069 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45070 (__libc_vfork): Define function under this name.
45071 (__vfork): Define as an alias.
45072 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45073 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45074
45075 2014-08-04 Roland McGrath <roland@hack.frob.com>
45076
45077 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45078 that was previously under [RESET_PID].
45079 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45080
45081 2014-08-04 Andreas Schwab <schwab@suse.de>
45082
45083 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45084
45085 2014-08-03 Mike Frysinger <vapier@gentoo.org>
45086
45087 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45088 (main): Likewise.
45089
45090 2014-08-01 Roland McGrath <roland@hack.frob.com>
45091
45092 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45093
45094 2014-08-01 Richard Henderon <rth@redhat.com>
45095
45096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45097 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45098 typo in exact zero test.
45099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45100 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45102
45103 2014-08-01 Roland McGrath <roland@hack.frob.com>
45104
45105 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45106 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45107 * sysdeps/arm/sysdep.h: ... here.
45108 [!__ASSEMBLER__]: Include <stdint.h>.
45109
45110 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
45111
45112 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45113 (HAVE_WCTYPE_H): Likewise.
45114 (HAVE_ISWCTYPE): Likewise.
45115 (ENABLE_NLS): Likewise.
45116 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45117 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45118
45119 * posix/regex_internal.c: Check if DEBUG is defined and is
45120 set.
45121
45122 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45123 (HAVE_MBSRTOWCS): Likewise.
45124 * posix/fnmatch.c: Include string.h unconditionally.
45125
45126 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
45127
45128 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45129 reversal.
45130
45131 2014-07-31 Roland McGrath <roland@hack.frob.com>
45132
45133 * sysdeps/generic/safe-fatal.h: New file.
45134 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45135 * nptl/forward.c: Include it.
45136 (__pthread_unwind): Use __safe_fatal as default action, rather
45137 than a bogus use of INTERNAL_SYSCALL that could never work.
45138
45139 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45140 * configure.ac (libc_cv_builtin_trap): New test.
45141 * configure: Regenerated.
45142 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45143 (ABORT_INSTRUCTION): Define using __builtin_trap.
45144
45145 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45146 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45147 * sysdeps/nptl/nptl-signals.h: New file.
45148 * nptl/pthreadP.h: Include <nptl-signals.h>.
45149
45150 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
45151
45152 * sysdeps/s390/s390-64/utf16-utf32-z9.c
45153 (ONE_DIRECTION): Define.
45154 * sysdeps/s390/s390-64/utf8-utf16-z9.c
45155 (ONE_DIRECTION): Define.
45156 * sysdeps/s390/s390-64/utf8-utf32-z9.c
45157 (ONE_DIRECTION): Define.
45158
45159 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
45160
45161 * sysdeps/s390/Makefile: Delete file.
45162 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45163 * sysdeps/s390/__longjmp.c: Delete file.
45164 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45165 Remove fields __flags and __reserved.
45166 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45167 and add versioning.
45168 * sysdeps/s390/rtld-__longjmp.c: Delete file.
45169 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45170 * sysdeps/s390/rtld-setjmp.S: Likewise.
45171 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45172 * sysdeps/s390/s390-32/__longjmp.c: ... here.
45173 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45174 * sysdeps/s390/s390-32/setjmp.S: ... here.
45175 Add versioning.
45176 (__sigsetjmp): Remove setting __flags field.
45177 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45178 * sysdeps/s390/s390-64/__longjmp.c: ... here.
45179 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45180 * sysdeps/s390/s390-64/setjmp.S: ... here.
45181 Add versioning.
45182 (__sigsetjmp): Remove setting __flags field.
45183 * sysdeps/s390/setjmp.S: Delete file.
45184 * sysdeps/s390/sigjmp.c: Likewise.
45185 * sysdeps/s390/v1-longjmp.c: Likewise.
45186 * sysdeps/s390/v1-setjmp.h: Likewise.
45187 * sysdeps/s390/v1-sigjmp.c: Likewise.
45188 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45189 Remove v1-longjmp_chk.
45190 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45191 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45192 Include debug/longjmp_chk.c and add versioning.
45193 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45194 Include nptl/pt-longjmp.c and add versioning.
45195 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45196 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45197 Include __longjmp.c.
45198 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45199 Move to ...
45200 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45201 (__getcontext): Remove setting __flags field.
45202 Add versioning.
45203 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45204 Don't restore upper high grps.
45205 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45206 Likewise.
45207 (__swapcontext): Remove setting uc_flags field.
45208 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45209 Delete file.
45210 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45211 Include __longjmp.c.
45212 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45213 Move to ...
45214 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45215 (__getcontext): Remove setting __flags field.
45216 Add versioning.
45217 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45218 (__swapcontext): Remove setting uc_flags field.
45219 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45220 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45221 Remove fields uc_high_gprs and __reserved.
45222 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45223 New file with reverted content.
45224 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45225 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45226 Regenerated.
45227 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45228 Regenerated.
45229
45230 2014-07-31 Andreas Schwab <schwab@suse.de>
45231
45232 * config.h.in (HAVE_IFUNC): Define to 0.
45233 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45234 definedness.
45235
45236 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
45237
45238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45239 memmove-avx-unaligned, memcpy-avx-unaligned and
45240 mempcpy-avx-unaligned.
45241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45242 Add tests for AVX memcpy functions.
45243 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45244 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45245 memcpy_chk.
45246 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45247 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45248 memmove_chk.
45249 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45250 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45251 mempcpy_chk.
45252 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45253 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45254 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45255
45256 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45257
45258 [BZ #17213]
45259 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45260 powerpc64le.
45261
45262 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
45263
45264 [BZ #16839]
45265 * manual/llio.texi: Add section about open file description locks.
45266 * manual/examples/ofdlocks.c: Example of open file description
45267 lock usage.
45268 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45269 F_OFD_SETLK, and F_OFD_SETLKW.
45270
45271 2014-07-23 Allan McRae <allan@archlinux.org>
45272
45273 * po/es.po: Update Spanish translation from translation project.
45274
45275 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
45276
45277 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45278
45279 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
45280
45281 [BZ #17078]
45282 * sysdeps/arm/dl-machine.h (elf_machine_rela)
45283 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45284 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45285
45286 2014-07-17 Joseph Myers <joseph@codesourcery.com>
45287
45288 [BZ #17088]
45289 * math/fesetenv.c (__fesetenv)
45290 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45291 * math/feupdateenv.c (__feupdateenv)
45292 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45293
45294 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45295 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45296 (__ASSUME_SOCKETCALL): Do not define.
45297
45298 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45299 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45300 (__ASSUME_SOCKETCALL): Do not define.
45301 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45302 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45303 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45304 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45305 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45306 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45307 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45308 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45309
45310 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45311 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45312 (__ASSUME_SOCKETCALL): Do not define.
45313 (__ASSUME_IPC64): Define unconditionally.
45314 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45315 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45316 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45317 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45318 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45319 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45320 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45321 Likewise.
45322
45323 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45324 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45325 (__ASSUME_SOCKETCALL): Do not define.
45326 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45327 (__ASSUME_FUTEX_LOCK_PI): Likewise.
45328 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45329 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45330 (__ASSUME_REQUEUE_PI): Define unconditionally.
45331 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45332 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45333 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45334 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45335 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45336 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45337
45338 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45339 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45340 (__ASSUME_SOCKETCALL): Do not define.
45341 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45342 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45343 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45344 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45345 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45346 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45347
45348 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45349 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45350 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45351 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45352 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45353 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45354 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45355 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45356 (__ASSUME_GETCPU_SYSCALL): Likewise.
45357
45358 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45359 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
45360 cases for individual architectures.
45361 * sysdeps/gnu/configure: Regenerated.
45362 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45363 LIBC_SLIBDIR_RTLDDIR.
45364 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45365 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45366 LIBC_SLIBDIR_RTLDDIR.
45367 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45369 LIBC_SLIBDIR_RTLDDIR.
45370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45371 Regenerated.
45372 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45373 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45374 file.
45375 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45376 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45377 file.
45378 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45379 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45380 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45381 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45382
45383 * sysdeps/aarch64/shlib-versions: Move to ...
45384 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45385 * sysdeps/alpha/shlib-versions: Move to ...
45386 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45387 * sysdeps/arm/shlib-versions: Move to ...
45388 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45389 * sysdeps/hppa/shlib-versions: Move all contents except for
45390 libgcc_s entry to ...
45391 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
45392 entry from ...
45393 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
45394 * sysdeps/ia64/shlib-versions: Move to ...
45395 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
45396 entry from ...
45397 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
45398 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45399 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45400 * sysdeps/microblaze/shlib-versions: Move to ...
45401 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45402 * sysdeps/mips/shlib-versions: Move to ...
45403 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
45404 entry from ...
45405 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
45406 * sysdeps/tile/shlib-versions: Move to ...
45407 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45408 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45409 from ...
45410 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
45411 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45412 entry from ...
45413 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
45414
45415 2014-07-17 Will Newton <will.newton@linaro.org>
45416
45417 * sysdeps/arm/bits/atomic.h
45418 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45419 (__arch_compare_and_exchange_bool_16_int): Likewise.
45420 (__arch_compare_and_exchange_bool_64_int): Likewise.
45421
45422 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45423 into an #else block.
45424
45425 2014-07-16 Roland McGrath <roland@hack.frob.com>
45426
45427 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45428 just Linux configurations. Test empirically that the compiler sets
45429 __ARM_EABI__, rather than using the tuple to decide.
45430 * sysdeps/arm/preconfigure: Regenerated.
45431 * sysdeps/unix/sysv/linux/arm/configure: File removed.
45432 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45433 contents appended ...
45434 * sysdeps/arm/configure.ac: ... here.
45435 * sysdeps/arm/configure: Regenerated.
45436
45437 2014-07-15 Roland McGrath <roland@hack.frob.com>
45438
45439 * nptl/pthread_kill.c: New file.
45440 * nptl/pthread_sigmask.c: New file.
45441 * nptl/pthread_sigqueue.c: New file.
45442
45443 * sysdeps/nptl/lowlevellock.h: New file.
45444 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45445 * sysdeps/nptl/lowlevellock-futex.h: New file.
45446
45447 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45448 Remove dead declarations.
45449
45450 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
45451
45452 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45453 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45454 config-cflags-avx2.
45455 * sysdeps/x86_64/configure.ac: Likewise.
45456 * sysdeps/i386/configure: Regenerated.
45457 * sysdeps/x86_64/configure: Likewise.
45458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45459 memset-avx2 only if config-cflags-avx2 is yes.
45460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45461 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45462 defined.
45463 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45464 only if HAVE_AVX2_SUPPORT is defined.
45465 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45466
45467 2014-07-14 Alan Modra <amodra@gmail.com>
45468
45469 [BZ #17153]
45470 * elf/elf.h (DT_PPC64_NUM): Correct value.
45471 * NEWS: Add to fixed bug list.
45472
45473 2014-07-13 Jim Meyering <meyering@fb.com>
45474
45475 [BZ 17150]
45476 regex: don't deref NULL upon heap allocation failure
45477 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45478 failure in one more place.
45479 To trigger the segfault, configure grep -with-included-regex,
45480 build it, and run these commands:
45481 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45482
45483 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
45484
45485 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45486
45487 2014-07-11 Richard Henderson <rth@redhat.com>
45488
45489 * sysdeps/aarch64/libm-test-ulps: Update.
45490
45491 2014-07-10 Florian Weimer <fweimer@redhat.com>
45492
45493 [BZ #17135]
45494 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45495 * nptl/allocatestack.c (__nptl_setxid_error): New function.
45496 (__nptl_setxid): Initialize error member. Call
45497 __nptl_setxid_error.
45498 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45499 * nptl/descr.h (struct xid_command): Add error member.
45500 * nptl/tst-setuid3.c: New file.
45501 * nptl/Makefile (tests): Add it.
45502
45503 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45504
45505 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45506 New define.
45507 (__lll_trylock): Use __lll_base_trylock.
45508 (__lll_cond_trylock): Likewise.
45509
45510 2014-07-10 Roland McGrath <roland@hack.frob.com>
45511
45512 * nptl/pthread_create.c (start_thread): Use atomic_or and
45513 lll_futex_wake directly rather than lll_robust_dead.
45514 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45515 (lll_robust_dead): Macro removed.
45516 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45517 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45518 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45519 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45520 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45521 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45522 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45523 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45524 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45525 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45526 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45527 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45528 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45529 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45530 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45531
45532 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45533 Use atomic_compare_and_exchange_val_acq directly rather than
45534 lll_robust_trylock.
45535 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45536 (__lll_robust_trylock, lll_robust_trylock): Removed.
45537 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45538 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45539 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45540 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45541 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45542 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45543 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45544 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45545 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45546 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45547 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45548 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45549 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45550 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45551
45552 2014-07-02 Florian Weimer <fweimer@redhat.com>
45553
45554 * manual/locale.texi (Locale Names): New section documenting
45555 locale name syntax. Adjust menu and node chaining accordingly.
45556 (Choosing Locale): Reference Locale Names, Locale Categories.
45557 Mention setting LC_ALL=C. Reflect that name syntax is now
45558 documented.
45559 (Locale Categories): New section title. Reference Locale Names.
45560 LC_ALL is an environment variable, but not a category.
45561 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45562 description, now in Locale Name. Reference that section. Locale
45563 name syntax is now documented.
45564
45565 2014-07-02 Florian Weimer <fweimer@redhat.com>
45566
45567 [BZ #17137]
45568 * locale/findlocale.c (name_present, valid_locale_name): New
45569 functions.
45570 (_nl_find_locale): Use the loc_name variable to store name
45571 candidates. Call name_present and valid_locale_name to check and
45572 validate locale names. Return an error if the locale is invalid.
45573
45574 2014-07-02 Florian Weimer <fweimer@redhat.com>
45575
45576 * locale/setlocale.c (setlocale): Use strdup for allocating
45577 composite name copy.
45578
45579 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45580
45581 Sync up with gnulib.
45582 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45583 [!_LIBC && ENABLE_NLS]: Include gettext.h.
45584 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45585 and _GL_ARG_NONNULL.
45586 [USE_UNLOCKED_IO]: Include unlocked-io.h.
45587 [!_LIBC]: Include code for Windows and Cygwin.
45588 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45589 Include prototype for int strerror_r.
45590 [!_LIBC] (is_open): New function.
45591 (flush_stdout): New function.
45592 (print_errno_message): Use it.
45593 (error): Likewise.
45594 (error_at_line): Likewise.
45595 (error_tail) Add function attribute macros. Use
45596 __builtin_expect.
45597
45598 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45599
45600 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45601
45602 * io/ftw.c: Include sys/param.h unconditionally.
45603
45604 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45605
45606 [BZ #17125]
45607 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45608 libc_freeres_ptr.
45609 (freecache): New function to free CACHE on exit.
45610
45611 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45612 initialization.
45613
45614 2014-07-09 David S. Miller <davem@davemloft.net>
45615
45616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45617
45618 * sysdeps/sparc/nptl/internaltypes.h: Delete.
45619 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45620 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45621 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45622 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45623 * sysdeps/sparc/nptl/sem_init.c: Likewise.
45624 * sysdeps/sparc/nptl/sem_post.c: Likewise.
45625 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45626 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45627 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45628 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45629 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45630 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45631
45632 2014-07-09 Andreas Schwab <schwab@suse.de>
45633
45634 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45635 output.
45636 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45637 (do_test): Likewise.
45638
45639 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45640
45641 2014-07-09 Will Newton <will.newton@linaro.org>
45642
45643 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45644 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45645 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45646 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45647 * sysdeps/hppa/start.S (_start): Likewise.
45648
45649 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
45650
45651 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45652
45653 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45654 defined.
45655
45656 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
45657
45658 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45659 after checking that it is non-NULL.
45660
45661 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45662
45663 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45664
45665 * sysdeps/powerpc/memmove.c: Remove file.
45666 * sysdeps/powerpc/powerpc32/power4/memcopy.h
45667 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45668 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45669 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45670 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45671 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45672 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45673 string memmove instead of removed powerpc one.
45674
45675 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45676 [weak_alias]: Fix compiler warning due trailing data.
45677 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45678 [weak_alias]: Likewise.
45679 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45680 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45681
45682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45683 (__libc_ifunc_impl_list): Add memmove functions.
45684
45685 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
45686
45687 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45688 Remove code.
45689 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45690 Likewise.
45691 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45692 Likewise.
45693 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45694 Likewise.
45695 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45696 Likewise.
45697 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45698 Likewise.
45699 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45700 Likewise.
45701 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45702 Likewise.
45703 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45704 Likewise.
45705 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45706 Likewise.
45707 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45708 Likewise.
45709 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45710 Likewise.
45711 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45712 Likewise.
45713 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45714 Likewise.
45715 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45716 Likewise.
45717 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
45718 Likewise.
45719 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
45720 Likewise.
45721
45722 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45723
45724 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
45725 to avoid alignment traps in non-cacheable memory.
45726 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45727
45728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
45729 multiarch objects.
45730 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
45731 file: multiarch power7 memmove.
45732 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
45733 multiarch default memmove.
45734 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
45735 multiarch memove for powerpc32/power4.
45736
45737 * string/bcopy.c: Use full path to include memmove.c.
45738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
45739 multiarch objects.
45740 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
45741 bcopy for powerpc64.
45742 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
45743 bcopy for powerpc64.
45744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
45745 and memmove implementations.
45746 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
45747 optimized multiarch memmove for POWER7/powerpc64.
45748 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
45749 default multiarch memmove for powerpc64.
45750 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
45751 multiarch for powerpc64.
45752 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
45753 for POWER7/powerpc64.
45754 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
45755 memmove for POWER7/powerpc64.
45756
45757 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
45758 glibc default one.
45759
45760 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
45761 __ELF_NATIVE_CLASS equal to 64.
45762
45763 2014-07-07 Roland McGrath <roland@hack.frob.com>
45764
45765 * sysdeps/nptl/lowlevellock.h: File removed.
45766
45767 * NEWS: NPTL is no longer an add-on!
45768 * nptl/internaltypes.h: Moved ...
45769 * sysdeps/nptl/internaltypes.h: ... here.
45770 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
45771 * sysdeps/nptl/fork.c: Likewise.
45772 * sysdeps/nptl/gai_misc.h: Likewise.
45773 * sysdeps/nptl/librt-cancellation.c: Likewise.
45774 * sysdeps/nptl/jmp-unwind.c: Likewise.
45775 * sysdeps/nptl/setxid.h: Likewise.
45776 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
45777 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
45778 * sysdeps/unix/sysv/linux/arm/Implies: New file.
45779 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
45780 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
45781 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
45782 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
45783 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
45784 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
45785 * sysdeps/unix/sysv/linux/mips/Implies: New file.
45786 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
45787 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
45788 * sysdeps/unix/sysv/linux/sh/Implies: New file.
45789 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
45790 * sysdeps/unix/sysv/linux/tile/Implies: New file.
45791 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
45792 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
45793 * nptl/Makeconfig: Moved ...
45794 * sysdeps/nptl/Makeconfig: ... here.
45795 * nptl/configure: File removed.
45796 * nptl/ANNOUNCE: File removed.
45797 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
45798 * sysdeps/unix/sysv/linux/configure: Regenerated.
45799
45800 * nptl/Makefile (routines): Add libc_pthread_init,
45801 libc_multiple_threads, register-atfork and unregister-atfork.
45802 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
45803 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
45804 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
45805 pthread-pi-defines.sym, structsem.sym.
45806 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
45807 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
45808 [$(subdir) = nptl] (tests): Add tst-setgetname.
45809 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
45810 * sysdeps/unix/sysv/linux/sigaction.c: Just include
45811 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
45812 [!LIBC_SIGACTION]: Remove aliases.
45813 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45814 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45815 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45816 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
45817 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45818 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
45819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45820 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45821 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45822 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
45823 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
45824 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
45825 __libc_allocate_rtsig_private.
45826 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
45827 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
45828 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
45829 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
45830 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
45831 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
45832 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
45833 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
45834 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
45835 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
45836 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
45837 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
45838 * nptl/internaltypes.h: ... here.
45839 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
45840 * sysdeps/nptl/jmp-unwind.c: ... here.
45841 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
45842 * nptl/libc-lowlevellock.c: ... here.
45843 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
45844 * nptl/libc_multiple_threads.c: ... here.
45845 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
45846 * nptl/libc_pthread_init.c: ... here.
45847 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
45848 * nptl/lowlevelbarrier.sym: ... here.
45849 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
45850 * nptl/lowlevelcond.sym: ... here.
45851 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
45852 * nptl/lowlevellock.c: ... here.
45853 * nptl/lowlevellock.h: Moved ...
45854 * sysdeps/nptl/lowlevellock.h: ... here.
45855 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
45856 * nptl/lowlevelrobustlock.c: ... here.
45857 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
45858 * nptl/lowlevelrobustlock.sym: ... here.
45859 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
45860 * nptl/lowlevelrwlock.sym: ... here.
45861 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
45862 * nptl/pt-fork.c: ... here.
45863 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
45864 * nptl/pthread-pi-defines.sym: ... here.
45865 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
45866 * nptl/pthread_attr_getaffinity.c: ... here.
45867 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
45868 * nptl/pthread_attr_setaffinity.c: ... here.
45869 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
45870 * nptl/pthread_mutex_cond_lock.c: ... here.
45871 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45872 Update #include.
45873 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
45874 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
45875 * nptl/pthread_once.c: ... here, replacing old file.
45876 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
45877 * nptl/pthread_yield.c: ... here.
45878 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
45879 * nptl/register-atfork.c: ... here.
45880 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
45881 * nptl/sem_post.c: ... here.
45882 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
45883 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
45884 * nptl/sem_timedwait.c: ... here.
45885 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
45886 * nptl/sem_trywait.c: ... here.
45887 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
45888 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
45889 * nptl/sem_wait.c: ... here.
45890 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
45891 * nptl/structsem.sym: ... here.
45892 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
45893 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
45894 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
45895 * nptl/unregister-atfork.c: ... here.
45896 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
45897 * nptl/unwindbuf.sym: ... here.
45898 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
45899 * sysdeps/nptl/fork.c: ... here.
45900 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
45901 * sysdeps/nptl/fork.h: ... here.
45902 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
45903 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
45904 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
45905 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
45906 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
45907 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
45908 * sysdeps/unix/sysv/linux/getpid.c: ... here.
45909 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
45910 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
45911 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
45912 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
45913 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
45914 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
45915 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
45916 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
45917 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
45918 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
45919 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
45920 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
45921 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
45922 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
45923 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
45924 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
45925 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
45926 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
45927 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
45928 * sysdeps/unix/sysv/linux/raise.c: ... here.
45929 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
45930 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
45931 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
45932 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
45933 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
45934 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
45935 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
45936 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
45937 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
45938 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
45939 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
45940 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
45941 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
45942 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
45943 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
45944
45945 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45946
45947 * sysdeps/generic/memcopy.h: Add comment for
45948 MEMCPY_OK_FOR_FWD_MEMMOVE.
45949
45950 2014-07-04 Will Newton <will.newton@linaro.org>
45951
45952 * string/memchr.c: Merge from gnulib.
45953 [_LIBC]: Remove conditionals.
45954 (__ptr_t): Remove define.
45955 (LONG_MAX_32_BITS): Likewise.
45956 (LONG_MAX): Likewise.
45957 (MEMCHR): Use ANSI prototype and optimize algorithm.
45958
45959 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
45960
45961 2014-07-03 Roland McGrath <roland@hack.frob.com>
45962
45963 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
45964 (lll_futex_timed_wait_bitset): Fix syscall argument count.
45965
45966 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
45967 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
45968 in a bare environment with no <stdlib.h> installed.
45969 * sysdeps/nptl/configure: Regenerated.
45970
45971 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
45972
45973 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
45974 AC_EGREP_CPP for kernel header checks, so they only succeed if
45975 including <linux/version.h> actually works right.
45976 * sysdeps/unix/sysv/linux/configure: Regenerated.
45977
45978 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
45979 value so it's not diagnosed as unused.
45980
45981 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
45982 thing) with "ifeq ($(subdir),rt)".
45983
45984 2014-07-03 Richard Henderson <rth@redhat.com>
45985
45986 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
45987 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
45988 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
45989
45990 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
45991 (math_force_eval): New.
45992
45993 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
45994 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
45995
45996 * sysdeps/alpha/fpu/s_round.c: Remove file.
45997 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
45998
45999 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46000 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46001 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46002 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46003 (_dl_start, print_statistics): Likewise.
46004 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46005 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46006
46007 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46008 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46009 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46010 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46011 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46012 (HP_SMALL_TIMING_AVAIL): Define.
46013 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46014 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46015 (HP_SMALL_TIMING_AVAIL): Define.
46016 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46017 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46018
46019 * sysdeps/aarch64/hp-timing.h: New file.
46020
46021 * sysdeps/generic/hp-timing.h: Remove dead comment.
46022 * sysdeps/generic/hp-timing-common.h: New file.
46023 * sysdeps/alpha/hp-timing.h: Include it.
46024 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46025 * sysdeps/i386/i686/hp-timing.h: Likewise.
46026 * sysdeps/ia64/hp-timing.h: Likewise.
46027 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46028 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46030 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46031 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46032 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46033 (hp_timing_t): New.
46034
46035 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46036 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46037 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46038 * elf/rtld.c (_dl_start_final): Likewise.
46039 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46040 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46041 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46042 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46043 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46045 (HP_TIMING_DIFF_INIT): Remove.
46046 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46047 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46048 (HP_TIMING_DIFF_INIT): Remove.
46049 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46050 * sysdeps/i386/i686/hp-timing.c: Remove file.
46051 * sysdeps/x86_64/hp-timing.c: Remove file.
46052 * sysdeps/ia64/hp-timing.c: Remove file.
46053 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46054 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46055 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46056 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46057
46058 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46059 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46060 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46061 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46063 (HP_TIMING_ACCUM): Remove.
46064 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46065 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46066 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46067
46068 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46069 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46070 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46071 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46072 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46073 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46074 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46075 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46076
46077 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46078
46079 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
46080
46081 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46082
46083 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46084
46085 Sync up with gettext.
46086 * intl/loadmsgcat.c: Define O_BINARY if not defined.
46087 [_MSC_VER]: Include malloc.h
46088 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46089 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46090 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
46091 TEMP_FAILURE_RETRY. Cast return of alloca.
46092 [!_LIBC] Call gl_rwlock_init.
46093 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46094
46095 2014-07-02 Roland McGrath <roland@hack.frob.com>
46096
46097 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46098 before checking its value.
46099
46100 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46101
46102 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46103
46104 * debug/memcpy_chk.c: Don't include pagecopy.h.
46105 * debug/mempcpy_chk.c: Likewise.
46106 * string/memcpy.c: Likewise.
46107 * string/memmove.c: Likewise.
46108 * sysdeps/powerpc/memmove.c: Likewise.
46109 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
46110 definition of PAGE_COPY_FWD_MAYBE here...
46111 * sysdeps/generic/pagecopy.h: ... from here.
46112 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46113
46114 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
46115 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46116
46117 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46119 optimizations.
46120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46121 (__libc_ifunc_impl_list): Likewise.
46122 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46123 multiarch strcat for PPC64.
46124 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46125 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46126
46127 2014-07-02 Roland McGrath <roland@hack.frob.com>
46128
46129 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46130
46131 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46132
46133 * intl/loadmsgcat.c: Remove declaration of
46134 get_sysdep_segment_value.
46135 (get_sysdep_segment_value): Use ISO C style.
46136 (_nl_load_domain): Use ISO C style. Get rid of redundant
46137 semicolon. Fix typo and formatting in comment.
46138 (_nl_unload_domain): Use ISO C style.
46139
46140 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46141
46142 2014-07-02 Will Newton <will.newton@linaro.org>
46143
46144 * malloc/obstack.c: Merge from gnulib master.
46145 [HAVE_CONFIG_H]: Remove conditional code.
46146 [!_LIBC]: Include config.h.
46147 [!ELIDE_CODE]: Don't include inttypes.h, include
46148 stdint.h unconditionally.
46149 (print_and_abort): Mark as _Noreturn.
46150 (_obstack_allocated_p): Mark as __attribute_pure__.
46151 (obstack_free): Rename to __obstack_free.
46152 [!__attribute__]: Remove conditional code.
46153 * malloc/obstack.h: Merge from gnulib master.
46154 [__cplusplus]: Move conditional down.
46155 [!__attribute_pure__]: Define __attribute_pure__ here
46156 if it is not already defined.
46157 (_obstack_memory_used): Mark as __attribute_pure__.
46158 [!__obstack_free]: Define as obstack_free.
46159 [__GNUC__]: Remove check for ancient NeXT gcc.
46160
46161 2014-07-02 Will Newton <will.newton@linaro.org>
46162 Paul Eggert <eggert@cs.ucla.edu>
46163
46164 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46165
46166 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
46167
46168 * resolv/gethnamaddr.c: Add comment warning that the file is
46169 not maintained.
46170
46171 2014-07-01 Carlos O'Donell <carlos@redhat.com>
46172
46173 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46174 entries.
46175
46176 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46177 entry for aio_cancel and aio_cancel64.
46178 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46179 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46180 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46181 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46182 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46183 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46184 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46185 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46186 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46187 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46188 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46189 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46190 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46191
46192 2014-07-01 Roland McGrath <roland@hack.frob.com>
46193
46194 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46195 * nptl/pthread_mutex_lock.c: Likewise.
46196 * nptl/pthread_mutex_timedlock.c: Likewise.
46197 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46198
46199 2014-07-01 Richard henderson <rth@redhat.com>
46200
46201 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46202 (__isnan, __isnanl): Remove.
46203 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46204
46205 * sysdeps/alpha/fpu/libm-test-ulps: Update.
46206
46207 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46208
46209 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46210
46211 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46212
46213 * resolv/nss_dns/dns-host.c (getanswer_r)
46214 [MULTI_PTRS_ARE_ALIASES]: Remove code.
46215
46216 2014-07-01 Joseph Myers <joseph@codesourcery.com>
46217
46218 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46219 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46220 undefine.
46221 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46222 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46223
46224 2014-07-01 Roland McGrath <roland@hack.frob.com>
46225
46226 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46227 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46228
46229 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46230 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46231
46232 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46233 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46234 ... here.
46235 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46236 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46237
46238 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46239 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46240 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46241 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46242
46243 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46244 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46245 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46246 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46247 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46248 Moved ...
46249 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46250 ... here.
46251 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46252 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46253 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46254 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46255 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46256 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46257 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46258 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46259 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46260 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46261 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46262 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46263 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46264 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46265 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46266 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46267 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46268 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46269 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46270 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46271 ... here.
46272 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46273 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46274 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46275 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46276 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46277 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46278 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46279 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46280
46281 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
46282
46283 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46284 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46285 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46286 Add sysdep.
46287
46288 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46289
46290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46291
46292 2014-06-30 Joseph Myers <joseph@codesourcery.com>
46293
46294 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46295 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46296
46297 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46298
46299 * sysdeps/arm/libm-test-ulps: Regenerated.
46300
46301 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
46302 Roland McGrath <roland@hack.frob.com>
46303
46304 * test-skeleton.c (signal_handler): Kill the whole process group
46305 before killing the child individually.
46306 (main): Report any failure on `setpgid'.
46307
46308 2014-06-30 Roland McGrath <roland@hack.frob.com>
46309
46310 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46311 from _TLS_H to _ARM_NPTL_TLS_H.
46312 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46313 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46314
46315 2014-06-30 Joseph Myers <joseph@codesourcery.com>
46316
46317 [BZ #16539]
46318 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46319 (__expm1l): Return argument unchanged when small but not
46320 subnormal.
46321
46322 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46323 include macro name.
46324 (_FP_UNPACK_RAW_1_P): Likewise.
46325 (_FP_PACK_RAW_1): Likewise.
46326 (_FP_PACK_RAW_1_P): Likewise.
46327 (_FP_MUL_MEAT_1_wide): Likewise.
46328 (_FP_MUL_MEAT_DW_1_hard): Likewise.
46329 (_FP_MUL_MEAT_1_hard): Likewise.
46330 (_FP_DIV_MEAT_1_imm): Likewise.
46331 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46332 (_FP_DIV_MEAT_1_udiv): Likewise.
46333 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46334 (_FP_UNPACK_RAW_2): Likewise.
46335 (_FP_UNPACK_RAW_2_P): Likewise.
46336 (_FP_PACK_RAW_2): Likewise.
46337 (_FP_PACK_RAW_2_P): Likewise.
46338 (_FP_MUL_MEAT_DW_2_wide): Likewise.
46339 (_FP_MUL_MEAT_2_wide): Likewise.
46340 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46341 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46342 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46343 (_FP_MUL_MEAT_2_gmp): Likewise.
46344 (_FP_DIV_MEAT_2_udiv): Likewise.
46345 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46346 (_FP_FRAC_SRL_4): Likewise.
46347 (_FP_FRAC_SRST_4): Likewise.
46348 (_FP_FRAC_SRS_4): Likewise.
46349 (_FP_UNPACK_RAW_4): Likewise.
46350 (_FP_UNPACK_RAW_4_P): Likewise.
46351 (_FP_PACK_RAW_4): Likewise.
46352 (_FP_PACK_RAW_4_P): Likewise.
46353 (_FP_MUL_MEAT_DW_4_wide): Likewise.
46354 (_FP_MUL_MEAT_4_wide): Likewise.
46355 (_FP_MUL_MEAT_4_gmp): Likewise.
46356 (umul_ppppmnnn): Likewise.
46357 (_FP_DIV_MEAT_4_udiv): Likewise.
46358 (__FP_FRAC_ADD_4): Likewise.
46359 (__FP_FRAC_SUB_3): Likewise.
46360 (__FP_FRAC_SUB_4): Likewise.
46361 (__FP_FRAC_DEC_3): Likewise.
46362 (__FP_FRAC_DEC_4): Likewise.
46363 (__FP_FRAC_ADDI_4): Likewise.
46364 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46365 (_FP_FRAC_SRL_8): Likewise.
46366 (_FP_FRAC_SRS_8): Likewise.
46367
46368 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46369 include macro name.
46370 (FP_UNPACK_RAW_EP): Likewise.
46371 (FP_PACK_RAW_E): Likewise.
46372 (FP_PACK_RAW_EP): Likewise.
46373 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46374 (_FP_ISSIGNAN): Likewise.
46375 (_FP_ADD_INTERNAL): Likewise.
46376 (_FP_FMA): Likewise.
46377 (_FP_CMP): Likewise.
46378 (_FP_SQRT): Likewise.
46379 (_FP_TO_INT): Likewise.
46380 (_FP_FROM_INT): Likewise.
46381 (FP_EXTEND): Likewise.
46382 (_FP_DIV_MEAT_N_loop): Likewise.
46383
46384 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
46385
46386 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46387 throughout.
46388
46389 2014-06-29 Joseph Myers <joseph@codesourcery.com>
46390
46391 [BZ #17097]
46392 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46393 result with correct sign in case of exponents that produce
46394 overflow except for X very close to 1.
46395
46396 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
46397
46398 mktime: merge #if/#ifdef usage from glibc
46399 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46400 as that works with both Glibc's and Gnulib's style.
46401 See thread starting at Siddhesh Poyarekar's bug report at:
46402 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46403
46404 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46405
46406 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46407 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46408 * sysdeps/tile/tilegx/memmove.c: Remove file.
46409
46410 2014-06-27 Joseph Myers <joseph@codesourcery.com>
46411
46412 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46413 abi-name definition.
46414 * scripts/soversions.awk: Do not handle or generate ABI lines.
46415 * shlib-versions: Remove ABI entries.
46416 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46417 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46418
46419 2014-06-27 Roland McGrath <roland@hack.frob.com>
46420
46421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46422 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46423 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46424 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46425 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46426 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46427 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46428 Moved ...
46429 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46430 ... here.
46431 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46432 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46434 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46436 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46438 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46440 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46442 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46444 Moved ...
46445 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46447 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46449 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46451 Moved ...
46452 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46454 Moved ...
46455 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46457 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46459 Moved ...
46460 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46462 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46464 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46466 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46468 Moved ...
46469 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46471 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46472 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46473 Moved ...
46474 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46475 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46476 Moved ...
46477 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46479 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46481 Moved ...
46482 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46483 ... here.
46484 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46485 Identical file removed.
46486 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46487 Moved ...
46488 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46489 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46490 Identical file removed.
46491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46492 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46493 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46494 Moved ...
46495 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46496 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46497 Identical file removed.
46498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46499 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46501 Identical file removed.
46502 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46503 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46505 Identical file removed.
46506 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46507 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46509 Identical file removed.
46510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46511 Moved ...
46512 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46514 Identical file removed.
46515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46516 Moved ...
46517 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46519 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46521 Identical file removed.
46522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46523 Moved ...
46524 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46525 ... here.
46526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46527 Identical file removed.
46528 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46529 Moved ...
46530 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46532 Identical file removed.
46533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46534 Moved ...
46535 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46536 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46537 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46539 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46541 Moved ...
46542 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46543 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46544 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46545
46546 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46547 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46548 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46549 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46550 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46551
46552 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
46553
46554 [BZ #17092]
46555 * nscd/nscd.c (monitor_child): Return exit status of child
46556 instead of return value from wait syscall.
46557
46558 2014-06-27 Joseph Myers <joseph@codesourcery.com>
46559
46560 * configure.ac (libc_commonpagesize): Remove variable.
46561 (libc_relro_required): Likewise.
46562 (libc_cv_z_relro): Remove configure test.
46563 * configure: Regenerated.
46564 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46565 variable.
46566 (libc_relro_required): Likewise.
46567 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46568 (libc_relro_required): Likewise.
46569 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46570 (libc_relro_required): Likewise.
46571 * sysdeps/arm/preconfigure: Regenerated.
46572 * sysdeps/ia64/preconfigure: Remove file.
46573 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46574 variable.
46575 (libc_relro_required): Likewise.
46576
46577 [BZ #16561]
46578 [BZ #16562]
46579 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46580 (__ieee754_yn): Set FE_TONEAREST mode internally and then
46581 recompute overflowing results in original rounding mode.
46582 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46583 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46584 recompute overflowing results in original rounding mode.
46585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46586 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46587 recompute overflowing results in original rounding mode.
46588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46589 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46590 recompute overflowing results in original rounding mode.
46591 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46592 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46593 recompute overflowing results in original rounding mode.
46594 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46595 (libc_feholdsetround_ctx): New macro.
46596 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46597 * sysdeps/i386/fpu/libm-test-ulps: Update.
46598 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46599
46600 2014-06-26 Joseph Myers <joseph@codesourcery.com>
46601
46602 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46603 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46604 corresponding .cpsetup call.
46605
46606 2014-06-26 Roland McGrath <roland@hack.frob.com>
46607
46608 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46609 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46610 * sysdeps/arm/Makefile [$(subdir) = csu]
46611 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46612 (static-only-routines): Add aeabi_read_tp here.
46613 (shared-only-routines): Add libc-aeabi_read_tp here.
46614 (CFLAGS-libc-start.c): Add -fexceptions here.
46615 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46616 (sysdep_routines, static-only-routines, shared-only-routines):
46617 Don't add to these here.
46618 (CFLAGS-libc-start.c): Likewise.
46619
46620 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46621 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46622 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46623 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46624 * sysdeps/arm/Makefile [$(subdir) = rt]
46625 (librt-sysdep_routines, librt-shared-only-routines):
46626 Append rt-aeabi_unwind_cpp_pr1 here.
46627 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46628 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46629 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46630 (libpthread-sysdep_routines, libpthread-shared-only-routines):
46631 Append nptl-aeabi_unwind_cpp_pr1 here.
46632 (tests): Filter out tst-cleanupx4 here.
46633 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46634 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46635 Don't do those here.
46636
46637 2014-06-26 Joseph Myers <joseph@codesourcery.com>
46638
46639 * scripts/list-sources.sh: Do not handle ports specially.
46640
46641 2014-06-26 Roland McGrath <roland@hack.frob.com>
46642
46643 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46644 * sysdeps/arm/feupdateenv.c: Likewise.
46645
46646 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46647
46648 2014-06-26 Joseph Myers <joseph@codesourcery.com>
46649
46650 * manual/texinfo.tex: Update to version 2014-05-05.10 with
46651 trailing whitespace removed.
46652 * scripts/config.guess: Update to version 2014-03-23.
46653 * scripts/config.sub: Update to version 2014-05-01
46654 * scripts/install-sh: Update to version 2013-12-25.23.
46655 * scripts/move-if-change: Update from gnulib.
46656
46657 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46658
46659 * debug/memmove_chk.c: Remove pagecopy.h include.
46660
46661 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
46662
46663 * time/mktime.c (leapyear): Remove inline keyword. The code is now
46664 identical to gnulib mktime.
46665
46666 2014-06-26 Joseph Myers <joseph@codesourcery.com>
46667
46668 * configure.ac: Do not test for machine being rs6000. Do not test
46669 for powerpc*-*soft.
46670 * configure: Regenerated.
46671
46672 [BZ #11505]
46673 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46674 test.
46675 * configure: Regenerated.
46676 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46677 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46678 Remove configure test.
46679 * sysdeps/arm/configure: Regenerated.
46680 * sysdeps/nptl/configure.ac: Do not check
46681 libc_cv_asm_cfi_directives.
46682 * sysdeps/nptl/configure: Regenerated.
46683 * sysdeps/x86_64/nptl/configure.ac: Remove file.
46684 * sysdeps/x86_64/nptl/configure: Remove generated file.
46685 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46686 unconditional.
46687 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46688
46689 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46690
46691 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46692 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46693 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46694 it is defined.
46695
46696 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46697 instead of whether it is defined.
46698 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46699 * sysdeps/hppa/dl-machine.h: Likewise.
46700 * sysdeps/ia64/dl-machine.h: Likewise.
46701 * sysdeps/m68k/dl-machine.h: Likewise.
46702 * sysdeps/microblaze/dl-machine.h: Likewise.
46703 * sysdeps/mips/dl-machine.: Likewise.
46704 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46705 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46706 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46707 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46708 * sysdeps/sh/dl-machine.h: Likewise.
46709 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46710 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46711 * sysdeps/tile/dl-machine.h: Likewise.
46712 * sysdeps/x86_64/dl-machine.h: Likewise.
46713
46714 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46715 code.
46716 (verify_persistent_db): Likewise.
46717
46718 2014-06-26 Roland McGrath <roland@hack.frob.com>
46719
46720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
46721 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
46722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
46723 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
46724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46725 Moved ...
46726 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
46727 ... here.
46728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
46729 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
46730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
46731 Identical file removed.
46732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
46733 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
46735 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
46736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
46737 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
46738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
46739 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
46740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
46741 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
46742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46743 Moved ...
46744 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
46745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
46746 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
46747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
46748 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
46749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46750 Moved ...
46751 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
46752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
46753 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
46754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
46755 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
46756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46757 Identical file removed.
46758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
46759 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
46760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
46761 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
46762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46763 Moved ...
46764 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
46765 ... here.
46766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
46767 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
46768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
46769 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
46770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
46771 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
46772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
46773 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
46774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
46775 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
46776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46777 Moved ...
46778 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
46779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
46780 Moved ...
46781 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
46782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
46783 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
46784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46785 Moved ...
46786 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
46787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
46788 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
46789
46790 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
46791 folded into ...
46792 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
46793 * sysdeps/unix/sysv/linux/s390/Versions
46794 (libpthread: GLIBC_2.19): New version set.
46795 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
46796 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
46797 (librt: GLIBC_2.3.3): New version set.
46798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
46799 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
46800 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
46801 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
46802 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
46803 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
46804 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
46805 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
46806 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
46807 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
46808 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
46809 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
46810 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
46811 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
46812 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
46813 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
46814 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
46815 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
46816 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
46817 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
46818 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
46819 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
46820 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
46821 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
46822 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
46823 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
46824 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
46825 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
46826 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
46827 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
46828 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
46829 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
46830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
46831 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
46832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
46833 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
46834 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
46835 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
46836 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
46837 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
46838 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
46839 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
46840 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
46841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
46842 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
46843
46844 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
46845 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
46846 (__libc_vfork): Define the function under this name.
46847 [!NOT_IN_libc] (__vfork): Make this an alias.
46848 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
46850 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
46851 (__libc_vfork): Define the function under this name.
46852 [!NOT_IN_libc] (__vfork): Make this an alias.
46853 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46854 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
46855 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
46856 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
46857 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
46858 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46859
46860 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
46861 code that was previously under [RESET_PID].
46862 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
46863 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
46864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
46865
46866 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
46867 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
46868 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
46869 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
46870 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
46871 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
46872 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
46873 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
46874 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
46875 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
46876 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
46877 Moved ...
46878 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
46879 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
46880 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
46881 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
46882 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
46883 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
46884 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
46885 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
46886 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46887 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
46888 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
46889 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
46890 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
46891 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
46892 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
46893 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
46894 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
46895 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
46896 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
46897 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
46898 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
46899 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
46900 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
46901 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
46902 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
46903 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
46904 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
46905 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
46906 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
46907
46908 2014-06-25 Roland McGrath <roland@hack.frob.com>
46909
46910 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
46911 that was previously under [RESET_PID].
46912 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
46913
46914 2014-06-25 Joseph Myers <joseph@codesourcery.com>
46915
46916 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
46917 not undefine and redefine.
46918 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
46919 [O_CLOEXEC]: Make code unconditional.
46920 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
46921 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
46922 <kernel-features.h>.
46923 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
46924 conditional variable definition.
46925 (shm_open) [O_CLOEXEC]: Make code unconditional.
46926 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
46927 code.
46928
46929 * configure.ac (USE_REGPARMS): Don't define here.
46930 * configure: Regenerated.
46931 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
46932 * sysdeps/i386/configure: Regenerated.
46933
46934 * nptl/createthread.c: Don't include kernel-features.h.
46935 * nptl/pthread_cancel.c: Likewise.
46936 * nptl/pthread_condattr_setclock.c: Likewise.
46937 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
46938 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
46939 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
46940 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
46941 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
46942 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
46943 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
46944 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
46945 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
46946 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
46947 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
46948 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
46949 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
46950 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
46951 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
46952 * nscd/gai.c: Likewise.
46953 * nss/nss_db/db-open.c: Likewise.
46954 * sysdeps/generic/ldsodefs.h: Likewise.
46955 * sysdeps/sh/nptl/tls.h: Likewise.
46956 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46957 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
46958 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
46959 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
46960 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
46961 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46962 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
46963 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46964 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46965 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
46966 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
46967 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46968 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
46969 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
46970 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
46971 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
46972 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
46973 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
46974 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
46975 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
46976 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
46977 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
46978 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
46979 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
46980 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
46981 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
46982 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
46983 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
46984 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
46985 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
46986 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
46987 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
46988 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
46989 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46990 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46991 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46992 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46993 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
46994 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
46995 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
46996 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46997 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
46998 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
46999 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47000 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47001 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47002 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47003 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47004 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47005 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47006 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47007 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47008 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47009 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47010 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47011 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47012 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47013 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47036 * sysdeps/unix/sysv/linux/pread.c: Likewise.
47037 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47038 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47039 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47040 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47041 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47042 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47043 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47044 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47045 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47046 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47047 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47048 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47049 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47050 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47051 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47052 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47053 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47054 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47055 * sysdeps/unix/sysv/linux/system.c: Likewise.
47056 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47057 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47058 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47059 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47060 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47061 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47062 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47063
47064 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47065 * configure: Regenerated.
47066 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47067
47068 * configure.ac (base_machine): Do not set specially for particular
47069 machines here.
47070 * configure: Regenerated.
47071 * sysdeps/powerpc/preconfigure: Move machine and base_machine
47072 settings from configure.ac.
47073 * sysdeps/i386/preconfigure: New file.
47074 * sysdeps/s390/preconfigure: Likewise.
47075 * sysdeps/sh/preconfigure: Likewise.
47076 * sysdeps/sparc/preconfigure: Likewise.
47077
47078 2014-06-25 Roland McGrath <roland@hack.frob.com>
47079
47080 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47081 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47082 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47083 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47084 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47085 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47086 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47087 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47088 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47089 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47090 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47091 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47092 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47093 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47094 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47095 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47096 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47097 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47098 * sysdeps/sparc/sparc64/Makefile: ... appended here.
47099
47100 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47101 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47102 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47103 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47104 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47105 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47106 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47107 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47108 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47109 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47110 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47111 * sysdeps/sparc/sparc32/sem_post.c: ... here.
47112 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47113 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47114 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47115 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47116 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47117 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47118 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47119 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47120 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47121 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47122 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47123 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47124 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47125 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47126 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47127 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47128 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47129 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47130 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47131 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47132 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47133 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47134 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47135 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47136 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47137 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47138
47139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47140 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47142 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47144 Moved ...
47145 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47146 ... here.
47147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47148 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47150 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47152 Moved ...
47153 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47155 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47159 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47161 Moved ...
47162 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47164 Moved ...
47165 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47167 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47169 Moved ...
47170 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47172 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47174 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47176 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47178 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47180 Moved ...
47181 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47182 ... here.
47183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47184 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47186 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47188 Moved ...
47189 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47191 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47193 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47195 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47197 Moved ...
47198 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47200 Moved ...
47201 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47203 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47205 Moved ...
47206 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47208 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47210 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47211
47212 2014-06-25 Joseph Myers <joseph@codesourcery.com>
47213
47214 * timezone/checktab.awk: Update from tzcode 2014e.
47215 * timezone/private.h: Likewise.
47216 * timezone/tzfile.h: Likewise.
47217 * timezone/zdump.c: Likewise.
47218 * timezone/zic.c: Likewise.
47219
47220 * sysdeps/unix/sysv/linux/kernel-features.h
47221 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47223 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47224 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47225 Remove conditional code.
47226
47227 2014-06-25 Will Newton <will.newton@linaro.org>
47228
47229 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47230 (_dl_arm_cap_flags): Add HWCAP2 values.
47231 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47232 (_DL_HWCAP_COUNT): Increase to 37.
47233 (_DL_HWCAP_LAST): New define.
47234 (_DL_HWCAP2_LAST): New define.
47235 (_dl_procinfo): Add support for printing
47236 AT_HWCAP2 entries.
47237 (_dl_string_hwcap): Use _dl_hwcap_string.
47238
47239 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47240
47241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47242
47243 2014-06-25 Joseph Myers <joseph@codesourcery.com>
47244
47245 * README: Do not mention ports directory.
47246
47247 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47248 Remove macro.
47249 * sysdeps/unix/sysv/linux/futimes.c: Do not include
47250 <kernel-features.h>.
47251 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47252 conditional variable definition.
47253 (__futimes): Update comment.
47254 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47255 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47256
47257 [BZ #16560]
47258 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47259 arguments close to 0.
47260 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47261 Likewise.
47262 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47263 Likewise.
47264 * math/auto-libm-test-in: Add more tests of exp10.
47265 * math/auto-libm-test-out: Regenerated.
47266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47267
47268 * sysdeps/unix/sysv/linux/kernel-features.h
47269 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47270 * sysdeps/unix/sysv/linux/readv.c: Do not include
47271 <kernel-features.h>.
47272 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47273 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47274 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47275 unconditional.
47276 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47277 conditional code.
47278 * sysdeps/unix/sysv/linux/writev.c: Do not include
47279 <kernel-features.h>.
47280 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47281 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47282 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47283 unconditional.
47284 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47285 conditional code.
47286
47287 2014-06-25 Will Newton <will.newton@linaro.org>
47288
47289 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47290 comment changes throughout the file. Remove checks
47291 for HAVE_*_H definitions that are not required.
47292 (__gen_tempname): Call abort if an unknown kind value is
47293 passed.
47294
47295 2014-06-25 Andreas Schwab <schwab@suse.de>
47296
47297 [BZ #17086]
47298 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47299 scalbln, scalblnf, scalblnl in libc.
47300
47301 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47302
47303 [BZ #17086]
47304 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47305 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47306 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47307
47308 2014-06-24 Roland McGrath <roland@hack.frob.com>
47309
47310 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47311 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47312 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47313 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47314 Update #include.
47315 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47316 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47317 Update #include.
47318 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47319 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47320 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47321 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47322 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47323 * sysdeps/x86/bits/pthreadtypes.h: ... here.
47324 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47325 * sysdeps/x86/bits/semaphore.h: ... here.
47326 * sysdeps/x86/nptl/elide.h: Moved ...
47327 * sysdeps/x86/elide.h: ... here.
47328 * sysdeps/x86_64/nptl/Implies: File removed.
47329 * sysdeps/i386/nptl/Implies: File removed.
47330
47331 2014-06-24 Joseph Myers <joseph@codesourcery.com>
47332
47333 [BZ #16539]
47334 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47335 return the argument for normal arguments with exponent below -64.
47336 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47337 Likewise.
47338 * math/auto-libm-test-in: Add another test of expm1.
47339 * math/auto-libm-test-out: Regenerated.
47340
47341 [BZ #16287]
47342 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47343 calling __erfcl for arguments at least 16.
47344 * math/auto-libm-test-in: Add more tests of erf.
47345 * math/auto-libm-test-out: Regenerated.
47346
47347 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47348 individual architectures.
47349 * sysdeps/unix/sysv/linux/configure: Regenerated.
47350 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47351 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47352 * sysdeps/unix/sysv/linux/powerpc/configure.ac
47353 (ldd_rewrite_script): Define variable.
47354 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47356 file.
47357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47358 generated file.
47359 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47360 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47361 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47362 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47363 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47364 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47365 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47366 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47367
47368 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47369
47370 [BZ #17084]
47371 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47372 Rename member __data.d to __data.__elision_data.
47373
47374 2014-06-24 Wilco <wdijkstr@arm.com>
47375
47376 * NEWS: Add 16918 to fixed bug list.
47377
47378 2014-06-24 Wilco <wdijkstr@arm.com>
47379
47380 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47381
47382 2014-06-24 Wilco <wdijkstr@arm.com>
47383
47384 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47385 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47386 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47387 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47388 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47389 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47390 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47391 Use _FPU_MASK_RM.
47392
47393 2014-06-24 Wilco <wdijkstr@arm.com>
47394
47395 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47396
47397 2014-06-24 Wilco <wdijkstr@arm.com>
47398
47399 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47400 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47401 * sysdeps/arm/fesetround.c (fesetround): Remove space.
47402 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47403
47404 2014-06-24 Wilco <wdijkstr@arm.com>
47405
47406 [BZ #16918]
47407 * sysdeps/arm/feupdateenv.c (feupdateenv):
47408 Rewrite to reduce FPSCR accesses and fix return value.
47409
47410 2014-06-24 Wilco <wdijkstr@arm.com>
47411
47412 * sysdeps/arm/fclrexcpt.c (feclearexcept):
47413 Optimize to avoid unnecessary FPSCR writes.
47414 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47415 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47416 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47417 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47418
47419 2014-06-24 Wilco <wdijkstr@arm.com>
47420
47421 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47422 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47423 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47424 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47425 Call libc_fetestexcept_vfp.
47426 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47427 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47428 __SOFTFP__ ifdef so that they can be built for softfp.
47429
47430 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47431
47432 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47433 argument type signed char.
47434
47435 * Makerules (check-abi): Dump diff of symlist if the test
47436 fails.
47437
47438 2014-06-23 Roland McGrath <roland@hack.frob.com>
47439
47440 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47441 using abort.
47442
47443 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47444 Remove unused variable ST.
47445
47446 2014-06-23 Joseph Myers <joseph@codesourcery.com>
47447
47448 [BZ #16354]
47449 [BZ #17061]
47450 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47451 small arguments before calling __expm1.
47452 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47453 small arguments before calling __expm1f.
47454 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47455 small arguments before calling __expm1l.
47456 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47457 Likewise.
47458 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47459 * math/auto-libm-test-in: Add more cosh tests. Do not allow
47460 spurious underflow for some cosh tests.
47461 * math/auto-libm-test-out: Regenerated.
47462 * sysdeps/i386/fpu/libm-test-ulps: Update.
47463
47464 [BZ #17050]
47465 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47466 (__ieee754_y1): Set errno if return value overflows.
47467 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47468 (__ieee754_y1f): Set errno if return value overflows.
47469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47470 (__ieee754_y1l): Set errno if return value overflows.
47471 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47472 (__ieee754_y1l): Set errno if return value overflows.
47473 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47474 * math/auto-libm-test-out: Regenerated.
47475
47476 * math/gen-auto-libm-tests.c: Document use of
47477 ignore-zero-inf-sign.
47478 (input_flag_type): Add value flag_ignore_zero_inf_sign.
47479 (input_flags): Add ignore-zero-inf-sign.
47480 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47481 * math/gen-libm-test.pl (generate_testfile): Handle
47482 ignore-zero-inf-sign.
47483 * math/auto-libm-test-in: Mark some cpow tests with
47484 ignore-zero-inf-sign and some with xfail-rounding.
47485 * math/auto-libm-test-out: Regenerated.
47486 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47487 * sysdeps/i386/fpu/libm-test-ulps: Update.
47488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47489
47490 [BZ #16315]
47491 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47492 overflowing or underflowing operations take place with sign of
47493 result.
47494 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47495 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47496 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47497 (__ieee754_pow): Recompute overflowing and underflowing results in
47498 original rounding mode.
47499 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47500 (__powl_helper): Allow negative argument X and scale negated value
47501 as needed. Avoid passing value outside [-1, 1] to f2xm1.
47502 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47503 overflowing or underflowing operations take place with sign of
47504 result.
47505 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47506 Include <math.h>.
47507 * math/auto-libm-test-in: Add more tests of pow.
47508 * math/auto-libm-test-out: Regenerated.
47509 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47510 (pow_tonearest_test_data): Remove.
47511 (pow_test_tonearest): Likewise.
47512 (pow_towardzero_test_data): Likewise.
47513 (pow_test_towardzero): Likewise.
47514 (pow_downward_test_data): Likewise.
47515 (pow_test_downward): Likewise.
47516 (pow_upward_test_data): Likewise.
47517 (pow_test_upward): Likewise.
47518 (main): Don't call removed functions.
47519 * sysdeps/i386/fpu/libm-test-ulps: Update.
47520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47521
47522 2014-06-23 Roland McGrath <roland@hack.frob.com>
47523
47524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47525 Moved ...
47526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47528 Moved ...
47529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47531 Moved ...
47532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47534 Moved ...
47535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47537 File removed.
47538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47539 File removed.
47540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47541 File removed.
47542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47543 File removed.
47544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47545 File removed.
47546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47547 File removed.
47548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47549 File removed.
47550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47551 File removed.
47552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47553 File removed.
47554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47555 File removed.
47556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47557 File removed.
47558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47559 File removed.
47560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47561 Moved ...
47562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47564 Moved ...
47565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47566 ... here.
47567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47568 Moved ...
47569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47571 Moved ...
47572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47574 Moved ...
47575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47577 Moved ...
47578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47580 Moved ...
47581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47583 Moved ...
47584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47586 Moved ...
47587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47590 ... here.
47591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47592 Moved ...
47593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47595 Moved ...
47596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47597 ... here.
47598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47599 Moved ...
47600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47601 ... here.
47602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47603 Moved ...
47604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47605 ... here.
47606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47607 Moved ...
47608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47610 Moved ...
47611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47615 Moved ...
47616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47617 ... here.
47618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47619 Moved ...
47620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47621 ... here.
47622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47623 Moved ...
47624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47626 Moved ...
47627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47629 Moved ...
47630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47632 Moved ...
47633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47635 Moved ...
47636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47637 ... here.
47638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47639 Moved ...
47640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47642 Moved ...
47643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47645 Moved ...
47646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47648 Moved ...
47649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47653 Moved ...
47654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47656 Moved ...
47657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47659 Moved ...
47660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47661 ... here.
47662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47663 Moved ...
47664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47665 ... here.
47666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47667 Moved ...
47668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47669 ... here.
47670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47671 Moved ...
47672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47674 Moved ...
47675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47677 Moved ...
47678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47680 Moved ...
47681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47682 ... here.
47683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47684 Moved ...
47685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47686 ... here.
47687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47688 Moved ...
47689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47690 ... here.
47691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47692 Moved ...
47693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47695 Moved ...
47696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47697
47698 2014-06-23 Will Newton <will.newton@linaro.org>
47699 Wilco <wdijkstr@arm.com>
47700
47701 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47702 implementation. Include get-rounding-mode.h.
47703 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47704 [!libc_feholdsetround_noex_ctx]: Define
47705 libc_feholdsetround_noex_ctx.
47706 [!libc_feholdsetround_noexf_ctx]: Define
47707 libc_feholdsetround_noexf_ctx.
47708 [!libc_feholdsetround_noexl_ctx]: Define
47709 libc_feholdsetround_noexl_ctx.
47710 (libc_feholdsetround_ctx): New function.
47711 (libc_feresetround_ctx): New function.
47712 (libc_feholdsetround_noex_ctx): New function.
47713 (libc_feresetround_noex_ctx): New function.
47714
47715 2014-06-23 Roland McGrath <roland@hack.frob.com>
47716
47717 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
47718 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
47719 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
47720 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
47721 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
47722 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
47723
47724 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
47725 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
47726 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
47727 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
47728 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
47729 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
47730 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
47731 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
47732 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
47733 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
47734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
47735 Moved ...
47736 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
47737 ... here.
47738 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
47739 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
47740 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
47741 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
47742 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
47743 Moved ...
47744 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
47745 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
47746 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
47747 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
47748 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
47749 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
47750 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
47751 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
47752 Moved ...
47753 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
47754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
47755 Moved ...
47756 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
47757 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
47758 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
47759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
47760 Moved ...
47761 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
47762 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
47763 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
47764 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
47765 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
47766 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
47767 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
47768 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
47769 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
47770 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
47771 Moved ...
47772 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
47773 ... here.
47774 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
47775 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
47776 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
47777 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
47778 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
47779 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
47780 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
47781 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
47782 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
47783 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
47784 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
47785 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
47786 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
47787 Moved ...
47788 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
47789 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
47790 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
47791 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
47792 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
47793 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
47794 Moved ...
47795 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
47796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
47797 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
47798 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
47799 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
47800
47801 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
47802 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
47803 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
47804 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
47805 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
47806 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
47807 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
47808 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
47809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
47810 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
47811 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
47812 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
47813 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
47814 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
47815 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
47816 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
47817 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
47818 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
47819 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
47820 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
47821 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
47822 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
47823 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
47824 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
47825 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
47826 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
47827 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
47828 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
47829
47830 2014-06-23 Joseph Myers <joseph@codesourcery.com>
47831
47832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
47833 (FALLOC_FL_COLLAPSE_RANGE): New macro.
47834 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
47835 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
47836 (IPV6_PMTUDISC_INTERFACE): Likewise.
47837 (IPV6_PMTUDISC_OMIT): Likewise.
47838
47839 2014-06-23 Andreas Schwab <schwab@suse.de>
47840
47841 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
47842 Remove unused errout label.
47843
47844 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47845
47846 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
47847 macro: hardware supports Vector Crypto instructions.
47848
47849 2014-06-23 Will Newton <will.newton@linaro.org>
47850
47851 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
47852 rather than __builtin_expect.
47853
47854 * elf/dl-lookup.c (undefined_msg): Remove variable.
47855 (_dl_lookup_symbol_x): Replace undefined_msg with string
47856 literal.
47857
47858 * elf/dl-lookup.c (do_lookup_unique): New function.
47859 (do_lookup_x): Move STB_GNU_UNIQUE handling code
47860 to a separate function.
47861
47862 2014-06-23 Andreas Schwab <schwab@suse.de>
47863
47864 [BZ #17079]
47865 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
47866 before reading the next line.
47867
47868 2014-06-23 Will Newton <will.newton@linaro.org>
47869
47870 * test-skeleton.c (signal_handler): Use printf and %m
47871 rather than perror. Use printf rather than fprintf to
47872 stderr. Use puts rather than fputs to stderr.
47873 (main): Likewise.
47874
47875 2014-06-22 Ludovic Courtès <ludo@gnu.org>
47876
47877 * nscd/nscd.c (thread_info_t): Remove typedef.
47878 (thread_info): Remove variable.
47879
47880 2014-06-21 Allan McRae <allan@archlinux.org>
47881
47882 * NEWS: Mention CVE-2014-4043.
47883
47884 2014-06-20 Roland McGrath <roland@hack.frob.com>
47885
47886 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
47887 * nptl/smp.h: ... here.
47888
47889 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
47890
47891 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
47892 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
47893 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
47894 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
47895
47896 * nptl/allocatestack.c: Include <stack-aliasing.h>.
47897 * nptl/stack-aliasing.h: New file.
47898 * sysdeps/i386/i686/stack-aliasing.h: New file.
47899 * sysdeps/i386/i686/nptl/Makefile: File removed.
47900 * sysdeps/x86_64/stack-aliasing.h: New file.
47901 * sysdeps/x86_64/nptl/Makefile
47902 (CFLAGS-pthread_create.c): Variable removed.
47903
47904 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
47905 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
47906 old file.
47907 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
47908 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
47909 old file.
47910
47911 2014-06-21 Joseph Myers <joseph@codesourcery.com>
47912
47913 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47914 (__ASSUME_SIGFRAME_V2): Remove macro.
47915 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
47916 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
47917 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
47918 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
47919 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
47920 Declare as function. Remove conditional macro definitions.
47921 (__default_rt_sa_restorer): Likewise.
47922 (__default_sa_restorer_v1): Remove declaration.
47923 (__default_sa_restorer_v2): Likewise.
47924 (__default_rt_sa_restorer_v1): Likewise.
47925 (__default_rt_sa_restorer_v2): Likewise.
47926 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
47927 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
47928 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
47929
47930 2014-06-20 Roland McGrath <roland@hack.frob.com>
47931
47932 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
47933 (libpthread-routines): Add sysdep.
47934 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
47935 * sysdeps/unix/sysv/linux/sparc/Versions
47936 (libpthread: GLIBC_2.3.3): New version set.
47937 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
47938 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
47939 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
47940 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
47941 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
47942 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
47943 Moved ...
47944 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
47945 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
47946 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
47947 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
47948 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
47949 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
47950 * sysdeps/sparc/nptl/sem_init.c: ... here.
47951 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
47952 * sysdeps/sparc/nptl/sem_post.c: ... here.
47953 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
47954 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
47955 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
47956 * sysdeps/sparc/nptl/sem_wait.c: ... here.
47957 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
47958 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
47959 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
47960 (libpthread-routines): Add cpu_relax.
47961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
47962 File removed.
47963 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
47964 (librt: GLIBC_2.3.3): New version set.
47965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
47966 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
47967 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
47968 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
47969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
47970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
47971 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
47972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
47973 Moved ...
47974 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
47975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
47976 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
47977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
47978 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
47979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
47980 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
47981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
47982 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
47983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
47984 Moved ...
47985 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
47986 Update #include.
47987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
47988 Moved ...
47989 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
47990 Update #include.
47991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
47992 Moved ...
47993 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
47994 Update #include.
47995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
47996 Moved ...
47997 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
47998 Update #include.
47999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48000 Moved ...
48001 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48002 Update #include.
48003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48004 Moved ...
48005 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48006 Update #include.
48007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48008 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48010 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48014 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48016 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48018 Moved ...
48019 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48021 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48023 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48024
48025 2014-06-20 Joseph Myers <joseph@codesourcery.com>
48026
48027 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48028 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48029 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48030 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48031 * nscd/nscd.c: Likewise.
48032 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48033 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48034 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48035 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48036
48037 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48038 <kernel-features.h>.
48039 (init_mq_netlink): Remove conditional have_sock_cloexec
48040 definitions. Remove code conditional on have_sock_cloexec < 0.
48041 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48042 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48043 * sysdeps/unix/sysv/linux/opensock.c: Do not include
48044 <kernel-features.h>.
48045 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48046 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48047
48048 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
48049
48050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48051 Add tests for memset_chk and memset.
48052
48053 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48054 with AVX2_Usable.
48055
48056 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
48057
48058 [BZ #16046]
48059 * elf/tst-dl-iter-static.c: New file.
48060 * elf/Makefile (tests-static): Add tst-dl-iter-static.
48061
48062 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48063 error.
48064
48065 2014-06-20 Joseph Myers <joseph@codesourcery.com>
48066
48067 * sysdeps/unix/sysv/linux/kernel-features.h
48068 (__ASSUME_F_GETOWN_EX): Remove macro.
48069 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48070 <kernel-features.h>.
48071 (miss_F_GETOWN_EX): Remove variable or macro.
48072 (do_fcntl): Do not check miss_F_GETOWN_EX.
48073 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48074
48075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48076 Remove macro.
48077 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48078 [!__ASSUME_AT_RANDOM]: Remove conditional code.
48079 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48080
48081 * sysdeps/unix/sysv/linux/kernel-features.h
48082 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48083 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48084 [ADJ_OFFSET_SS_READ]: Make code unconditional.
48085 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48086
48087 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
48088
48089 [BZ #17075]
48090 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48091 Fix calculation of the symbol's value.
48092 * sysdeps/arm/tst-armtlsdescloc.c: New file.
48093 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48094 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48095 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48096 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48097 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48098 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48099 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48100 (modules-names): Add `tst-armtlsdescmod',
48101 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48102 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48103 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48104 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48105 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48106 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48107 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48108 ($(objpfx)tst-armtlsdescloc): New dependency.
48109 ($(objpfx)tst-armtlsdescextnow): Likewise.
48110 ($(objpfx)tst-armtlsdescextlazy): Likewise.
48111 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48112 TLS scheme support.
48113 * sysdeps/arm/configure: Regenerate.
48114
48115 2014-06-20 Joseph Myers <joseph@codesourcery.com>
48116
48117 * include/fcntl.h (__atfct_seterrno): Remove prototype.
48118 (__atfct_seterrno_2): Likewise.
48119 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48120 <kernel-features.h>.
48121 (__ASSUME_ATFCTS): Do not undefine and redefine.
48122 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48123 (__have_atfcts): Remove conditional definition.
48124 (__fxstatat([__NR_fstatat64]: Make code unconditional.
48125 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48126 unreachable if [__ASSUME_ATFCTS].
48127 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48128 not undefine and redefine.
48129 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48130 <kernel-features.h>.
48131 (faccessat) [__NR_faccessat]: Make code unconditional.
48132 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48133 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48134 <kernel-features.h>.
48135 (fchmodat) [__NR_fchmodat]: Make code unconditional.
48136 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48137 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48138 <kernel-features.h>.
48139 (fchownat) [__NR_fchownat]: Make code unconditional.
48140 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48141 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48142 <kernel-features.h>.
48143 (futimesat) [__NR_futimesat]: Make code unconditional.
48144 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48145 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48146 <kernel-features.h>.
48147 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48148 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48149 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48150 <kernel-features.h>.
48151 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48152 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48153 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48154 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48155 <kernel-features.h>.
48156 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48157 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48158 * sysdeps/unix/sysv/linux/linkat.c: Do not include
48159 <kernel-features.h>.
48160 (linkat) [__NR_linkat]: Make code unconditional.
48161 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48162 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48163 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48164 <kernel-features.h>.
48165 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48166 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48167 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48168 <kernel-features.h>.
48169 (mkdirat) [__NR_mkdirat]: Make code unconditional.
48170 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48171 * sysdeps/unix/sysv/linux/openat.c: Do not include
48172 <kernel-features.h>.
48173 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48174 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48175 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48176 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48177 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48178 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48179 <kernel-features.h>.
48180 (readlinkat) [__NR_readlinkat]: Make code unconditional.
48181 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
48182 result of INLINE_SYSCALL directly, not via int variable.
48183 * sysdeps/unix/sysv/linux/renameat.c: Do not include
48184 <kernel-features.h>.
48185 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48186 (renameat) [__NR_renameat]: Make code unconditional.
48187 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48188 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48189 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48190 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48191 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48192 (__ASSUME_ATFCTS): Do not undefine and redefine.
48193 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48194 <kernel-features.h>.
48195 (symlinkat) [__NR_symlinkat]: Make code unconditional.
48196 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48197 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48198 <kernel-features.h>.
48199 (unlinkat) [__NR_unlinkat]: Make code unconditional.
48200 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48201 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48202 (__ASSUME_ATFCTS): Do not undefine and redefine.
48203 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48204 <kernel-features.h>.
48205 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48206 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48207 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48208 <kernel-features.h>.
48209 (__xmknodat) [__NR_mknodat]: Make code unconditional.
48210 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48211
48212 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
48213
48214 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48215
48216 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
48217
48218 [BZ #17069]
48219 * posix/regcomp.c (parse_reg_exp): Deallocate partially
48220 constructed tree before returning error.
48221 * posix/bug-regexp36.c: Expand test case.
48222
48223 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
48224
48225 [BZ #6803]
48226 * math/libm-test.inc (scalbln_test_date):
48227 Add errno expectations.
48228 * math/w_scalblnf.c: New File.
48229 Add wrapper which checks for setting errno to ERANGE.
48230 Add weak_alias for corresponding scalbln function.
48231 * math/w_scalbln.c: Likewise.
48232 * math/w_scalblnl.c: Likewise.
48233 * math/Makefile (libm-calls): Add w_scalbln.
48234 * sysdeps/ieee754/flt-32/s_scalblnf.c:
48235 Remove weak_alias for corresponding scalbln function.
48236 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48238 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48240 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48241 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48242 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48243 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48244 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48245 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48246 Remove long_double_symbol for scalblnl function in libm, libc.
48247 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48248 Add wrapper which checks for setting errno to ERANGE.
48249 Add long_double_symbol for scalblnl function in libm, libc.
48250 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48251 Remove long_double_symbol for scalblnl in libm.
48252 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
48253 Add wrapper which checks for setting errno to ERANGE.
48254 Add long_double_symbol for scalblnl function in libm.
48255 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48256 Do not use wrapper because of own implementation.
48257
48258 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
48259
48260 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48261 3 bytes for __pad1 for x32.
48262 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48263
48264 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
48265 H.J. Lu <hongjiu.lu@intel.com>
48266
48267 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48268 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48269 * sysdeps/x86_64/multiarch/memset.S: Likewise.
48270 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48271 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48272
48273 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
48274
48275 [BZ #17069]
48276 * posix/regcomp.c (parse_expression): Deallocate partially
48277 constructed tree before returning error.
48278 * posix/Makefile.c (tests): Add bug-regex36.
48279 (generated): Add bug-regex36.mtrace.
48280 (tests-special): Add $(objpfx)bug-regex36-mem.out
48281 (bug-regex36-ENV): New variable.
48282 ($(objpfx)bug-regex36-mem.out): New rule.
48283 * posix/bug-regex36.c: New file.
48284
48285 2014-06-19 Will Newton <will.newton@linaro.org>
48286
48287 * malloc/malloc.c (systrim): If extra is zero then return
48288 early.
48289
48290 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
48291
48292 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48293
48294 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
48295
48296 * sysdeps/aarch64/strchr.S: New file.
48297
48298 2014-06-18 Joseph Myers <joseph@codesourcery.com>
48299
48300 [BZ #17022]
48301 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48302 from arguments -2 or below.
48303 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48304 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48305
48306 2014-06-18 Andreas Schwab <schwab@suse.de>
48307
48308 [BZ #17062]
48309 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48310 of a bracket expr not to run off the end of the string.
48311 * posix/Makefile (tests): Add tst-fnmatch3.
48312 * posix/tst-fnmatch3.c: New file.
48313
48314 2014-06-18 Joseph Myers <joseph@codesourcery.com>
48315
48316 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48317 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48318 [$(cross-compiling) = no]: Likewise.
48319 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48320 [$(cross-compiling) = no]: Likewise.
48321
48322 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48323
48324 [BZ #17031]
48325 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48326 double, adjusted for any remainder from the high double.
48327 * math/libm-test.inc (nearbyint): Add tests.
48328 (rint): Likewise.
48329
48330 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48331
48332 * nptl/sysdeps/powerpc/Makefile: Moved ...
48333 * sysdeps/powerpc/nptl/Makefile: ... here.
48334 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48335 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48336 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48337 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48338 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48339 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48340 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48341 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48342 * nptl/sysdeps/powerpc/tls.h: Moved ...
48343 * sysdeps/powerpc/nptl/tls.h: ... here.
48344
48345 2014-06-16 Joseph Myers <joseph@codesourcery.com>
48346
48347 [BZ #16681]
48348 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48349 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48350 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48351 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48352 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48353 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48354 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48355 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48356 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48357
48358 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
48359
48360 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48361
48362 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
48363
48364 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48365 defined operator.
48366
48367 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48368 $TIMEOUTFACTOR.
48369
48370 2014-06-16 Florian Weimer <fweimer@redhat.com>
48371
48372 [BZ #17058]
48373 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48374 non-executed part of the test.
48375
48376 2014-06-16 Andreas Schwab <schwab@suse.de>
48377
48378 * string/bits/string2.h (strdup, strndup): Update feature guard.
48379
48380 2014-06-14 David S. Miller <davem@davemloft.net>
48381
48382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48383
48384 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
48385
48386 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48387 that was previously under [RESET_PID].
48388 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48389
48390 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48391 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48392 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48393 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48394 (__libc_vfork): New strong alias.
48395 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48396
48397 2014-06-14 Andi Kleen <ak@linux.intel.com>
48398
48399 * sysdeps/generic/elide.h: New file.
48400
48401 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
48402
48403 * Makefile (installed-headers): Adjust path of pthread.h header.
48404
48405 2014-06-13 Roland McGrath <roland@hack.frob.com>
48406
48407 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48408 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48409 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48410 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48411
48412 * nptl/sysdeps/s390/Makefile: Moved ...
48413 * sysdeps/s390/nptl/Makefile: ... here.
48414 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48415 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48416 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48417 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48418 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48419 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48420 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48421 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48422 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48423 * sysdeps/s390/nptl/pthreaddef.h: ... here.
48424 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48425 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48426 * nptl/sysdeps/s390/tls.h: Moved ...
48427 * sysdeps/s390/nptl/tls.h: ... here.
48428
48429 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48430 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48431
48432 2014-06-13 David S. Miller <davem@davemloft.net>
48433
48434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48437 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48441 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48442 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48443 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48444 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48445 Remove RESET_PID cpp guards.
48446 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48447 Remove RESET_PID cpp guards.
48448 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48449
48450 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
48451
48452 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48453 __sp to uintptr_t.
48454
48455 2014-06-13 Andi Kleen <ak@linux.intel.com>
48456
48457 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48459 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48460 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48461 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48462 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48463 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48464 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48465 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48466 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48467 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48468 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48469 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48471 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48472 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48473 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48475 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48476 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48477
48478 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48479 (pthread_rwlock_rdlock): Add elision.
48480 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48481 (pthread_rwlock_wrlock): Add elision.
48482 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48483 (pthread_rwlock_trywrlock): Add elision.
48484 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48485 (pthread_rwlock_tryrdlock): Add elision.
48486 * nptl/pthread_rwlock_unlock.c: Include elide.h.
48487 (pthread_rwlock_tryrdlock): Add elision unlock.
48488 * nptl/sysdeps/pthread/pthread.h:
48489 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48490 (PTHREAD_RWLOCK_INITIALIZER,
48491 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48492 Handle new elision field.
48493 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48494 * sysdeps/arm/nptl/bits/pthreadtypes.h
48495 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48496 * sysdeps/sh/nptl/bits/pthreadtypes.h
48497 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48498 * sysdeps/tile/nptl/bits/pthreadtypes.h
48499 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48500 * sysdeps/a/nptl/bits/pthreadtypes.h
48501 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48502 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48503 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48504 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48505 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48506 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48507 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48508 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48509 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48510 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48511 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48512 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48514 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48516 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48518 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48519 (elision_init): Set try_xbegin to zero when no RTM.
48520 * sysdeps/x86/nptl/bits/pthreadtypes.h
48521 (pthread_rwlock_t): Change __pad1 to __rwelision.
48522 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48523
48524 2014-06-13 Andi Kleen <ak@linux.intel.com>
48525
48526 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48527 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48528 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48529 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48530
48531 2014-06-13 Meador Inge <meadori@codesourcery.com>
48532
48533 [BZ #16996]
48534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48535 that the cached result has been set before returning it.
48536
48537 2014-06-12 Roland McGrath <roland@hack.frob.com>
48538
48539 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48540 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48541 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48542 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48543 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48544 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48545
48546 * nptl/sysdeps/sparc/Makefile: Moved ...
48547 * sysdeps/sparc/nptl/Makefile: ... here.
48548 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48549 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48550 * nptl/sysdeps/sparc/tls.h: Moved ...
48551 * sysdeps/sparc/nptl/tls.h: ... here.
48552 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48553 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48554 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48555 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48556 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48557 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48558 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48559 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48560 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48561 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48562 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48563 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48564 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48565 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48566 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48567 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48568 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48569 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48570 Update #include.
48571 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48572 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48573 Update #include.
48574 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48575 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48576 Update #include.
48577 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48578 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48579 Update #include.
48580
48581 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48582
48583 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48584 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48585
48586 * sysdeps/pthread/posix-timer.h: Include <list.h>.
48587 (struct list_links): Type removed.
48588 (struct thread_node, struct timer_node): Replace struct list_links
48589 with struct list_head.
48590 (list_unlink_ip): Likewise.
48591 * sysdeps/pthread/timer_routines.c
48592 (timer_free_list, thread_free_list, thread_active_list): Likewise.
48593 (list_append, list_insbefore): Likewise.
48594 (list_init): Function removed.
48595 (thread_init, init_module): Use INIT_LIST_HEAD instead.
48596 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48597 * sysdeps/pthread/Makefile: ... here, new file.
48598
48599 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48600 * sysdeps/nptl/Implies: ... here.
48601 * sysdeps/unix/sysv/linux/Implies: Add nptl.
48602 * nptl/sysdeps/pthread/list.h: Moved ...
48603 * include/list.h: ... here.
48604 * nptl/sysdeps/pthread/createthread.c: Moved ...
48605 * nptl/createthread.c: ... here.
48606 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48607 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48608 * nptl/pt-longjmp.c: ... here.
48609 * nptl/sysdeps/pthread/Makefile: Moved ...
48610 * sysdeps/nptl/Makefile: ... here.
48611 * nptl/sysdeps/pthread/Subdirs: Moved ...
48612 * sysdeps/nptl/Subdirs: ... here.
48613 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48614 * sysdeps/nptl/aio_misc.h: ... here.
48615 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48616 * sysdeps/nptl/bits/libc-lock.h: ... here.
48617 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48618 * sysdeps/nptl/bits/libc-lockP.h: ... here.
48619 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48620 * sysdeps/nptl/bits/stdio-lock.h: ... here.
48621 * nptl/sysdeps/pthread/configure: Moved ...
48622 * sysdeps/nptl/configure: ... here.
48623 * nptl/sysdeps/pthread/configure.ac: Moved ...
48624 * sysdeps/nptl/configure.ac: ... here.
48625 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48626 * sysdeps/nptl/gai_misc.h: ... here.
48627 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48628 * sysdeps/nptl/librt-cancellation.c: ... here.
48629 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48630 * sysdeps/nptl/malloc-machine.h: ... here.
48631 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48632 * sysdeps/nptl/pthread-functions.h: ... here.
48633 * nptl/sysdeps/pthread/pthread.h: Moved ...
48634 * sysdeps/nptl/pthread.h: ... here.
48635 * nptl/sysdeps/pthread/setxid.h: Moved ...
48636 * sysdeps/nptl/setxid.h: ... here.
48637 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48638 * sysdeps/nptl/sigfillset.c: ... here.
48639 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48640 * sysdeps/nptl/tcb-offsets.h: ... here.
48641 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48642 * sysdeps/nptl/tst-mqueue8x.c: ... here.
48643 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48644 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48645 * nptl/sysdeps/pthread/allocalim.h: Moved ...
48646 * sysdeps/pthread/allocalim.h: ... here.
48647 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48648 * sysdeps/pthread/bits/sigthread.h: ... here.
48649 * nptl/sysdeps/pthread/flockfile.c: Moved ...
48650 * sysdeps/pthread/flockfile.c: ... here.
48651 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48652 * sysdeps/pthread/ftrylockfile.c: ... here.
48653 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48654 * sysdeps/pthread/funlockfile.c: ... here.
48655 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48656 * sysdeps/pthread/posix-timer.h: ... here.
48657 * nptl/sysdeps/pthread/timer_create.c: Moved ...
48658 * sysdeps/pthread/timer_create.c: ... here.
48659 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48660 * sysdeps/pthread/timer_delete.c: ... here.
48661 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48662 * sysdeps/pthread/timer_getoverr.c: ... here.
48663 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48664 * sysdeps/pthread/timer_gettime.c: ... here.
48665 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48666 * sysdeps/pthread/timer_routines.c: ... here.
48667 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48668 * sysdeps/pthread/timer_settime.c: ... here.
48669 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48670 * sysdeps/pthread/tst-timer.c: ... here.
48671 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48672 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48673
48674 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48675 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48676
48677 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48678 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48679 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48680 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48681 Update #include target.
48682 * nptl/sysdeps/i386/i686/Makefile: Moved ...
48683 * sysdeps/i386/i686/nptl/Makefile: ... here.
48684 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48685 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48686 Update #include target.
48687 * nptl/sysdeps/i386/i686/tls.h: Moved ...
48688 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
48689 * nptl/sysdeps/i386/Makefile: Moved ...
48690 * sysdeps/i386/nptl/Makefile: ... here.
48691 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48692 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48693 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48694 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48695 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48696 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48697 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48698 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48699 * sysdeps/i386/nptl/pthreaddef.h: ... here.
48700 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48701 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48702 * nptl/sysdeps/i386/tls.h: Moved ...
48703 * sysdeps/i386/nptl/tls.h: ... here.
48704
48705 * sysdeps/sh/Makefile [$(subdir) = csu]
48706 (gen-as-const-headers): Add tcb-offsets.sym.
48707 * nptl/sysdeps/sh/Makefile: File removed.
48708 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48709 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48710 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48711 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48712 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48713 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48714 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48715 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48716 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48717 * sysdeps/sh/nptl/pthreaddef.h: ... here.
48718 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48719 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
48720 * nptl/sysdeps/sh/tls.h: Moved ...
48721 * sysdeps/sh/nptl/tls.h: ... here.
48722 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
48723 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
48724 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
48725 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
48726 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
48727 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
48728 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
48729 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
48730 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
48731 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
48732 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
48733 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
48734 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
48735 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
48736 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
48737 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
48738 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
48739 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
48740 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
48741 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
48742 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
48743 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
48744 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
48745 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
48746 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
48747 Moved ...
48748 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
48749 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
48750 Moved ...
48751 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
48752 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
48753 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
48754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
48755 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
48756 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
48757 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
48758 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
48759 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
48760 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
48761 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
48762 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
48763 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
48764 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
48765 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
48766 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
48767 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
48768 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
48769 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
48770
48771 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
48772
48773 * posix/spawn_faction_addopen.c: Include string.h.
48774
48775 2014-06-11 Roland McGrath <roland@hack.frob.com>
48776
48777 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
48778 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
48779 * nptl/sysdeps/x86_64/Makefile: Moved ...
48780 * sysdeps/x86_64/nptl/Makefile: ... here.
48781 * nptl/sysdeps/x86_64/configure: Moved ...
48782 * sysdeps/x86_64/nptl/configure: ... here.
48783 * nptl/sysdeps/x86_64/configure.ac: Moved ...
48784 * sysdeps/x86_64/nptl/configure.ac: ... here.
48785 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
48786 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
48787 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
48788 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
48789 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
48790 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
48791 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
48792 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
48793 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
48794 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
48795 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
48796 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
48797 * nptl/sysdeps/x86_64/tls.h: Moved ...
48798 * sysdeps/x86_64/nptl/tls.h: ... here.
48799 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
48800 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
48801 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
48802 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
48803
48804 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
48805
48806 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48807
48808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48809
48810 2014-06-11 Joseph Myers <joseph@codesourcery.com>
48811
48812 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
48813 type.
48814 [POSIX] (off_t): Likewise.
48815 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
48816 [POSIX] (S_ISBLK): Require macro.
48817 [POSIX] (S_ISCHR): Likewise.
48818 [POSIX] (S_ISDIR): Likewise.
48819 [POSIX] (S_ISFIFO): Likewise.
48820 [POSIX] (S_ISREG): Likewise.
48821 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
48822 optional-macro.
48823 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
48824 type.
48825 [POSIX] (time_t): Likewise.
48826 [POSIX] (timer_t): Likewise.
48827
48828 2014-06-11 Florian Weimer <fweimer@redhat.com>
48829
48830 [BZ #17048]
48831 * posix/spawn_int.h (struct __spawn_action): Make the path string
48832 non-const to support deallocation.
48833 * posix/spawn_faction_addopen.c
48834 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
48835 * posix/spawn_faction_destroy.c
48836 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
48837 path in all spawn_do_open actions.
48838 * posix/tst-spawn.c (do_test): Exercise the copy operation in
48839 posix_spawn_file_actions_addopen.
48840
48841 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
48842
48843 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
48844 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
48845 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
48846 conditional code always true.
48847 (__libc_vfork): New alias.
48848
48849 2014-06-11 Roland McGrath <roland@hack.frob.com>
48850
48851 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48852 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
48853
48854 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
48855
48856 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48857 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
48858
48859 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48860 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
48861
48862 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48863 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
48864
48865 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
48866
48867 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
48868 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
48869 multiarch strcmp for PPC64.
48870 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
48871 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
48872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
48873 multiarch optimizations.
48874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48875 (__libc_ifunc_impl_list): Likewise.
48876
48877 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48878
48879 * benchtests/scripts/validate_benchout.py: New script.
48880 * benchtests/Makefile (bench-func): Call it.
48881 * benchtests/scripts/benchout.schema.json: New file.
48882
48883 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
48884
48885 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
48886 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
48887 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
48888 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
48889 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
48890 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
48891 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
48892 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
48893 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
48894 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
48895 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
48896 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
48897 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
48898 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
48899 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
48900 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
48901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
48902 Moved ...
48903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
48904 ... here.
48905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
48906 Moved ...
48907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
48908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
48909 Moved ...
48910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
48911 ... here.
48912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
48913 Moved ...
48914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
48915 ... here.
48916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
48917 Moved ...
48918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
48919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
48920 Moved ...
48921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
48922 ... here.
48923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
48924 Moved ...
48925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
48926 ... here.
48927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
48928 Moved ...
48929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
48930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
48931 Moved ...
48932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
48933 ... here.
48934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
48935 Moved ...
48936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
48937 ... here.
48938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
48939 Moved ...
48940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
48941 ... here.
48942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
48943 Moved ...
48944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
48945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
48946 Moved ...
48947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
48948 ... here.
48949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
48950 Moved ...
48951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
48952 ... here.
48953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
48954 Moved ...
48955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
48956 ... here.
48957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
48958 Moved ...
48959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
48960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
48961 Moved ...
48962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
48963 ... here.
48964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
48965 Moved ...
48966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
48967 ... here.
48968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
48969 Moved ...
48970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
48971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
48972 Moved ...
48973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
48974 ... here.
48975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
48976 Moved ...
48977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
48978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
48979 Moved ...
48980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
48981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
48982 Moved ...
48983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
48984 ... here.
48985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
48986 Moved ...
48987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
48988 ... here.
48989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
48990 Moved ...
48991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
48992 ... here.
48993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
48994 Moved ...
48995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
48996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
48997 Moved ...
48998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
48999 ... here.
49000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49001 Moved ...
49002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49003 ... here.
49004 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49005 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49006 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49007 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49008 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49009 Moved ...
49010 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49011 ... here.
49012 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49013 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49014 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49015 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49016 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49017 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49018 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49019 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49020 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49021 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49023 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49024 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49025 Moved ...
49026 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49027 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49028 Moved ...
49029 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49030 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49031 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49033 Moved ...
49034 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49036 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49037 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49038 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49039 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49040 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49041
49042 2014-06-10 Wilco <wdijkstr@arm.com>
49043
49044 * math/test-fenv-return.c: New file.
49045 * math/Makefile: Add new test test-fenv-return.
49046
49047 2014-06-10 Joseph Myers <joseph@codesourcery.com>
49048
49049 [BZ #17042]
49050 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49051 when x - 1 is zero.
49052 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49053 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49054 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49055 0.0L for an argument of 1.0L.
49056 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49057 Likewise.
49058 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49059 value when x - 1 is zero.
49060 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49061 * sysdeps/i386/fpu/libm-test-ulps: Update.
49062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49063
49064 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
49065
49066 [BZ #15119]
49067 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49068
49069 2014-06-09 Roland McGrath <roland@hack.frob.com>
49070
49071 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49072 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49073
49074 2014-06-09 Roland McGrath <roland@hack.frob.com>
49075
49076 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49077 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49078
49079 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49080 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49081
49082 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49083 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49084
49085 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49086 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49087
49088 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49089 if not already defined.
49090 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49091 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49092 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49093 (TLS_INIT_TP): Use it.
49094 (TLS_DEFINE_INIT_TP): New macro.
49095 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49096
49097 2014-06-09 Joseph Myers <joseph@codesourcery.com>
49098
49099 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49100 constant.
49101 [POSIX] (IXANY): Likewise.
49102 [POSIX] (OLCUC): Likewise.
49103 [POSIX || POSIX2008] (CBAUD): Do not allow.
49104 [POSIX || POSIX2008] (DEFECHO): Likewise.
49105 [POSIX || POSIX2008] (ECHOCTL): Likewise.
49106 [POSIX || POSIX2008] (ECHOKE): Likewise.
49107 [POSIX || POSIX2008] (ECHOPRT): Likewise.
49108 [POSIX || POSIX2008] (EXTA): Likewise.
49109 [POSIX || POSIX2008] (EXTB): Likewise.
49110 [POSIX || POSIX2008] (FLUSHO): Likewise.
49111 [POSIX || POSIX2008] (LOBLK): Likewise.
49112 [POSIX || POSIX2008] (PENDIN): Likewise.
49113 [POSIX || POSIX2008] (SWTCH): Likewise.
49114 [POSIX || POSIX2008] (VDISCARD): Likewise.
49115 [POSIX || POSIX2008] (VDSUSP): Likewise.
49116 [POSIX || POSIX2008] (VLNEXT): Likewise.
49117 [POSIX || POSIX2008] (VREPRINT): Likewise.
49118 [POSIX || POSIX2008] (VSTATUS): Likewise.
49119 [POSIX || POSIX2008] (VWERASE): Likewise.
49120 (B*): Change to B[0123456789]*.
49121 * conform/data/time.h-data [POSIX || UNIX98]
49122 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49123 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49124 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49125 [POSIX] (tm_*): Do not allow.
49126
49127 2014-06-07 Joseph Myers <joseph@codesourcery.com>
49128
49129 * Makefile (install): Don't set LANGUAGE.
49130 * Makefile.in (install): Likewise.
49131 * assert/Makefile (test-assert-ENV): Remove variable.
49132 (test-assert-perr-ENV): Likewise.
49133 * elf/Makefile (neededtest4-ENV): Likewise.
49134 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49135 [$(cross-compiling) = no]: Don't set LANGUAGE.
49136 * io/ftwtest-sh (LANG): Remove variable.
49137 * libio/Makefile (tst-widetext-ENV): Likewise.
49138 * manual/install.texi (Running make install): Don't refer to
49139 environment settings for make install.
49140 * INSTALL: Regenerated.
49141 * nptl/tst-tls6.sh: Don't set LANG.
49142 * posix/globtest.sh (LANG): Remove variable.
49143 * string/Makefile (tester-ENV): Likewise.
49144 (inl-tester-ENV): Likewise.
49145 (noinl-tester-ENV): Likewise.
49146 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49147 [$(cross-compiling) = no]: Don't set LANGUAGE.
49148 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49149 without explicit environment settings.
49150
49151 2014-06-06 Roland McGrath <roland@hack.frob.com>
49152
49153 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49154 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49155 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49156 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49157
49158 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
49159
49160 * crypt/crypt-private.h [DOS]: Add some includes taken from the
49161 other files in the crypt directory.
49162 * crypt/crypt.c: Remove duplicate includes.
49163 * crypt/crypt-entry.c: Likewise.
49164 * crypt/crypt_util.c: Likewise.
49165
49166 2014-06-06 Joseph Myers <joseph@codesourcery.com>
49167
49168 * Makeconfig (run-program-env): New variable.
49169 (run-program-prefix-before-env): Likewise.
49170 (run-program-prefix-after-env): Likewise.
49171 (run-program-prefix): Define in terms of new variables.
49172 (built-program-cmd-before-env): New variable.
49173 (built-program-cmd-after-env): Likewise.
49174 (built-program-cmd): Define in terms of new variables.
49175 (test-program-prefix-before-env): New variable.
49176 (test-program-prefix-after-env): Likewise.
49177 (test-program-prefix): Define in terms of new variables.
49178 (test-program-cmd-before-env): New variable.
49179 (test-program-cmd-after-env): Likewise.
49180 (test-program-cmd): Define in terms of new variables.
49181 * Rules (make-test-out): Use $(run-program-env).
49182 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49183 (help): Do not mention environment variables. Mention
49184 --timeoutfactor option.
49185 (timeoutfactor): New variable.
49186 (blacklist_exports): Remove function.
49187 (exports): Remove variable.
49188 (command): Do not include ${exports}.
49189 * manual/install.texi (Configuring and compiling): Do not mention
49190 test wrappers preserving environment variables. Mention that last
49191 assignment to a variable must take precedence.
49192 * INSTALL: Regenerated.
49193 * benchtests/Makefile (run-bench): Use $(run-program-env).
49194 * catgets/Makefile ($(objpfx)test1.cat): Use
49195 $(built-program-cmd-before-env), $(run-program-env) and
49196 $(built-program-cmd-after-env).
49197 ($(objpfx)test2.cat): Do not specify environment variables
49198 explicitly.
49199 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49200 $(run-program-env) and $(built-program-cmd-after-env).
49201 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49202 $(run-program-env) and $(test-program-cmd-after-env).
49203 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49204 explicitly.
49205 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49206 run_program_env and test_program_cmd_after_env arguments.
49207 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49208 * elf/tst-pathopt.sh: Use run_program_env argument.
49209 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49210 $(test-wrapper-env) and $(run-program-env).
49211 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49212 run_program_env arguments.
49213 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49214 * intl/Makefile ($(objpfx)tst-gettext.out): Use
49215 $(test-program-prefix-before-env), $(run-program-env) and
49216 $(test-program-prefix-after-env).
49217 ($(objpfx)tst-gettext2.out): Likewise.
49218 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49219 run_program_env and test_program_prefix_after_env arguments.
49220 * intl/tst-gettext2.sh: Likewise.
49221 * intl/tst-gettext4.sh: Do not set environment variables
49222 explicitly.
49223 * intl/tst-gettext6.sh: Likewise.
49224 * intl/tst-translit.sh: Likewise.
49225 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49226 $(test-program-prefix-before-env), $(run-program-env) and
49227 $(test-program-prefix-after-env).
49228 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49229 run_program_env and test_program_prefix_after_env arguments.
49230 * math/Makefile (run-regen-ulps): Use $(run-program-env).
49231 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49232 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
49233 explicitly with each use of ${test_wrapper_env}.
49234 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49235 $(test-program-prefix-before-env), $(run-program-env) and
49236 $(test-program-prefix-after-env).
49237 * posix/tst-getconf.sh: Do not set environment variables
49238 explicitly.
49239 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49240 run_program_env and test_program_prefix_after_env arguments.
49241 * stdio-common/tst-printf.sh: Do not set environment variables
49242 explicitly.
49243 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49244 $(test-program-prefix-before-env), $(run-program-env) and
49245 $(test-program-prefix-after-env).
49246 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49247 run_program_env and test_program_prefix_after_env arguments.
49248 Split $test calls into $test_pre and $test.
49249 * timezone/Makefile (build-testdata): Use
49250 $(built-program-cmd-before-env), $(run-program-env) and
49251 $(built-program-cmd-after-env).
49252
49253 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49254
49255 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49256 strlen for non SHARED builds.
49257
49258 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49259
49260 * nptl/allocatestack.c (check_list): Inlined function...
49261 (__reclaim_stacks): ... here.
49262
49263 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
49264
49265 [BZ #15698]
49266 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49267 memory overrun.
49268
49269 2014-06-05 Joseph Myers <joseph@codesourcery.com>
49270
49271 * Rules (make-test-out): Include
49272 LOCPATH=$(common-objpfx)localedata in default environment.
49273 * debug/Makefile (tst-chk1-ENV): Remove variable.
49274 (tst-chk2-ENV): Likewise.
49275 (tst-chk3-ENV): Likewise.
49276 (tst-chk4-ENV): Likewise.
49277 (tst-chk5-ENV): Likewise.
49278 (tst-chk6-ENV): Likewise.
49279 (tst-lfschk1-ENV): Likewise.
49280 (tst-lfschk2-ENV): Likewise.
49281 (tst-lfschk3-ENV): Likewise.
49282 (tst-lfschk4-ENV): Likewise.
49283 (tst-lfschk5-ENV): Likewise.
49284 (tst-lfschk6-ENV): Likewise.
49285 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49286 (tst-iconv7-ENV): Likewise.
49287 * intl/Makefile (LOCPATH-ENV): Likewise.
49288 (tst-codeset-ENV): Likewise.
49289 (tst-gettext3-ENV): Likewise.
49290 (tst-gettext5-ENV): Likewise.
49291 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49292 (tst-fopenloc-ENV): Likewise.
49293 (tst-fgetws-ENV): Remove variable.
49294 (tst-ungetwc1-ENV): Likewise.
49295 (tst-ungetwc2-ENV): Likewise.
49296 (bug-ungetwc2-ENV): Likewise.
49297 (tst-swscanf-ENV): Likewise.
49298 (bug-ftell-ENV): Likewise.
49299 (tst-fgetwc-ENV): Likewise.
49300 (tst-fseek-ENV): Likewise.
49301 (tst-ftell-partial-wide-ENV): Likewise.
49302 (tst-ftell-active-handler-ENV): Likewise.
49303 (tst-ftell-append-ENV): Likewise.
49304 * posix/Makefile (tst-fnmatch-ENV): Likewise.
49305 (tst-regexloc-ENV): Likewise.
49306 (bug-regex1-ENV): Likewise.
49307 (tst-regex-ENV): Likewise.
49308 (tst-regex2-ENV): Likewise.
49309 (bug-regex5-ENV): Likewise.
49310 (bug-regex6-ENV): Likewise.
49311 (bug-regex17-ENV): Likewise.
49312 (bug-regex18-ENV): Likewise.
49313 (bug-regex19-ENV): Likewise.
49314 (bug-regex20-ENV): Likewise.
49315 (bug-regex22-ENV): Likewise.
49316 (bug-regex23-ENV): Likewise.
49317 (bug-regex25-ENV): Likewise.
49318 (bug-regex26-ENV): Likewise.
49319 (bug-regex30-ENV): Likewise.
49320 (bug-regex32-ENV): Likewise.
49321 (bug-regex33-ENV): Likewise.
49322 (bug-regex34-ENV): Likewise.
49323 (bug-regex35-ENV): Likewise.
49324 (tst-rxspencer-ENV): Likewise.
49325 (tst-rxspencer-no-utf8-ENV): Likewise.
49326 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49327 (tst-sscanf-ENV): Likewise.
49328 (tst-swprintf-ENV): Likewise.
49329 (tst-swscanf-ENV): Likewise.
49330 (test-vfprintf-ENV): Likewise.
49331 (scanf13-ENV): Likewise.
49332 (bug14-ENV): Likewise.
49333 (tst-grouping-ENV): Likewise.
49334 * stdlib/Makefile (tst-strtod-ENV): Likewise.
49335 (tst-strtod3-ENV): Likewise.
49336 (tst-strtod4-ENV): Likewise.
49337 (tst-strtod5-ENV): Likewise.
49338 (testmb2-ENV): Likewise./
49339 * string/Makefile (tst-strxfrm-ENV): Likewise.
49340 (tst-strxfrm2-ENV): Likewise.
49341 (bug-strcoll1-ENV): Likewise.
49342 (test-strcasecmp-ENV): Likewise.
49343 (test-strncasecmp-ENV): Likewise.
49344 * time/Makefile (tst-strptime-ENV): Likewise.
49345 (tst-ftime_l-ENV): Likewise.
49346 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49347 (tst-mbrtowc-ENV): Likewise.
49348 (tst-wcrtomb-ENV): Likewise.
49349 (tst-mbrtowc2-ENV): Likewise.
49350 (tst-c16c32-1-ENV): Likewise.
49351 (tst-mbsnrtowcs-ENV): Likewise.
49352
49353 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
49354
49355 * manual/resource.texi (How to get information about the memory
49356 subsystem?): Fix typo.
49357 Reported by Peon de la Parra Ivan <peon@keba.com>
49358
49359 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
49360
49361 [BZ #16882]
49362 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49363 (pthread_spin_lock): Branch out of spin loop to proper location.
49364 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49365 (pthread_spin_lock): Likewise.
49366
49367 * nptl/tst-spin4.c: New test.
49368 * nptl/Makefile (tests): Add tst-spin4.
49369
49370 2014-06-03 Andreas Schwab <schwab@suse.de>
49371
49372 [BZ #15946]
49373 * resolv/res_send.c (send_dg): Reload file descriptor after
49374 calling reopen.
49375
49376 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
49377
49378 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49379
49380 2014-06-03 Richard Henderson <rth@redhat.com>
49381
49382 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49383 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49384 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49385 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
49386 in the SAVE_PID block.
49387 (__libc_vfork): New alias.
49388 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49389
49390 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49391 child in registers, not on the stack. Remove RESET_PID conditionals.
49392 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49393
49394 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
49395
49396 * sysdeps/aarch64/libm-test-ulps: Regenerate.
49397
49398 2014-06-03 Wilco <wdijkstr@arm.com>
49399
49400 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49401 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49402 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49403 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49404 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49405 Likewise.
49406
49407 2014-06-03 Wilco <wdijkstr@arm.com>
49408
49409 * sysdeps/aarch64/fpu/math_private.h
49410 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49411 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49412 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49413 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49414 Fix declarations.
49415
49416 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
49417
49418 * crypt/crypt-private.h: Include ufc-crypt.h.
49419 (__b64_from_24bit): Declare extern.
49420 * crypt/crypt_util.c(__b64_from_24bit): New function.
49421 (b64t): New static const variable.
49422 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49423 (b64t): Remove variable.
49424 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49425 * crypt/sha256-crypt.c: Include crypt-private.h.
49426 (b64t): Remove variable.
49427 (__sha256_crypt_r): Remove b64_from_24bit and replace
49428 with __b64_from_24bit.
49429 * crypt/sha512-crypt.c: Likewise.
49430
49431 2014-06-02 Roland McGrath <roland@hack.frob.com>
49432
49433 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49434 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49435 Label the code __libc_vfork rather than __vfork.
49436 [!NOT_IN_libc] (vfork): Define as weak alias.
49437 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49438 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49439 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49440
49441 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49442
49443 * malloc/malloc.c (malloc_info): Fix format specifier for
49444 n_mmaps.
49445
49446 2014-06-02 Wilco <wdijkstr@arm.com>
49447
49448 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49449 FPCR write.
49450
49451 2014-06-02 Wilco <wdijkstr@arm.com>
49452
49453 [BZ #17009]
49454 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49455 Rewrite to reduce FPCR/FPSR accesses.
49456
49457 2014-06-01 David S. Miller <davem@davemloft.net>
49458
49459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49460
49461 2014-05-31 David S. Miller <davem@davemloft.net>
49462
49463 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49464 to occur in round to nearest mode when |x| >= 2.0
49465
49466 2014-05-30 Richard Henderson <rth@twiddle.net>
49467
49468 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49469 (PSEUDO_RET_NOERRNO): Remove.
49470 (ret): Don't redefine.
49471 (ret_NOERRNO): Define in terms of ret.
49472 (ret_ERRVAL): Likewise.
49473
49474 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49475 use of PSEUDO_RET; perform the error check directly.
49476
49477 2014-05-30 Marko Myllynen <myllynen@redhat.com>
49478
49479 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49480 with __int128_t.
49481
49482 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49483
49484 * malloc/malloc (malloc_info): Fix formatting.
49485
49486 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49487 Roland McGrath <roland@hack.frob.com>
49488
49489 * malloc/malloc (malloc_info): Also print mmapped statistics.
49490
49491 2014-05-30 Roland McGrath <roland@hack.frob.com>
49492
49493 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49494 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49495
49496 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
49497
49498 * malloc/malloc.c (malloc_info): Inline mi_arena.
49499
49500 2014-05-29 Richard Henderson <rth@twiddle.net>
49501
49502 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49503 Remove comma before expanding ASM_ARGS_##nr.
49504 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49505 Make _x0 a strict output; make _x8 a strict input; adjust expansion
49506 of ASM_ARGS_##nr.
49507 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49508 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49509 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49510 (ASM_ARGS_1): Add leading comma.
49511
49512 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49513 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49514 to __errno_location.
49515 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49516 Remove the expected plt for __errno_location.
49517
49518 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49519 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49520 call to __read_tp.
49521
49522 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49523 Always allocate 64 bytes of stack frame. Use ldp/stp to create
49524 it and break it down.
49525 (DOCARGS_0, DOCARGS_1): Do nothing.
49526 (DOCARGS_2): Update to store into the new stack frame.
49527 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49528 (UNDOCARGS_1): Update to restore from the new stack frame.
49529 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49530 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49531
49532 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49533 (SINGLE_THREAD_P): New parameter for result regno.
49534 (PSEUDO): Update to match; use cbz instead of beq.
49535
49536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49537 Use ENTRY to define the _nocancel entry point. Share the syscall
49538 and syscall error check paths with the cancel path.
49539 (PSEUDO_END): New.
49540
49541 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49542 whitespace; tabs before and after asm mnemonics.
49543
49544 2014-05-29 Eric Wong <normalperson@yhbt.net>
49545
49546 [BZ #15132]
49547 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49548 Call fstat64 or stat64 internally, depending on arguments passed.
49549 Replace stat buffer argument with file descriptor argument.
49550 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49551 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49552 Pass fd to __internal_statvfs instead of calling fstat64.
49553 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49554 Pass fd to __internal_statvfs64 instead of calling fstat64.
49555 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49556 Pass -1 to __internal_statvfs instead of calling stat64.
49557 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49558 Pass -1 to __internal_statvfs64 instead of calling stat64.
49559
49560 2014-05-28 Roland McGrath <roland@hack.frob.com>
49561
49562 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49563 that was previously under [RESET_PID].
49564 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49565
49566 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49567 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49568
49569 2014-05-27 Roland McGrath <roland@hack.frob.com>
49570
49571 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49572
49573 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49574 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49575
49576 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
49577
49578 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49579
49580 2014-05-27 Andreas Schwab <schwab@suse.de>
49581
49582 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49583 TLS_INIT_TP macro.
49584 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49585 * elf/rtld.c (init_tls, dl_main): Likewise.
49586 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49587 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49588 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49589 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49590 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49591 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49592 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49593 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49594 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49595 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49596 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49597 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49598 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49599 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49600 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49601 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49602 * sysdeps/generic/tls.h: Update description.
49603
49604 2014-05-27 Will Newton <will.newton@linaro.org>
49605
49606 [BZ #16990]
49607 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49608 and restore r2 rather than just restoring.
49609
49610 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
49611
49612 [BZ #16724]
49613 * libio/tst-ftell-append.c: New test case.
49614 * libio/Makefile (tests): Add test case.
49615 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49616 append mode.
49617 * libio/wfileops.c (do_ftell_wide): Likewise.
49618
49619 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49620
49621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49622
49623 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49624 ...
49625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49627 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49628 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49629 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49630 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49631 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49632 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49633 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49634 Moved ...
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49636 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49637 Moved ...
49638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49639 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49640 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49641 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49642 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49643 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49644 ...
49645 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49646 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49647 Moved ...
49648 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49649 here.
49650 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49651 ...
49652 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49653 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49654 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49655
49656 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49657 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49658 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49659 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49660
49661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49662 merge into ...
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49665 ...
49666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49668 ...
49669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49671 Moved ...
49672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49673 here.
49674 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49675 Moved ...
49676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49677 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49678 Moved ...
49679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49680
49681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49682 conditional [RESET_PID].
49683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49685 removed.
49686 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49687 removed.
49688
49689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49690 <tcb-offsets.h>.
49691 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49692 (__libc_vfork): New strong alias.
49693 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49694 removed.
49695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49696 Removed.
49697
49698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49699 <tcb-offsets.h>.
49700 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49701 (__libc_vfork): New strong alias.
49702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49703 removed.
49704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49705 removed.
49706
49707 2014-05-26 Carlos O'Donell <carlos@redhat.com>
49708
49709 * malloc/malloc.c (mi_arena): New function.
49710 (malloc_info): Remove nested function mi_arena. Call non-nosted
49711 function mi_arena.
49712
49713 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49714
49715 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49716 by insrwi.
49717 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
49718 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
49719 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
49720 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
49721 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
49722 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
49723 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
49724
49725 2014-05-26 Andreas Schwab <schwab@suse.de>
49726
49727 [BZ #16984]
49728 * locale/programs/repertoire.c (repertoire_read): Add slash
49729 between I18NPATH element and file name.
49730 * locale/programs/locfile.c (locfile_read): Likewise.
49731
49732 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
49733
49734 * nptl/pthread_mutexattr_settype.c
49735 (__pthread_mutexattr_settype):
49736 Disable lock elision for PTHREAD_MUTEX_NORMAL.
49737
49738 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
49739
49740 * nptl/tst-mutex5 (do_test):
49741 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
49742
49743 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49744
49745 * benchtests/README: Document 'init' directive.
49746 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
49747 BENCH_INIT.
49748 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
49749 (parse_file): Recognize 'init' directive.
49750
49751 2014-05-26 Kyle McMartin <kyle@redhat.com>
49752
49753 [BZ #16796]
49754 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
49755 alignment of struct pthread.
49756
49757 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49758
49759 [BZ #16878]
49760 * nscd/netgroupcache.c (addgetnetgrentX): Look for
49761 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49762 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
49763 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49764
49765 2014-05-25 Richard Henderson <rth@twiddle.net>
49766
49767 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49768 (SINGLE_THREAD_P_PIC): Remove.
49769 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
49770 (SINGLE_THREAD_P_PIC): Remove.
49771
49772 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
49773 branch to syscall error ...
49774 (PSEUDO): ... here.
49775 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
49776 from __local_syscall_error to .Lsyscall_error.
49777 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
49778 (SYSCALL_ERROR): Update label name.
49779
49780 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49781 Do not use DOARGS/UNDOARGS.
49782 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
49783 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
49784 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
49785 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
49786 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
49787
49788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
49789 block comment.
49790
49791 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
49792 define if !NOT_IN_libc.
49793 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
49794 define with non-default symbol versions.
49795
49796 2014-05-23 Richard Henderson <rth@twiddle.net>
49797
49798 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
49799 (vfork, __vfork): Define via compat_symbol.
49800
49801 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
49802 [!HAVE_IFUNC] (vfork_compat): Remove.
49803 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
49804
49805 2014-05-23 Joseph Myers <joseph@codesourcery.com>
49806
49807 [BZ #16978]
49808 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
49809 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
49810 variable.
49811
49812 2014-05-23 Richard Henderson <rth@twiddle.net>
49813
49814 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
49815 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
49816 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
49817 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
49818
49819 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
49820 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
49821 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
49822 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
49823 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
49824 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
49825 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
49826 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
49827 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
49828 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
49829 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
49830 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
49831 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
49832 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
49833 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
49834 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
49835 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
49836 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
49837 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
49838 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
49839 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
49840 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
49841 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
49842 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
49843 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
49844 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
49845 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
49846 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
49847 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
49848 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
49849 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
49850 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
49851 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
49852 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
49853 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
49854 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
49855 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
49856 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
49857 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
49858 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
49859 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
49860 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
49861 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
49862 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
49863 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
49864 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
49865 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
49866 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
49867 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
49868 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
49869 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
49870 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
49871 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
49872 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
49873 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
49874 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
49875
49876 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
49877 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
49878 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
49879 before exiting on error.
49880 (__libc_vfork): New strong alias.
49881 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
49882 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
49883
49884 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
49885 that was previously under [RESET_PID].
49886 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
49887
49888 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
49889
49890 2014-05-23 Joseph Myers <joseph@codesourcery.com>
49891
49892 [BZ #16977]
49893 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
49894 value when x - 1 is zero.
49895 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
49896 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
49897 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
49898 0.0L for an argument of 1.0L.
49899 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
49900 Likewise.
49901 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
49902 value when x - 1 is zero.
49903 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
49904 * sysdeps/i386/fpu/libm-test-ulps: Update.
49905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49906
49907 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
49908
49909 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
49910 alphasort and versionsort.
49911
49912 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49913
49914 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
49915 macro.
49916 [copysignf]: Likewise.
49917
49918 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49919
49920 * crypt/md5-crypt.c: Fix formatting.
49921
49922 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
49923
49924 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
49925 (b64_from_24bit): New function.
49926
49927 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49928
49929 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
49930 libc_hidden_builtin_def to ifunc.
49931 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49932 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
49933
49934 2014-05-21 Roland McGrath <roland@hack.frob.com>
49935
49936 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
49937 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
49938
49939 2014-05-21 Joseph Myers <joseph@codesourcery.com>
49940
49941 * nscd/Depend (linuxthreads): Remove.
49942 (nptl): Add.
49943 * resolv/Depend (linuxthreads): Remove.
49944 * rt/Depend (linuxthreads): Remove.
49945
49946 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
49947 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
49948 $(common-objpfx)elf/.
49949 (link-libc-before-gnulib): Likewise.
49950 (elfobjdir): Remove variable.
49951 * Makefile (install): Use $(elf-objpfx) instead of
49952 $(common-objpfx)elf/.
49953 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
49954 $(elfobjdir)/.
49955 (link-libc-deps): Likewise.
49956 ($(common-objpfx)libc.so): Likewise.
49957 ($(common-objpfx)linkobj/libc.so): Likewise.
49958 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
49959 instead of $(common-objpfx)elf/.
49960 (symbolic-link-list): Likewise.
49961 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49962 [$(cross-compiling) = no]: Likewise.
49963 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
49964 $(elfobjdir)/.
49965 (static-gnulib-arch): Likewise.
49966 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49967 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
49968 $(common-objpfx)elf/.
49969
49970 2014-05-21 Richard Henderson <rth@redhat.com>
49971
49972 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49973 (SINGLE_THREAD_P): Use the correct width load. Fold
49974 into the ldr offset.
49975
49976 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
49977 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
49978
49979 2014-05-20 Joseph Myers <joseph@codesourcery.com>
49980
49981 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
49982 (libgcc_s_resume): Use __attribute_used__.
49983 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
49984 Likewise.
49985
49986 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49987
49988 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
49989 optimization when used with float constants.
49990
49991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49992
49993 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
49994
49995 [BZ #16915]
49996 * locale/nl_langinfo_l.c: Make direct reference to every
49997 _nl_current_CATEGORY symbol.
49998 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
49999 (tests-static): Add tst-langinfo-static.
50000 (tests-special): Add tst-langinfo-static.out.
50001 ($(objpfx)tst-langinfo.out): Redirect output.
50002 ($(objpfx)tst-langinfo-static.out): New.
50003 * localedata/tst-langinfo.sh: Send output to stdout.
50004 * localedata/tst-langinfo-static.c: New file.
50005
50006 [BZ #16965]
50007 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50008 when the shift amount is modulo the limb size.
50009
50010 2014-05-20 Richard Henderson <rth@redhat.com>
50011
50012 [BZ #16967]
50013 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50014 Change type of sa_flags from unsigned int to int.
50015
50016 [BZ #16966]
50017 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50018
50019 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50020
50021 2014-05-20 Will Newton <will.newton@linaro.org>
50022
50023 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50024 Test the return value of the system call in the nocancel case.
50025
50026 2014-05-20 Will Newton <will.newton@linaro.org>
50027 Yvan Roux <yvan.roux@linaro.org>
50028
50029 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50030 #include of asm/ptrace.h.
50031 (PTRACE_GET_THREAD_AREA): Remove #undef.
50032 (PTRACE_GETHBPREGS): Likewise.
50033 (PTRACE_SETHBPREGS): Likewise.
50034 (struct user_regs_struct): New structure.
50035 (struct user_fpsimd_struct): New structure.
50036 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50037 #include of asm/ptrace.h and second #include of sys/user.h.
50038 (PTRACE_GET_THREAD_AREA): Remove #undef.
50039 (PTRACE_GETHBPREGS): Likewise.
50040 (PTRACE_SETHBPREGS): Likewise.
50041 (ELF_NGREG): Use new struct user_regs_struct.
50042 (elf_fpregset_t): Use new struct user_fpsimd_struct.
50043
50044 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50045
50046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50048
50049 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
50050
50051 [BZ #16958]
50052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50053 membar to avoid block loads/stores to overlap previous stores.
50054
50055 2014-05-17 Richard Henderson <rth@redhat.com>
50056
50057 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50058 Create the __##syscall_name##_nocancel entry point.
50059 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50060 Remove; let the sysdep-cancel.h code create it.
50061
50062 2014-05-17 David S. Miller <davem@davemloft.net>
50063
50064 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50065 Protect with __USE_GNU.
50066 (TIOCSET_TEMPT): Likewise.
50067 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50068 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50069 these are already provided in bits/ioctl-types.h
50070
50071 2014-05-16 Roland McGrath <roland@hack.frob.com>
50072
50073 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50074 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50075
50076 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50077 Use wait4 regardless of [__NR_waitpid].
50078
50079 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
50080
50081 PR libgcc/60166
50082 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50083 (_FP_NANSIGN_Q): Set the quiet bit.
50084
50085 2014-05-16 Joseph Myers <joseph@codesourcery.com>
50086
50087 * benchtests/Makefile
50088 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50089 not $(common-objpfx)math/libm.so.
50090 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50091 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50092 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50093 $(common-objpfx)dlfcn/libdl.so.
50094 ($(objpfx)tst-audit8): Depend on $(libm), not
50095 $(common-objpfx)math/libm.so.
50096 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50097 not $(common-objpfx)dlfcn/libdl.so.
50098 * math/Makefile
50099 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50100 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
50101 [$(build-shared) = yes].
50102 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50103 $(common-objpfx)nptl/libpthread.so.
50104 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50105 $(common-objpfx)math/libm.so$(libm.so-version) or
50106 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50107 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50108 $(common-objpfx)dlfcn/libdl.so.
50109 * setjmp/Makefile (link-libm): Remove variable.
50110 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50111 * stdio-common/Makefile (link-libm): Remove variable.
50112 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50113 * stdlib/Makefile (link-libm): Remove variable.
50114 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50115 ($(objpfx)tst-strtod-round): Likewise.
50116 ($(objpfx)tst-tininess): Likewise.
50117 ($(objpfx)tst-strtod-underflow): Likewise.
50118 ($(objpfx)tst-strtod6): Likewise.
50119 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50120 $(libdl), not $(common-objpfx)nptl/libpthread.so and
50121 $(common-objpfx)dlfcn/libdl.so.
50122
50123 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50124
50125 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50126 BSD terminal modes definitions.
50127
50128 2014-05-16 Roland McGrath <roland@hack.frob.com>
50129
50130 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50131 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50132
50133 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50134 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50135 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50136 Don't do #include_next.
50137 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50138 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50139 Don't do #include_next.
50140 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50141 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50142 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50143 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50144
50145 2014-05-16 Allan McRae <allan@archlinux.org>
50146
50147 * po/sv.po: Update Swedish translation from translation project.
50148
50149 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50150 in sed expression.
50151
50152 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
50153
50154 [BZ #16917]
50155 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50156 errno if the TIOCGPTN ioctl fails with an error different than
50157 EINVAL.
50158 * login/tst-ptsname.c: New file.
50159 * login/Makefile (tests): Add tst-ptsname.
50160
50161 [BZ #16943]
50162 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50163 and prlimit64.
50164
50165 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50166
50167 [BZ #16849]
50168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50169 herrno to return EAI_AGAIN.
50170
50171 2014-05-14 Roland McGrath <roland@hack.frob.com>
50172
50173 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50174 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50175 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50176 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50177 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50178 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50179 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50180 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50181 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50182 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50183 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50184 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50185 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50186 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50187 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50188 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50189 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50190 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50191 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50192 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50193 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50194 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50195 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50196 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50197 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50198 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50199 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50200 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50201 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50202 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50204 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50206 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50208 Moved ...
50209 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50211 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50213 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50215 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50217 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50219 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50221 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50223 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50225 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50227 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50229 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50231 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50233 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50235 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50237 Moved ...
50238 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50240 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50242 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50244 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50246 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50248 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50250 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50252 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50254 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50256 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50258 Moved ...
50259 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50261 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50262
50263 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50264 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50265 (libpthread-sysdep_routines): Add elision-related stuff here instead.
50266 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50267 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50268 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50269 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50270 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50271 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50272 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50273 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50274 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50275 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50276 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50277 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50278 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50279 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50280 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50281 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50282 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50283 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50284 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50285 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50286 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50287 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50288 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50289 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50290 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50291 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50292 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50293 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50294
50295 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50296 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50297
50298 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50299 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50300 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50301 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50302 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50303 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50304 Moved ...
50305 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50306 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50307 Moved ...
50308 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50309 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50310 Moved ...
50311 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50312 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50313 Moved ...
50314 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50315 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50316 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50318 Moved ...
50319 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50320 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50321 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50322 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50323 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50324 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50325 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50326 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50327 Moved ...
50328 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50329 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50330 Moved ...
50331 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50332 ... here.
50333 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50334 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50335 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50336 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50338 Moved ...
50339 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50340 ... here.
50341 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50342 Moved ...
50343 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50344 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50345 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50346 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50347 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50348 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50349 Moved ...
50350 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50351 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50352 Moved ...
50353 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50354 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50355 Moved ...
50356 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50357 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50358 Moved ...
50359 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50360 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50361 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50363 Moved ...
50364 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50365 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50366 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50367 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50368 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50369 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50370 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50371 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50372 Moved ...
50373 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50374 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50375 Moved ...
50376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50377 ... here.
50378 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50379 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50380 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50381 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50383 Moved ...
50384 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50385 ... here.
50386 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50387 Moved ...
50388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50389 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50390 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50391 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50392 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50393 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50394 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50395 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50396 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50397 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50398 Moved ...
50399 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50400 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50401 Moved ...
50402 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50403 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50404 Moved ...
50405 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50406 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50407 Moved ...
50408 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50409 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50410 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50411 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50412 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50413 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50414 Moved ...
50415 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50416 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50417 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50418 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50419 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50420 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50421 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50422 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50423 Moved ...
50424 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50425 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50426 Moved ...
50427 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50428 ... here.
50429 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50430 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50431 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50432 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50433 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50434 Moved ...
50435 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50436 ... here.
50437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50438 Moved ...
50439 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50440 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50441 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50442 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50443 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50444 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50445 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50446 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50447 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50448 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50449 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50450
50451 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50452 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50453
50454 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50455 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50456
50457 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50458 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50459 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50460 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50461 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50462 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50463 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50464 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50465 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50466 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50467 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50468 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50469 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50470 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50471 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50472 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50473 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50474 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50475 Moved ...
50476 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50477 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50478 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50479 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50480 Moved ...
50481 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50482 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50483 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50484 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50485 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50486 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50487 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50489 Moved ...
50490 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50491 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50492 Moved ...
50493 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50494 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50495 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50496 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50497 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50499 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50500 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50501 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50502 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50503 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50504 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50505 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50506 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50507 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50508 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50509 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50510
50511 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50512 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50513 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50514 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50515 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50516
50517 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50518 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50519 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50520 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50521 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50522 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50523 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50524 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50525 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50526 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50527
50528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50530
50531 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50532 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50533 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50534 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50535 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50536 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50537 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50538 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50539 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50540 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50541 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50542 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50543 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50544 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50545 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50546 Update #include.
50547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50548 Likewise.
50549 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50550 Likewise.
50551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50552 Likewise.
50553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50554 Likewise.
50555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50556 Likewise.
50557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50558 Likewise.
50559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50560 Likewise.
50561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50562 Likewise.
50563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50564 Likewise.
50565 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50566 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50567 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50569 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50570 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50571 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50572 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50573 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50574 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50575 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50576 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50577 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50578 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
50579 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
50580
50581 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50582 that was previously under [RESET_PID].
50583 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50584 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50585 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50586
50587 * sysdeps/i386/nptl/Implies: New file.
50588 * sysdeps/x86_64/nptl/Implies: New file.
50589 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50590 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50591 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50592 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50593
50594 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50595 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50596 (__libc_vfork): New strong alias.
50597 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50598 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50599
50600 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50601 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50602 (__libc_vfork): New strong alias.
50603 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50604 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50605
50606 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50607 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50608 (__libc_vfork): New strong alias.
50609 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50610 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50611 * nptl/pt-vfork.c: New file.
50612 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50613 (libpthread: GLIBC_2.20): New version set (empty).
50614
50615 2014-05-14 Will Newton <will.newton@linaro.org>
50616
50617 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50618 rather than #if.
50619
50620 2014-05-14 Joseph Myers <joseph@codesourcery.com>
50621
50622 [BZ #16564]
50623 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50624 arguments with exponent 65 or above.
50625 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50626 arguments 0x1p113L or above.
50627 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50628 to arguments 0x1p107L or above.
50629 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50630 positive arguments with exponent 65 or above.
50631 * math/auto-libm-test-in: Add more tests of log1p.
50632 * math/auto-libm-test-out: Regenerated.
50633
50634 [BZ #16928]
50635 * math/s_cacos.c (__cacos): Ensure zero real part of result from
50636 non-finite arguments is +0.
50637 * math/s_cacosf.c (__cacosf): Likewise.
50638 * math/s_cacosl.c (__cacosl): Likewise.
50639 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50640 * sysdeps/i386/fpu/libm-test-ulps: Update.
50641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50642
50643 [BZ #16927]
50644 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50645 value.
50646 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50647 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50648 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50649 for explicit high bit of mantissa when testing for argument equal
50650 to 1.
50651 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50652 * sysdeps/i386/fpu/libm-test-ulps: Update.
50653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50654
50655 [BZ #16516]
50656 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50657 (__erf): Scale by 16 instead of 8 in potentially underflowing
50658 case. Ensure exception if result actually underflows.
50659 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50660 (__erff): Scale by 16 instead of 8 in potentially underflowing
50661 case. Ensure exception if result actually underflows.
50662 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50663 (efx8): Remove variable.
50664 (__erfl): Scale by 16 instead of 8 in potentially underflowing
50665 case. Ensure exception if result actually underflows.
50666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50667 (efx8): Remove variable.
50668 (__erfl): Scale by 16 instead of 8 in potentially underflowing
50669 case. Ensure exception if result actually underflows.
50670 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50671 (efx8): Remove variable.
50672 (__erfl): Scale by 16 instead of 8 in potentially underflowing
50673 case. Ensure exception if result actually underflows.
50674 * math/auto-libm-test-in: Add more tests of erf.
50675 * math/auto-libm-test-out: Regenerated.
50676
50677 2014-05-14 Andreas Schwab <schwab@suse.de>
50678
50679 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50680 Remove code conditionalized on USE___THREAD.
50681
50682 * config.h.in (HAVE_PT_CHOWN): Define as 0.
50683 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50684 not definedness.
50685
50686 2014-05-14 Joseph Myers <joseph@codesourcery.com>
50687
50688 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50689 Define unconditionally.
50690 (__ASSUME_O_CLOEXEC): Likewise.
50691 (__ASSUME_SOCK_CLOEXEC): Likewise.
50692 (__ASSUME_IN_NONBLOCK): Likewise.
50693 (__ASSUME_PIPE2): Likewise.
50694 (__ASSUME_EVENTFD2): Likewise.
50695 (__ASSUME_SIGNALFD4): Likewise.
50696 (__ASSUME_DUP3): Likewise.
50697 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50698 (__ASSUME_DUP3): Do not define.
50699 (__ASSUME_EVENTFD2): Likewise.
50700 (__ASSUME_IN_NONBLOCK): Likewise.
50701 (__ASSUME_O_CLOEXEC): Likewise.
50702 (__ASSUME_PIPE2): Likewise.
50703 (__ASSUME_SIGNALFD4): Likewise.
50704 (__ASSUME_SOCK_CLOEXEC): Likewise.
50705 (__ASSUME_UTIMES): Undefine.
50706 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50707 (__ASSUME_UTIMES): Do not define.
50708 (__ASSUME_O_CLOEXEC): Likewise.
50709 (__ASSUME_SOCK_CLOEXEC): Likewise.
50710 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50711 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50712 0x020621].
50713 (__ASSUME_PIPE2): Likewise.
50714 (__ASSUME_EVENTFD2): Likewise.
50715 (__ASSUME_SIGNALFD4): Likewise.
50716 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50717 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
50718 Do not define.
50719 (__ASSUME_EVENTFD2): Likewise.
50720 (__ASSUME_SIGNALFD4): Likewise.
50721 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
50722 (__ASSUME_32BITUIDS): Likewise.
50723 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50724 (__ASSUME_IPC64): Likewise.
50725 (__ASSUME_ST_INO_64_BIT): Likewise.
50726 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
50727 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
50728 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50729 (__ASSUME_UTIMES): Do not define.
50730 (__ASSUME_PSELECT): Likewise.
50731 (__ASSUME_PPOLL): Likewise.
50732 (__ASSUME_O_CLOEXEC): Likewise.
50733 (__ASSUME_SOCK_CLOEXEC): Likewise.
50734 (__ASSUME_IN_NONBLOCK): Likewise.
50735 (__ASSUME_PIPE2): Likewise.
50736 (__ASSUME_EVENTFD2): Likewise.
50737 (__ASSUME_SIGNALFD4): Likewise.
50738 (__ASSUME_DUP3): Likewise.
50739 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50740 (__ASSUME_UTIMES): Likewise.
50741 (__ASSUME_O_CLOEXEC): Likewise.
50742 (__ASSUME_SOCK_CLOEXEC): Likewise.
50743 (__ASSUME_IN_NONBLOCK): Likewise.
50744 (__ASSUME_PIPE2): Likewise.
50745 (__ASSUME_EVENTFD2): Likewise.
50746 (__ASSUME_SIGNALFD4): Likewise.
50747 (__ASSUME_DUP3): Likewise.
50748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50749 (__ASSUME_UTIMES): Likewise.
50750 (__ASSUME_O_CLOEXEC): Likewise.
50751 (__ASSUME_SOCK_CLOEXEC): Likewise.
50752 (__ASSUME_IN_NONBLOCK): Likewise.
50753 (__ASSUME_PIPE2): Likewise.
50754 (__ASSUME_EVENTFD2): Likewise.
50755 (__ASSUME_SIGNALFD4): Likewise.
50756 (__ASSUME_DUP3): Likewise.
50757 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
50758 Likewise.
50759 (__ASSUME_UTIMES): Likewise.
50760 (__ASSUME_EVENTFD2): Likewise.
50761 (__ASSUME_SIGNALFD4): Likewise.
50762 * sysdeps/unix/sysv/linux/tile/kernel-features.h
50763 (__ASSUME_O_CLOEXEC): Likewise.
50764 (__ASSUME_SOCK_CLOEXEC): Likewise.
50765 (__ASSUME_IN_NONBLOCK): Likewise.
50766 (__ASSUME_PIPE2): Likewise.
50767 (__ASSUME_EVENTFD2): Likewise.
50768 (__ASSUME_SIGNALFD4): Likewise.
50769 (__ASSUME_DUP3): Likewise.
50770 (__ASSUME_UTIMES): Undefine.
50771
50772 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
50773 feclearexcept. Remove symbol versioning code.
50774 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
50775 symbol versioning code.
50776 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
50777 symbol versioning code.
50778 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
50779 feupdateenv. Remove symbol versioning code.
50780 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
50781 fegetexceptflag. Remove symbol versioning code.
50782 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
50783 fesetexceptflag. Remove symbol versioning code.
50784 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
50785 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
50786 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
50787 (__posix_fadvise64_l32): Remove prototype.
50788 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
50789 code.
50790
50791 2014-05-13 Roland McGrath <roland@hack.frob.com>
50792
50793 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
50794 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
50795 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
50796 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
50797
50798 2014-05-13 Sami Kerola <kerolasa@iki.fi>
50799
50800 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
50801 current working directory
50802
50803 2014-05-13 Roland McGrath <roland@hack.frob.com>
50804
50805 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
50806 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
50807 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
50808 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
50809 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
50810 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
50811 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
50812 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
50813 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
50814 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
50815 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
50816 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
50817 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
50818 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
50819 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
50820 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
50821 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
50822 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
50823 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
50824 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
50825 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
50826 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
50827 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
50828 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
50829 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
50830 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
50831 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
50832 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
50833 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
50834 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
50835 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
50836 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
50837 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
50838 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
50839 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
50840 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
50841 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
50842 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
50843 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
50844 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
50845 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
50846 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
50847
50848 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
50849 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
50850
50851 * sysdeps/unix/sysv/linux/arm/Makefile
50852 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
50853 Add rt-aeabi_unwind_cpp_pr1.
50854 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
50855 Add nptl-aeabi_unwind_cpp_pr1.
50856 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
50857 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
50858 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
50859 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
50860 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
50861 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
50862
50863 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
50864 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
50865 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
50866 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
50867
50868 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
50869 Deconditionalize the code that was previously under [RESET_PID].
50870 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
50871
50872 * sysdeps/generic/exit-thread.h: New file.
50873 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
50874 * include/unistd.h (__exit_thread): Remove declaration.
50875 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
50876 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
50877 * csu/libc-start.c: Include <exit-thread.h>.
50878 (LIBC_START_MAIN): Pass no argument to __exit_thread.
50879 * nptl/pthread_create.c: Include <exit-thread.h>.
50880 (start_thread): Call __exit_thread in place of __exit_thread_inline.
50881 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
50882 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
50883 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
50884 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
50885 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
50886 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
50887 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
50888 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
50889 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
50890 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
50891 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
50892 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
50893 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
50894 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
50895 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
50896 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
50897
50898 2014-05-13 Andreas Schwab <schwab@suse.de>
50899
50900 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
50901
50902 2014-05-12 Joseph Myers <joseph@codesourcery.com>
50903
50904 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
50905 (__ASSUME_UTIMES): Do not condition on kernel version.
50906 (__ASSUME_PSELECT): Define unconditionally.
50907 (__ASSUME_PPOLL): Likewise.
50908 (__ASSUME_ATFCTS): Likewise.
50909 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
50910 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
50911 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
50912 (__ASSUME_UTIMENSAT): Define unconditionally.
50913 (__ASSUME_PRIVATE_FUTEX): Likewise.
50914 (__ASSUME_FALLOCATE): Likewise.
50915 (__ASSUME_O_CLOEXEC): Likewise.
50916 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
50917 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
50918 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
50919 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
50920 (__ASSUME_IN_NONBLOCK): Likewise.
50921 (__ASSUME_PIPE2): Likewise.
50922 (__ASSUME_EVENTFD2): Likewise.
50923 (__ASSUME_SIGNALFD4): Likewise.
50924 (__ASSUME_DUP3): Likewise.
50925 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50926 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
50927 (__ASSUME_AT_RANDOM): Likewise.
50928 (__ASSUME_PREADV): Likewise.
50929 (__ASSUME_PWRITEV): Likewise.
50930 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
50931 (__ASSUME_F_GETOWN_EX): Define unconditionally.
50932 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
50933 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50934 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
50935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50936 (__ASSUME_O_CLOEXEC): Define unconditionally.
50937 (__ASSUME_PSELECT): Do not undefine conditionally.
50938 (__ASSUME_PPOLL): Likewise.
50939 (__ASSUME_ATFCTS): Likewise.
50940 (__ASSUME_SET_ROBUST_LIST): Likewise.
50941 (__ASSUME_UTIMENSAT): Likewise.
50942 (__ASSUME_FDATASYNC): Define unconditionally.
50943 * sysdeps/unix/sysv/linux/arm/kernel-features.h
50944 (__ASSUME_SIGFRAME_V2): Likewise.
50945 )__ASSUME_EVENTFD2): Likewise.
50946 (__ASSUME_SIGNALFD4): Likewise.
50947 (__ASSUME_PSELECT): Do not undefine conditionally.
50948 (__ASSUME_PPOLL): Likewise.
50949 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50950 (__ASSUME_PSELECT): Define unconditionally.
50951 (__ASSUME_PPOLL): Likewise.
50952 (__ASSUME_O_CLOEXEC): Likewise.
50953 (__ASSUME_SOCK_CLOEXEC): Likewise.
50954 (__ASSUME_IN_NONBLOCK): Likewise.
50955 (__ASSUME_PIPE2): Likewise.
50956 (__ASSUME_EVENTFD2): Likewise.
50957 (__ASSUME_SIGNALFD4): Likewise.
50958 (__ASSUME_DUP3): Likewise.
50959 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50960 (__ASSUME_O_CLOEXEC): Likewise.
50961 (__ASSUME_SOCK_CLOEXEC): Likewise.
50962 (__ASSUME_IN_NONBLOCK): Likewise.
50963 (__ASSUME_PIPE2): Likewise.
50964 (__ASSUME_EVENTFD2): Likewise.
50965 (__ASSUME_SIGNALFD4): Likewise.
50966 (__ASSUME_DUP3): Likewise.
50967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
50968 (__ASSUME_EVENTFD2): Likewise.
50969 (__ASSUME_SIGNALFD4): Likewise.
50970 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50971
50972 2014-05-12 Andreas Schwab <schwab@suse.de>
50973
50974 [BZ #16932]
50975 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
50976 (_nss_nis_gethostbyname4_r): Return error if item length is larger
50977 than maximum RPC packet size.
50978 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
50979 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
50980 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
50981 (_nss_nis_getservbyport_r): Likewise.
50982
50983 2014-05-12 Will Newton <will.newton@linaro.org>
50984
50985 * malloc/Makefile (tests): Add tst-mallopt.
50986 * malloc/tst-mallopt.c: New file.
50987
50988 2014-05-09 Roland McGrath <roland@hack.frob.com>
50989
50990 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
50991 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
50992
50993 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50994
50995 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
50996 (tst-tlsmod6.so): Likewise.
50997
50998 2014-05-09 Roland McGrath <roland@hack.frob.com>
50999
51000 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51001
51002 2014-05-09 Joseph Myers <joseph@codesourcery.com>
51003
51004 [BZ #16064]
51005 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51006 and <dl-procinfo.h>.
51007 (__fegetenv): Save SSE state in envp->__eip if supported.
51008 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51009 envp->__eip if supported.
51010 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51011 and <dl-procinfo.h>.
51012 (__fesetenv): Always set __eip, __cs_selector, __opcode,
51013 __data_offset and __data_selector in environment to 0. Set SSE
51014 state if supported.
51015 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51016 test-fenv-sse.
51017 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51018 -mfpmath=sse.
51019 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51020
51021 2014-05-09 Will Newton <will.newton@linaro.org>
51022
51023 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51024 and libc_relro_required for ARM.
51025 * sysdeps/arm/preconfigure: Regenerate.
51026
51027 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
51028 Stefan Liebler <stli@linux.vnet.ibm.com>
51029
51030 * config.make.in (enable-lock-elision): New Makefile variable.
51031 * configure.ac: Likewise.
51032 * configure: Regenerate.
51033 * sysdeps/s390/configure.ac:
51034 Add check for gcc transactions support.
51035 * sysdeps/s390/configure: Regenerate.
51036 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51037 Build elision files if enabled.
51038 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51039 Add lock elision support for s390.
51040 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51041 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51042 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51043 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51044 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51045 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51046 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51047 Likewise.
51048 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51049 Likewise.
51050 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51051 Likewise.
51052 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51053 Likewise.
51054 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51055 (__lll_timedlock_elision, __lll_lock_elision)
51056 (__lll_unlock_elision, __lll_trylock_elision)
51057 (lll_timedlock_elision, lll_lock_elision)
51058 (lll_unlock_elision, lll_trylock_elision): Add.
51059 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51060 (pthread_mutex_t): Add lock elision support for s390.
51061
51062 2014-05-14 Wilco <wdijkstr@arm.com>
51063
51064 * sysdeps/arm/fclrexcpt.c: Cleanup.
51065 * sysdeps/arm/fedisblxcpt.c: Cleanup.
51066 * sysdeps/arm/feenablxcpt.c: Cleanup.
51067 * sysdeps/arm/fegetenv.c: Cleanup.
51068 * sysdeps/arm/fegetexcept.c: Cleanup.
51069 * sysdeps/arm/fegetround.c: Cleanup.
51070 * sysdeps/arm/feholdexcpt.c: Cleanup.
51071 * sysdeps/arm/fesetenv.c: Cleanup.
51072 * sysdeps/arm/fesetround.c: Cleanup.
51073 * sysdeps/arm/feupdateenv.c: Cleanup.
51074 * sysdeps/arm/fgetexcptflg.c: Cleanup.
51075 * sysdeps/arm/fraiseexcpt.c: Cleanup.
51076 * sysdeps/arm/fsetexcptflg.c: Cleanup.
51077 * sysdeps/arm/ftestexcept.c: Cleanup.
51078 * sysdeps/arm/get-rounding-mode.h: Cleanup.
51079 * sysdeps/arm/setfpucw.c: Cleanup.
51080
51081 2014-05-09 Will Newton <will.newton@linaro.org>
51082
51083 * sysdeps/arm/armv7/strcmp.S: New file.
51084 * NEWS: Mention addition of ARMv7 optimized strcmp.
51085
51086 2014-05-08 Roland McGrath <roland@hack.frob.com>
51087
51088 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51089 look for %.ac rather than %.in.
51090
51091 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51092 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51093 * sysdeps/mach/hurd/configure: Regenerated.
51094 * sysdeps/unix/sysv/linux/configure: Regenerated.
51095
51096 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51097
51098 2014-05-07 Steve Ellcey <sellcey@mips.com>
51099
51100 [BZ #16922]
51101 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51102 (LONG_SUB): Ditto.
51103 (PTR_SUB): Ditto.
51104
51105 2014-05-07 Andreas Schwab <schwab@suse.de>
51106
51107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51108 when skipping over non-matching result from nscd.
51109
51110 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
51111
51112 [BZ #16876]
51113 * nptl/sockperf.c (client): Check socket return value.
51114
51115 [BZ #16877]
51116 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51117 nscd security class.
51118
51119 2014-05-06 Roland McGrath <roland@hack.frob.com>
51120
51121 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51122 * sysdeps/arm/unwind.h: ... here.
51123
51124 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
51125
51126 [BZ #16916]
51127 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51128 Define.
51129
51130 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
51131
51132 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51133 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51134 multiarch strncpy for PPC64.
51135 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51136 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51138 multiarch optimizations.
51139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51140 (__libc_ifunc_impl_list): Likewise.
51141 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51142 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51143 multiarch stpncpy for PPC64.
51144 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51145 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51146
51147 2014-05-06 Andreas Schwab <schwab@suse.de>
51148
51149 [BZ #16912]
51150 * gmon/mcount.c (_MCOUNT_DECL): Use
51151 atomic_compare_and_exchange_bool_acq instead of
51152 catomic_compare_and_exchange_bool_acq.
51153
51154 2014-05-05 Roland McGrath <roland@hack.frob.com>
51155
51156 * elf/Makefile (others, install-bin): Remove pldd.
51157 (pldd-modules): Variable removed.
51158 ($(objpfx)pldd): Target removed.
51159 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51160 (others, install-bin): Append pldd here.
51161 ($(objpfx)pldd): New target.
51162
51163 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51164 to 0, so the first #if test emitted later doesn't see it undefined.
51165 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51166 * sysdeps/gnu/errlist.c: Regenerated.
51167
51168 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51169
51170 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51171 [libc_hidden_builtin_def]: Define to empty value.
51172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51173 [libc_hidden_builtin_def]: Likewise.
51174 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51175 [libc_hidden_builtin_def]: Likewise.
51176 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51177 [libc_hidden_builtin_def]: Likewise.
51178 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51179 __redirect_memcpy and define ifunc as default hidden symbol.
51180 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51181 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51182
51183 2014-05-04 Adam Conrad <adconrad@0c3.net>
51184
51185 * locale/iso-4217.def: Reintroduce XDR currency.
51186
51187 2014-05-04 Allan McRae <allan@archlinux.org>
51188
51189 * po/eo.po: Update Esperanto translation from translation project.
51190
51191 2014-05-02 Carlos O'Donell <carlos@redhat.com>
51192
51193 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51194 and FEATURE_INDEX_MAX to 1.
51195 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51196
51197 2014-05-01 Steve Ellcey <sellcey@mips.com>
51198
51199 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51200 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51201 * iconvdata/big5.c (ONE_DIRECTION): Define.
51202 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51203 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51204 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51205 * iconvdata/cp932.c (ONE_DIRECTION): Define.
51206 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51207 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51208 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51209 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51210 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51211 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51212 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51213 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51214 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51215 * iconvdata/gbk.c (ONE_DIRECTION): Define.
51216 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51217 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51218 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51219 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51220 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51221 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51222 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51223 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51224 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51225 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51226 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51227 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51228 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51229 * iconvdata/iso646.c (ONE_DIRECTION): Define.
51230 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51231 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51232 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51233 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51234 * iconvdata/johab.c (ONE_DIRECTION): Define.
51235 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51236 * iconvdata/sjis.c (ONE_DIRECTION): Define.
51237 * iconvdata/t.61.c (ONE_DIRECTION): Define.
51238 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51239 * iconvdata/tscii.c (ONE_DIRECTION): Define.
51240 * iconvdata/uhc.c (ONE_DIRECTION): Define.
51241 * iconvdata/unicode.c (ONE_DIRECTION): Define.
51242 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51243 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51244 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51245
51246 2014-05-01 Roland McGrath <roland@hack.frob.com>
51247
51248 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51249 (_IO_JUMPS_OFFSET): Define to 0.
51250
51251 * nptl/sysdeps/pthread/bits/libc-lock.h
51252 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51253 (__libc_lock_define_initialized_recursive): Always define using
51254 initializer. Modern compilers treat uninitialized (implicit zero) and
51255 explicit zero initializers the same (i.e. put the datum in bss).
51256
51257 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
51258
51259 * nscd/nscd-client.h: Include <string.h>.
51260
51261 2014-05-01 David S. Miller <davem@davemloft.net>
51262
51263 [BZ #16885]
51264 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51265 multiple zero bytes exist at the end of a string.
51266 Reported by Aurelien Jarno <aurelien@aurel32.net>
51267
51268 * string/test-strcmp.c (check): Add explicit test for situations where
51269 there are multiple zero bytes after the first.
51270
51271 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
51272
51273 [BZ #16890]
51274 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51275 when compiling wprintf.
51276 * stdio-common/tstdiomisc.c (t3): New function.
51277 (main): Call it.
51278
51279 2014-05-01 Steve Ellcey <sellcey@mips.com>
51280
51281 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51282 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51283 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51284 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51285
51286 2014-05-01 Steve Ellcey <sellcey@mips.com>
51287
51288 * stdlib/longlong.h: Updated from GCC.
51289
51290 2014-05-01 Will Newton <will.newton@linaro.org>
51291 Bernard Ogden <bernie.ogden@linaro.org>
51292
51293 * NEWS: Update fixed bug list.
51294
51295 [BZ #15119]
51296 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51297
51298 2014-04-30 David S. Miller <davem@davemloft.net>
51299
51300 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51301 (libc_feholdexcept_setround_sparc_ctx): New function.
51302 (libc_fesetenv_sparc_ctx): Likewise.
51303 (libc_feupdateenv_sparc_ctx): Likewise.
51304 (libc_feholdsetround_sparc_ctx): Likewise.
51305 (libc_feholdexcept_setround_ctx): Define.
51306 (libc_feholdexcept_setroundf_ctx): Likewise.
51307 (libc_feholdexcept_setroundl_ctx): Likewise.
51308 (libc_fesetenv_ctx): Likewise.
51309 (libc_fesetenvf_ctx): Likewise.
51310 (libc_fesetenvl_ctx): Likewise.
51311 (libc_feupdateenv_ctx): Likewise.
51312 (libc_feupdateenvf_ctx): Likewise.
51313 (libc_feupdateenvl_ctx): Likewise.
51314 (libc_feresetround_ctx): Likewise.
51315 (libc_feresetroundf_ctx): Likewise.
51316 (libc_feresetroundl_ctx): Likewise.
51317 (libc_feholdsetround_ctx): Likewise.
51318 (libc_feholdsetroundf_ctx): Likewise.
51319 (libc_feholdsetroundl_ctx): Likewise.
51320
51321 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51322 with __USE_GNU instead of XOPEN cpp guards.
51323
51324 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51325 0.
51326
51327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51328 with XOPEN cpp guards.
51329
51330 2014-04-30 Julian Brown <julian@codesourcery.com>
51331
51332 [BZ #16888]
51333 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51334 handling.
51335
51336 2014-04-30 Joseph Myers <joseph@codesourcery.com>
51337
51338 [BZ #9894]
51339 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51340 Change to 2.6.32.
51341 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51342 * sysdeps/unix/sysv/linux/configure: Regenerated.
51343 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51344 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51345 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51346 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51347 * README: Update reference to required Linux kernel version.
51348 * manual/install.texi (Linux): Update reference to required Linux
51349 kernel headers version.
51350 * INSTALL: Regenerated.
51351
51352 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51353 header inclusion.
51354 [POSIX] (limits.h): Likewise.
51355 [POSIX] (math.h): Likewise.
51356 [POSIX] (sys/wait.h): Likewise.
51357 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51358 function.
51359 [POSIX] (stddef.h): Do not allow header inclusion.
51360
51361 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51362
51363 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51364
51365 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
51366
51367 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51368 Return immediately after lll_futex_wake.
51369
51370 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51371
51372 [BZ #16791]
51373 * nscd/nscd-client.h (datahead_init_common): Initialize entire
51374 structure.
51375 (datahead_init_pos): Call datahead_init_common early.
51376 (datahead_init_neg): Likewise.
51377
51378 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51379 datahead_init_neg): New functions.
51380 * nscd/aicache.c (addhstaiX): Use them.
51381 * nscd/grpcache.c (cache_addgr): Likewise.
51382 * nscd/hstcache.c (cache_addhst): Likewise.
51383 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51384 * nscd/netgroupcache.c (do_notfound): Likewise.
51385 (addgetnetgrentX): Likewise.
51386 (addinnetgrX): Likewise.
51387 * nscd/pwdcache.c (cache_addpw): Likewise.
51388 * nscd/servicescache.c (cache_addserv): Likewise.
51389
51390 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51391 Atsushi Onoe <atsushi@onoe.org>
51392
51393 [BZ #14308]
51394 [BZ #12994]
51395 [BZ #13651]
51396 * resolv/res_query.c (__libc_res_nsearch): Return if at least
51397 one response is valid.
51398 * resolv/res_send.c (send_dg): Check for validity of other
51399 response if the current response is a referral.
51400
51401 2014-04-29 Steve Ellcey <sellcey@mips.com>
51402
51403 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51404
51405 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
51406
51407 [BZ #16823]
51408 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51409 Always divide by positive zero when computing -Inf result.
51410 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51411 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51412
51413 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51414
51415 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51416 FPSCR if value do not change.
51417 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51418 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51419 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51420 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51421 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51422 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51423 function.
51424
51425 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
51426
51427 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51428 * sysdeps/unix/sysv/linux/hppa: Move directory from
51429 ports/systeps/unix/sysv/linux/hppa.
51430 * README: Update listing for hppa-*-linux-gnu.
51431
51432 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
51433
51434 [BZ #16754]
51435 * manual/stdio.texi (Hook functions): Fix types of stream hook
51436 functions.
51437 [BZ #16854]
51438 * socket/sys/socket.h: Fix typo in comment.
51439
51440 2014-04-28 Wilco <wdijkstr@arm.com>
51441
51442 * sysdeps/arm/fenv_private.h: New file.
51443 * sysdeps/arm/math_private.h: New file.
51444 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51445
51446 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
51447
51448 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51449 with __int128_t.
51450 (La_x86_64_retval): Likewise.
51451
51452 2014-04-24 Ian Bolton <ian.bolton@arm.com>
51453
51454 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51455 fpsr if value didn't change.
51456 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51457 to fpcr if value didn't change.
51458 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51459 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51460 fpsr or fpcr if value didn't change.
51461 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51462 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51463 fpcr if value didn't change.
51464 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51465 to fpsr if value didn't change.
51466
51467 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
51468
51469 * nptl/tst-sem3.c: Use test-skeleton.c
51470 (main): Rename to do_test. Use return instead of
51471 exit.
51472 * nptl/tst-sem4.c: Use test-skeleton.c
51473 (main): Rename to do_test.
51474
51475 2014-04-22 David S. Miller <davem@davemloft.net>
51476
51477 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51478 (struct sigaction): New struct member __glibc_reserved0, change
51479 type of sa_flags to int.
51480
51481 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
51482
51483 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51484 (COUNT_LEADING_ZEROS_0): Define for AArch64.
51485
51486 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51487
51488 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51489 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51490
51491 2014-04-22 Will Newton <will.newton@linaro.org>
51492 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
51493
51494 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51495 (__longjmp): Add longjmp and longjmp_target SystemTap
51496 probes.
51497 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51498 (__sigsetjmp): Add setjmp SystemTap probe.
51499
51500 2014-04-17 Carlos O'Donell <carlos@redhat.com>
51501
51502 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51503 match manual order.
51504
51505 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51506
51507 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51508
51509 * sysdeps/powerpc/fpu/fenv_private.h
51510 (libc_feholdexcept_setroundl_ctx): Define to
51511 libc_feholdexcept_setround_ppc_ctx.
51512 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51513 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51514 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51515 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51516
51517 2014-04-17 Ian Bolton <ian.bolton@arm.com>
51518
51519 * sysdeps/aarch64/math-tests.h: New file.
51520
51521 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
51522
51523 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51524 New.
51525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51526 Check and set bit_AVX2_Usable.
51527 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51528 macro.
51529 (bit_AVX2): Likewise.
51530 (index_AVX2_Usable): Likewise.
51531 (CPUID_AVX2): Likewise.
51532 (HAS_AVX2): Likewise.
51533
51534 2014-04-17 Will Newton <will.newton@linaro.org>
51535
51536 * manual/setjmp.texi (System V contexts): Add note that
51537 calling setcontext on a context created by a call to a
51538 signal handler is undefined. Update text to note that
51539 setcontext from a signal handler is possible but not
51540 recommended.
51541
51542 [BZ #16629]
51543 * stdlib/tst-setcontext.c: Include signal.h.
51544 (main): Check that the signal stack before and
51545 after swapcontext is the same.
51546
51547 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51548 Re-implement to restore registers in user code and avoid
51549 rt_sigreturn system call.
51550
51551 2014-04-17 Wilco <wdijkstr@arm.com>
51552
51553 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51554 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51555 * math/test-fenv.c: Skip exception trap tests on targets which only
51556 support non-stop mode.
51557
51558 2014-04-17 Ian Bolton <ian.bolton@arm.com>
51559 Wilco Dijkstra <wilco.dijkstra@arm.com>
51560
51561 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51562 (libc_feholdsetround_aarch64_ctx)
51563 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51564 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51565 (libc_feresetround_ctx, libc_feresetroundf_ctx)
51566 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51567 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51568 (libc_feresetround_noexl_ctx): Define.
51569
51570 2014-04-16 Richard Henderson <rth@redhat.com>
51571
51572 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51573
51574 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51575 unwind tables.
51576
51577 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51578 const from the non-libc, non-ldso copy.
51579
51580 * sysdeps/alpha/libm-test-ulps: Regenerate.
51581
51582 2014-04-16 Ian Bolton <ian.bolton@arm.com>
51583 Wilco Dijkstra <wilco.dijkstra@arm.com>
51584
51585 * sysdeps/aarch64/fpu/math_private.h: New file.
51586
51587 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
51588
51589 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51590
51591 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
51592
51593 [BZ #16275]
51594 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51595 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51597 Intel MPX bound registers before _dl_profile_fixup.
51598 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51599 registers after _dl_profile_fixup. Save and restore bound
51600 registers bnd0/bnd1 when calling _dl_call_pltexit.
51601 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51602 (LR_BND_OFFSET): Likewise.
51603 (LRV_BND0_OFFSET): Likewise.
51604 (LRV_BND1_OFFSET): Likewise.
51605
51606 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51607
51608 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51609 to...
51610 * sysdeps/mach/hurd/i386/tls.h: ... here.
51611 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51612 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51613 fields.
51614
51615 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51616
51617 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51618
51619 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
51620
51621 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51622
51623 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
51624
51625 [BZ #14770]
51626 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51627 * sysdeps/s390/configure: Regenerate.
51628
51629 [BZ #16824]
51630 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51631 Set round-to-nearest internally to reduce error accumulation.
51632
51633 2014-04-16 Alan Modra <amodra@gmail.com>
51634
51635 [BZ #16740]
51636 [BZ #16619]
51637 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51638 * math/libm-test.inc (frexp_test_data): Add tests.
51639 * NEWS: Update fixed bug list.
51640
51641 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51642
51643 * benchtests/Makefile: Depend on libraries in build directory.
51644 (bench-math): Separate out math tests.
51645 (bench-pthread): Separate out pthread tests.
51646 (bench): Include math and pthread tests.
51647
51648 2014-04-14 Carlos O'Donell <carlos@redhat.com>
51649
51650 [BZ #16831]
51651 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51652 _dl_debug_initialize.
51653
51654 * configure.ac: Remove SELinux header check.
51655 * configure: Regenerate.
51656 * nscd/selinux.c (perms): Array of const char* to permission names.
51657 (nscd_request_avc_has_perm): Call security_deny_unknown to find
51658 default policy. Call string_to_security_class and string_to_av_perm to
51659 translate strings. Enforce default policy and call avs_has_perm with
51660 results of translated strings.
51661
51662 2014-04-13 David S. Miller <davem@davemloft.net>
51663
51664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51665
51666 2014-04-12 Allan McRae <allan@archlinux.org>
51667
51668 [BZ #16838]
51669 * manual/string.texi (Collation Functions): Fix qsort argument
51670 order in example.
51671 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51672
51673 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
51674
51675 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51676 Make the test a no-op if there are no exceptions defined.
51677
51678 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
51679
51680 * elf/Makefile (tests): make tst-dlopen-aout conditional on
51681 enable-hardcoded-path-in-tests
51682
51683 2014-04-11 Will Newton <will.newton@linaro.org>
51684
51685 * benchtests/Makefile (extra-objs): Add json-lib.o.
51686 (bench-func): Tidy up JSON output.
51687 * benchtests/bench-skeleton.c: Include json-lib.h.
51688 (main): Use JSON library functions to do output of
51689 benchmark results.
51690 * benchtests/bench-timing-type.c (main): Output the
51691 timing type simply, leaving formatting to the user.
51692 * benchtests/json-lib.c: New file.
51693 * benchtests/json-lib.h: Likewise.
51694
51695 2014-04-11 Torvald Riegel <triegel@redhat.com>
51696
51697 [BZ #15215]
51698 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51699 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
51700 memory barriers. Add comments.
51701 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51702 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51703 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51704 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51705 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51706 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51707
51708 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
51709
51710 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51711 * sysdeps/s390/s390-64/configure.ac: ... this ...
51712 * sysdeps/s390/configure.ac: ... to here.
51713 * sysdeps/s390/s390-32/configure: Delete file.
51714 * sysdeps/s390/s390-64/configure: Delete file.
51715 * sysdeps/s390/configure: Regenerate.
51716
51717 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
51718
51719 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
51720
51721 2014-04-11 Will Newton <will.newton@linaro.org>
51722
51723 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
51724 to zero if it is not defined elsewhere. (mtrim): Test
51725 the value of MALLOC_DEBUG with #if rather than #ifdef.
51726
51727 2014-04-10 Torvald Riegel <triegel@redhat.com>
51728
51729 * benchtests/pthread_once-inputs: New file.
51730 * benchtests/pthread_once-source.c: New file.
51731 * benchtests/README: Update documentation.
51732
51733 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
51734 H.J. Lu <hongjiu.lu@intel.com>
51735
51736 [BZ #16275]
51737 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
51738 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
51739 * sysdeps/x86_64/configure: Regenerated.
51740 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
51741 macro.
51742 (REGISTER_SAVE_RAX): Likewise.
51743 (REGISTER_SAVE_RCX): Likewise.
51744 (REGISTER_SAVE_RDX): Likewise.
51745 (REGISTER_SAVE_RSI): Likewise.
51746 (REGISTER_SAVE_RDI): Likewise.
51747 (REGISTER_SAVE_R8): Likewise.
51748 (REGISTER_SAVE_R9): Likewise.
51749 (REGISTER_SAVE_BND0): Likewise.
51750 (REGISTER_SAVE_BND1): Likewise.
51751 (REGISTER_SAVE_BND2): Likewise.
51752 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
51753 bound registers when calling _dl_fixup.
51754
51755 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51756
51757 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
51758 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
51759 of its definition.
51760 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
51761 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
51762 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
51763 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
51764 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
51765 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
51766 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
51767
51768 2014-04-09 Peter Brett <peter@peter-b.co.uk>
51769
51770 [BZ #15514]
51771 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
51772 pathconf(_PC_NAME_MAX).
51773
51774 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51775
51776 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
51777 Remove macro usage.
51778 (__PTHREAD_SPINS): Move definition to ...
51779 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51780 (__PTHREAD_SPINS): ... here.
51781 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51782 (__PTHREAD_SPIN): Likewise.
51783 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
51784 (__PTHREAD_SPIN): Likewise.
51785 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
51786 (__PTHREAD_SPIN): Likewise.
51787 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
51788 (__PTHREAD_SPIN): Likewise.
51789 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
51790 (__PTHREAD_SPIN): Likewise.
51791 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
51792 (__PTHREAD_SPIN): Likewise.
51793 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
51794 (__PTHREAD_SPIN): Likewise.
51795 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
51796 (__PTHREAD_SPIN): Likewise.
51797 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
51798 (__PTHREAD_SPIN): Likewise.
51799 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
51800 (__PTHREAD_SPIN): Likewise.
51801 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
51802 (__PTHREAD_SPIN): Likewise.
51803 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
51804 (__PTHREAD_SPIN): Likewise.
51805
51806 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
51807 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
51808 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
51809 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
51810 imply folder.
51811 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
51812 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
51813 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
51814 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
51815 correct imply path.
51816 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
51817 strlen symbol for non multi-arch builds.
51818 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
51819 missing hidden_def and weak_alias.
51820
51821 2014-04-08 Carlos O'Donell <carlos@redhat.com>
51822
51823 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
51824
51825 2014-04-07 Will Newton <will.newton@linaro.org>
51826
51827 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
51828 and contents. [!_LIBC] Remove #ifndef and contents.
51829 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
51830 * string/memccpy.c (__memccpy): Use ANSI prototype.
51831 * string/memfrob.c (memfrob): Likewise.
51832 * string/strcoll.c (STRCOLL): Likewise.
51833 * string/strlen.c (strlen): Likewise.
51834 * string/strtok.c (STRTOK): Likewise.
51835 * string/strcat.c: Remove unused #include of memcopy.h.
51836 (strcat): Use ANSI prototype.
51837 * string/strchr.c: Remove unused #include of memcopy.h.
51838 (strchr): Use ANSI prototype.
51839 * string/strcmp.c: Remove unused #include of memcopy.h.
51840 (strcmp): Use ANSI prototype.
51841 * string/strcpy.c: Remove unused #include of memcopy.h.
51842 (strcpy): Use ANSI prototype.
51843
51844 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51845
51846 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
51847 * config.make.in (config-extra-cppflags): Set it from
51848 libc_extra_cppflags.
51849 * configure.ac (libc_extra_cflags): Make it accumulate over
51850 configure fragments.
51851 (libc_extra_cppflags): New flag.
51852 * configure. Regenerate.
51853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
51854 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
51855 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
51856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
51857
51858 [BZ #16815]
51859 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
51860 result for FE_DOWNWARD rounding mode.
51861 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
51862 Likewise.
51863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51864
51865 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
51866
51867 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
51868 in function argument name.
51869
51870 2014-04-03 David Svoboda <svoboda@cert.org>
51871
51872 [BZ #5666]
51873 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
51874 explicitly.
51875
51876 2014-04-03 Roland McGrath <roland@hack.frob.com>
51877
51878 * elf/dl-unmap-segments.h: New file.
51879 * sysdeps/generic/ldsodefs.h
51880 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
51881 * elf/dl-close.c: Include <dl-unmap-segments.h>.
51882 * elf/dl-fptr.c: Likewise.
51883 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
51884 * sysdeps/aarch64/tlsdesc.c: Likewise.
51885 * sysdeps/arm/tlsdesc.c: Likewise.
51886 * sysdeps/i386/tlsdesc.c: Likewise.
51887 * sysdeps/tile/dl-runtime.c: Likewise.
51888 * sysdeps/x86_64/tlsdesc.c: Likewise.
51889 * elf/dl-load.h: New file.
51890 * elf/dl-load.c: Include it.
51891 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
51892 Macros moved to dl-load.h.
51893 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
51894 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
51895 Use _dl_unmap_segments in place of __munmap.
51896 Break out segment-mapping loop into ...
51897 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
51898
51899 2014-04-03 Will Newton <will.newton@linaro.org>
51900
51901 * elf/dl-lookup.c (do_lookup_x): Remove comment
51902 referring to nested function and move variable
51903 declarations down to before first use.
51904
51905 2014-04-02 Joseph Myers <joseph@codesourcery.com>
51906
51907 [BZ #16799]
51908 [BZ #16800]
51909 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
51910 with 0 numerator.
51911 * math/s_catanf.c (__catanf): Likewise.
51912 * math/s_catanh.c (__catanh): Likewise.
51913 * math/s_catanhf.c (__catanhf): Likewise.
51914 * math/s_catanhl.c (__catanhl): Likewise.
51915 * math/s_catanl.c (__catanl): Likewise.
51916 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
51917 by positive zero when computing -Inf result.
51918 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
51919 (catanh_test): Likewise.
51920 * sysdeps/i386/fpu/libm-test-ulps: Update.
51921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51922
51923 [BZ #16789]
51924 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
51925 instead of using underflowing value in computing result.
51926 * math/s_clog10.c (__clog10): Likewise.
51927 * math/s_clog10f.c (__clog10f): Likewise.
51928 * math/s_clog10l.c (__clog10l): Likewise.
51929 * math/s_clogf.c (__clogf): Likewise.
51930 * math/s_clogl.c (__clogl): Likewise.
51931 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
51932 (clog10_test): Likewise.
51933 * sysdeps/i386/fpu/libm-test-ulps: Update.
51934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51935
51936 2014-04-02 Alan Modra <amodra@gmail.com>
51937
51938 [BZ #16739]
51939 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
51940 output when value is near a power of two. Use int64_t for lx and
51941 remove casts. Use decimal rather than hex exponent constants.
51942 Don't use long double multiplication when double will suffice.
51943 * math/libm-test.inc (nextafter_test_data): Add tests.
51944 * NEWS: Add 16739 and 16786 to bug list.
51945
51946 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
51947
51948 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
51949
51950 2014-04-01 Will Newton <will.newton@linaro.org>
51951
51952 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
51953 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
51954
51955 2014-04-01 Florian Weimer <fweimer@redhat.com>
51956
51957 [BZ #13347]
51958 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
51959 * nptl/tst-setuid2.c: New file.
51960 * nptl/Makefile (xtests): Add tst-setuid2.
51961
51962 2014-04-01 Alan Modra <amodra@gmail.com>
51963
51964 [BZ #16786]
51965 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
51966
51967 2014-03-31 Joseph Myers <joseph@codesourcery.com>
51968
51969 [BZ #6803]
51970 [BZ #6804]
51971 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
51972 set errno as appropriate.
51973 * math/w_scalbf.c (__scalbf): Likewise.
51974 * math/w_scalbl.c (__scalbl): Likewise.
51975 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
51976 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
51977 * math/libm-test.inc (scalb_test_data): Add errno expectations.
51978 Add more NaN tests.
51979
51980 [BZ #16349]
51981 * math/w_atan2.c: Include <errno.h>.
51982 (__atan2): Set errno for result underflowing to zero.
51983 * math/w_atan2f.c: Include <errno.h>.
51984 (__atan2f): Set errno for result underflowing to zero.
51985 * math/w_atan2l.c: Include <errno.h>.
51986 (__atan2l): Set errno for result underflowing to zero.
51987 * math/auto-libm-test-in: Don't allow missing errno for some atan2
51988 tests.
51989 * math/auto-libm-test-out: Regenerated.
51990
51991 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51992
51993 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
51994 Encode instruction correctly in little endian.
51995 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
51996 Likewise.
51997 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
51998 Likewise.
51999 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52000 Likewise.
52001 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52002 Likewise.
52003
52004 2014-03-31 Joseph Myers <joseph@codesourcery.com>
52005
52006 [BZ #9894]
52007 * sysdeps/unix/sysv/linux/kernel-features.h
52008 [__sparc__ && !__arch64__ && !__sparc_v9__]
52009 (__ASSUME_SET_ROBUST_LIST): Do not define.
52010 [__sparc__ && !__arch64__ && !__sparc_v9__]
52011 (__ASSUME_FUTEX_LOCK_PI): Likewise.
52012 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52013 Likewise.
52014 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52015 (__ASSUME_FUTEX_LOCK_PI): Undefine.
52016 (__ASSUME_REQUEUE_PI): Likewise.
52017 (__ASSUME_SET_ROBUST_LIST): Likewise.
52018 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52019 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52020 Undefine.
52021 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52022 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52023 Likewise.
52024 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52025 Likewise.
52026 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52027 Likewise.
52028 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52029 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52030 Undefine.
52031 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52032 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52033 Likewise.
52034
52035 [BZ #16648]
52036 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52037 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52038 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52039
52040 2014-03-31 Will Newton <will.newton@linaro.org>
52041
52042 * benchtests/Makefile (bench): Add ffs and ffsll to list
52043 of tests.
52044 * benchtests/ffs-inputs: New file.
52045 * benchtests/ffsll-inputs: Likewise.
52046
52047 2014-03-29 Joseph Myers <joseph@codesourcery.com>
52048
52049 [BZ #16770]
52050 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52051 too large before casting to int.
52052 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52053 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52054 * math/libm-test.inc (scalb_test_data): Add more tests.
52055
52056 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
52057
52058 * benchtests/Makefile (DETAILED_OPT): New make option.
52059 (bench-func): Run benchmark program with -d if DETAILED_OPT is
52060 set.
52061 * benchtests/bench-skeleton.c: Include stdbool.h.
52062 (main): Store and print timings per input.
52063 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52064 member to each argument value.
52065 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52066 (_print_arg_data): Initialize per-input timing to 0.
52067
52068 * benchtests/Makefile (timing-type): New binary.
52069 (bench-clean): Also remove bench-timing-type.
52070 (bench): New target for timing-type.
52071 (bench-func): Print output in JSON format.
52072 * benchtests/bench-skeleton.c (main): Print output in JSON
52073 format.
52074 * benchtests/bench-timing-type.c: New file.
52075 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52076 (TIMING_PRINT_STATS): Remove.
52077 * benchtests/scripts/bench.py (_print_arg_data): Store variant
52078 name separately.
52079
52080 * benchtests/bench-modf.c: Remove.
52081 * benchtests/modf-inputs: New inputs file.
52082
52083 2014-03-28 Joseph Myers <joseph@codesourcery.com>
52084
52085 [BZ #16362]
52086 * math/s_clog10.c (M_PI_LOG10E): New macro.
52087 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52088 imaginary parts are 0.
52089 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52090 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52091 imaginary parts are 0.
52092 * math/s_clog10l.c (M_PI_LOG10El): New macro.
52093 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52094 imaginary parts are 0.
52095 * math/libm-test.inc (clog10_test_data): Update expected results
52096 for when real and imaginary parts are 0.
52097
52098 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
52099
52100 * elf/dl-load.c: Finish conversion of __builtin_expect into
52101 __glibc_{un}likely.
52102
52103 2014-03-27 Joseph Myers <joseph@codesourcery.com>
52104
52105 [BZ #16348]
52106 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52107 1+x for argument with exponent below -67.
52108 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52109 Likewise.
52110 * math/auto-libm-test-in: Add more tests of exp.
52111 * math/auto-libm-test-out: Regenerated.
52112
52113 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
52114
52115 [BZ #16759]
52116 * inet/getnetgrent_r.c (get_nonempty_val): New function.
52117 (nscd_getnetgrent): Use it.
52118
52119 [BZ #16760]
52120 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52121 of stpcpy.
52122
52123 2014-03-27 Andi Kleen <ak@linux.intel.com>
52124
52125 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52126 (lll_robust_lock, lll_cond_lock, lll_timedlock)
52127 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52128 (lll_robust_unlock): Remove out of line section. Use cfi
52129 intrinsics.
52130 (LLL_STUB_UNWIND_INFO*): Remove.
52131 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52132 (lll_robust_lock, lll_cond_lock, lll_timedlock)
52133 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52134 (lll_robust_unlock): Remove out of line section. Use cfi
52135 intrinsics.
52136 (LLL_STUB_UNWIND_INFO*): Remove.
52137
52138 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
52139
52140 [BZ #16758]
52141 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52142 blank values.
52143
52144 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
52145
52146 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52147
52148 2014-03-26 Joseph Myers <joseph@codesourcery.com>
52149
52150 [BZ #16198]
52151 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52152 fnstenv.
52153 * math/test-fenv-preserve.c: New file.
52154 * math/Makefile (tests): Add test-fenv-preserve.
52155
52156 2014-03-26 Will Newton <will.newton@linaro.org>
52157
52158 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52159
52160 2014-03-25 Roland McGrath <roland@hack.frob.com>
52161
52162 * scripts/versionlist.awk: Partition the version sets and emit all
52163 GLIBC_* (sorted) before all others (sorted).
52164
52165 2014-03-25 Joseph Myers <joseph@codesourcery.com>
52166
52167 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52168 GLIBC_2.2.5 version.
52169
52170 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52171
52172 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52173 calls.
52174
52175 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52176 previous change.
52177
52178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52179
52180 2014-03-25 Andreas Schwab <schwab@suse.de>
52181
52182 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52183 label to be used after in6ailist is initialized.
52184
52185 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52186
52187 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52188 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52189
52190 2014-03-25 Joseph Myers <joseph@codesourcery.com>
52191
52192 [BZ #16357]
52193 [BZ #16599]
52194 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52195 min_plus_half.
52196 (fp_formats): Update initializers.
52197 (init_fp_formats): Initialize new field.
52198 (output_for_one_input_case): Allow underflow for results up to
52199 min_plus_half.
52200 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52201 * math/auto-libm-test-in: Don't mark some underflows from asin and
52202 atanh as spurious.
52203 * math/auto-libm-test-out: Regenerated.
52204 * sysdeps/i386/fpu/libm-test-ulps: Update.
52205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52206
52207 2014-03-25 Andreas Schwab <schwab@suse.de>
52208
52209 * libio/Makefile (tst-ftell-partial-wide-ENV)
52210 (tst-ftell-active-handler-ENV): Define.
52211
52212 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
52213
52214 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52215
52216 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
52217
52218 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52219
52220 2014-03-24 Joseph Myers <joseph@codesourcery.com>
52221
52222 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52223 * sysdeps/x86_64/fpu/multiarch/e_exp.c
52224 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52225
52226 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
52227
52228 [BZ #16634]
52229 * elf/dl-load.c (open_verify): Add mode parameter.
52230 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52231 (open_path): Change from boolean 'secure' to complete flag 'mode'
52232 (_dl_map_object): Adjust.
52233 * elf/Makefile (tests): Add tst-dlopen-aout.
52234 * elf/tst-dlopen-aout.c: New test.
52235
52236 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
52237
52238 [BZ #16714]
52239 * sysdeps/unix/sysv/linux/s390/bits/stat.h
52240 (struct stat): Rename member pad0 to __glibc_reserved0.
52241
52242 [BZ #16712]
52243 * sysdeps/s390/s390-32/bits/wordsize.h
52244 (__WORDSIZE32_SIZE_ULONG): New define.
52245 * sysdeps/s390/s390-64/bits/wordsize.h
52246 (__WORDSIZE32_SIZE_ULONG): Likewise.
52247 * sysdeps/generic/stdint.h (SIZE_MAX):
52248 Define as UL if __WORDSIZE32_SIZE_ULONG.
52249
52250 [BZ #16713]
52251 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52252 (__glibc_reserved0): New variable.
52253 (sa_flags): Change type to int.
52254
52255 * posix/Makefile (before-compile): Use += before-compile instead
52256 of a :=.
52257
52258 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52259 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52260
52261 2014-03-20 Andreas Schwab <schwab@suse.de>
52262
52263 [BZ #16743]
52264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52265 non-matching result from nscd.
52266
52267 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
52268
52269 * scripts/bench.py: Moved to ...
52270 * benchtests/scripts/bench.py: ... here.
52271 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52272
52273 2014-03-24 Andreas Schwab <schwab@suse.de>
52274
52275 [BZ #16002]
52276 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52277 alloca_account and account alloca use for struct in6ailist.
52278
52279 2014-03-24 Joseph Myers <joseph@codesourcery.com>
52280
52281 [BZ #16284]
52282 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52283 rounding mode to recompute results that overflow to infinity or
52284 underflow to zero.
52285 * math/auto-libm-test-in: Don't mark tests as expected to fail for
52286 bug 16284.
52287 * math/auto-libm-test-out: Regenerated.
52288 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52289 (ccosh_test): Likewise.
52290 (csin_test_data): Use plus_oflow.
52291 (csin_test): Use ALL_RM_TEST.
52292 (csinh_test_data): Use plus_oflow.
52293 (csinh_test): Use ALL_RM_TEST.
52294 * sysdeps/i386/fpu/libm-test-ulps: Update.
52295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52296
52297 2014-03-21 Joseph Myers <joseph@codesourcery.com>
52298
52299 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52300 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52301 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52302
52303 [BZ #16731]
52304 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52305 when x - 1 is zero.
52306 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52307 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52308 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52309 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52310 argument is 1.
52311 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52312 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52313 zero.
52314 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52315 * sysdeps/i386/fpu/libm-test-ulps: Update.
52316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52317
52318 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52319
52320 * scripts/bench.pl: Remove file.
52321 * scripts/bench.py: New benchmark script.
52322 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52323 * benchtests/README: Mention python dependency.
52324 * scripts/pylintrc: New file.
52325 * scripts/pylint: New file.
52326
52327 * bits/mathdef.h: Use #ifdef instead of #if.
52328 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52329 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52330 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52331 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52332 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52333 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52334
52335 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52336 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52337
52338 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52340 and strpbrk-ppc64 objects.
52341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52342 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52343 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52344 multiarch strpbrk for POWER7.
52345 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52346 multiarch strpbrk for PPC64.
52347 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52348 ifunc selector.
52349 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52350 strpbrk for POWER7.
52351
52352 2014-03-20 Joseph Myers <joseph@codesourcery.com>
52353
52354 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52355 (atan_test): Likewise.
52356 (atanh_test_data): Use NO_TEST_INLINE for two tests.
52357 (atanh_test): Use ALL_RM_TEST.
52358 (atan2_test_data): Likewise.
52359 (cabs_test): Likewise.
52360 (cacosh_test): Likewise.
52361 (carg_test): Likewise.
52362 (casin_test): Likewise.
52363 (casinh_test): Likewise.
52364 (cbrt_test): Likewise.
52365 (csqrt_test): Likewise.
52366 (erf_test): Likewise.
52367 (erfc_test): Likewise.
52368 (pow10_test): Likewise.
52369 (exp2_test): Likewise.
52370 (hypot_test): Likewise.
52371 (j0_test): Likewise.
52372 (j1_test): Likewise.
52373 (lgamma_test): Likewise.
52374 (gamma_test): Likewise.
52375 (sincos_test): Likewise.
52376 (tanh_test): Likewise.
52377 (y0_test): Likewise.
52378 (y1_test): Likewise.
52379 * sysdeps/i386/fpu/libm-test-ulps: Update.
52380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52381
52382 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52383
52384 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52386 and strcspn-ppc64 objects.
52387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52388 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52389 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52390 multiarch strcspn for POWER7.
52391 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52392 multiarch strcspn for PPC64.
52393 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52394 ifunc selector.
52395 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52396 strcspn for POWER7.
52397
52398 2014-03-20 Joseph Myers <joseph@codesourcery.com>
52399
52400 * math/gen-libm-test.pl (generate_testfile): Expect only function
52401 name as argument to AUTO_TESTS_* and pass results for all rounding
52402 modes to parse_args.
52403 (parse_auto_input): Separate inputs of automatic tests from
52404 outputs before storing in %auto_tests.
52405 * math/libm-test.inc (acos_test_data): Update call to
52406 AUTO_TESTS_f_f.
52407 (acos_test): Use ALL_RM_TEST.
52408 (acos_tonearest_test_data): Remove.
52409 (acos_test_tonearest): Likewise.
52410 (acos_towardzero_test_data): Likewise.
52411 (acos_test_towardzero): Likewise.
52412 (acos_downward_test_data): Likewise.
52413 (acos_test_downward): Likewise.
52414 (acos_upward_test_data): Likewise.
52415 (acos_test_upward): Likewise.
52416 (acosh_test_data): Update call to AUTO_TESTS_f_f.
52417 (asin_test_data): Likewise.
52418 (asin_test): Use ALL_RM_TEST.
52419 (asin_tonearest_test_data): Remove.
52420 (asin_test_tonearest): Likewise.
52421 (asin_towardzero_test_data): Likewise.
52422 (asin_test_towardzero): Likewise.
52423 (asin_downward_test_data): Likewise.
52424 (asin_test_downward): Likewise.
52425 (asin_upward_test_data): Likewise.
52426 (asin_test_upward): Likewise.
52427 (asinh_test_data): Update call to AUTO_TESTS_f_f.
52428 (atan_test_data): Likewise.
52429 (atanh_test_data): Likewise.
52430 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52431 (cabs_test_data): Update call to AUTO_TESTS_c_f.
52432 (carg_test_data): Likewise.
52433 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52434 (ccos_test_data): Update call to AUTO_TESTS_c_c.
52435 (ccosh_test_data): Likewise.
52436 (cexp_test_data): Likewise.
52437 (clog_test_data): Likewise.
52438 (clog10_test_data): Likewise.
52439 (cos_test_data): Update call to AUTO_TESTS_f_f.
52440 (cos_test): Use ALL_RM_TEST.
52441 (cos_tonearest_test_data): Remove.
52442 (cos_test_tonearest): Likewise.
52443 (cos_towardzero_test_data): Likewise.
52444 (cos_test_towardzero): Likewise.
52445 (cos_downward_test_data): Likewise.
52446 (cos_test_downward): Likewise.
52447 (cos_upward_test_data): Likewise.
52448 (cos_test_upward): Likewise.
52449 (cosh_test_data): Update call to AUTO_TESTS_f_f.
52450 (cosh_test): Use ALL_RM_TEST.
52451 (cosh_tonearest_test_data): Remove.
52452 (cosh_test_tonearest): Likewise.
52453 (cosh_towardzero_test_data): Likewise.
52454 (cosh_test_towardzero): Likewise.
52455 (cosh_downward_test_data): Likewise.
52456 (cosh_test_downward): Likewise.
52457 (cosh_upward_test_data): Likewise.
52458 (cosh_test_upward): Likewise.
52459 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52460 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52461 (ctan_test_data): Likewise.
52462 (ctan_test): Use ALL_RM_TEST.
52463 (ctan_tonearest_test_data): Remove.
52464 (ctan_test_tonearest): Likewise.
52465 (ctan_towardzero_test_data): Likewise.
52466 (ctan_test_towardzero): Likewise.
52467 (ctan_downward_test_data): Likewise.
52468 (ctan_test_downward): Likewise.
52469 (ctan_upward_test_data): Likewise.
52470 (ctan_test_upward): Likewise.
52471 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52472 (ctanh_test): Use ALL_RM_TEST.
52473 (ctanh_tonearest_test_data): Remove.
52474 (ctanh_test_tonearest): Likewise.
52475 (ctanh_towardzero_test_data): Likewise.
52476 (ctanh_test_towardzero): Likewise.
52477 (ctanh_downward_test_data): Likewise.
52478 (ctanh_test_downward): Likewise.
52479 (ctanh_upward_test_data): Likewise.
52480 (ctanh_test_upward): Likewise.
52481 (erf_test_data): Update call to AUTO_TESTS_f_f.
52482 (erfc_test_data): Likewise.
52483 (exp_test_data): Likewise.
52484 (exp_test): Use ALL_RM_TEST.
52485 (exp_tonearest_test_data): Remove.
52486 (exp_test_tonearest): Likewise.
52487 (exp_towardzero_test_data): Likewise.
52488 (exp_test_towardzero): Likewise.
52489 (exp_downward_test_data): Likewise.
52490 (exp_test_downward): Likewise.
52491 (exp_upward_test_data): Likewise.
52492 (exp_test_upward): Likewise.
52493 (exp10_test_data): Update call to AUTO_TESTS_f_f.
52494 (exp10_test): Use ALL_RM_TEST.
52495 (exp10_tonearest_test_data): Remove.
52496 (exp10_test_tonearest): Likewise.
52497 (exp10_towardzero_test_data): Likewise.
52498 (exp10_test_towardzero): Likewise.
52499 (exp10_downward_test_data): Likewise.
52500 (exp10_test_downward): Likewise.
52501 (exp10_upward_test_data): Likewise.
52502 (exp10_test_upward): Likewise.
52503 (exp2_test_data): Update call to AUTO_TESTS_f_f.
52504 (expm1_test_data): Likewise.
52505 (expm1_test): Use ALL_RM_TEST.
52506 (expm1_tonearest_test_data): Remove.
52507 (expm1_test_tonearest): Likewise.
52508 (expm1_towardzero_test_data): Likewise.
52509 (expm1_test_towardzero): Likewise.
52510 (expm1_downward_test_data): Likewise.
52511 (expm1_test_downward): Likewise.
52512 (expm1_upward_test_data): Likewise.
52513 (expm1_test_upward): Likewise.
52514 (fma_test_data): Update call to AUTO_TESTS_fff_f.
52515 (fma_test): Use ALL_RM_TEST.
52516 (fma_towardzero_test_data): Remove.
52517 (fma_test_towardzero): Likewise.
52518 (fma_downward_test_data): Likewise.
52519 (fma_test_downward): Likewise.
52520 (fma_upward_test_data): Likewise.
52521 (fma_test_upward): Likewise.
52522 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52523 (j0_test_data): Update call to AUTO_TESTS_f_f.
52524 (j1_test_data): Likewise.
52525 (jn_test_data): Update call to AUTO_TESTS_if_f.
52526 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52527 (log_test_data): Update call to AUTO_TESTS_f_f.
52528 (log10_test_data): Likewise.
52529 (log1p_test_data): Likewise.
52530 (log2_test_data): Likewise.
52531 (pow_test_data): Update call to AUTO_TESTS_ff_f.
52532 (pow_tonearest_test_data): Likewise.
52533 (sin_test_data): Update call to AUTO_TESTS_f_f.
52534 (sin_test): Use ALL_RM_TEST.
52535 (sin_tonearest_test_data): Remove.
52536 (sin_test_tonearest): Likewise.
52537 (sin_towardzero_test_data): Likewise.
52538 (sin_test_towardzero): Likewise.
52539 (sin_downward_test_data): Likewise.
52540 (sin_test_downward): Likewise.
52541 (sin_upward_test_data): Likewise.
52542 (sin_test_upward): Likewise.
52543 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52544 (sinh_test_data): Update call to AUTO_TESTS_f_f.
52545 (sinh_test): Use ALL_RM_TEST.
52546 (sinh_tonearest_test_data): Remove.
52547 (sinh_test_tonearest): Likewise.
52548 (sinh_towardzero_test_data): Likewise.
52549 (sinh_test_towardzero): Likewise.
52550 (sinh_downward_test_data): Likewise.
52551 (sinh_test_downward): Likewise.
52552 (sinh_upward_test_data): Likewise.
52553 (sinh_test_upward): Likewise.
52554 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52555 (sqrt_test): Use ALL_RM_TEST.
52556 (sqrt_tonearest_test_data): Remove.
52557 (sqrt_test_tonearest): Likewise.
52558 (sqrt_towardzero_test_data): Likewise.
52559 (sqrt_test_towardzero): Likewise.
52560 (sqrt_downward_test_data): Likewise.
52561 (sqrt_test_downward): Likewise.
52562 (sqrt_upward_test_data): Likewise.
52563 (sqrt_test_upward): Likewise.
52564 (tan_test_data): Update call to AUTO_TESTS_f_f.
52565 (tan_test): Use ALL_RM_TEST.
52566 (tan_tonearest_test_data): Remove.
52567 (tan_test_tonearest): Likewise.
52568 (tan_towardzero_test_data): Likewise.
52569 (tan_test_towardzero): Likewise.
52570 (tan_downward_test_data): Likewise.
52571 (tan_test_downward): Likewise.
52572 (tan_upward_test_data): Likewise.
52573 (tan_test_upward): Likewise.
52574 (tanh_test_data): Update call to AUTO_TESTS_f_f.
52575 (tgamma_test_data): Likewise.
52576 (y0_test_data): Likewise.
52577 (y1_test_data): Likewise.
52578 (yn_test_data): Update call to AUTO_TESTS_if_f.
52579 (main): Do not call removed functions.
52580
52581 2014-03-19 Joseph Myers <joseph@codesourcery.com>
52582
52583 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52584 (ldexp_test_data): Remove.
52585 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
52586 scalbn_test_data.
52587 (scalb_test): Use ALL_RM_TEST.
52588
52589 2014-03-19 Andreas Schwab <schwab@suse.de>
52590
52591 * nscd/nscd.service: Also invalidate netgroup cache on reload.
52592
52593 2014-03-19 Joseph Myers <joseph@codesourcery.com>
52594
52595 [BZ #16649]
52596 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52597 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52598 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52600 (__ASSUME_PREADV): Undefine.
52601 (__ASSUME_PWRITEV): Likewise.
52602
52603 2014-03-18 Roland McGrath <roland@hack.frob.com>
52604
52605 * bits/mman-linux.h: Add comment about non-Linux use.
52606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52607 bits/mman-linux.h resting place.
52608
52609 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52610 * bits/mman-linux.h: ... here.
52611
52612 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52613
52614 * conform/conformtest.pl: Add standard definition when calling C
52615 preprocessor on data files.
52616 (checknamespace): Remove unused variable.
52617
52618 2014-03-18 Joseph Myers <joseph@codesourcery.com>
52619
52620 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52621 minus_oflow, plus_uflow and minus_uflow in expected results.
52622 * math/libm-test.inc (scalbn_test_data): Add more tests of
52623 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
52624 minus_uflow.
52625 (scalbn_test): Use ALL_RM_TEST.
52626 (scalbln_test_data): Add more tests of negative arguments. Use
52627 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52628 (scalbln_test): Use ALL_RM_TEST.
52629
52630 2014-03-18 Roland McGrath <roland@hack.frob.com>
52631
52632 * scripts/abilist.awk: Ignore symbols marked with .hidden.
52633
52634 2014-03-18 Will Newton <will.newton@linaro.org>
52635
52636 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52637 inaccurate comment.
52638
52639 2014-03-18 Joseph Myers <joseph@codesourcery.com>
52640
52641 * Makerules [!subdir] (check-abi): Exit with error status if a
52642 test failed.
52643
52644 2014-03-17 Joseph Myers <joseph@codesourcery.com>
52645
52646 * math/libm-test.inc (nearbyint_test_data): Include all tests used
52647 for rint. Include results for all rounding modes.
52648 (nearbyint_test): Use ALL_RM_TEST.
52649 (rint_test_data): Include all tests used for nearbyint.
52650
52651 2014-03-17 Will Newton <will.newton@linaro.org>
52652
52653 * nptl/sysdeps/pthread/pthread.h: Revert previous
52654 change.
52655
52656 * sysdeps/generic/ldsodefs.h: Revert previous
52657 change.
52658
52659 * libio/genops.c: Revert previous change.
52660 * libio/libioP.h: Likewise.
52661 * stdio-common/vfprintf.c: Likewise.
52662
52663 * sysdeps/generic/math_private.h: Revert previous
52664 change.
52665
52666 * sysdeps/generic/math_private.h: Check whether
52667 HAVE_RM_CTX is defined with #ifdef rather
52668 than #if.
52669
52670 * argp/argp-fmtstream.h: Check whether
52671 __STRICT_ANSI__ is defined with #ifdef rather
52672 than #if.
52673 * argp/argp.h: Likewise.
52674
52675 * libio/genops.c: Check whether
52676 _IO_JUMPS_OFFSET is defined with #ifdef rather
52677 than #if.
52678 * libio/libioP.h: Likewise.
52679 * stdio-common/vfprintf.c: Likewise.
52680
52681 * sysdeps/generic/ldsodefs.h: Check whether
52682 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52683 than #if.
52684
52685 * nptl/sysdeps/pthread/pthread.h: Check
52686 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52687 its value.
52688
52689 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
52690
52691 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52692 setting O_APPEND.
52693 * libio/tst-ftell-active-handler.c (do_append_test): Add a
52694 test case.
52695
52696 [BZ #16680]
52697 * libio/fileops.c (_IO_file_open): Seek to end of file but
52698 don't cache the offset.
52699 (get_file_offset): Remove function.
52700 (do_ftell): Use cached offset when available.
52701 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52702 don't cache the offset.
52703 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52704 case.
52705 (do_one_test): Call it.
52706 (do_ftell_test): Fix up expected old offset for a+ mode.
52707 * libio/wfileops.c (do_ftell_wide): Used cached offset when
52708 available.
52709
52710 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52711 up test status with function return status.
52712 (do_write_test): Likewise.
52713 (do_append_test): Likewise.
52714
52715 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52716 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52717 Remove.
52718
52719 2014-03-17 Joseph Myers <joseph@codesourcery.com>
52720
52721 * math/gen-libm-test.pl (parse_args): Handle results specified for
52722 each rounding mode separately.
52723 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52724 tests and results from lrint_tonearest_test_data,
52725 lrint_towardzero_test_data, lrint_downward_test_data and
52726 lrint_upward_test_data.
52727 (lrint_test): Use ALL_RM_TEST.
52728 (lrint_tonearest_test_data): Remove.
52729 (lrint_test_tonearest): Likewise.
52730 (lrint_towardzero_test_data): Likewise.
52731 (lrint_test_towardzero): Likewise.
52732 (lrint_downward_test_data): Likewise.
52733 (lrint_test_downward): Likewise.
52734 (lrint_upward_test_data): Likewise.
52735 (lrint_test_upward): Likewise.
52736 (llrint_test_data): Merge in per-rounding-mode tests and results
52737 from llrint_tonearest_test_data, llrint_towardzero_test_data,
52738 llrint_downward_test_data and llrint_upward_test_data.
52739 (llrint_test): Use ALL_RM_TEST.
52740 (llrint_tonearest_test_data): Remove.
52741 (llrint_test_tonearest): Likewise.
52742 (llrint_towardzero_test_data): Likewise.
52743 (llrint_test_towardzero): Likewise.
52744 (llrint_downward_test_data): Likewise.
52745 (llrint_test_downward): Likewise.
52746 (llrint_upward_test_data): Likewise.
52747 (llrint_test_upward): Likewise.
52748 (rint_test_data): Merge in per-rounding-mode tests and results
52749 from rint_tonearest_test_data, rint_towardzero_test_data,
52750 rint_downward_test_data and rint_upward_test_data. Add
52751 per-rounding-mode results for tests not in those arrays.
52752 (rint_test): Use ALL_RM_TEST.
52753 (rint_tonearest_test_data): Remove.
52754 (rint_test_tonearest): Likewise.
52755 (rint_towardzero_test_data): Likewise.
52756 (rint_test_towardzero): Likewise.
52757 (rint_downward_test_data): Likewise.
52758 (rint_test_downward): Likewise.
52759 (rint_upward_test_data): Likewise.
52760 (rint_test_upward): Likewise.
52761 (main): Don't call removed functions.
52762
52763 2014-03-14 Roland McGrath <roland@hack.frob.com>
52764
52765 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
52766 "Compiled on ..." crapola. It is anti-useful.
52767
52768 2014-03-14 Joseph Myers <joseph@codesourcery.com>
52769
52770 * scripts/evaluate-test.sh: Handle fourth argument to determine
52771 whether test run should stop on failure.
52772 * Makeconfig (stop-on-test-failure): New variable.
52773 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
52774 $(stop-on-test-failure).
52775 * Makefile (tests): Give a summary of results from testing and
52776 exit with failure status if they include an ERROR or FAIL.
52777 (xtests): Likewise.
52778 * manual/install.texi (Configuring and compiling): Mention
52779 stop-on-test-failure=y.
52780 * INSTALL: Regenerated.
52781
52782 2014-03-14 Roland McGrath <roland@hack.frob.com>
52783
52784 * scripts/versionlist.awk: New file.
52785 * Makerules [$(build-shared) = yes]
52786 (postclean-generated): Add Versions.def, not Versions.def.v and
52787 Versions.def.v.i.
52788 ($(common-objpfx)Versions.def.v.i): Target removed.
52789 ($(common-objpfx)Versions.def): New target.
52790 ($(common-objpfx)Versions.all): Depend on that rather that
52791 $(common-objpfx)Versions.def.v.
52792 * Versions.def: File removed.
52793
52794 * Makeconfig (+gccwarn): Add -Wundef.
52795 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
52796 a dl-sysdep.h breaking its contract.
52797 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
52798 * include/stackinfo.h: New file.
52799 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
52800 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
52801 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
52802 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
52803 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
52804 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
52805 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52806 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52807 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52808 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52809 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52810 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
52811 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52812 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52813 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52814
52815 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52816
52817 [BZ #16707]
52818 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
52819 implementation.
52820 * math/libm-test.inc (round_test_data): Add more tests.
52821
52822 [BZ #16706]
52823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
52824 implementation.
52825 * math/libm-test.inc (nearbyint_test_data): Add more tests.
52826
52827 [BZ #16701]
52828 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52829 implementation.
52830 * math/libm-test.inc (ceil_test_data): Add more tests.
52831
52832 * math/libm-test.inc (trunc_test_data): Add more tests related to
52833 BZ#16414.
52834
52835 2014-03-14 Roland McGrath <roland@hack.frob.com>
52836
52837 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
52838 with #if rather than #ifdef.
52839 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
52840
52841 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
52842
52843 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
52844 first. Disable AVX-512 GCC support if assembler doesn't support
52845 it.
52846 * sysdeps/x86_64/configure: Regenerated.
52847
52848 2014-03-13 Carlos O'Donell <carlos@redhat.com>
52849
52850 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
52851 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
52852 (__old_pthread_attr_setstack): Likewise.
52853 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
52854 [!_STACK_GROWS_DOWN]: Likewise.
52855
52856 2014-03-13 Mike Frysinger <vapier@gentoo.org>
52857
52858 * config.make.in (have-bash2): Delete.
52859 * configure.ac (libc_cv_have_bash2): Delete.
52860 * configure: Regenerate.
52861 * elf/Makefile (common-ldd-rewrite): Rename to ...
52862 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
52863 (sh-ldd-rewrite): Delete.
52864 (bash-ldd-rewrite): Delete.
52865 (have-bash2): Delete checks.
52866 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
52867 ldd-rewrite.
52868
52869 * config.make.in (have-ksh): Delete.
52870 (KSH): Delete.
52871 * configure.ac (libc_cv_have_ksh): Delete.
52872 * configure: Regenerate.
52873
52874 * elf/Makefile: Delete $(have-ksh) check.
52875 ($(objpfx)sotruss): Change KSH to BASH.
52876 * elf/sotruss.ksh: Rename to ...
52877 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
52878 function style to match POSIX. Drop ksh vim mode setting.
52879
52880 * manual/time.texi (Specifying the Time Zone with TZ): Change
52881 Tuesday to Thursday.
52882
52883 * debug/tst-longjmp_chk2.c: Update header comment.
52884 (stackoverflow_handler): Add comment. Call assert on pass value.
52885
52886 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
52887
52888 [BZ #16194]
52889 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
52890 (HAVE_AVX512_ASM_SUPPORT): Likewise.
52891 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
52892 (La_x86_64_vector): Add zmm.
52893 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
52894 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
52895 ($(objpfx)tst-audit10): New target.
52896 ($(objpfx)tst-audit10.out): Likewise.
52897 (tst-audit10-ENV): New.
52898 (AVX512-CFLAGS): Likewise.
52899 (CFLAGS-tst-audit10.c): Likewise.
52900 (CFLAGS-tst-auditmod10a.c): Likewise.
52901 (CFLAGS-tst-auditmod10b.c): Likewise.
52902 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
52903 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
52904 * sysdeps/x86_64/configure: Regenerated.
52905 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
52906 AVX-512 zmm register support.
52907 (_dl_x86_64_save_sse): Likewise.
52908 (_dl_x86_64_restore_sse): Likewise.
52909 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
52910 size vector registers.
52911 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
52912 (ZMM_SIZE): Likewise.
52913 * sysdeps/x86_64/tst-audit10.c: New file.
52914 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
52915 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
52916
52917 2014-03-13 Roland McGrath <roland@hack.frob.com>
52918
52919 * configure.ac (HAVE_EHDR_START): New check.
52920 * configure: Regenerated.
52921 * config.h.in (HAVE_EHDR_START): New #undef.
52922 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
52923 assuming the lowest-addressed segment maps the start of the file.
52924
52925 2014-03-13 Joseph Myers <joseph@codesourcery.com>
52926
52927 * INSTALL: Regenerated.
52928
52929 2014-03-13 Will Newton <will.newton@linaro.org>
52930
52931 * manual/setjmp.texi (System V contexts): Improve
52932 clarity and grammar of documentation.
52933
52934 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
52935
52936 [BZ #16381]
52937 * elf/Makefile (tests): Add tst-pie2.
52938 (tests-pie): Add tst-pie2.
52939 * elf/tst-pie2.c: New file.
52940 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
52941 for ET_EXEC.
52942 * elf/rtld.c (map_doit): Load executable as lt_executable.
52943 (dl_main): Likewise.
52944
52945 2014-03-12 Joseph Myers <joseph@codesourcery.com>
52946
52947 [BZ #16642]
52948 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52949 (__ASSUME_PSELECT): Undefine.
52950
52951 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52952
52953 [BZ #16689]
52954 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
52955 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
52956 static build.
52957 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
52958 selector for static builds.
52959
52960 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
52961
52962 [BZ #16695]
52963 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
52964 key in the buffer.
52965
52966 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52967
52968 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
52969 IFUNC selector for static builds.
52970
52971 2014-03-11 Joseph Myers <joseph@codesourcery.com>
52972
52973 * sysdeps/mips/math_private.h [__mips_hard_float]
52974 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
52975 libc_feresetround_mips_ctx.
52976 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
52977 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
52978 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
52979
52980 [BZ #16677]
52981 * math/s_nextafter.c (__nextafter): Do not return value from
52982 overflowing computation.
52983 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
52984 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
52985 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
52986 Likewise.
52987 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
52988 Likewise.
52989 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
52990 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
52991
52992 2014-03-11 Roland McGrath <roland@hack.frob.com>
52993
52994 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
52995 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
52996 Move sfi_sp use from the load-multiple (that no longer sets sp) to
52997 the new mov targetting sp.
52998
52999 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53000
53001 [BZ #16683]
53002 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53003 Define it for static builds as well.
53004 (NO_BZERO_IMPL): Likewise.
53005
53006 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53007
53008 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53009 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53010 multiarch strspn for PPC64.
53011 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53012 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53014 (__libc_ifunc_impl_list): Likewise.
53015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53016 multiarch optimizations
53017 * string/strspn.c (strspn): Using macro to redefine symbol name.
53018
53019 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53020 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53021
53022 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53023 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53024 multiarch strncat for PPC64.
53025 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53026 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53028 (__libc_ifunc_impl_list): Likewise.
53029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53030 multiarch optimizations
53031
53032 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53033
53034 [BZ #16639]
53035 * nscd/nscd.service: Make service type forking.
53036
53037 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53038
53039 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53040 sign in non default rounding modes.
53041 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53042
53043 2014-03-08 Joseph Myers <joseph@codesourcery.com>
53044
53045 * math/libm-test.inc (ALL_RM_TEST): New macro.
53046 (ceil_test): Use ALL_RM_TEST.
53047 (cimag_test): Likewise.
53048 (conj_test): Likewise.
53049 (copysign_test): Likewise.
53050 (cproj_test): Likewise.
53051 (creal_test): Likewise.
53052 (fabs_test): Likewise.
53053 (floor_test): Likewise.
53054 (fmax_test): Likewise.
53055 (fmin_test): Likewise.
53056 (fmod_test): Likewise.
53057 (fpclassify_test): Likewise.
53058 (frexp_test): Likewise.
53059 (ilogb_test): Likewise.
53060 (isfinite_test): Likewise.
53061 (finite_test): Likewise.
53062 (isgreater_test): Likewise.
53063 (isgreaterequal_test): Likewise.
53064 (isinf_test): Likewise.
53065 (isless_test): Likewise.
53066 (islessequal_test): Likewise.
53067 (islessgreater_test): Likewise.
53068 (isnan_test): Likewise.
53069 (isnormal_test): Likewise.
53070 (issignaling_test): Likewise.
53071 (isunordered_test): Likewise.
53072 (logb_test): Likewise.
53073 (logb_downward_test_data): Remove.
53074 (logb_test_downward): Likewise.
53075 (lround_test): Use ALL_RM_TEST.
53076 (llround_test): Likewise.
53077 (modf_test): Likewise.
53078 (nexttoward_test): Likewise.
53079 (remainder_test): Likewise.
53080 (drem_test): Likewise.
53081 (remainder_tonearest_test_data): Likewise.
53082 (remainder_test_tonearest): Likewise.
53083 (drem_test_tonearest): Likewise.
53084 (remainder_towardzero_test_data): Likewise.
53085 (remainder_test_towardzero): Likewise.
53086 (drem_test_towardzero): Likewise.
53087 (remainder_downward_test_data): Likewise.
53088 (remainder_test_downward): Likewise.
53089 (drem_test_downward): Likewise.
53090 (remainder_upward_test_data): Likewise.
53091 (remainder_test_upward): Likewise.
53092 (drem_test_upward): Likewise.
53093 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
53094 (round_test): Use ALL_RM_TEST.
53095 (signbit_test): Likewise.
53096 (trunc_test): Likewise.
53097 (significand_test): Likewise.
53098 (main): Don't call removed functions.
53099
53100 2014-03-07 Joseph Myers <joseph@codesourcery.com>
53101
53102 [BZ #16674]
53103 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53104 || __USE_XOPEN2K8].
53105 (ILL_ILLOPN): Likewise.
53106 (ILL_ILLADR): Likewise.
53107 (ILL_ILLTRP): Likewise.
53108 (ILL_PRVOPC): Likewise.
53109 (ILL_PRVREG): Likewise.
53110 (ILL_COPROC): Likewise.
53111 (ILL_BADSTK): Likewise.
53112 (FPE_INTDIV): Likewise.
53113 (FPE_INTOVF): Likewise.
53114 (FPE_FLTDIV): Likewise.
53115 (FPE_FLTOVF): Likewise.
53116 (FPE_FLTUND): Likewise.
53117 (FPE_FLTRES): Likewise.
53118 (FPE_FLTINV): Likewise.
53119 (FPE_FLTSUB): Likewise.
53120 (SEGV_MAPERR): Likewise.
53121 (SEGV_ACCERR): Likewise.
53122 (BUS_ADRALN): Likewise.
53123 (BUS_ADRERR): Likewise.
53124 (BUS_OBJERR): Likewise.
53125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53126 (TRAP_TRACE): Likewise.
53127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53128 __USE_XOPEN2K8].
53129 (CLD_KILLED): Likewise.
53130 (CLD_DUMPED): Likewise.
53131 (CLD_TRAPPED): Likewise.
53132 (CLD_STOPPED): Likewise.
53133 (CLD_CONTINUED): Likewise.
53134 (POLL_IN): Likewise.
53135 (POLL_OUT): Likewise.
53136 (POLL_MSG): Likewise.
53137 (POLL_ERR): Likewise.
53138 (POLL_PRI): Likewise.
53139 (POLL_HUP): Likewise.
53140 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53141 Likewise.
53142 (ILL_ILLOPN): Likewise.
53143 (ILL_ILLADR): Likewise.
53144 (ILL_ILLTRP): Likewise.
53145 (ILL_PRVOPC): Likewise.
53146 (ILL_PRVREG): Likewise.
53147 (ILL_COPROC): Likewise.
53148 (ILL_BADSTK): Likewise.
53149 (FPE_INTDIV): Likewise.
53150 (FPE_INTOVF): Likewise.
53151 (FPE_FLTDIV): Likewise.
53152 (FPE_FLTOVF): Likewise.
53153 (FPE_FLTUND): Likewise.
53154 (FPE_FLTRES): Likewise.
53155 (FPE_FLTINV): Likewise.
53156 (FPE_FLTSUB): Likewise.
53157 (SEGV_MAPERR): Likewise.
53158 (SEGV_ACCERR): Likewise.
53159 (BUS_ADRALN): Likewise.
53160 (BUS_ADRERR): Likewise.
53161 (BUS_OBJERR): Likewise.
53162 (BUS_MCEERR_AR): Likewise.
53163 (BUS_MCEERR_AO): Likewise.
53164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53165 (TRAP_TRACE): Likewise.
53166 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53167 __USE_XOPEN2K8].
53168 (CLD_KILLED): Likewise.
53169 (CLD_DUMPED): Likewise.
53170 (CLD_TRAPPED): Likewise.
53171 (CLD_STOPPED): Likewise.
53172 (CLD_CONTINUED): Likewise.
53173 (POLL_IN): Likewise.
53174 (POLL_OUT): Likewise.
53175 (POLL_MSG): Likewise.
53176 (POLL_ERR): Likewise.
53177 (POLL_PRI): Likewise.
53178 (POLL_HUP): Likewise.
53179 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53180 (ILL_ILLOPN): Likewise.
53181 (ILL_ILLADR): Likewise.
53182 (ILL_ILLTRP): Likewise.
53183 (ILL_PRVOPC): Likewise.
53184 (ILL_PRVREG): Likewise.
53185 (ILL_COPROC): Likewise.
53186 (ILL_BADSTK): Likewise.
53187 (FPE_INTDIV): Likewise.
53188 (FPE_INTOVF): Likewise.
53189 (FPE_FLTDIV): Likewise.
53190 (FPE_FLTOVF): Likewise.
53191 (FPE_FLTUND): Likewise.
53192 (FPE_FLTRES): Likewise.
53193 (FPE_FLTINV): Likewise.
53194 (FPE_FLTSUB): Likewise.
53195 (SEGV_MAPERR): Likewise.
53196 (SEGV_ACCERR): Likewise.
53197 (BUS_ADRALN): Likewise.
53198 (BUS_ADRERR): Likewise.
53199 (BUS_OBJERR): Likewise.
53200 (BUS_MCEERR_AR): Likewise.
53201 (BUS_MCEERR_AO): Likewise.
53202 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53203 (TRAP_TRACE): Likewise.
53204 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53205 __USE_XOPEN2K8].
53206 (CLD_KILLED): Likewise.
53207 (CLD_DUMPED): Likewise.
53208 (CLD_TRAPPED): Likewise.
53209 (CLD_STOPPED): Likewise.
53210 (CLD_CONTINUED): Likewise.
53211 (POLL_IN): Likewise.
53212 (POLL_OUT): Likewise.
53213 (POLL_MSG): Likewise.
53214 (POLL_ERR): Likewise.
53215 (POLL_PRI): Likewise.
53216 (POLL_HUP): Likewise.
53217 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53218 Likewise.
53219 (ILL_ILLOPN): Likewise.
53220 (ILL_ILLADR): Likewise.
53221 (ILL_ILLTRP): Likewise.
53222 (ILL_PRVOPC): Likewise.
53223 (ILL_PRVREG): Likewise.
53224 (ILL_COPROC): Likewise.
53225 (ILL_BADSTK): Likewise.
53226 (ILL_BADIADDR): Likewise.
53227 (ILL_BREAK): Likewise.
53228 (FPE_INTDIV): Likewise.
53229 (FPE_INTOVF): Likewise.
53230 (FPE_FLTDIV): Likewise.
53231 (FPE_FLTOVF): Likewise.
53232 (FPE_FLTUND): Likewise.
53233 (FPE_FLTRES): Likewise.
53234 (FPE_FLTINV): Likewise.
53235 (FPE_FLTSUB): Likewise.
53236 (FPE_DECOVF): Likewise.
53237 (FPE_DECDIV): Likewise.
53238 (FPE_DECERR): Likewise.
53239 (FPE_INVASC): Likewise.
53240 (FPE_INVDEC): Likewise.
53241 (SEGV_MAPERR): Likewise.
53242 (SEGV_ACCERR): Likewise.
53243 (SEGV_PSTKOVF): Likewise.
53244 (BUS_ADRALN): Likewise.
53245 (BUS_ADRERR): Likewise.
53246 (BUS_OBJERR): Likewise.
53247 (BUS_MCEERR_AR): Likewise.
53248 (BUS_MCEERR_AO): Likewise.
53249 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53250 (TRAP_TRACE): Likewise.
53251 (TRAP_BRANCH): Likewise.
53252 (TRAP_HWBKPT): Likewise.
53253 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53254 __USE_XOPEN2K8].
53255 (CLD_KILLED): Likewise.
53256 (CLD_DUMPED): Likewise.
53257 (CLD_TRAPPED): Likewise.
53258 (CLD_STOPPED): Likewise.
53259 (CLD_CONTINUED): Likewise.
53260 (POLL_IN): Likewise.
53261 (POLL_OUT): Likewise.
53262 (POLL_MSG): Likewise.
53263 (POLL_ERR): Likewise.
53264 (POLL_PRI): Likewise.
53265 (POLL_HUP): Likewise.
53266 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53267 (ILL_ILLOPN): Likewise.
53268 (ILL_ILLADR): Likewise.
53269 (ILL_ILLTRP): Likewise.
53270 (ILL_PRVOPC): Likewise.
53271 (ILL_PRVREG): Likewise.
53272 (ILL_COPROC): Likewise.
53273 (ILL_BADSTK): Likewise.
53274 (FPE_INTDIV): Likewise.
53275 (FPE_INTOVF): Likewise.
53276 (FPE_FLTDIV): Likewise.
53277 (FPE_FLTOVF): Likewise.
53278 (FPE_FLTUND): Likewise.
53279 (FPE_FLTRES): Likewise.
53280 (FPE_FLTINV): Likewise.
53281 (FPE_FLTSUB): Likewise.
53282 (SEGV_MAPERR): Likewise.
53283 (SEGV_ACCERR): Likewise.
53284 (BUS_ADRALN): Likewise.
53285 (BUS_ADRERR): Likewise.
53286 (BUS_OBJERR): Likewise.
53287 (BUS_MCEERR_AR): Likewise.
53288 (BUS_MCEERR_AO): Likewise.
53289 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53290 (TRAP_TRACE): Likewise.
53291 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53292 __USE_XOPEN2K8].
53293 (CLD_KILLED): Likewise.
53294 (CLD_DUMPED): Likewise.
53295 (CLD_TRAPPED): Likewise.
53296 (CLD_STOPPED): Likewise.
53297 (CLD_CONTINUED): Likewise.
53298 (POLL_IN): Likewise.
53299 (POLL_OUT): Likewise.
53300 (POLL_MSG): Likewise.
53301 (POLL_ERR): Likewise.
53302 (POLL_PRI): Likewise.
53303 (POLL_HUP): Likewise.
53304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53305 (ILL_ILLOPN): Likewise.
53306 (ILL_ILLADR): Likewise.
53307 (ILL_ILLTRP): Likewise.
53308 (ILL_PRVOPC): Likewise.
53309 (ILL_PRVREG): Likewise.
53310 (ILL_COPROC): Likewise.
53311 (ILL_BADSTK): Likewise.
53312 (FPE_INTDIV): Likewise.
53313 (FPE_INTOVF): Likewise.
53314 (FPE_FLTDIV): Likewise.
53315 (FPE_FLTOVF): Likewise.
53316 (FPE_FLTUND): Likewise.
53317 (FPE_FLTRES): Likewise.
53318 (FPE_FLTINV): Likewise.
53319 (FPE_FLTSUB): Likewise.
53320 (SEGV_MAPERR): Likewise.
53321 (SEGV_ACCERR): Likewise.
53322 (BUS_ADRALN): Likewise.
53323 (BUS_ADRERR): Likewise.
53324 (BUS_OBJERR): Likewise.
53325 (BUS_MCEERR_AR): Likewise.
53326 (BUS_MCEERR_AO): Likewise.
53327 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53328 (TRAP_TRACE): Likewise.
53329 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53330 __USE_XOPEN2K8].
53331 (CLD_KILLED): Likewise.
53332 (CLD_DUMPED): Likewise.
53333 (CLD_TRAPPED): Likewise.
53334 (CLD_STOPPED): Likewise.
53335 (CLD_CONTINUED): Likewise.
53336 (POLL_IN): Likewise.
53337 (POLL_OUT): Likewise.
53338 (POLL_MSG): Likewise.
53339 (POLL_ERR): Likewise.
53340 (POLL_PRI): Likewise.
53341 (POLL_HUP): Likewise.
53342 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53343 (ILL_ILLOPN): Likewise.
53344 (ILL_ILLADR): Likewise.
53345 (ILL_ILLTRP): Likewise.
53346 (ILL_PRVOPC): Likewise.
53347 (ILL_PRVREG): Likewise.
53348 (ILL_COPROC): Likewise.
53349 (ILL_BADSTK): Likewise.
53350 (FPE_INTDIV): Likewise.
53351 (FPE_INTOVF): Likewise.
53352 (FPE_FLTDIV): Likewise.
53353 (FPE_FLTOVF): Likewise.
53354 (FPE_FLTUND): Likewise.
53355 (FPE_FLTRES): Likewise.
53356 (FPE_FLTINV): Likewise.
53357 (FPE_FLTSUB): Likewise.
53358 (SEGV_MAPERR): Likewise.
53359 (SEGV_ACCERR): Likewise.
53360 (BUS_ADRALN): Likewise.
53361 (BUS_ADRERR): Likewise.
53362 (BUS_OBJERR): Likewise.
53363 (BUS_MCEERR_AR): Likewise.
53364 (BUS_MCEERR_AO): Likewise.
53365 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53366 (TRAP_TRACE): Likewise.
53367 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53368 __USE_XOPEN2K8].
53369 (CLD_KILLED): Likewise.
53370 (CLD_DUMPED): Likewise.
53371 (CLD_TRAPPED): Likewise.
53372 (CLD_STOPPED): Likewise.
53373 (CLD_CONTINUED): Likewise.
53374 (POLL_IN): Likewise.
53375 (POLL_OUT): Likewise.
53376 (POLL_MSG): Likewise.
53377 (POLL_ERR): Likewise.
53378 (POLL_PRI): Likewise.
53379 (POLL_HUP): Likewise.
53380 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53381 (ILL_ILLOPN): Likewise.
53382 (ILL_ILLADR): Likewise.
53383 (ILL_ILLTRP): Likewise.
53384 (ILL_PRVOPC): Likewise.
53385 (ILL_PRVREG): Likewise.
53386 (ILL_COPROC): Likewise.
53387 (ILL_BADSTK): Likewise.
53388 (ILL_DBLFLT): Likewise.
53389 (ILL_HARDWALL): Likewise.
53390 (FPE_INTDIV): Likewise.
53391 (FPE_INTOVF): Likewise.
53392 (FPE_FLTDIV): Likewise.
53393 (FPE_FLTOVF): Likewise.
53394 (FPE_FLTUND): Likewise.
53395 (FPE_FLTRES): Likewise.
53396 (FPE_FLTINV): Likewise.
53397 (FPE_FLTSUB): Likewise.
53398 (SEGV_MAPERR): Likewise.
53399 (SEGV_ACCERR): Likewise.
53400 (BUS_ADRALN): Likewise.
53401 (BUS_ADRERR): Likewise.
53402 (BUS_OBJERR): Likewise.
53403 (BUS_MCEERR_AR): Likewise.
53404 (BUS_MCEERR_AO): Likewise.
53405 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53406 (TRAP_TRACE): Likewise.
53407 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53408 __USE_XOPEN2K8].
53409 (CLD_KILLED): Likewise.
53410 (CLD_DUMPED): Likewise.
53411 (CLD_TRAPPED): Likewise.
53412 (CLD_STOPPED): Likewise.
53413 (CLD_CONTINUED): Likewise.
53414 (POLL_IN): Likewise.
53415 (POLL_OUT): Likewise.
53416 (POLL_MSG): Likewise.
53417 (POLL_ERR): Likewise.
53418 (POLL_PRI): Likewise.
53419 (POLL_HUP): Likewise.
53420 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53421 (ILL_ILLOPN): Likewise.
53422 (ILL_ILLADR): Likewise.
53423 (ILL_ILLTRP): Likewise.
53424 (ILL_PRVOPC): Likewise.
53425 (ILL_PRVREG): Likewise.
53426 (ILL_COPROC): Likewise.
53427 (ILL_BADSTK): Likewise.
53428 (FPE_INTDIV): Likewise.
53429 (FPE_INTOVF): Likewise.
53430 (FPE_FLTDIV): Likewise.
53431 (FPE_FLTOVF): Likewise.
53432 (FPE_FLTUND): Likewise.
53433 (FPE_FLTRES): Likewise.
53434 (FPE_FLTINV): Likewise.
53435 (FPE_FLTSUB): Likewise.
53436 (SEGV_MAPERR): Likewise.
53437 (SEGV_ACCERR): Likewise.
53438 (BUS_ADRALN): Likewise.
53439 (BUS_ADRERR): Likewise.
53440 (BUS_OBJERR): Likewise.
53441 (BUS_MCEERR_AR): Likewise.
53442 (BUS_MCEERR_AO): Likewise.
53443 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53444 (TRAP_TRACE): Likewise.
53445 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53446 __USE_XOPEN2K8].
53447 (CLD_KILLED): Likewise.
53448 (CLD_DUMPED): Likewise.
53449 (CLD_TRAPPED): Likewise.
53450 (CLD_STOPPED): Likewise.
53451 (CLD_CONTINUED): Likewise.
53452 (POLL_IN): Likewise.
53453 (POLL_OUT): Likewise.
53454 (POLL_MSG): Likewise.
53455 (POLL_ERR): Likewise.
53456 (POLL_PRI): Likewise.
53457 (POLL_HUP): Likewise.
53458 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53459 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53460
53461 [BZ #16670]
53462 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53463 before #include of <time.h>.
53464 [!__USE_XOPEN2K] (__need_timespec): Likewise.
53465 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53466 (test-xfail-UNIX98/sched.h/conform): Likewise.
53467
53468 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
53469
53470 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53471 error absence of trapping exception support.
53472 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53473
53474 2014-03-07 Joseph Myers <joseph@codesourcery.com>
53475
53476 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53477 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53478 * timezone/Makefile (testdata): Move definition above include of
53479 Rules.
53480 (test-zones): New variable.
53481 (tests-special): Add zone files.
53482 (build-testdata): Use $(evaluate-test).
53483
53484 * elf/Makefile (tests-special): Rename tests to end with .out.
53485 ($(objpfx)noload-mem): Likewise.
53486 ($(objpfx)tst-leaks1-mem): Likewise.
53487 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53488 * iconv/Makefile (xtests-special): Change test-iconvconfig to
53489 $(objpfx)test-iconvconfig.out.
53490 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
53491 set -e inside subshell and redirect output to file.
53492 * iconvdata/Makefile (generated): Rename tests to end with .out.
53493 Correct type.
53494 (tests-special): Rename tests to end with .out.
53495 ($(objpfx)mtrace-tst-loading): Likewise.
53496 * intl/Makefile (generated): Likewise.
53497 (tests-special): Likewise.
53498 ($(objpfx)mtrace-tst-gettext): Likewise.
53499 * misc/Makefile (generated): Likewise.
53500 (tests-special): Likewise.
53501 ($(objpfx)tst-error1-mem): Likewise.
53502 * nptl/Makefile (tests-special): Likewise.
53503 ($(objpfx)tst-stack3-mem): Likewise.
53504 (generated): Likewise.
53505 * posix/Makefile (generated): Likewise.
53506 (tests-special): Likewise.
53507 (xtests-special): Likewise.
53508 ($(objpfx)tst-fnmatch-mem): Likewise.
53509 ($(objpfx)bug-regex2-mem): Likewise.
53510 ($(objpfx)bug-regex14-mem): Likewise.
53511 ($(objpfx)bug-regex21-mem): Likewise.
53512 ($(objpfx)bug-regex31-mem): Likewise.
53513 ($(objpfx)tst-vfork3-mem): Likewise.
53514 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53515 ($(objpfx)tst-pcre-mem): Likewise.
53516 ($(objpfx)tst-boost-mem): Likewise.
53517 ($(objpfx)bug-ga2-mem): Likewise.
53518 ($(objpfx)bug-glob2-mem): Likewise.
53519 * resolv/Makefile (generate): Likewise.
53520 (tests-special): Likewise.
53521 (xtests-special): Likewise.
53522 (generated): Likewise.
53523 ($(objpfx)mtrace-tst-leaks): Likewise.
53524 ($(objpfx)mtrace-tst-leaks2): Likewise.
53525
53526 * scripts/merge-test-results.sh: New file.
53527 * Makefile (tests-special-notdir): New variable.
53528 (tests): Run merge-test-results.sh.
53529 (xtests): Likewise.
53530 * Rules (tests-special-notdir): New variable.
53531 (xtests-special-notdir): Likewise.
53532 (tests): Run merge-test-results.sh
53533 (xtests): Likewise.
53534
53535 * Makeconfig (test-xfail-name): New variable.
53536 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53537 compute variable name for expected failures.
53538 * conform/Makefile (conformtest-headers-data): New variable.
53539 (conformtest-standards): Likewise.
53540 (conformtest-headers-ISO): Likewise.
53541 (conformtest-headers-ISO99): Likewise.
53542 (conformtest-headers-ISO11): Likewise.
53543 (conformtest-headers-POSIX): Likewise.
53544 (conformtest-headers-XPG3): Likewise.
53545 (conformtest-headers-XPG4): Likewise.
53546 (conformtest-headers-UNIX98): Likewise.
53547 (conformtest-headers-XOPEN2K): Likewise.
53548 (conformtest-headers-POSIX2008): Likewise.
53549 (conformtest-headers-XOPEN2K8): Likewise.
53550 (conformtest-header-list-base): Likewise.
53551 (conformtest-header-list-tests): Likewise.
53552 (conformtest-header-base): Likewise.
53553 (conformtest-header-tests): Likewise.
53554 (tests-special): Add $(conformtest-header-list-tests). If
53555 [$(fast-check) && !$(cross-compiling)], add
53556 $(conformtest-header-tests) instead of
53557 $(objpfx)run-conformtest.out.
53558 (generated): Add $(conformtest-header-list-base). If
53559 [$(fast-check) && !$(cross-compiling)], add
53560 $(conformtest-header-base). Remove previous setting.
53561 ($(conformtest-header-list-tests)): New target.
53562 (test-xfail-run-conformtest): Remove variable.
53563 ($(objpfx)run-conformtest.out): Remove target.
53564 (test-xfail-ISO11/complex.h/conform): New variable.
53565 (test-xfail-ISO11/stdalign.h/conform): Likewise.
53566 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53567 (test-xfail-XPG3/varargs.h/conform): Likewise.
53568 (test-xfail-XPG4/varargs.h/conform): Likewise.
53569 (test-xfail-UNIX98/varargs.h/conform): Likewise.
53570 (test-xfail-XPG4/ndbm.h/conform): Likewise.
53571 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53572 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53573 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53574 (test-xfail-XPG3/fcntl.h/conform): Likewise.
53575 (test-xfail-XPG3/ftw.h/conform): Likewise.
53576 (test-xfail-XPG3/grp.h/conform): Likewise.
53577 (test-xfail-XPG3/langinfo.h/conform): Likewise.
53578 (test-xfail-XPG3/limits.h/conform): Likewise.
53579 (test-xfail-XPG3/pwd.h/conform): Likewise.
53580 (test-xfail-XPG3/search.h/conform): Likewise.
53581 (test-xfail-XPG3/signal.h/conform): Likewise.
53582 (test-xfail-XPG3/stdio.h/conform): Likewise.
53583 (test-xfail-XPG3/stdlib.h/conform): Likewise.
53584 (test-xfail-XPG3/string.h/conform): Likewise.
53585 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53586 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53587 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53588 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53589 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53590 (test-xfail-XPG3/sys/types.h/conform): Likewise.
53591 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53592 (test-xfail-XPG3/termios.h/conform): Likewise.
53593 (test-xfail-XPG3/time.h/conform): Likewise.
53594 (test-xfail-XPG3/unistd.h/conform): Likewise.
53595 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53596 (test-xfail-XPG4/fcntl.h/conform): Likewise.
53597 (test-xfail-XPG4/langinfo.h/conform): Likewise.
53598 (test-xfail-XPG4/netdb.h/conform): Likewise.
53599 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53600 (test-xfail-XPG4/signal.h/conform): Likewise.
53601 (test-xfail-XPG4/stdio.h/conform): Likewise.
53602 (test-xfail-XPG4/stdlib.h/conform): Likewise.
53603 (test-xfail-XPG4/stropts.h/conform): Likewise.
53604 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53605 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53606 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53607 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53608 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53609 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53610 (test-xfail-XPG4/sys/time.h/conform): Likewise.
53611 (test-xfail-XPG4/sys/types.h/conform): Likewise.
53612 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53613 (test-xfail-XPG4/termios.h/conform): Likewise.
53614 (test-xfail-XPG4/ucontext.h/conform): Likewise.
53615 (test-xfail-XPG4/unistd.h/conform): Likewise.
53616 (test-xfail-XPG4/utmpx.h/conform): Likewise.
53617 (test-xfail-POSIX/sched.h/conform): Likewise.
53618 (test-xfail-POSIX/signal.h/conform): Likewise.
53619 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53620 (test-xfail-POSIX/tar.h/conform): Likewise.
53621 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53622 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53623 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53624 (test-xfail-UNIX98/netdb.h/conform): Likewise.
53625 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53626 (test-xfail-UNIX98/sched.h/conform): Likewise.
53627 (test-xfail-UNIX98/signal.h/conform): Likewise.
53628 (test-xfail-UNIX98/stdio.h/conform): Likewise.
53629 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53630 (test-xfail-UNIX98/stropts.h/conform): Likewise.
53631 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53632 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53633 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53634 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53635 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53636 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53637 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53638 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53639 (test-xfail-UNIX98/unistd.h/conform): Likewise.
53640 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53641 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53642 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53643 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53644 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53645 (test-xfail-XOPEN2K/math.h/conform): Likewise.
53646 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53647 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53648 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53649 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53650 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53651 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53652 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53653 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53654 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53655 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53656 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53657 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53658 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53659 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53660 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53661 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53662 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53663 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53664 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53665 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53666 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53667 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53668 (test-xfail-POSIX2008/signal.h/conform): Likewise.
53669 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53670 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53671 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53672 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53673 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53674 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53675 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53676 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53677 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53678 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53679 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53680 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53681 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53682 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53683 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53684 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53685 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53686 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53687 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53688 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53689 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53690 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53691 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53692 (conformtest-cc-flags): Likewise.
53693 ($(conformtest-header-tests): New target.
53694 * conform/check-header-lists.sh: New file.
53695 * conform/run-conformtest.sh: Remove.
53696
53697 * conform/conformtest.pl: Allow ' and \ in values given for
53698 constants.
53699 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53700 inclusion.
53701 [POSIX] (sys/types.h): Likewise.
53702 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53703 inclusion.
53704 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53705 inclusion.
53706 * conform/data/signal.h-data (SIGIO): Remove expectation.
53707 [XPG3] (SIGBUS): Do not expect.
53708 [POSIX || XPG3] (SIGPOLL): Likewise.
53709 [POSIX || XPG3] (SIGPROF): Likewise.
53710 [POSIX || XPG3] (SIGSYS): Likewise.
53711 [XPG3] (SIGTRAP): Likewise.
53712 [POSIX || XPG3] (SIGURG): Likewise.
53713 [POSIX || XPG3] (SIGVTALRM): Likewise.
53714 [POSIX || XPG3] (SIGXCPU): Likewise.
53715 [POSIX || XPG3] (SIGXFSZ): Likewise.
53716 [POSIX] (SA_SIGINFO): Expect.
53717 [XPG3] (siginfo_t): Do not expect type or contents.
53718 [POSIX] (si_pid): Do not expect element.
53719 [POSIX] (si_uid): Likewise.
53720 [POSIX] (si_addr): Likewise.
53721 [POSIX] (si_status): Likewise.
53722 [POSIX] (si_band): Likewise.
53723 [XPG4] (si_value): Likewise.
53724 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
53725 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
53726 [POSIX || XPG3] (ILL_ILLADR): Likewise.
53727 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
53728 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
53729 [POSIX || XPG3] (ILL_PRVREG): Likewise.
53730 [POSIX || XPG3] (ILL_COPROC): Likewise.
53731 [POSIX || XPG3] (ILL_BADSTK): Likewise.
53732 [POSIX || XPG3] (FPE_INTDIV): Likewise.
53733 [POSIX || XPG3] (FPE_INTOVF): Likewise.
53734 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
53735 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
53736 [POSIX || XPG3] (FPE_FLTUND): Likewise.
53737 [POSIX || XPG3] (FPE_FLTRES): Likewise.
53738 [POSIX || XPG3] (FPE_FLTINV): Likewise.
53739 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
53740 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
53741 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
53742 [POSIX || XPG3] (BUS_ADRALN): Likewise.
53743 [POSIX || XPG3] (BUS_ADRERR): Likewise.
53744 [POSIX || XPG3] (BUS_OBJERR): Likewise.
53745 [POSIX || XPG3] (CLD_EXITED): Likewise.
53746 [POSIX || XPG3] (CLD_KILLED): Likewise.
53747 [POSIX || XPG3] (CLD_DUMPED): Likewise.
53748 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
53749 [POSIX || XPG3] (CLD_STOPPED): Likewise.
53750 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
53751 [POSIX || XPG3] (POLL_IN): Likewise.
53752 [POSIX || XPG3] (POLL_OUT): Likewise.
53753 [POSIX || XPG3] (POLL_MSG): Likewise.
53754 [POSIX || XPG3] (POLL_ERR): Likewise.
53755 [POSIX || XPG3] (POLL_PRI): Likewise.
53756 [POSIX || XPG3] (POLL_HUP): Likewise.
53757 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
53758 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
53759 (SIG*): Do not allow.
53760 [XPG3] (si_*): Likewise.
53761 [XPG3] (SI_*): Likewise.
53762 [XPG3 || XPG4] (sigev_*): Likewise.
53763 [XPG3 || XPG4] (SIGEV_*): Likewise.
53764 [XPG3 || XPG4] (sival_*): Likewise.
53765 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
53766 [POSIX || XPG3] (BUS_*): Likewise.
53767 [POSIX || XPG3] (CLD_*): Likewise.
53768 [POSIX || XPG3] (FPE_*): Likewise.
53769 [POSIX || XPG3] (ILL_*): Likewise.
53770 [POSIX || XPG3] (POLL_*): Likewise.
53771 [POSIX || XPG3] (SEGV_*): Likewise.
53772 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
53773 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
53774 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
53775 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
53776 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
53777 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
53778 Specify type and value.
53779 (TVERSLEN): Likewise.
53780 (REGTYPE): Likewise.
53781 (AREGTYPE): Likewise.
53782 (LNKTYPE): Likewise.
53783 (SYMTYPE): Likewise.
53784 (CHRTYPE): Likewise.
53785 (BLKTYPE): Likewise.
53786 (DIRTYPE): Likewise.
53787 (FIFOTYPE): Likewise.
53788 (CONTTYPE): Likewise.
53789 (TSUID): Likewise.
53790 (TSGID): Likewise.
53791 (TSVTX): Likewise.
53792 (TUREAD): Likewise.
53793 (TUWRITE): Likewise.
53794 (TUEXEC): Likewise.
53795 (TGREAD): Likewise.
53796 (TGWRITE): Likewise.
53797 (TGEXEC): Likewise.
53798 (TOREAD): Likewise.
53799 (TOWRITE): Likewise.
53800 (TOEXEC): Likewise.
53801 [POSIX] (TSVTX): Expect constant.
53802
53803 2014-03-06 Joseph Myers <joseph@codesourcery.com>
53804
53805 * Makefile (tests): Change dependencies to ....
53806 (tests-special): ... additions to this variable.
53807 (tests): Depend on $(tests-special).
53808 * Makerules (check-abi-list): New variable.
53809 (check-abi): Depend on $(check-abi-list).
53810 [$(subdir) = elf] (tests-special): Add
53811 $(objpfx)check-abi-libc.out.
53812 [$(build-shared) = yes && subdir] (tests-special): Add
53813 $(check-abi-list).
53814 [$(build-shared) = yes && subdir] (tests): Do not depend on
53815 check-abi.
53816 * Rules (tests): Depend on $(tests-special).
53817 (xtests): Depend on $(xtests-special).
53818 * catgets/Makefile (tests): Change dependencies to ....
53819 (tests-special): ... additions to this variable.
53820 * conform/Makefile (tests): Change dependencies to ....
53821 (tests-special): ... additions to this variable.
53822 * elf/Makefile (tests): Change dependencies to ....
53823 (tests-special): ... additions to this variable.
53824 * grp/Makefile (tests): Change dependencies to ....
53825 (tests-special): ... additions to this variable.
53826 * iconv/Makefile (xtests): Change dependencies to ....
53827 (xtests-special): ... additions to this variable.
53828 * iconvdata/Makefile (tests): Change dependencies to ....
53829 (tests-special): ... additions to this variable.
53830 * intl/Makefile (tests): Change dependencies to ....
53831 (tests-special): ... additions to this variable. Also add
53832 $(objpfx)tst-gettext.out.
53833 * io/Makefile (tests): Change dependencies to ....
53834 (tests-special): ... additions to this variable.
53835 * libio/Makefile (tests): Change dependencies to ....
53836 (tests-special): ... additions to this variable.
53837 * malloc/Makefile (tests): Change dependencies to ....
53838 (tests-special): ... additions to this variable.
53839 * misc/Makefile (tests): Change dependencies to ....
53840 (tests-special): ... additions to this variable.
53841 * nptl/Makefile (tests): Change dependencies to ....
53842 (tests-special): ... additions to this variable.
53843 * nptl_db/Makefile (tests): Change dependencies to ....
53844 (tests-special): ... additions to this variable.
53845 * posix/Makefile (tests): Change dependencies to ....
53846 (tests-special): ... additions to this variable.
53847 (xtests): Change dependencies to ....
53848 (xtests-special): ... additions to this variable.
53849 * resolv/Makefile (tests): Change dependencies to ....
53850 (tests-special): ... additions to this variable.
53851 (xtests): Change dependencies to ....
53852 (xtests-special): ... additions to this variable.
53853 * stdio-common/Makefile (tests): Change dependencies to ....
53854 (tests-special): ... additions to this variable.
53855 (do-tst-unbputc): Remove target.
53856 (do-tst-printf): Likewise.
53857 * stdlib/Makefile (tests): Change dependencies to ....
53858 (tests-special): ... additions to this variable.
53859 * string/Makefile (tests): Change dependencies to ....
53860 (tests-special): ... additions to this variable.
53861 * sysdeps/x86/Makefile (tests): Change dependencies to ....
53862 (tests-special): ... additions to this variable.
53863
53864 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
53865 whole file.
53866 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
53867 whole file.
53868 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
53869 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
53870
53871 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
53872 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
53873 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
53874 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
53875 * conform/data/libgen.h-data [XPG3]: Likewise.
53876 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
53877 * conform/data/ndbm.h-data [XPG3]: Likewise.
53878 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53879 * conform/data/netdb.h-data [XPG3]: Likewise.
53880 * conform/data/netinet/in.h-data [XPG3]: Likewise.
53881 * conform/data/poll.h-data [XPG3]: Likewise.
53882 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53883 * conform/data/strings.h-data [XPG3]: Likewise.
53884 * conform/data/stropts.h-data [XPG3]: Likewise.
53885 * conform/data/sys/mman.h-data [XPG3]: Likewise.
53886 * conform/data/sys/resource.h-data [XPG3]: Likewise.
53887 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
53888 Likewise.
53889 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
53890 * conform/data/sys/time.h-data [XPG3]: Likewise.
53891 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
53892 * conform/data/sys/uio.h-data [XPG3]: Likewise.
53893 * conform/data/sys/un.h-data [XPG3]: Likewise.
53894 * conform/data/syslog.h-data [XPG3]: Likewise.
53895 * conform/data/ucontext.h-data [XPG3]: Likewise.
53896 * conform/data/utmpx.h-data [XPG3]: Likewise.
53897 * conform/data/varargs.h-data [UNIX98]: Enable file.
53898
53899 * manual/Makefile (INSTALL_INFO): Remove variable setting.
53900
53901 * math/libm-test.inc (struct test_f_f_data): Move expected results
53902 into structure for each rounding mode.
53903 (struct test_ff_f_data): Likewise.
53904 (struct test_ff_f_data_nexttoward): Likewise.
53905 (struct test_fi_f_data): Likewise.
53906 (struct test_fl_f_data): Likewise.
53907 (struct test_if_f_data): Likewise.
53908 (struct test_fff_f_data): Likewise.
53909 (struct test_c_f_data): Likewise.
53910 (struct test_f_f1_data): Likewise.
53911 (struct test_fF_f1_data): Likewise.
53912 (struct test_ffI_f1_data): Likewise.
53913 (struct test_c_c_data): Likewise.
53914 (struct test_cc_c_data): Likewise.
53915 (struct test_f_i_data): Likewise.
53916 (struct test_ff_i_data): Likewise.
53917 (struct test_f_l_data): Likewise.
53918 (struct test_f_L_data): Likewise.
53919 (struct test_fFF_11_data): Likewise.
53920 (RM_): New macro.
53921 (RM_FE_DOWNWARD): Likewise.
53922 (RM_FE_TONEAREST): Likewise.
53923 (RM_FE_TOWARDZERO): Likewise.
53924 (RM_FE_UPWARD): Likewise.
53925 (RUN_TEST_LOOP_f_f): Update references to expected results.
53926 (RUN_TEST_LOOP_2_f): Likewise.
53927 (RUN_TEST_LOOP_fff_f): Likewise.
53928 (RUN_TEST_LOOP_c_f): Likewise.
53929 (RUN_TEST_LOOP_f_f1): Likewise.
53930 (RUN_TEST_LOOP_fF_f1): Likewise.
53931 (RUN_TEST_LOOP_fI_f1): Likewise.
53932 (RUN_TEST_LOOP_ffI_f1): Likewise.
53933 (RUN_TEST_LOOP_c_c): Likewise.
53934 (RUN_TEST_LOOP_cc_c): Likewise.
53935 (RUN_TEST_LOOP_f_i): Likewise.
53936 (RUN_TEST_LOOP_f_i_tg): Likewise.
53937 (RUN_TEST_LOOP_ff_i_tg): Likewise.
53938 (RUN_TEST_LOOP_f_b): Likewise.
53939 (RUN_TEST_LOOP_f_b_tg): Likewise.
53940 (RUN_TEST_LOOP_f_l): Likewise.
53941 (RUN_TEST_LOOP_f_L): Likewise.
53942 (RUN_TEST_LOOP_fFF_11): Likewise.
53943 * math/gen-libm-test.pl (parse_args): Output four copies of
53944 expected results for each test.
53945
53946 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53947 (__ASSUME_UTIMES): Remove.
53948 * sysdeps/unix/sysv/linux/tile/kernel-features.h
53949 (__ASSUME_UTIMES): Likewise.
53950
53951 * math/gen-auto-libm-tests.c: Update comment on output format.
53952 (output_for_one_input_case): Generate before-rounding and
53953 after-rounding information as conditions on output flags not
53954 floating-point format.
53955 * math/auto-libm-test-out: Regenerated.
53956 * math/gen-libm-test.pl (cond_value): New function.
53957 (or_cond_value): Use cond_value.
53958 (generate_testfile): Handle conditional exceptions.
53959
53960 2014-03-05 Joseph Myers <joseph@codesourcery.com>
53961
53962 * math/libm-test.inc (max_valid_error): New variable.
53963 (init_max_error): Take new argument specifying whether function
53964 results are exactly determined. Set max_valid_error and bound
53965 other variables for errors based on this argument.
53966 (set_max_error): Do not record results above max_valid_error.
53967 (check_float_internal): Only accept errors of up to 0.5ulps if
53968 also at most max_valid_error.
53969 (START): Take new argument EXACT and pass it to init_max_error.
53970 (acos_test): Update call to START.
53971 (acos_test_tonearest): Likewise.
53972 (acos_test_towardzero): Likewise.
53973 (acos_test_downward): Likewise.
53974 (acos_test_upward): Likewise.
53975 (acosh_test): Likewise.
53976 (asin_test): Likewise.
53977 (asin_test_tonearest): Likewise.
53978 (asin_test_towardzero): Likewise.
53979 (asin_test_downward): Likewise.
53980 (asin_test_upward): Likewise.
53981 (asinh_test): Likewise.
53982 (atan_test): Likewise.
53983 (atanh_test): Likewise.
53984 (atan2_test): Likewise.
53985 (cabs_test): Likewise.
53986 (cacos_test): Likewise.
53987 (cacosh_test): Likewise.
53988 (carg_test): Likewise.
53989 (casin_test): Likewise.
53990 (casinh_test): Likewise.
53991 (catan_test): Likewise.
53992 (catanh_test): Likewise.
53993 (cbrt_test): Likewise.
53994 (ccos_test): Likewise.
53995 (ccosh_test): Likewise.
53996 (ceil_test): Likewise.
53997 (cexp_test): Likewise.
53998 (cimag_test): Likewise.
53999 (clog_test): Likewise.
54000 (clog10_test): Likewise.
54001 (conj_test): Likewise.
54002 (copysign_test): Likewise.
54003 (cos_test): Likewise.
54004 (cos_test_tonearest): Likewise.
54005 (cos_test_towardzero): Likewise.
54006 (cos_test_downward): Likewise.
54007 (cos_test_upward): Likewise.
54008 (cosh_test): Likewise.
54009 (cosh_test_tonearest): Likewise.
54010 (cosh_test_towardzero): Likewise.
54011 (cosh_test_downward): Likewise.
54012 (cosh_test_upward): Likewise.
54013 (cpow_test): Likewise.
54014 (cproj_test): Likewise.
54015 (creal_test): Likewise.
54016 (csin_test): Likewise.
54017 (csinh_test): Likewise.
54018 (csqrt_test): Likewise.
54019 (ctan_test): Likewise.
54020 (ctan_test_tonearest): Likewise.
54021 (ctan_test_towardzero): Likewise.
54022 (ctan_test_downward): Likewise.
54023 (ctan_test_upward): Likewise.
54024 (ctanh_test): Likewise.
54025 (ctanh_test_tonearest): Likewise.
54026 (ctanh_test_towardzero): Likewise.
54027 (ctanh_test_downward): Likewise.
54028 (ctanh_test_upward): Likewise.
54029 (erf_test): Likewise.
54030 (erfc_test): Likewise.
54031 (exp_test): Likewise.
54032 (exp_test_tonearest): Likewise.
54033 (exp_test_towardzero): Likewise.
54034 (exp_test_downward): Likewise.
54035 (exp_test_upward): Likewise.
54036 (exp10_test): Likewise.
54037 (exp10_test_tonearest): Likewise.
54038 (exp10_test_towardzero): Likewise.
54039 (exp10_test_downward): Likewise.
54040 (exp10_test_upward): Likewise.
54041 (pow10_test): Likewise.
54042 (exp2_test): Likewise.
54043 (expm1_test): Likewise.
54044 (expm1_test_tonearest): Likewise.
54045 (expm1_test_towardzero): Likewise.
54046 (expm1_test_downward): Likewise.
54047 (expm1_test_upward): Likewise.
54048 (fabs_test): Likewise.
54049 (fdim_test): Likewise.
54050 (floor_test): Likewise.
54051 (fma_test): Likewise.
54052 (fma_test_towardzero): Likewise.
54053 (fma_test_downward): Likewise.
54054 (fma_test_upward): Likewise.
54055 (fmax_test): Likewise.
54056 (fmin_test): Likewise.
54057 (fmod_test): Likewise.
54058 (fpclassify_test): Likewise.
54059 (frexp_test): Likewise.
54060 (hypot_test): Likewise.
54061 (ilogb_test): Likewise.
54062 (isfinite_test): Likewise.
54063 (finite_test): Likewise.
54064 (isgreater_test): Likewise.
54065 (isgreaterequal_test): Likewise.
54066 (isinf_test): Likewise.
54067 (isless_test): Likewise.
54068 (islessequal_test): Likewise.
54069 (islessgreater_test): Likewise.
54070 (isnan_test): Likewise.
54071 (isnormal_test): Likewise.
54072 (issignaling_test): Likewise.
54073 (isunordered_test): Likewise.
54074 (j0_test): Likewise.
54075 (j1_test): Likewise.
54076 (jn_test): Likewise.
54077 (ldexp_test): Likewise.
54078 (lgamma_test): Likewise.
54079 (gamma_test): Likewise.
54080 (lrint_test): Likewise.
54081 (lrint_test_tonearest): Likewise.
54082 (lrint_test_towardzero): Likewise.
54083 (lrint_test_downward): Likewise.
54084 (lrint_test_upward): Likewise.
54085 (llrint_test): Likewise.
54086 (llrint_test_tonearest): Likewise.
54087 (llrint_test_towardzero): Likewise.
54088 (llrint_test_downward): Likewise.
54089 (llrint_test_upward): Likewise.
54090 (log_test): Likewise.
54091 (log10_test): Likewise.
54092 (log1p_test): Likewise.
54093 (log2_test): Likewise.
54094 (logb_test): Likewise.
54095 (logb_test_downward): Likewise.
54096 (lround_test): Likewise.
54097 (llround_test): Likewise.
54098 (modf_test): Likewise.
54099 (nearbyint_test): Likewise.
54100 (nextafter_test): Likewise.
54101 (nexttoward_test): Likewise.
54102 (pow_test): Likewise.
54103 (pow_test_tonearest): Likewise.
54104 (pow_test_towardzero): Likewise.
54105 (pow_test_downward): Likewise.
54106 (pow_test_upward): Likewise.
54107 (remainder_test): Likewise.
54108 (drem_test): Likewise.
54109 (remainder_test_tonearest): Likewise.
54110 (drem_test_tonearest): Likewise.
54111 (remainder_test_towardzero): Likewise.
54112 (drem_test_towardzero): Likewise.
54113 (remainder_test_downward): Likewise.
54114 (drem_test_downward): Likewise.
54115 (remainder_test_upward): Likewise.
54116 (drem_test_upward): Likewise.
54117 (remquo_test): Likewise.
54118 (rint_test): Likewise.
54119 (rint_test_tonearest): Likewise.
54120 (rint_test_towardzero): Likewise.
54121 (rint_test_downward): Likewise.
54122 (rint_test_upward): Likewise.
54123 (round_test): Likewise.
54124 (scalb_test): Likewise.
54125 (scalbn_test): Likewise.
54126 (scalbln_test): Likewise.
54127 (signbit_test): Likewise.
54128 (sin_test): Likewise.
54129 (sin_test_tonearest): Likewise.
54130 (sin_test_towardzero): Likewise.
54131 (sin_test_downward): Likewise.
54132 (sin_test_upward): Likewise.
54133 (sincos_test): Likewise.
54134 (sinh_test): Likewise.
54135 (sinh_test_tonearest): Likewise.
54136 (sinh_test_towardzero): Likewise.
54137 (sinh_test_downward): Likewise.
54138 (sinh_test_upward): Likewise.
54139 (sqrt_test): Likewise.
54140 (sqrt_test_tonearest): Likewise.
54141 (sqrt_test_towardzero): Likewise.
54142 (sqrt_test_downward): Likewise.
54143 (sqrt_test_upward): Likewise.
54144 (tan_test): Likewise.
54145 (tan_test_tonearest): Likewise.
54146 (tan_test_towardzero): Likewise.
54147 (tan_test_downward): Likewise.
54148 (tan_test_upward): Likewise.
54149 (tanh_test): Likewise.
54150 (tgamma_test): Likewise.
54151 (trunc_test): Likewise.
54152 (y0_test): Likewise.
54153 (y1_test): Likewise.
54154 (yn_test): Likewise.
54155 (significand_test): Likewise.
54156
54157 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54158 individual tests in comment.
54159 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54160 (prev_max_error): New variable.
54161 (prev_real_max_error): Likewise.
54162 (prev_imag_max_error): Likewise.
54163 (compare_ulp_data): Don't refer to test names in comment.
54164 (find_test_ulps): Remove function.
54165 (find_function_ulps): Likewise.
54166 (find_complex_function_ulps): Likewise.
54167 (init_max_error): Take function name as argument. Look up ulps
54168 for that function.
54169 (print_ulps): Remove function.
54170 (print_max_error): Use prev_max_error instead of calling
54171 find_function_ulps.
54172 (print_complex_max_error): Use prev_real_max_error and
54173 prev_imag_max_error instead of calling find_complex_function_ulps.
54174 (check_float_internal): Take max_ulp parameter instead of calling
54175 find_test_ulps. Don't call print_ulps.
54176 (check_float): Update call to check_float_internal.
54177 (check_complex): Update calls to check_float_internal.
54178 (START): Pass argument to init_max_error.
54179 * math/gen-libm-test.pl (%results): Don't include "kind"
54180 information.
54181 (parse_ulps): Don't handle ulps of individual tests.
54182 (print_ulps_file): Likewise.
54183 (output_ulps): Likewise.
54184 * math/README.libm-test: Update.
54185 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54186 individual tests.
54187 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54188 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54189 * sysdeps/arm/libm-test-ulps: Likewise.
54190 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54191 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54192 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54193 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54194 * sysdeps/microblaze/libm-test-ulps: Likewise.
54195 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54196 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54197 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54198 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54199 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54200 * sysdeps/sh/libm-test-ulps: Likewise.
54201 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54202 * sysdeps/tile/libm-test-ulps: Likewise.
54203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54204
54205 2014-03-04 Joseph Myers <joseph@codesourcery.com>
54206
54207 * math/libm-test.inc (print_complex_max_error): Check separately
54208 whether real and imaginary errors are within allowed range and
54209 pass 0 to print_complex_function_ulps instead of value within
54210 allowed range.
54211
54212 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54213
54214 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54215 formatting.
54216 (get_handles_fopen): Likewise.
54217 (do_write_test): Likewise.
54218
54219 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54220
54221 * libio/fileops.c (do_ftell): Use cached offset when
54222 available.
54223 * libio/iofwide.c (do_ftell_wide): Likewise.
54224 * libio/iofdopen.c (_IO_new_fdopen): Don't use
54225 _IO_file_attach.
54226 * libio/wfileops.c (_IO_fwide): Don't cache offset.
54227
54228 [BZ #16532]
54229 * libio/libioP.h (get_file_offset): New function.
54230 * libio/fileops.c (get_file_offset): Likewise.
54231 (do_ftell): Likewise.
54232 (_IO_new_file_seekoff): Split out ftell logic.
54233 * libio/wfileops.c (do_ftell_wide): Likewise.
54234 (_IO_wfile_seekoff): Split out ftell logic.
54235 * libio/tst-ftell-active-handler.c: New test case.
54236 * libio/Makefile (tests): Add it.
54237
54238 2014-03-03 Roland McGrath <roland@hack.frob.com>
54239
54240 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54241 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54242
54243 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
54244
54245 [BZ #16639]
54246 * nscd/connections.c (nscd_init): Call do_exit.
54247 (start_threads): Call do_exit and notify_parent.
54248 (begin_drop_privileges): Call do_exit.
54249 (finish_drop_privileges): Likewise.
54250 * nscd/selinux.c (preserve_capabilities): Likewise.
54251 (install_real_capabilities): Likewise.
54252 (nscd_selinux_enabled): Likewise.
54253 (avc_create_thread): Likewise.
54254 (avc_alloc_lock): Likewise.
54255 (nscd_avc_init): Likewise.
54256 * nscd/nscd.c (parent_fd): New static variable.
54257 (main): Create a pipe between parent and child processes.
54258 Skip closing parent_fd.
54259 (monitor_child): New function.
54260 (do_exit): Likewise.
54261 (notify_parent): Likewise.
54262 * nscd/nscd.h (notify_parent): Likewise.
54263 (do_exit): Likewise.
54264
54265 2014-03-03 Carlos O'Donell <carlos@redhat.com>
54266
54267 * malloc/malloc.c (__libc_calloc): Revert last change.
54268
54269 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54270
54271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54272
54273 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54274
54275 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54277 implementation.
54278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54279 (__libc_ifunc_impl_list): Likewise.
54280 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54281 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54282 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54283 * string/strrchr.c: Define STRRCHR.
54284
54285 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
54286
54287 * benchtest/bench-strtok.c (simple_strtok): Delete.
54288 (strtok_string): Use as benchmark.
54289 * string/strtok (STRTOK): New macro.
54290
54291 2014-02-28 Carlos O'Donell <carlos@redhat.com>
54292
54293 * manual/threads.texi: Add header and standard comments to all
54294 functions.
54295
54296 * elf/dl-lookup.c (check_match): New function.
54297 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54298 (do_lookup_x): Remove nested function check_match. Use non-nested
54299 function check_match.
54300
54301 2014-02-28 Roland McGrath <roland@hack.frob.com>
54302
54303 * csu/Makefile (generated, before-compile): Use += rather than =.
54304 * catgets/Makefile (generated, generated-dirs): Likewise.
54305 * debug/Makefile (generated): Likewise.
54306 * dlfcn/Makefile (generated): Likewise.
54307 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54308 * iconvdata/Makefile (before-compile, generated): Likewise.
54309 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54310 * libio/Makefile (generated): Likewise.
54311 * malloc/Makefile (generated): Likewise.
54312 * manual/Makefile (generated, generated-dirs): Likewise.
54313 * misc/Makefile (generated): Likewise.
54314 * posix/Makefile (generated): Likewise.
54315 * resolv/Makefile (generated): Likewise.
54316 * sunrpc/Makefile (generated, generated-dirs): Likewise.
54317 * timezone/Makefile (generated, generated-dirs): Likewise.
54318
54319 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54320
54321 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54322
54323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54324 power8 implementation.
54325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54326 file: POWER8 llround ifunc implementation.
54327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54328 (__lllround): Add POWER8 implementation.
54329 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54330 POWER8 llround implementation.
54331
54332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54333 power8 implementation.
54334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54335 file: POWER8 llrint ifunc implementation.
54336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54337 Add POWER8 implementation.
54338 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54339 POWER8 llrint implementation.
54340
54341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54342 power8 implementation.
54343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54344 file: POWER8 finite ifunc implementation.
54345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54346 Add POWER8 implementation.
54347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54348 Likewise.
54349 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54350 POWER8 finite implementation.
54351 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54352
54353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54354 power8 implementation.
54355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54356 file: POWER8 isinf ifunc implementation.
54357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54358 POWER8 implementation.
54359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54360 Likewise.
54361 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54362 isinf implementation.
54363 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54364
54365 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54366 (INIT_ARCH): Add hwcap2 initialization.
54367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54368 power8 implementation.
54369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54370 file: POWER8 isnan ifunc implementation.
54371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54372 POWER8 implementation.
54373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54374 Likewise.
54375 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54376 isnan implementation.
54377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54378
54379 2014-02-27 Joey Ye <joey.ye@arm.com>
54380
54381 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54382 (_FP_NANFRAC_Q): Set to zero.
54383
54384 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54385
54386 [BZ #16623]
54387 * math/auto-libm-test-in: New test inputs.
54388 * math/auto-libm-test-out: Regenerate.
54389 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54390 and DA.
54391 (__cos): Likewise.
54392 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54393
54394 2014-02-27 Joseph Myers <joseph@codesourcery.com>
54395
54396 * scripts/evaluate-test.sh: Take new argument indicating whether
54397 failure is expected.
54398 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54399 indicating whether failure is expected.
54400 * conform/Makefile (test-xfail-run-conformtest): New variable.
54401 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54402 level.
54403 * posix/Makefile (test-xfail-annexc): New variable.
54404 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54405
54406 2014-02-26 Joseph Myers <joseph@codesourcery.com>
54407
54408 * argp/Makefile: Include Makeconfig immediately after defining
54409 subdir.
54410 * assert/Makefile: Likewise.
54411 * benchtests/Makefile: Likewise.
54412 * catgets/Makefile: Likewise.
54413 * conform/Makefile: Likewise.
54414 * crypt/Makefile: Likewise.
54415 * csu/Makefile: Likewise.
54416 (all): Remove target.
54417 * ctype/Makefile: Include Makeconfig immediately after defining
54418 subdir.
54419 * debug/Makefile: Likewise.
54420 * dirent/Makefile: Likewise.
54421 * dlfcn/Makefile: Likewise.
54422 * gmon/Makefile: Likewise.
54423 * gnulib/Makefile: Likewise.
54424 * grp/Makefile: Likewise.
54425 * gshadow/Makefile: Likewise.
54426 * hesiod/Makefile: Likewise.
54427 * hurd/Makefile: Likewise.
54428 (all): Remove target.
54429 * iconvdata/Makefile: Include Makeconfig immediately after
54430 defining subdir.
54431 * inet/Makefile: Likewise.
54432 * intl/Makefile: Likewise.
54433 * io/Makefile: Likewise.
54434 * libio/Makefile: Likewise.
54435 (all): Remove target.
54436 * locale/Makefile: Include Makeconfig immediately after defining
54437 subdir.
54438 * login/Makefile: Likewise.
54439 * mach/Makefile: Likewise.
54440 (all): Remove target.
54441 * malloc/Makefile: Include Makeconfig immediately after defining
54442 subdir.
54443 (all): Remove target.
54444 * manual/Makefile: Include Makeconfig immediately after defining
54445 subdir.
54446 * math/Makefile: Likewise.
54447 * misc/Makefile: Likewise.
54448 * nis/Makefile: Likewise.
54449 * nss/Makefile: Likewise.
54450 * po/Makefile: Likewise.
54451 (all): Remove target.
54452 * posix/Makefile: Include Makeconfig immediately after defining
54453 subdir.
54454 * pwd/Makefile: Likewise.
54455 * resolv/Makefile: Likewise.
54456 * resource/Makefile: Likewise.
54457 * rt/Makefile: Likewise.
54458 * setjmp/Makefile: Likewise.
54459 * shadow/Makefile: Likewise.
54460 * signal/Makefile: Likewise.
54461 * socket/Makefile: Likewise.
54462 * soft-fp/Makefile: Likewise.
54463 * stdio-common/Makefile: Likewise.
54464 * stdlib/Makefile: Likewise.
54465 * streams/Makefile: Likewise.
54466 * string/Makefile: Likewise.
54467 * sunrpc/Makefile: Likewise.
54468 (all): Remove target.
54469 * sysvipc/Makefile: Include Makeconfig immediately after defining
54470 subdir.
54471 * termios/Makefile: Likewise.
54472 * time/Makefile: Likewise.
54473 * timezone/Makefile: Likewise.
54474 (all): Remove target.
54475 * wcsmbs/Makefile: Include Makeconfig immediately after defining
54476 subdir.
54477 * wctype/Makefile: Likewise.
54478
54479 2014-02-26 Steve Ellcey <sellcey@mips.com>
54480
54481 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54482 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54483 (libc_feholdexcept_setround_mips): Ditto.
54484 (libc_feholdsetround): New.
54485 (libc_feholdsetroundf): New.
54486 (libc_feholdsetroundl): New.
54487 (libc_feupdateenv_test_mips): New.
54488 (libc_feupdateenv_test): New.
54489 (libc_feupdateenv_testf): New.
54490 (libc_feupdateenv_testl): New.
54491 (libc_feresetround): New.
54492 (libc_feresetroundf): New.
54493 (libc_feresetroundl): New.
54494 (libc_fetestexcept_mips): New.
54495 (libc_fetestexcept): New.
54496 (libc_fetestexceptf): New.
54497 (libc_fetestexceptl): New.
54498 (HAVE_RM_CTX): New.
54499 (libc_feholdexcept_setround_mips_ctx): New.
54500 (libc_feholdexcept_setround_ctx): New.
54501 (libc_feholdexcept_setroundf_ctx): New.
54502 (libc_feholdexcept_setroundl_ctx): New.
54503 (libc_fesetenv_mips_ctx): New.
54504 (libc_fesetenv_ctx): New.
54505 (libc_fesetenv_ctxf): New.
54506 (libc_fesetenv_ctxl): New.
54507 (libc_feupdateenv_mips_ctx): New.
54508 (libc_feupdateenv_ctx): New.
54509 (libc_feupdateenvf_ctx): New.
54510 (libc_feupdateenvl_ctx): New.
54511 (libc_feholdsetround_mips_ctx): New.
54512 (libc_feholdsetround_ctx): New.
54513 (libc_feholdsetroundf_ctx): New.
54514 (libc_feholdsetroundl_ctx): New.
54515 (libc_feresetround_mips_ctx): New.
54516 (libc_feresetround_ctx): New.
54517 (libc_feresetroundf_ctx): New.
54518 (libc_feresetroundl_ctx): New.
54519
54520 2014-02-26 Carlos O'Donell <carlos@redhat.com>
54521
54522 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54523
54524 * manual/ipc.texi: New file.
54525 * manual/Makefile (chapters): Add ipc.
54526 * manual/job.texi: Add "Inter-Process Communication" to next.
54527 * manual/process.texi: Add "Inter-Process Communication" to prev.
54528
54529 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54530
54531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54532
54533 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
54534
54535 * malloc/malloc.c (__libc_calloc): Simplify implementation.
54536
54537 * manual/arith.texi: Fix spaces after sentences.
54538 * manual/charset.texi: Likewise.
54539 * manual/errno.texi: Likewise.
54540 * manual/install.texi: Likewise.
54541 * manual/llio.texi: Likewise.
54542 * manual/locale.texi: Likewise.
54543 * manual/maint.texi: Likewise.
54544 * manual/math.texi: Likewise.
54545 * manual/memory.texi: Likewise.
54546 * manual/message.texi: Likewise.
54547 * manual/probes.texi: Likewise.
54548 * manual/resource.texi: Likewise.
54549 * manual/signal.texi: Likewise.
54550 * manual/socket.texi: Likewise.
54551 * manual/stdio.texi: Likewise.
54552 * manual/string.texi: Likewise.
54553 * manual/time.texi: Likewise.
54554 * manual/users.texi: Likewise.
54555
54556 2014-02-25 Carlos O'Donell <carlos@redhat.com>
54557
54558 [BZ #16632]
54559 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54560 _DEFAULT_SOURCE is defined.
54561
54562 2014-02-25 Ulrich Drepper <drepper@gmail.com>
54563 Carlos O'Donell <carlos@redhat.com>
54564
54565 [BZ #16613]
54566 * elf/dl-tls.c (_dl_count_modids): New function.
54567 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54568 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54569 audit library and increment generation counter.
54570 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54571 * elf/tst-audit9.c: New file.
54572 * elf/tst-auditmod9a.c: New file.
54573 * elf/tst-auditmod9b.c: New file.
54574 * elf/Makefile: Add rules to build and run tst-audit9.
54575
54576 2014-02-25 Florian Weimer <fweimer@redhat.com>
54577
54578 [BZ #15347]
54579 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54580
54581 2014-02-25 Will Newton <will.newton@linaro.org>
54582
54583 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54584 (__longjmp): Restore sp and lr before restoring callee
54585 saved registers. Add longjmp and longjmp_target
54586 SystemTap probe point.
54587 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54588 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54589 Define to zero to match jmpbuf layout.
54590 * sysdeps/arm/setjmp.S: Include stap-probe.h.
54591 (__sigsetjmp): Save sp and lr before saving callee
54592 saved registers. Add setjmp SystemTap probe point.
54593
54594 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54595
54596 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54597
54598 2014-02-24 Andreas Schwab <schwab@suse.de>
54599
54600 [BZ #15804]
54601 * elf/pldd.c (wait_for_ptrace_stop): New function.
54602 (main): Call it after attaching.
54603
54604 2014-02-22 Roland McGrath <roland@hack.frob.com>
54605
54606 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54607 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54608 Versions files is now verboten.
54609 * hurd/Versions (libc: GLIBC_2.0):
54610 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54611 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54612 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54613 * mach/Versions: Likewise.
54614
54615 * csu/Versions: Remove unused %include.
54616 * resolv/Versions: Likewise.
54617
54618 2014-02-21 Joseph Myers <joseph@codesourcery.com>
54619
54620 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54621 ($(objpfx)check-local-headers.out): Likewise.
54622 ($(objpfx)begin-end-check.out): Likewise.
54623 * Makerules (check-abi-%.out): Likewise.
54624 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54625 ($(objpfx)test2.cat): Likewise.
54626 ($(objpfx)de/libc.cat): Likewise.
54627 ($(objpfx)test-gencat.out): Likewise.
54628 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54629 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54630 ($(objpfx)noload-mem): Likewise.
54631 ($(objpfx)tst-pathopt.out): Likewise.
54632 ($(objpfx)tst-rtld-load-self.out): Likewise.
54633 ($(objpfx)tst-array1-cmp.out): Likewise.
54634 ($(objpfx)tst-array1-static-cmp.out): Likewise.
54635 ($(objpfx)tst-array2-cmp.out): Likewise.
54636 ($(objpfx)tst-array3-cmp.out): Likewise.
54637 ($(objpfx)tst-array4-cmp.out): Likewise.
54638 ($(objpfx)tst-array5-cmp.out): Likewise.
54639 ($(objpfx)tst-array5-static-cmp.out): Likewise.
54640 ($(objpfx)check-textrel.out): Likewise.
54641 ($(objpfx)check-execstack.out): Likewise.
54642 ($(objpfx)check-localplt.out): Likewise.
54643 ($(objpfx)order2-cmp.out): Likewise.
54644 ($(objpfx)tst-leaks1-mem): Likewise.
54645 ($(objpfx)tst-leaks1-static-mem): Likewise.
54646 ($(objpfx)tst-initorder-cmp.out): Likewise.
54647 ($(objpfx)tst-initorder2-cmp.out): Likewise.
54648 ($(objpfx)tst-unused-dep.out): Likewise.
54649 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54650 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54651 * iconv/Makefile (test-iconvconfig): Likewise.
54652 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54653 ($(objpfx)iconv-test.out): Likewise.
54654 ($(objpfx)tst-tables.out): Likewise.
54655 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54656 ($(objpfx)tst-gettext.out): Likewise.
54657 ($(objpfx)tst-translit.out): Likewise.
54658 ($(objpfx)tst-gettext2.out): Likewise.
54659 ($(objpfx)tst-gettext4.out): Likewise.
54660 ($(objpfx)tst-gettext6.out): Likewise.
54661 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54662 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54663 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54664 ($(objpfx)tst-fopenloc-mem.out): Likewise.
54665 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54666 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54667 * posix/Makefile ($(objpfx)globtest.out): Likewise.
54668 ($(objpfx)wordexp-tst.out): Likewise.
54669 ($(objpfx)annexc.out): Likewise.
54670 ($(objpfx)tst-fnmatch-mem): Likewise.
54671 ($(objpfx)bug-regex2-mem): Likewise.
54672 ($(objpfx)bug-regex14-mem): Likewise.
54673 ($(objpfx)bug-regex21-mem): Likewise.
54674 ($(objpfx)bug-regex31-mem): Likewise.
54675 ($(objpfx)tst-vfork3-mem): Likewise.
54676 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54677 ($(objpfx)tst-pcre-mem): Likewise.
54678 ($(objpfx)tst-boost-mem): Likewise.
54679 ($(objpfx)tst-getconf.out): Likewise.
54680 ($(objpfx)bug-ga2-mem): Likewise.
54681 ($(objpfx)bug-glob2-mem): Likewise.
54682 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54683 ($(objpfx)mtrace-tst-leaks2): Likewise.
54684 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54685 ($(objpfx)tst-printf.out): Likewise.
54686 ($(objpfx)tst-setvbuf1.out): Likewise.
54687 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54688 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54689 ($(objpfx)tst-fmtmsg.out): Likewise.
54690 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54691 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54692
54693 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54694 * bits/sigaction.h [__USE_MISC]: Likewise.
54695 * bits/waitstatus.h: Update #endif comments.
54696 * ctype/ctype.h: Likewise.
54697 * dirent/dirent.h: Likewise.
54698 [__USE_MISC]: Remove redundant conditionals.
54699 * grp/grp.h: Update #endif comments.
54700 [__USE_GNU]: Remove redundant conditionals.
54701 [__USE_MISC]: Likewise.
54702 * inet/netinet/in.h [__USE_GNU]: Likewise.
54703 * io/sys/stat.h [__USE_MISC]: Likewise.
54704 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54705 * libio/bits/stdio.h: Update #endif comments.
54706 [__USE_MISC]: Remove redundant conditionals.
54707 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54708 * libio/stdio.h: Update #endif comments.
54709 [__USE_MISC]: Remove redundant conditionals.
54710 * math/bits/math-finite.h [__USE_MISC]: Likewise.
54711 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54712 * math/math.h: Update #else and #endif comments.
54713 [__USE_MISC]: Remove redundant conditionals.
54714 * misc/sys/uio.h: Update #endif comments.
54715 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54716 * posix/glob.h [__USE_MISC]: Likewise.
54717 * posix/sys/types.h: Update #endif comments.
54718 [__USE_MISC]: Remove redundant conditionals.
54719 * posix/sys/wait.h: Update #endif comments.
54720 [__USE_MISC]: Remove redundant conditionals.
54721 * posix/unistd.h: Update #endif comments.
54722 [__USE_MISC]: Remove redundant conditionals.
54723 * pwd/pwd.h [__USE_GNU]: Likewise.
54724 [__USE_MISC]: Likewise.
54725 * resolv/netdb.h [__USE_GNU]: Likewise.
54726 * signal/signal.h: Update #endif comments.
54727 [__USE_MISC]: Remove redundant conditionals.
54728 * stdlib/stdlib.h: Update #else and #endif comments.
54729 [__USE_MISC]: Remove redundant conditionals.
54730 [__USE_GNU]: Likewise.
54731 * string/bits/string2.h [__USE_MISC]: Likewise.
54732 * string/string.h: Update #endif comments.
54733 [__USE_MISC]: Remove redundant conditionals.
54734 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
54735 Likewise.
54736 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
54737 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
54738 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
54739 Likewise.
54740 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
54741 Likewise.
54742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
54743 comments.
54744 [__USE_MISC]: Remove redundant conditionals.
54745 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
54746 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
54747 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
54748 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
54749 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
54750 Likewise.
54751 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
54752 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
54753 Likewise.
54754 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
54755 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
54756 Likewise.
54757 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
54758 Likewise.
54759 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
54760 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
54761 Likewise.
54762 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
54763 Likewise.
54764 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
54765 * sysdeps/x86/bits/string.h: Update #endif comments.
54766 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
54767 conditionals.
54768 * time/sys/time.h: Update #endif comments.
54769 * time/time.h: Likewise.
54770 [__USE_MISC]: Remove redundant conditionals.
54771
54772 2014-02-21 Yury Gribov <y.gribov@samsung.com>
54773
54774 [BZ #16600]
54775 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
54776
54777 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
54778
54779 * Versions.def (librt): Add GLIBC_2.17.
54780
54781 2014-02-21 Adam Conrad <adconrad@0c3.net>
54782
54783 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
54784 synonym for _SYS_AUXV_H to allow direct inclusion.
54785 * sysdeps/sparc/bits/hwcap.h: Likewise.
54786 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
54787 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
54788 * sysdeps/sparc/sysdep.h: Likewise.
54789
54790 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54791
54792 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
54793
54794 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54795
54796 * benchtests/bench-strrchr.c: Print length instead of position.
54797
54798 2014-02-20 Joseph Myers <joseph@codesourcery.com>
54799
54800 [BZ #16611]
54801 * sysdeps/unix/sysv/linux/kernel-features.h
54802 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
54803 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
54804 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
54805 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
54806 Likewise.
54807 [__i386__ || __powerpc__ || __sh__ || __sparc__]
54808 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54809 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
54810 (__ASSUME_SENDMMSG): Define instead of using previous
54811 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
54812 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54813 (__ASSUME_SENDMMSG_SYSCALL): Define.
54814 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54815 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
54816 Likewise.
54817 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54818 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54819 Likewise.
54820 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54821 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54822 Likewise.
54823 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
54824 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54825 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54826 [__ASSUME_SENDMMSG]: Change conditionals to
54827 [__ASSUME_SENDMMSG_SOCKETCALL].
54828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54829 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
54830 Define.
54831 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54832 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
54833 Likewise.
54834 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
54835 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54836 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54837 [!__ASSUME_SENDMMSG]: Change conditional to
54838 [!__ASSUME_SENDMMSG_SOCKETCALL].
54839 * sysdeps/unix/sysv/linux/tile/kernel-features.h
54840 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54841 Define.
54842
54843 [BZ #16610]
54844 * sysdeps/unix/sysv/linux/kernel-features.h
54845 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
54846 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
54847 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
54848 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
54849 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
54850 [__i386__ || __sparc__]
54851 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54852 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
54853 (__ASSUME_RECVMMSG): Define instead of using previous
54854 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
54855 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54856 (__ASSUME_RECVMMSG_SYSCALL): Define.
54857 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54858 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54859 Likewise.
54860 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54861 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54862 Likewise.
54863 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54864 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54865 Likewise.
54866 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
54867 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54868 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54869 [__ASSUME_RECVMMSG]: Change condition to
54870 [__ASSUME_RECVMMSG_SOCKETCALL].
54871 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54872 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54873 Define.
54874 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54875 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54876 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54877 Likewise.
54878 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
54879 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54880 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54881 [!__ASSUME_RECVMMSG]: Change condition to
54882 [!__ASSUME_RECVMMSG_SOCKETCALL].
54883 * sysdeps/unix/sysv/linux/tile/kernel-features.h
54884 (__ASSUME_RECVMMSG_SYSCALL): Define.
54885
54886 [BZ #16609]
54887 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
54888 __powerpc__ || __s390__ || __sh__ || __sparc__]
54889 (__ASSUME_SOCKETCALL): Define.
54890 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
54891 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
54892 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
54893 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
54894 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
54895 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
54896 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
54897 (__ASSUME_ACCEPT4): Define instead of using previous
54898 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
54899 __powerpc__ || __sparc__ || __s390__)] condition.
54900 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54901 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54902 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
54903 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54904 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54905 [!__ASSUME_ACCEPT4]: Change condition to
54906 [!__ASSUME_ACCEPT4_SOCKETCALL].
54907 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54908 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
54909 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
54910 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54911 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
54912 __ASSUME_ACCEPT4_SYSCALL.
54913 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
54914 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
54915 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54916 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
54917 __ASSUME_ACCEPT4_SYSCALL.
54918 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
54919 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54920 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54921 [__ASSUME_ACCEPT4]: Change condition to
54922 [__ASSUME_ACCEPT4_SOCKETCALL].
54923 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54924 (__ASSUME_SOCKETCALL): Define.
54925 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
54926 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54927 (__ASSUME_SOCKETCALL): Define.
54928 (__ASSUME_ACCEPT4): Remove.
54929 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
54930 Define.
54931 * sysdeps/unix/sysv/linux/mips/kernel-features.h
54932 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
54933 Likewise.
54934 * sysdeps/unix/sysv/linux/tile/kernel-features.h
54935 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54936
54937 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
54938 macro.
54939 (HWCAP_ARM_LPAE): Likewise.
54940 (HWCAP_ARM_EVTSTRM): Likewise.
54941 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
54942 Add vpfd32, lpae and evtstrm.
54943 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
54944 Increase to 22.
54945
54946 2014-02-19 Joseph Myers <joseph@codesourcery.com>
54947
54948 * math/auto-libm-test-in: Add tests of clog10.
54949 * math/auto-libm-test-out: Regenerated.
54950 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
54951 * sysdeps/i386/fpu/libm-test-ulps: Update.
54952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54953
54954 2014-02-18 Andreas Schwab <schwab@suse.de>
54955
54956 [BZ #16574]
54957 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
54958 Store non-zero if the second buffer was newly allocated.
54959 (send_dg): Likewise.
54960 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
54961 to send_vc and send_dg.
54962 (res_nsend): Pass NULL for ansp2_malloced.
54963 * resolv/res_query.c (__libc_res_nquery): Add parameter
54964 answerp2_malloced and pass it down to __libc_res_nsend.
54965 (res_nquery): Pass additional NULL to __libc_res_nquery.
54966 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
54967 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
54968 second answer buffer if answerp2_malloced was set.
54969 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
54970 (__libc_res_nquerydomain): Add parameter
54971 answerp2_malloced and pass it down to __libc_res_nquery.
54972 (res_nquerydomain): Pass additional NULL to
54973 __libc_res_nquerydomain.
54974 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
54975 additional NULL to __libc_res_nsend and __libc_res_nquery.
54976 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
54977 additional NULL to __libc_res_nsearch.
54978 (_nss_dns_gethostbyname4_r): Revert last change. Use new
54979 parameter of __libc_res_nsearch to check for separately allocated
54980 second buffer.
54981 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
54982 __libc_res_nquery.
54983 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
54984 additional NULL to __libc_res_nquery.
54985 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
54986 __libc_res_nsearch.
54987 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
54988 * include/resolv.h: Update prototypes of __libc_res_nquery,
54989 __libc_res_nsearch, __libc_res_nsend.
54990
54991 2014-02-18 Joseph Myers <joseph@codesourcery.com>
54992
54993 * math/auto-libm-test-in: Add tests of fma.
54994 * math/auto-libm-test-out: Regenerated.
54995 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
54996 (fma_towardzero_test_data): Likewise.
54997 (fma_downward_test_data): Likewise.
54998 (fma_upward_test_data): Likewise.
54999 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55000 mpc_mode.
55001 (rounding_modes): Add values for new field.
55002 (func_calc_method): Add value mpfr_fff_f.
55003 (func_calc_desc): Add mpfr_fff_f union field.
55004 (test_function): Add field exact_args.
55005 (FUNC): Add macro argument EXACT_ARGS.
55006 (FUNC_mpfr_f_f): Update call to FUNC.
55007 (FUNC_mpfr_f_f): Likewise.
55008 (FUNC_mpfr_ff_f): Likewise.
55009 (FUNC_mpfr_if_f): Likewise.
55010 (FUNC_mpc_c_f): Likewise.
55011 (FUNC_mpc_c_c): Likewise.
55012 (test_functions): Add fma. Update calls to FUNC.
55013 (handle_input_arg): Add argument exact_args.
55014 (add_test): Update call to handle_input_arg.
55015 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
55016 (output_for_one_input_case): Update call to calc_generic_results.
55017 Recalculate exact zero results in each rounding mode.
55018
55019 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55020 non-negative before setting low bit.
55021 * math/auto-libm-test-in: Mark one asin test possibly having
55022 spurious underflow.
55023 * math/auto-libm-test-out: Regenerated.
55024 * sysdeps/i386/fpu/libm-test-ulps: Update.
55025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55026
55027 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
55028
55029 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55030 * sysdeps/unix/sysv/linux/microblaze: Move directory from
55031 ports/sysdeps/unix/sysv/linux/microblaze.
55032 * README: Add missing listing for microblaze*-*-linux-gnu.
55033
55034 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
55035
55036 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55037 duplicate code
55038
55039 2014-02-16 Mike Frysinger <vapier@gentoo.org>
55040
55041 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55042 * sysdeps/unix/sysv/linux/ia64: Move directory from
55043 ports/sysdeps/unix/sysv/linux/ia64.
55044 * README: Update listing for ia64-*-linux-gnu.
55045
55046 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
55047 Joseph Myers <joseph@codesourcery.com>
55048
55049 * Makeconfig (test-name): New variable.
55050 (evaluate-test): Likewise.
55051 * Makerules (do-test-clean): Remove .test-result files.
55052 (common-mostlyclean): Likewise.
55053 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55054 * scripts/evaluate-test.sh: New file.
55055
55056 2014-02-14 Joseph Myers <joseph@codesourcery.com>
55057
55058 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55059 separate $(objpfx)tst-fopenloc-cmp.out and
55060 $(objpfx)tst-fopenloc-mem.out targets.
55061 (tests): Update dependencies.
55062 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55063 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55064 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55065 (tst-rxspencer-no-utf8-ARGS): New variable.
55066 (tst-rxspencer-no-utf8-ENV): Likewise.
55067 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55068 instead of $(objpfx)tst-rxspencer-mem.
55069 ($(objpfx)tst-rxspencer-mem): Change target to
55070 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
55071 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55072 * posix/tst-rxspencer-no-utf8.c: New file.
55073
55074 * elf/Makefile ($(objpfx)order.out): Remove rule.
55075 [$(run-built-tests) = yes] (tests): Depend on
55076 $(objpfx)order-cmp.out.
55077 ($(objpfx)order-cmp.out): New rule.
55078 [$(run-built-tests) = yes] (tests): Depend on
55079 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55080 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55081 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55082 $(objpfx)tst-array5-static-cmp.out.
55083 ($(objpfx)tst-array1.out): Remove rule.
55084 ($(objpfx)tst-array1-cmp.out): New rule.
55085 ($(objpfx)tst-array1-static.out): Remove rule.
55086 ($(objpfx)tst-array1-static-cmp.out): New rule.
55087 ($(objpfx)tst-array2.out): Remove rule.
55088 ($(objpfx)tst-array2-cmp.out): New rule.
55089 ($(objpfx)tst-array3.out): Remove rule.
55090 ($(objpfx)tst-array3-cmp.out): New rule.
55091 ($(objpfx)tst-array4.out): Remove rule.
55092 ($(objpfx)tst-array4-cmp.out): New rule.
55093 ($(objpfx)tst-array5.out): Remove rule.
55094 ($(objpfx)tst-array5-cmp.out): New rule.
55095 ($(objpfx)tst-array5-static.out): Remove rule.
55096 ($(objpfx)tst-array5-static-cmp.out): New rule.
55097 [$(run-built-tests) = yes] (tests): Depend on
55098 $(objpfx)order2-cmp.out.
55099 ($(objpfx)order2.out): Remove rule.
55100 ($(objpfx)order2-cmp.out): New rule.
55101 ($(objpfx)tst-initorder.out): Remove rule.
55102 [$(run-built-tests) = yes] (tests): Depend on
55103 $(objpfx)tst-initorder-cmp.out.
55104 ($(objpfx)tst-initorder-cmp.out): New rule.
55105 ($(objpfx)tst-initorder2.out): Remove rule.
55106 [$(run-built-tests) = yes] (tests): Depend on
55107 $(objpfx)tst-initorder2-cmp.out.
55108 ($(objpfx)tst-initorder2-cmp.out): New rule.
55109 [$(run-built-tests) = yes] (tests): Depend on
55110 $(objpfx)tst-unused-dep-cmp.out.
55111 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55112 ($(objpfx)tst-unused-dep-cmp.out): New rule.
55113 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55114 on $(objpfx)tst-setvbuf1-cmp.out.
55115 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55116 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55117 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55118 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55119 ($(objpfx)tst-svc.out): Remove rule.
55120 ($(objpfx)tst-svc-cmp.out): New rule.
55121
55122 2014-02-13 Joseph Myers <joseph@codesourcery.com>
55123
55124 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55125 * ctype/ctype.h [__USE_MISC]: Likewise.
55126 * dirent/dirent.h [__USE_MISC]: Likewise.
55127 * grp/grp.h [__USE_MISC]: Likewise.
55128 * io/fcntl.h [__USE_MISC]: Likewise.
55129 * io/sys/stat.h [__USE_MISC]: Likewise.
55130 * libio/stdio.h [__USE_MISC]: Likewise.
55131 * posix/unistd.h [__USE_MISC]: Likewise.
55132 * pwd/pwd.h [__USE_MISC]: Likewise.
55133 * stdlib.h [__USE_MISC]: Likewise.
55134 * string/bits/string2.h [__USE_MISC]: Likewise.
55135 * string/string.h [__USE_MISC]: Likewise.
55136 * time/time.h [__USE_MISC]: Likewise.
55137
55138 2014-02-13 Andreas Schwab <schwab@suse.de>
55139
55140 [BZ #16574]
55141 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55142 second answer buffer if it was separately allocated.
55143
55144 2014-02-12 Joseph Myers <joseph@codesourcery.com>
55145
55146 * sysdeps/mips/math-tests.h: Include <features.h>.
55147 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55148 (ROUNDING_TESTS_long_double): Do not define.
55149 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55150 (EXCEPTION_TESTS_long_double): Likewise.
55151 * sysdeps/mips/mips64/libm-test-ulps: Update.
55152
55153 * include/features.h (__USE_BSD): Remove macro definitions.
55154 (__USE_SVID): Likewise.
55155 (_BSD_SOURCE): Likewise.
55156 (_SVID_SOURCE): Likewise.
55157 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55158 from definition of _DEFAULT_SOURCE.
55159 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55160 [_DEFAULT_SOURCE].
55161 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55162 * bits/mman.h [__USE_BSD]: Likewise.
55163 * bits/termios.h [__USE_BSD]: Likewise.
55164 * bits/waitstatus.h [__USE_BSD]: Likewise.
55165 * ctype/ctype.h [__USE_SVID]: Likewise.
55166 * dirent/dirent.h [__USE_BSD]: Likewise.
55167 * grp/grp.h [__USE_SVID]: Likewise.
55168 [__USE_BSD]: Likewise.
55169 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55170 * io/fcntl.h [__USE_BSD]: Likewise.
55171 * io/ftw.h [__USE_BSD]: Likewise.
55172 * io/sys/stat.h [__USE_BSD]: Likewise.
55173 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55174 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55175 * libio/stdio.h [__USE_SVID]: Likewise.
55176 [__USE_BSD]: Likewise.
55177 * math/math.h [__USE_SVID]: Likewise.
55178 [__USE_BSD]: Likewise.
55179 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55180 * misc/bits/syslog.h [__USE_BSD]: Likewise.
55181 * misc/search.h [__USE_SVID]: Likewise.
55182 * misc/sys/mman.h [__USE_BSD]: Likewise.
55183 * misc/sys/syslog.h [__USE_BSD]: Likewise.
55184 * misc/sys/uio.h [__USE_BSD]: Likewise.
55185 * posix/bits/unistd.h [__USE_BSD]: Likewise.
55186 * posix/glob.h [__USE_BSD]: Likewise.
55187 * posix/regex.h [__USE_BSD]: Likewise.
55188 * posix/sys/types.h [__USE_BSD]: Likewise.
55189 [__USE_SVID]: Likewise.
55190 * posix/sys/utsname.h [__USE_SVID]: Likewise.
55191 * posix/sys/wait.h [__USE_BSD]: Likewise.
55192 [__USE_SVID]: Likewise.
55193 * posix/unistd.h [__USE_BSD]: Likewise.
55194 [__USE_SVID]: Likewise.
55195 * pwd/pwd.h [__USE_SVID]: Likewise.
55196 * resolv/netdb.h [__USE_BSD]: Likewise.
55197 * setjmp/setjmp.h [__USE_BSD]: Likewise.
55198 * signal/signal.h [__USE_BSD]: Likewise.
55199 [__USE_SVID]: Likewise.
55200 * socket/sys/socket.h [__USE_BSD]: Likewise.
55201 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55202 * stdlib/stdlib.h [__USE_BSD]: Likewise.
55203 [__USE_SVID]: Likewise.
55204 * string/bits/string2.h [__USE_BSD]: Likewise.
55205 [__USE_SVID]: Likewise.
55206 * string/bits/string3.h [__USE_BSD]: Likewise.
55207 * string/endian.h [__USE_BSD]: Likewise.
55208 * string/string.h [__USE_SVID]: Likewise.
55209 [__USE_BSD]: Likewise.
55210 * string/strings.h [__USE_BSD]: Likewise.
55211 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55212 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55213 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55214 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55215 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55216 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55217 Likewise.
55218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55219 Likewise.
55220 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55221 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55222 Likewise.
55223 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55224 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55225 Likewise.
55226 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55227 Likewise.
55228 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55229 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55230 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55231 Likewise.
55232 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55233 Likewise.
55234 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55235 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55236 * termios/termios.h [__USE_BSD]: Likewise.
55237 * time/sys/time.h [__USE_BSD]: Likewise.
55238 * time/time.h [__USE_BSD]: Likewise.
55239 [__USE_SVID]: Likewise.
55240
55241 * Makefile (subdir_targets): Remove subdir_lint.out.
55242
55243 * stdio-common/Makefile (do-tst-unbputc): Remove target.
55244 (do-tst-printf): Likewise.
55245 (tests): Depend directly on $(objpfx)tst-unbputc.out and
55246 $(objpfx)tst-printf.out.
55247
55248 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55249
55250 * Makerules (check-abi-%): Change target to
55251 $(objpfx)check-abi-%.out.
55252 (check-abi target): Update dependencies.
55253 (check-abi-pattern variable): Redirect output of diff to $@.
55254 (check-abi variable): Likewise.
55255 * elf/Makefile (check-abi): Update dependencies.
55256
55257 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55258 unused.
55259 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55260 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55261 subnormal range.
55262 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55263 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55264 value has largest subnormal exponent.
55265 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55266 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55267 * sysdeps/aarch64/soft-fp/sfp-machine.h
55268 (_FP_TININESS_AFTER_ROUNDING): New macro.
55269 * sysdeps/alpha/soft-fp/sfp-machine.h
55270 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55271 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55272 Likewise.
55273 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55274 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55275 * sysdeps/mips/soft-fp/sfp-machine.h
55276 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55277 * sysdeps/powerpc/soft-fp/sfp-machine.h
55278 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55279 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55280 Likewise.
55281 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55282 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55283 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55284 (_FP_TININESS_AFTER_ROUNDING): Likewise.
55285 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55286 Likewise.
55287
55288 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
55289
55290 [BZ #16545]
55291 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55292 model 1.
55293
55294 2014-02-12 Richard Henderson <rth@redhat.com>
55295
55296 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55297 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55298 * sysdeps/unix/sysv/linux/alpha: Move directory from
55299 ports/sysdeps/unix/sysv/linux/alpha.
55300 * README: Update listing for alpha-*-linux-gnu.
55301
55302 2014-02-11 Joseph Myers <joseph@codesourcery.com>
55303
55304 * include/features.h: Update comment documenting feature test
55305 macros.
55306 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
55307 _DEFAULT_SOURCE.
55308 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55309 (_SVID_SOURCE): Likewise.
55310 (_DEFAULT_SOURCE): Update description of default features.
55311 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55312 with _GNU_SOURCE.
55313 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55314 (S_ISVTX): Likewise.
55315 * manual/math.texi (Mathematical Constants): Likewise.
55316 * manual/signal.texi (Interrupted Primitives): Likewise.
55317 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55318 * math/test-matherr.c (_SVID_SOURCE): Do not define.
55319 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55320 Don't refer to _SVID_SOURCE in warning text.
55321
55322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55323
55324 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55325 already defined.
55326 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55327 * sysdeps/mips/dl-lookup.c: Remove.
55328 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55329
55330 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
55331
55332 [BZ #16447]
55333 * math/auto-libm-test-in: Add testcase for expl.
55334 * math/auto-libm-test-out: Regenerate.
55335 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55336 calculation of unsafe.
55337 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55338
55339 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
55340
55341 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55342 * sysdeps/unix/sysv/linux/aarch64: Move directory from
55343 ports/sysdeps/unix/sysv/linux/aarch64.
55344 * README: Update listing for aarch64*-*-linux-gnu.
55345
55346 2014-02-11 Will Newton <will.newton@linaro.org>
55347
55348 * manual/probes.texi (Mathematical Function Probes): Use
55349 "triggered" instead of "hit".
55350
55351 * manual/probes.texi (Internal Probes): Add documentation
55352 of setjmp, longjmp and longjmp_target probes.
55353
55354 * include/stap-probe.h: Add comment about probe argument
55355 format.
55356
55357 * malloc/mtrace.c (attribute_hidden): Remove unused macro
55358 definition. (tr_where, tr_freehook, tr_mallochook,
55359 tr_reallochook, tr_memalignhook): Use ANSI protoype.
55360
55361 2014-02-11 David S. Miller <davem@davemloft.net>
55362
55363 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55364 processing int_tests.
55365
55366 2014-02-10 Joseph Myers <joseph@codesourcery.com>
55367
55368 * sysdeps/mips: Move directory from ports/sysdeps/mips.
55369 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55370 * sysdeps/unix/sysv/linux/mips: Move directory from
55371 ports/sysdeps/unix/sysv/linux/mips.
55372 * README: Update listing for mips-*-linux-gnu and
55373 mips64-*-linux-gnu.
55374
55375 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
55376
55377 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55378 * sysdeps/unix/sysv/linux/m68k: Move directory from
55379 ports/sysdeps/unix/sysv/linux/m68k.
55380 * README: Update listing for m68k-*-linux-gnu.
55381
55382 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
55383
55384 * sysdeps/tile: Move directory from ports/sysdeps/tile.
55385 * sysdeps/unix/sysv/linux/generic: Move directory from
55386 ports/sysdeps/unix/sysv/linux/generic.
55387 * sysdeps/unix/sysv/linux/tile: Move directory from
55388 ports/sysdeps/unix/sysv/linux/tile.
55389 * README: Update listing for tile*-*-linux-gnu.
55390
55391 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
55392
55393 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55394 __builtin_expect.
55395 * benchtests/bench-memmem.c (simple_memmem): Likewise.
55396 * catgets/open_catalog.c (__open_catalog): Likewise.
55397 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55398 * debug/confstr_chk.c: Likewise.
55399 * debug/fread_chk.c (__fread_chk): Likewise.
55400 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55401 * debug/getgroups_chk.c: Likewise.
55402 * debug/mbsnrtowcs_chk.c: Likewise.
55403 * debug/mbsrtowcs_chk.c: Likewise.
55404 * debug/mbstowcs_chk.c: Likewise.
55405 * debug/memcpy_chk.c: Likewise.
55406 * debug/memmove_chk.c: Likewise.
55407 * debug/mempcpy_chk.c: Likewise.
55408 * debug/memset_chk.c: Likewise.
55409 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55410 * debug/strcat_chk.c (__strcat_chk): Likewise.
55411 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55412 * debug/strncat_chk.c (__strncat_chk): Likewise.
55413 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55414 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55415 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55416 * debug/wcpncpy_chk.c: Likewise.
55417 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55418 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55419 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55420 * debug/wcsncpy_chk.c: Likewise.
55421 * debug/wcsnrtombs_chk.c: Likewise.
55422 * debug/wcsrtombs_chk.c: Likewise.
55423 * debug/wcstombs_chk.c: Likewise.
55424 * debug/wmemcpy_chk.c: Likewise.
55425 * debug/wmemmove_chk.c: Likewise.
55426 * debug/wmempcpy_chk.c: Likewise.
55427 * debug/wmemset_chk.c: Likewise.
55428 * dirent/scandirat.c (SCANDIRAT): Likewise.
55429 * dlfcn/dladdr1.c (dladdr1): Likewise.
55430 * dlfcn/dladdr.c (dladdr): Likewise.
55431 * dlfcn/dlclose.c (dlclose_doit): Likewise.
55432 * dlfcn/dlerror.c (__dlerror): Likewise.
55433 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55434 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55435 * dlfcn/dlopen.c (dlopen_doit): Likewise.
55436 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55437 * dlfcn/dlsym.c (dlsym_doit): Likewise.
55438 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55439 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55440 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55441 Likewise.
55442 * elf/dl-conflict.c: Likewise.
55443 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55444 * elf/dl-dst.h: Likewise.
55445 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55446 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55447 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55448 * elf/dl-init.c (call_init, _dl_init): Likewise.
55449 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55450 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55451 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55452 Likewise.
55453 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55454 Likewise.
55455 * elf/dl-minimal.c (__libc_memalign): Likewise.
55456 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55457 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55458 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55459 * elf/dl-sym.c (do_sym): Likewise.
55460 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55461 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55462 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55463 * elf/dl-writev.h (_dl_writev): Likewise.
55464 * elf/ldconfig.c (search_dir): Likewise.
55465 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55466 (dl_main): Likewise.
55467 * elf/setup-vdso.h (setup_vdso): Likewise.
55468 * grp/compat-initgroups.c (compat_call): Likewise.
55469 * grp/fgetgrent.c (fgetgrent): Likewise.
55470 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55471 * grp/putgrent.c (putgrent): Likewise.
55472 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55473 Likewise.
55474 * hurd/hurdinit.c: Likewise.
55475 * iconvdata/8bit-gap.c (struct): Likewise.
55476 * iconvdata/ansi_x3.110.c : Likewise.
55477 * iconvdata/big5.c : Likewise.
55478 * iconvdata/big5hkscs.c : Likewise.
55479 * iconvdata/cp1255.c: Likewise.
55480 * iconvdata/cp1258.c : Likewise.
55481 * iconvdata/cp932.c : Likewise.
55482 * iconvdata/euc-cn.c: Likewise.
55483 * iconvdata/euc-jisx0213.c : Likewise.
55484 * iconvdata/euc-jp.c: Likewise.
55485 * iconvdata/euc-jp-ms.c : Likewise.
55486 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55487 * iconvdata/gb18030.c : Likewise.
55488 * iconvdata/gbbig5.c (const): Likewise.
55489 * iconvdata/gbgbk.c: Likewise.
55490 * iconvdata/gbk.c : Likewise.
55491 * iconvdata/ibm1364.c : Likewise.
55492 * iconvdata/ibm930.c : Likewise.
55493 * iconvdata/ibm932.c: Likewise.
55494 * iconvdata/ibm933.c : Likewise.
55495 * iconvdata/ibm935.c : Likewise.
55496 * iconvdata/ibm937.c : Likewise.
55497 * iconvdata/ibm939.c : Likewise.
55498 * iconvdata/ibm943.c: Likewise.
55499 * iconvdata/iso_11548-1.c: Likewise.
55500 * iconvdata/iso-2022-cn.c : Likewise.
55501 * iconvdata/iso-2022-cn-ext.c : Likewise.
55502 * iconvdata/iso-2022-jp-3.c: Likewise.
55503 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55504 * iconvdata/iso-2022-kr.c : Likewise.
55505 * iconvdata/iso646.c (gconv_end): Likewise.
55506 * iconvdata/iso_6937-2.c : Likewise.
55507 * iconvdata/iso_6937.c : Likewise.
55508 * iconvdata/iso8859-1.c: Likewise.
55509 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55510 * iconvdata/shift_jisx0213.c : Likewise.
55511 * iconvdata/sjis.c : Likewise.
55512 * iconvdata/t.61.c : Likewise.
55513 * iconvdata/tcvn5712-1.c : Likewise.
55514 * iconvdata/tscii.c: Likewise.
55515 * iconvdata/uhc.c : Likewise.
55516 * iconvdata/unicode.c (gconv_end): Likewise.
55517 * iconvdata/utf-16.c (gconv_end): Likewise.
55518 * iconvdata/utf-32.c (gconv_end): Likewise.
55519 * iconvdata/utf-7.c (base64): Likewise.
55520 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55521 * iconv/gconv_close.c (__gconv_close): Likewise.
55522 * iconv/gconv_open.c (__gconv_open): Likewise.
55523 * iconv/gconv_simple.c (internal_ucs4_loop_single)
55524 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55525 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55526 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55527 (ucs4le_internal_loop_single): Likewise.
55528 * iconv/iconv.c (iconv): Likewise.
55529 * iconv/iconv_close.c: Likewise.
55530 * iconv/loop.c (SINGLE): Likewise.
55531 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55532 * include/atomic.h: Likewise.
55533 * inet/inet6_option.c (option_alloc): Likewise.
55534 * intl/bindtextdom.c (set_binding_values): Likewise.
55535 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55536 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55537 * intl/localealias.c (read_alias_file): Likewise.
55538 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55539 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55540 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55541 * libio/fmemopen.c (fmemopen): Likewise.
55542 * libio/iofgets.c (_IO_fgets): Likewise.
55543 * libio/iofgets_u.c (fgets_unlocked): Likewise.
55544 * libio/iofgetws.c (fgetws): Likewise.
55545 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55546 * libio/iogetdelim.c (_IO_getdelim): Likewise.
55547 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55548 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55549 * locale/findlocale.c (_nl_find_locale): Likewise.
55550 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55551 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55552 Likewise.
55553 * locale/setlocale.c (setlocale): Likewise.
55554 * login/programs/pt_chown.c (main): Likewise.
55555 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55556 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55557 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55558 (mmap, mmap64, mremap, munmap): Likewise.
55559 * math/e_exp2l.c: Likewise.
55560 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55561 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55562 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55563 * math/s_catan.c (__catan): Likewise.
55564 * math/s_catanf.c (__catanf): Likewise.
55565 * math/s_catanh.c (__catanh): Likewise.
55566 * math/s_catanhf.c (__catanhf): Likewise.
55567 * math/s_catanhl.c (__catanhl): Likewise.
55568 * math/s_catanl.c (__catanl): Likewise.
55569 * math/s_ccosh.c (__ccosh): Likewise.
55570 * math/s_ccoshf.c (__ccoshf): Likewise.
55571 * math/s_ccoshl.c (__ccoshl): Likewise.
55572 * math/s_cexp.c (__cexp): Likewise.
55573 * math/s_cexpf.c (__cexpf): Likewise.
55574 * math/s_cexpl.c (__cexpl): Likewise.
55575 * math/s_clog10.c (__clog10): Likewise.
55576 * math/s_clog10f.c (__clog10f): Likewise.
55577 * math/s_clog10l.c (__clog10l): Likewise.
55578 * math/s_clog.c (__clog): Likewise.
55579 * math/s_clogf.c (__clogf): Likewise.
55580 * math/s_clogl.c (__clogl): Likewise.
55581 * math/s_csin.c (__csin): Likewise.
55582 * math/s_csinf.c (__csinf): Likewise.
55583 * math/s_csinh.c (__csinh): Likewise.
55584 * math/s_csinhf.c (__csinhf): Likewise.
55585 * math/s_csinhl.c (__csinhl): Likewise.
55586 * math/s_csinl.c (__csinl): Likewise.
55587 * math/s_csqrt.c (__csqrt): Likewise.
55588 * math/s_csqrtf.c (__csqrtf): Likewise.
55589 * math/s_csqrtl.c (__csqrtl): Likewise.
55590 * math/s_ctan.c (__ctan): Likewise.
55591 * math/s_ctanf.c (__ctanf): Likewise.
55592 * math/s_ctanh.c (__ctanh): Likewise.
55593 * math/s_ctanhf.c (__ctanhf): Likewise.
55594 * math/s_ctanhl.c (__ctanhl): Likewise.
55595 * math/s_ctanl.c (__ctanl): Likewise.
55596 * math/w_pow.c: Likewise.
55597 * math/w_powf.c: Likewise.
55598 * math/w_powl.c: Likewise.
55599 * math/w_scalb.c (sysv_scalb): Likewise.
55600 * math/w_scalbf.c (sysv_scalbf): Likewise.
55601 * math/w_scalbl.c (sysv_scalbl): Likewise.
55602 * misc/error.c (error_tail): Likewise.
55603 * misc/pselect.c (__pselect): Likewise.
55604 * nis/nis_callback.c (__nis_create_callback): Likewise.
55605 * nis/nis_call.c (__nisfind_server): Likewise.
55606 * nis/nis_creategroup.c (nis_creategroup): Likewise.
55607 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55608 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55609 * nis/nis_getservlist.c (nis_getservlist): Likewise.
55610 * nis/nis_lookup.c (nis_lookup): Likewise.
55611 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55612 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55613 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55614 * nis/nis_xdr.c (xdr_endpoint): Likewise.
55615 * nis/nss_compat/compat-grp.c (getgrent_next_file)
55616 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55617 * nis/nss_compat/compat-initgroups.c (add_group)
55618 (internal_getgrent_r): Likewise.
55619 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55620 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55621 * nis/nss_compat/compat-spwd.c (getspent_next_file)
55622 (internal_getspnam_r): Likewise.
55623 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55624 (_nss_nis_getaliasbyname_r): Likewise.
55625 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55626 (_nss_nis_getntohost_r): Likewise.
55627 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55628 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55629 (_nss_nis_getgrgid_r): Likewise.
55630 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55631 (internal_nis_gethostent_r, internal_gethostbyname2_r)
55632 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55633 (_nss_nis_gethostbyname4_r): Likewise.
55634 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55635 (initgroups_netid): Likewise.
55636 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55637 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55638 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55639 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55640 (_nss_nis_getprotobynumber_r): Likewise.
55641 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55642 (_nss_nis_getsecretkey): Likewise.
55643 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55644 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55645 (_nss_nis_getpwuid_r): Likewise.
55646 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55647 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55648 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55649 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55650 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55651 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55652 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55653 Likewise.
55654 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55655 (_nss_nisplus_getntohost_r): Likewise.
55656 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55657 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55658 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55659 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55660 Likewise.
55661 * nis/nss_nisplus/nisplus-initgroups.c
55662 (_nss_nisplus_initgroups_dyn): Likewise.
55663 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55664 (_nss_nisplus_getnetbyaddr_r): Likewise.
55665 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55666 (_nss_nisplus_getprotobynumber_r): Likewise.
55667 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55668 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55669 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55670 Likewise.
55671 * nis/nss_nisplus/nisplus-service.c
55672 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55673 (_nss_nisplus_getservbyport_r): Likewise.
55674 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55675 (_nss_nisplus_getspnam_r): Likewise.
55676 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55677 Likewise.
55678 * nscd/aicache.c (addhstaiX): Likewise.
55679 * nscd/cache.c (cache_search, prune_cache): Likewise.
55680 * nscd/connections.c (register_traced_file, send_ro_fd)
55681 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55682 (main_loop_epoll): Likewise.
55683 * nscd/grpcache.c (addgrbyX): Likewise.
55684 * nscd/hstcache.c (addhstbyX): Likewise.
55685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55686 * nscd/mem.c (gc, mempool_alloc): Likewise.
55687 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55688 (addinnetgrX): Likewise.
55689 * nscd/nscd-client.h (__nscd_acquire_maplock)
55690 (__nscd_drop_map_ref): Likewise.
55691 * nscd/nscd_getai.c (__nscd_getai): Likewise.
55692 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55693 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55694 Likewise.
55695 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55696 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55697 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55698 (__nscd_get_map_ref): Likewise.
55699 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55700 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55701 Likewise.
55702 * nscd/pwdcache.c (addpwbyX): Likewise.
55703 * nscd/selinux.c (preserve_capabilities): Likewise.
55704 * nscd/servicescache.c (addservbyX): Likewise.
55705 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55706 * posix/fnmatch.c (fnmatch): Likewise.
55707 * posix/getopt.c (_getopt_internal_r): Likewise.
55708 * posix/glob.c (glob, glob_in_dir): Likewise.
55709 * posix/wordexp.c (exec_comm_child): Likewise.
55710 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55711 (getanswer_r, gaih_getanswer_slice): Likewise.
55712 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55713 * resolv/res_init.c: Likewise.
55714 * resolv/res_mkquery.c (res_nmkquery): Likewise.
55715 * resolv/res_query.c (__libc_res_nquery): Likewise.
55716 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55717 Likewise.
55718 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
55719 * stdio-common/perror.c (perror): Likewise.
55720 * stdio-common/printf_fp.c (___printf_fp): Likewise.
55721 * stdio-common/tmpnam.c (tmpnam): Likewise.
55722 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55723 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
55724 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
55725 Likewise.
55726 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
55727 * stdlib/putenv.c (putenv): Likewise.
55728 * stdlib/setenv.c (__add_to_environ): Likewise.
55729 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55730 * stdlib/strtol_l.c (INTERNAL): Likewise.
55731 * string/memmem.c (memmem): Likewise.
55732 * string/strerror.c (strerror): Likewise.
55733 * string/strnlen.c (__strnlen): Likewise.
55734 * string/test-memmem.c (simple_memmem): Likewise.
55735 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
55736 * sunrpc/pm_getport.c (__get_socket): Likewise.
55737 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
55738 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
55739 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
55740 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
55741 Likewise.
55742 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
55743 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
55744 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
55745 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
55746 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
55747 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
55748 Likewise.
55749 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
55750 Likewise.
55751 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
55752 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
55753 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55754 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
55755 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
55756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
55757 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
55758 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
55759 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
55760 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
55761 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55762 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
55763 Likewise.
55764 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
55765 Likewise.
55766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
55767 Likewise.
55768 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
55769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
55771 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
55772 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
55773 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
55774 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
55776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
55777 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
55778 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
55779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55780 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55781 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
55782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55783 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
55784 Likewise.
55785 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
55786 Likewise.
55787 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
55788 Likewise.
55789 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
55790 Likewise.
55791 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55793 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
55794 Likewise.
55795 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
55796 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
55797 * sysdeps/posix/opendir.c (__opendirat): Likewise.
55798 * sysdeps/posix/sleep.c: Likewise.
55799 * sysdeps/posix/tempname.c: Likewise.
55800 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
55801 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55802 Likewise.
55803 * sysdeps/powerpc/powerpc32/dl-machine.h
55804 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
55805 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55807 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
55808 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
55809 Likewise.
55810 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
55811 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
55812 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55813 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
55814 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55815 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
55816 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
55817 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
55818 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55819 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
55820 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
55821 (elf_machine_lazy_rel): Likewise.
55822 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
55824 (elf_machine_lazy_rel): Likewise.
55825 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
55826 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
55827 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
55828 * sysdeps/unix/grantpt.c (grantpt): Likewise.
55829 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
55830 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
55831 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
55832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55833 Likewise.
55834 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
55835 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
55836 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
55837 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
55838 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55839 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55840 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
55841 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
55842 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
55843 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55844 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55845 Likewise.
55846 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
55847 (__posix_fallocate64_l64): Likewise.
55848 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
55849 (posix_fallocate): Likewise.
55850 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
55851 Likewise.
55852 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55853 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
55854 (getifaddrs_internal): Likewise.
55855 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
55856 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
55857 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
55858 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
55859 * sysdeps/unix/sysv/linux/posix_fallocate64.c
55860 (__posix_fallocate64_l64): Likewise.
55861 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
55862 Likewise.
55863 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
55864 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
55865 (__get_clockfreq): Likewise.
55866 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
55867 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
55868 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
55869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55871 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
55872 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
55873 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
55874 Likewise.
55875 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
55876 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
55877 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
55878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
55879 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55880 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
55881 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
55882 Likewise.
55883 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55884 (posix_fallocate): Likewise.
55885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55886 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
55887 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
55888 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
55889 (elf_machine_rela, elf_machine_rela_relative)
55890 (elf_machine_lazy_rel): Likewise.
55891 * time/asctime.c (asctime_internal): Likewise.
55892 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
55893 * time/tzset.c (__tzset_parse_tz): Likewise.
55894 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
55895 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
55896 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
55897 * wcsmbs/wcsmbsload.h: Likewise.
55898
55899 [BZ #15894]
55900 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
55901
55902 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
55903 (arena_get2): Remove THREAD_STATS conditionals.
55904 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
55905 (__malloc_stats, int): Likewise.
55906
55907 2014-02-08 Mike Frysinger <vapier@gentoo.org>
55908
55909 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
55910 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
55911
55912 * manual/setjmp.texi: Fix typos/grammar errors.
55913
55914 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
55915 Only return early when n is <= 0. Delete unused return statement.
55916
55917 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
55918 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
55919 * debug/tst-longjmp_chk3.c: New file.
55920
55921 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
55922 (test_main): Replace code with set_fortify_handler call.
55923 * debug/test-strcpy_chk.c: Likewise.
55924 * debug/tst-chk1.c: Likewise.
55925 * debug/tst-longjmp_chk.c: Likewise.
55926 * test-skeleton.c: Include fcntl.h & paths.h
55927 (set_fortify_handler): Define.
55928
55929 * debug/tst-longjmp_chk.c: Add header comment and include
55930 ../test-skeleton.c.
55931 (do_test): Mark static.
55932 (TEST_FUNCTION): Define.
55933
55934 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
55935 (IP_PMTUDISC_INTERFACE): Likewise.
55936 (IP_MULTICAST_IF): Likewise.
55937 (IP_MULTICAST_TTL): Likewise.
55938 (IP_MULTICAST_LOOP): Likewise.
55939 (IP_ADD_MEMBERSHIP): Likewise.
55940 (IP_DROP_MEMBERSHIP): Likewise.
55941 (IP_UNBLOCK_SOURCE): Likewise.
55942 (IP_BLOCK_SOURCE): Likewise.
55943 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
55944 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
55945 (IP_MSFILTER): Likewise.
55946 (MCAST_JOIN_GROUP): Likewise.
55947 (MCAST_BLOCK_SOURCE): Likewise.
55948 (MCAST_UNBLOCK_SOURCE): Likewise.
55949 (MCAST_LEAVE_GROUP): Likewise.
55950 (MCAST_JOIN_SOURCE_GROUP): Likewise.
55951 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
55952 (MCAST_MSFILTER): Likewise.
55953 (IP_MULTICAST_ALL): Likewise.
55954 (IP_UNICAST_IF): Likewise.
55955
55956 * timezone/Makefile: Delete $(have-ksh) check.
55957 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
55958 * timezone/tzselect.ksh: Add +x mode bits.
55959
55960 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
55961 (ANON_INODE_FS_MAGIC): Likewise.
55962 (BDEVFS_MAGIC): Likewise.
55963 (BINFMTFS_MAGIC): Likewise.
55964 (BTRFS_TEST_MAGIC): Likewise.
55965 (CRAMFS_MAGIC_WEND): Likewise.
55966 (DEBUGFS_MAGIC): Likewise.
55967 (ECRYPTFS_SUPER_MAGIC): Likewise.
55968 (EXT3_SUPER_MAGIC): Likewise.
55969 (EXT4_SUPER_MAGIC): Likewise.
55970 (FUTEXFS_SUPER_MAGIC): Likewise.
55971 (HOSTFS_SUPER_MAGIC): Likewise.
55972 (HUGETLBFS_MAGIC): Likewise.
55973 (MINIX3_SUPER_MAGIC): Likewise.
55974 (MTD_INODE_FS_MAGIC): Likewise.
55975 (NILFS_SUPER_MAGIC): Likewise.
55976 (OPENPROM_SUPER_MAGIC): Likewise.
55977 (PIPEFS_MAGIC): Likewise.
55978 (PSTOREFS_MAGIC): Likewise.
55979 (QNX6_SUPER_MAGIC): Likewise.
55980 (RAMFS_MAGIC): Likewise.
55981 (REISERFS_SUPER_MAGIC_STRING): Likewise.
55982 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
55983 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
55984 (SECURITYFS_MAGIC): Likewise.
55985 (SELINUX_MAGIC): Likewise.
55986 (SMACK_MAGIC): Likewise.
55987 (SOCKFS_MAGIC): Likewise.
55988 (SQUASHFS_MAGIC): Likewise.
55989 (STACK_END_MAGIC): Likewise.
55990 (TMPFS_MAGIC): Likewise.
55991 (USBDEVICE_SUPER_MAGIC): Likewise.
55992 (V9FS_MAGIC): Likewise.
55993 (XENFS_SUPER_MAGIC): Likewise.
55994 (CRAMFS_MAGIC): Fix typo in comment.
55995 (EXT2_SUPER_MAGIC): Update comment.
55996 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
55997
55998 2014-02-08 Joseph Myers <joseph@codesourcery.com>
55999
56000 * sysdeps/arm: Move directory from ports/sysdeps/arm.
56001 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56002 * sysdeps/unix/sysv/linux/arm: Move directory from
56003 ports/sysdeps/unix/sysv/linux/arm.
56004 * README: Update listing for arm-*-linux-gnueabi.
56005
56006 * README: Remove mention of am33.
56007
56008 2014-02-07 Roland McGrath <roland@hack.frob.com>
56009
56010 * bits/sigset.h (__sigemptyset): Use a statement expression rather
56011 than the comma operator, to avoid "rhs of comma has no effect"
56012 compiler warnings.
56013 (__sigfillset, __sigandset, __sigorset): Likewise.
56014 * include/signal.h (__sigemptyset): Likewise.
56015 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56016
56017 2014-02-07 Allan McRae <allan@archlinux.org>
56018
56019 * version.h (RELEASE): Set to "development".
56020 (VERSION): Set to "2.19.90"
56021 * NEWS: Add 2.20 section.
56022
56023 2014-02-06 Carlos O'Donell <carlos@redhat.com>
56024
56025 [BZ #16529]
56026 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56027
56028 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
56029
56030 * manual/contrib.texi: Update entry for Carlos O'Donell,
56031 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56032
56033 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
56034
56035 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56036
56037 * sysdeps/unix/sysv/linux/kernel-features.h
56038 [__LINUX_KERNEL_VERSION >= 0x020621]
56039 (__ASSUME_PROC_PID_TASK_COMM): Define.
56040
56041 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
56042
56043 [BZ #16398]
56044 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56045 conversion when destination buffer does not have enough space.
56046 * libio/tst-ftell-partial-wide.c: New test case.
56047 * libio/Makefile (tests): Add tst-ftell-partial-wide.
56048
56049 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56050 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
56051 Leonard and Allan McRae.
56052
56053 2014-02-04 David S. Miller <davem@davemloft.net>
56054
56055 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56056 32-bit.
56057
56058 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56059
56060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56061 New file
56062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56063 New file
56064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56065 New file.
56066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56067 New file.
56068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56069 New file.
56070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56071 New file.
56072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56073 New file.
56074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56075 New file.
56076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56077 New file.
56078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56079 New file.
56080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56081 New file.
56082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56083 New file.
56084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56085 New file.
56086
56087 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56088
56089 * nptl/shlib-versions: Change powerpc*le start to 2.17.
56090 * shlib-versions: Likewise.
56091
56092 2014-02-04 Roland McGrath <roland@hack.frob.com>
56093 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56094
56095 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56096 (abilist-pattern): New variable, set to %-le.abilist.
56097
56098 * Makerules (abilist-pattern): New variable.
56099 (vpath): Use $(abilist-pattern) in place of %.abilist.
56100 (check-abi-% pattern rule): Likewise.
56101 (check-abi, update-abi): Likewise.
56102
56103 2014-02-04 Eric Wong <normalperson@yhbt.net>
56104
56105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56106
56107 2014-02-03 Carlos O'Donell <carlos@redhat.com>
56108
56109 * manual/startup.texi: Add next, previous, and top entries for
56110 the `Program Arguments' and `Environment Variables' nodes.
56111
56112 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
56113
56114 * manual/macros.texi: Add comments before MTASC-safety macros.
56115
56116 * manual/users.texi: Document MTASC-safety properties.
56117
56118 * manual/threads.texi (pthread_key_create, pthread_key_delete)
56119 (pthread_getspecific, pthread_setspecific): Format with
56120 @deftypefun, and add @safety note.
56121 * manual/signal.texi: Move comments that analyze the above
56122 functions to their home place.
56123
56124 2014-02-03 Allan McRae <allan@archlinux.org>
56125
56126 * po/sl.po: Update Slovenian translation from translation project.
56127
56128 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
56129
56130 * manual/time.texi (timegm): Add missing blank after @c.
56131 Reported by Joseph Myers <joseph@codesourcery.com>.
56132
56133 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
56134
56135 * manual/check-safety.sh: New.
56136 * manual/Makefile ($(objpfx)stamp-summary): Run it.
56137
56138 * manual/terminal.texi: Document MTASC-safety properties.
56139
56140 * manual/filesys.texi: Document MTASC-safety properties.
56141
56142 * manual/errno.texi: Document MTASC-safety properties.
56143
56144 * manual/intro.texi: Document safety identifiers and
56145 conditionals.
56146
56147 * manual/string.texi (wcstok): Fix prototype.
56148 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56149
56150 * manual/time.texi: Document MTASC-safety properties.
56151
56152 * manual/string.texi: Document MTASC-safety properties.
56153
56154 * manual/threads.texi: Document MTASC-safety properties.
56155
56156 * manual/stdio.texi: Document MTASC-safety properties.
56157
56158 * manual/syslog.texi: Document MTASC-safety properties.
56159
56160 * manual/sysinfo.texi: Document MTASC-safety properties.
56161
56162 * manual/startup.texi: Document MTASC-safety properties.
56163
56164 * manual/socket.texi: Document MTASC-safety properties.
56165
56166 * manual/signal.texi: Document MTASC-safety properties.
56167
56168 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
56169
56170 * manual/setjmp.texi: Document MTASC-safety properties.
56171
56172 * manual/search.texi: Document MTASC-safety properties.
56173
56174 * manual/resource.texi: Document MTASC-safety properties.
56175
56176 * manual/process.texi: Document MTASC-safety properties.
56177
56178 * manual/platform.texi: Document MTASC-safety properties.
56179
56180 * manual/pipe.texi: Document MTASC-safety properties.
56181
56182 * manual/pattern.texi: Document MTASC-safety properties.
56183
56184 * manual/message.texi: Document MTASC-safety properties.
56185
56186 [BZ #12751]
56187 * manual/memory.texi: Document MTASC-safety properties.
56188
56189 * manual/math.texi: Document MTASC-safety properties.
56190
56191 * manual/locale.texi: Document MTASC-safety properties.
56192
56193 * manual/llio.texi: Document MTASC-safety properties.
56194
56195 * manual/libdl.texi: New.
56196
56197 * manual/lang.texi: Document MTASC-safety properties.
56198
56199 * manual/job.texi: Document MTASC-safety properties.
56200
56201 * manual/getopt.texi: Document MTASC-safety properties.
56202
56203 * manual/ctype.texi: Document MTASC-safety properties.
56204
56205 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
56206
56207 [BZ #16046]
56208 * csu/libc-tls.c (static_map): Remove variable.
56209 (__libc_setup_tls): Use main executable's link map for TLS data.
56210 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56211 casing for LM_ID_BASE and GL(dl_nns).
56212 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56213 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
56214 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56215 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56216 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56217 member.
56218 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56219 l_phnum members.
56220
56221 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
56222
56223 * manual/debug.texi: Document MTASC-safety properties.
56224
56225 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
56226
56227 [BZ #16510]
56228 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56229 of __x86_64__ when disabling x87 inline functions.
56230
56231 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
56232
56233 * manual/charset.texi: Document MTASC-safety properties.
56234
56235 * manual/crypt.texi: Document MTASC-safety properties.
56236
56237 * manual/conf.texi: Document MTASC-safety properties.
56238
56239 * manual/arith.texi: Document MTASC-safety properties.
56240
56241 * manual/argp.texi: Document MTASC-safety properties.
56242
56243 * manual/macros.texi: Introduce macros to document multi
56244 thread, asynchronous signal and asynchronous cancellation
56245 safety properties.
56246 * manual/intro.texi: Introduce the properties themselves.
56247
56248 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56249
56250 * sysdeps/sh/sh4/Makefile: New file.
56251
56252 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
56253
56254 * math/gen-libm-test.pl ($srcdir): New variable.
56255 ($auto_input): Use it.
56256
56257 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56258
56259 [BZ #16506]
56260 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56261 access beyond array bounds when parsing netgroups file.
56262
56263 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56264 the old buffer before realloc.
56265
56266 2014-01-27 Allan McRae <allan@archlinux.org>
56267
56268 * po/fr.po: Update French translation from translation project.
56269
56270 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56271
56272 * sysdeps/sh/libm-test-ulps: Regenerate.
56273
56274 2014-01-24 David S. Miller <davem@davemloft.net>
56275
56276 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56277
56278 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56279
56280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56281 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56282
56283 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
56284
56285 [BZ #16474]
56286 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56287 string pointers after reallocation.
56288
56289 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56290
56291 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56292 __SH4A__ instead of __SH_FPU_ANY__.
56293
56294 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56295
56296 * sysdeps/sh/fpu_control.h: New file.
56297 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56298 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56299 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56300 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56301 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56302 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56303 * sysdeps/sh/sys/ucontext.h: Remove.
56304 * sysdeps/sh/sys: Remove directory.
56305
56306 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56307
56308 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56309 s390/sys/ucontext.h.
56310 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56311 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56312
56313 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
56314
56315 [BZ #15605]
56316 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56317
56318 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56319
56320 [BZ #16431]
56321 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56322 Adjust the vDSO correctly for internal calls.
56323 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56324
56325 2014-01-20 Allan McRae <allan@archlinux.org>
56326
56327 * po/ca.po: Update Catalan translation from translation project.
56328
56329 2014-01-16 Mike Frysinger <vapier@gentoo.org>
56330
56331 * sysdeps/s390/sotruss-lib.c: New file.
56332
56333 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56334
56335 [BZ #16430]
56336 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56337 (__GI___gettimeofday): Alias for a different internal symbol to avoid
56338 local calls issues by not having a PLT stub required for IFUNC calls.
56339 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56340
56341 2014-01-16 Joseph Myers <joseph@codesourcery.com>
56342
56343 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56344 * math/test-fpucw-static.c: Likewise.
56345
56346 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56347
56348 [BZ #16453]
56349 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56350
56351 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56352
56353 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56354 implementation for powerpc.
56355
56356 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
56357
56358 [BZ #14782]
56359 * sysdeps/posix/system.c (__libc_system): Do not enable
56360 asynchronous cancellation.
56361
56362 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56363
56364 [BZ #16427]
56365 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56366 handling only for numbers special also in the IEEE case.
56367
56368 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56369
56370 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56371
56372 2014-01-11 Allan McRae <allan@archlinux.org>
56373
56374 * po/bg.po: Update Bulgarian translation from translation project.
56375
56376 * po/de.po: Update German translation from translation project.
56377
56378 2014-01-10 Roland McGrath <roland@hack.frob.com>
56379
56380 * sysdeps/generic/gcc-compat.h: New file.
56381
56382 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56383
56384 * benchtests/asin-inputs: Correct slow inputs.
56385 * benchtests/acos-inputs: Likewise.
56386
56387 2014-01-10 Allan McRae <allan@archlinux.org>
56388
56389 * po:sv.po: Update Swedish translation from translation project.
56390
56391 * po/vi.po: Update Vietnamese translation from translation project.
56392
56393 * po/eo.po: Update Esperanto translation from translation project.
56394
56395 * po/cs.po: Update Czech translation from translation project.
56396
56397 * po/nl.po: Update Dutch translation from translation project.
56398
56399 * po/pl.po: Update Polish translation from translation project.
56400
56401 * po/ru.po: Update Russian translation from translation project.
56402
56403 * po/uk.po: Update Ukrainian translation from translation project.
56404
56405 2014-01-08 Brooks Moses <bmoses@google.com>
56406
56407 * elf/dl-load.c: Fix comment typo.
56408
56409 2014-01-08 Carlos O'Donell <carlos@redhat.com>
56410
56411 * po/header.pot: Rename to...
56412 * po/pot.header: ... this.
56413 * po/Makefile: Use pot.header.
56414
56415 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
56416 Maxim Kuvyrkov <maxim@kugelworks.com>
56417
56418 [BZ #16394]
56419 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56420 SRC and DEST against LEN.
56421
56422 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56423
56424 [BZ #16414]
56425 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56426 implementation.
56427 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56428
56429 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56430
56431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56432
56433 2014-01-08 Joseph Myers <joseph@codesourcery.com>
56434
56435 [BZ #16408]
56436 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56437 for large positive arguments.
56438
56439 2014-01-07 Joseph Myers <joseph@codesourcery.com>
56440
56441 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56442
56443 * math/auto-libm-test-in: Mark various tests with
56444 xfail-rounding:ldbl-128ibm.
56445 * math/auto-libm-test-out: Regenerated.
56446
56447 [BZ #16407]
56448 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56449 Increase overflow threshold.
56450
56451 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
56452
56453 [BZ #14286]
56454 * stdio-common/vfprintf.c: Check for integer overflow.
56455
56456 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56457
56458 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56459 the first argument and return value of __tls_get_addr_internal.
56460
56461 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56462
56463 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56464 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56465
56466 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56467
56468 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56469 * sysdeps/s390/rtld-global-offsets.sym: New file.
56470 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56471 GLIBC_2.19 symbol.
56472 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56473 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56474 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56475 ... this.
56476 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56477 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56478 ... this.
56479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56480 Regenerate.
56481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56482 Regenerate.
56483 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56484 halfs of GPRs for high_gprs contexts.
56485 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56486 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
56487 field.
56488 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56489 uc_flags field.
56490 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56491 64 bit versions:
56492 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56493 for high GPRs (uc_high_gprs) and for future extensions
56494 (__reserved).
56495 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56496 for future extensions (__reserved).
56497 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56498 64 bit versions:
56499 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56500 SC_HIGHGPRS offset definition.
56501 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56502 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56503
56504 * Versions.def: Add GLIBC_2.19 for libpthread.
56505 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56506 siglongjmp for libpthread with GLIBC_2.19 symver.
56507 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56508 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56509 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56510 * sysdeps/s390/__longjmp.c: New file.
56511 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56512 * sysdeps/s390/longjmp.c: New file.
56513 * sysdeps/s390/setjmp.S: New file.
56514 * sysdeps/s390/sigjmp.S: New file.
56515 * sysdeps/s390/v1-longjmp.c: New file.
56516 * sysdeps/s390/v1-setjmp.h: New file.
56517 * sysdeps/s390/v1-sigjmp.c: New file.
56518 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56519 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56520 GLIBC_2.19 version.
56521 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56522 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56523 versioned symbols for ____longjmp_chk.
56524 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56525 Likewise.
56526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56527 Regenerate.
56528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56529 Regenerate.
56530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56531 Regenerate.
56532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56533 Regenerate.
56534 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56535 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56536 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56537 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56538 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56539 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56540 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56541 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56542 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56543 * sysdeps/s390/rtld-__longjmp.c: New file.
56544 * sysdeps/s390/rtld-setjmp.S: New file.
56545
56546 2014-01-06 Joseph Myers <joseph@codesourcery.com>
56547
56548 [BZ #16400]
56549 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56550 Return -__logl (x) for small positive arguments without evaluating
56551 a polynomial.
56552
56553 2014-01-06 Mike Frysinger <vapier@gentoo.org>
56554
56555 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56556 Rename to ...
56557 (__ptrace_peeksiginfo_args): ... this.
56558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56561
56562 2014-01-06 Allan McRae <allan@archlinux.org>
56563
56564 * inet/netinet/in.h: Fix typo in comment.
56565
56566 2014-01-05 Andreas Jaeger <aj@suse.de>
56567
56568 * sysdeps/i386/fpu/libm-test-ulps: Update.
56569
56570 2014-01-05 Allan McRae <allan@archlinux.org>
56571
56572 * po/libc.pot: Regenerated.
56573
56574 * malloc/memusagestat.c: Fix gettext call formatting.
56575
56576 2014-01-04 Sami Kerola <kerolasa@iki.fi>
56577
56578 * nscd/nscd.c: Improve usage() output.
56579
56580 2014-01-04 Mike Frysinger <vapier@gentoo.org>
56581
56582 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56583 * sysdeps/unix/sysv/linux/configure: Regenerated.
56584 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56585 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56586
56587 2014-01-03 Joseph Myers <joseph@codesourcery.com>
56588
56589 [BZ #16390]
56590 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56591 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56592
56593 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56594
56595 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56596 extra tokens at end of #undef directive.
56597 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56598 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56599 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56600
56601 2014-01-03 Joseph Myers <joseph@codesourcery.com>
56602
56603 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56604
56605 * math/auto-libm-test-in: Mark various tests with
56606 xfail-rounding:ldbl-128ibm.
56607 * math/auto-libm-test-out: Regenerated.
56608
56609 2014-01-02 Joseph Myers <joseph@codesourcery.com>
56610
56611 [BZ #16386]
56612 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56613 numbers with subnormal high part when calculating exponent.
56614
56615 [BZ #16385]
56616 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56617 fabs.
56618
56619 [BZ #16384]
56620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56621 M_LN2l.
56622 (__ieee754_acoshl): Use __log1pl not __log1p.
56623
56624 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
56625
56626 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56627 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56628 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56629 (grow_heap, heap_trim, _int_new_arena, get_free_list)
56630 (reused_arena, arena_get2): Convert to GNU style.
56631 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56632 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56633 (memalign_check, __malloc_set_state): Likewise.
56634 * malloc/mallocbug.c (main): Likewise.
56635 * malloc/malloc.c (__malloc_assert, malloc_init_state)
56636 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56637 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56638 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56639 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56640 (__posix_memalign, malloc_info): Likewise.
56641 * malloc/malloc.h: Likewise.
56642 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56643 (mallochook, memalignhook, reallochook, mabort): Likewise.
56644 * malloc/mcheck.h: Likewise.
56645 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56646 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56647 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56648 * malloc/morecore.c (__default_morecore): Likewise.
56649 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56650 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56651 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56652 (print_and_abort): Likewise.
56653 * malloc/obstack.h: Likewise.
56654 * malloc/set-freeres.c (__libc_freeres): Likewise.
56655 * malloc/tst-mallocstate.c (main): Likewise.
56656 * malloc/tst-mtrace.c (main): Likewise.
56657 * malloc/tst-realloc.c (do_test): Likewise.
56658
56659 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
56660
56661 [BZ #16366]
56662 * nscd/netgroupcache.c (do_notfound): New function.
56663 (addgetnetgrentX): Use it.
56664
56665 [BZ # 16365]
56666 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56667 NSS_STATUS_NOTFOUND.
56668
56669 2014-01-01 Joseph Myers <joseph@codesourcery.com>
56670
56671 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56673
56674 2014-01-01 Allan McRae <allan@archlinux.org>
56675
56676 * scripts/update-copyrights: Update configure input file suffix.
56677
56678 * NEWS: Update copyright year.
56679 * catgets/gencat.c: Likewise.
56680 * csu/version.c: Likewise.
56681 * debug/catchsegv.sh: Likewise.
56682 * debug/pcprofiledump.c: Likewise.
56683 * debug/xtrace.sh: Likewise.
56684 * elf/ldconfig.c: Likewise.
56685 * elf/ldd.bash.in: Likewise.
56686 * elf/pldd.c: Likewise.
56687 * elf/sotruss.ksh: Likewise.
56688 * elf/sprof.c: Likewise.
56689 * iconv/iconv_prog.c: Likewise.
56690 * iconv/iconvconfig.c: Likewise.
56691 * locale/programs/locale.c: Likewise.
56692 * locale/programs/localedef.c: Likewise.
56693 * login/programs/pt_chown.c: Likewise.
56694 * malloc/memusage.sh: Likewise.
56695 * malloc/memusagestat.c: Likewise.
56696 * malloc/mtrace.pl: Likewise.
56697 * manual/libc.texinfo: Likewise.
56698 * nscd/nscd.c: Likewise.
56699 * nss/getent.c: Likewise.
56700 * nss/makedb.c: Likewise.
56701 * posix/getconf.c: Likewise.
56702 * scripts/test-installation.pl: Likewise.
56703
56704 * All files with FSF copyright notices: Update copyright dates
56705 using scripts/update-copyrights.
56706 * intl/plural.c: Regenerated.
56707 * locale/programs/charmap-kw.h: Likewise.
56708 * locale/programs/locfile-kw.h: Likewise.
56709
56710 2013-12-31 Mike Frysinger <vapier@gentoo.org>
56711
56712 * sysdeps/unix/sysv/linux/configure: Regenerated.
56713 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56714 the linux/fanotify.h header.
56715 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56716 HAVE_LINUX_FANOTIFY_H is defined.
56717
56718 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
56719
56720 * benchtests/cos-inputs: New inputs.
56721 * benchtests/sin-inputs: Likewise.
56722
56723 * benchtests/atan-inputs: New inputs. Fix name of multiple
56724 precision fallback inputs.
56725
56726 * benchtests/atanh-inputs: New inputs.
56727 * benchtests/tanh-inputs: Likewise.
56728
56729 * benchtests/acosh-inputs: New inputs.
56730 * benchtests/asinh-inputs: Likewise.
56731
56732 * benchtests/cosh-inputs: New inputs.
56733 * benchtests/sinh-inputs: Likewise.
56734
56735 * benchtests/acos-inputs: Add more inputs.
56736 * benchtests/asin-inputs: Likewise.
56737
56738 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
56739
56740 [BZ #16375]
56741 * manual/arith.texi: Fix spelling.
56742 * manual/charset.texi: Likewise.
56743 * manual/errno.texi: Likewise.
56744 * manual/filesys.texi: Likewise.
56745 * manual/lang.texi: Likewise.
56746 * manual/llio.texi: Likewise.
56747 * manual/locale.texi: Likewise.
56748 * manual/message.texi: Likewise.
56749 * manual/resource.texi: Likewise.
56750 * manual/search.texi: Likewise.
56751 * manual/setjmp.texi: Likewise.
56752 * manual/stdio.texi: Likewise.
56753 * manual/string.texi: Likewise.
56754 * manual/sysinfo.texi: Likewise.
56755 * manual/time.texi: Likewise.
56756
56757 2013-12-27 Carlos O'Donell <carlos@redhat.com>
56758
56759 * po/sl.po: New file.
56760
56761 2013-12-27 Mike Frysinger <vapier@gentoo.org>
56762
56763 * .gitignore: Add core/.gdbinit/.gdb_history.
56764
56765 2013-12-27 Allan McRae <allan@archlinux.org>
56766
56767 [BZ #16369]
56768 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
56769 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
56770
56771 2013-12-24 Brooks Moses <bmoses@google.com>
56772
56773 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
56774 all compilers that claim C++98 compliance, not just GCC.
56775 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
56776 Likewise.
56777
56778 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
56779
56780 * NEWS: Restore accidentally deleted bug-fix entries.
56781
56782 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
56783 Ondřej Bílka <neleai@seznam.cz>
56784
56785 [BZ #15073]
56786 * malloc/malloc.c (_int_free): Perform sanity check only if we
56787 have_lock.
56788
56789 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
56790
56791 [BZ #12986]
56792 * manual/stdio.texi (String Input Conversions): Clarify that character
56793 classes are not supported.
56794
56795 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56796
56797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56798
56799 2013-12-22 Joseph Myers <joseph@codesourcery.com>
56800
56801 [BZ #16337]
56802 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56803 Calculate results for small negative arguments directly rather
56804 than using reflection formula with special underflow handling.
56805
56806 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
56807 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
56808 sysdeps/unix/bsd/bsd4.4/syscalls.list.
56809 (fchflags): Likewise.
56810 (revoke): Likewise.
56811 (setlogin): Likewise.
56812 (sigaltstack): Likewise.
56813 (wait4): Likewise.
56814 (sigblock): Remove.
56815 (sigsetmask): Likewise.
56816 (wait3): Likewise.
56817 (waitpid): Likewise.
56818 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
56819 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
56820 file.
56821 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
56822 * sysdeps/unix/bsd/Makefile: ... here.
56823 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
56824 * sysdeps/unix/bsd/Versions: ... here.
56825 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
56826 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
56827 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
56828 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
56829 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
56830 * sysdeps/unix/bsd/sigblock.c: ... here.
56831 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
56832 * sysdeps/unix/bsd/sigsetmask.c: ... here.
56833 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
56834 * sysdeps/unix/bsd/sigvec.c: ... here.
56835 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
56836 * sysdeps/unix/bsd/tcdrain.c: ... here.
56837 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
56838 * sysdeps/unix/bsd/tcgetattr.c: ... here.
56839 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
56840 * sysdeps/unix/bsd/tcsetattr.c: ... here.
56841 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
56842 * sysdeps/unix/bsd/wait.c: ... here.
56843 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
56844 * sysdeps/unix/bsd/wait3.c: ... here.
56845 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
56846 * sysdeps/unix/bsd/waitpid.c: ... here.
56847
56848 2013-12-21 Joseph Myers <joseph@codesourcery.com>
56849
56850 [BZ #16356]
56851 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
56852 round-to-nearest for [!USE_AS_EXPM1L].
56853 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
56854 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
56855 more tests of exp and exp10. Expect some exp10 tests to miss
56856 exceptions or fail in directed rounding modes.
56857 * math/auto-libm-test-out: Regenerated.
56858 * math/libm-test.inc (exp10_tonearest_test_data): New array.
56859 (exp10_test_tonearest): New function.
56860 (exp10_towardzero_test_data): New array.
56861 (exp10_test_towardzero): New function.
56862 (exp10_downward_test_data): New array.
56863 (exp10_test_downward): New function.
56864 (exp10_upward_test_data): New array.
56865 (exp10_test_upward): New function.
56866 (main): Call the new functions.
56867 * sysdeps/i386/fpu/libm-test-ulps: Update.
56868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56869
56870 2013-12-20 Joseph Myers <joseph@codesourcery.com>
56871
56872 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
56873 asinh, atan, atan2, atanh, cbrt, cos and cosh.
56874 * math/auto-libm-test-out: Regenerated.
56875 * math/libm-test.inc (acosh_test_data): Add more tests.
56876 (atanh_test_data): Likewise.
56877 (ceil_test_data): Likewise.
56878 (copysign_test_data): Likewise.
56879 * sysdeps/i386/fpu/libm-test-ulps: Update.
56880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56881
56882 * timezone/checktab.awk: Update from tzcode 2013i.
56883 * timezone/private.h: Likewise.
56884 * timezone/scheck.c: Likewise.
56885 * timezone/tzfile.h: Likewise.
56886 * timezone/tzselect.ksh: Likewise.
56887 * timezone/zdump.c: Likewise.
56888 * timezone/zic.c: Likewise.
56889
56890 * math/auto-libm-test-in: Add tests of cpow.
56891 * math/auto-libm-test-out: Regenerated.
56892 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
56893 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56894 mpc_cc_c.
56895 (func_calc_desc): Add mpc_cc_c union field.
56896 (test_functions): Add cpow.
56897 (special_fill_2pi): New function.
56898 (special_real_inputs): Add 2pi.
56899 (calc_generic_results): Handle mpc_cc_c.
56900 * sysdeps/i386/fpu/libm-test-ulps: Update.
56901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56902
56903 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
56904 csqrt, ctan and ctanh.
56905 * math/auto-libm-test-out: Regenerated.
56906 * math/libm-test.inc (TEST_COND_x86_64): New macro.
56907 (TEST_COND_x86): Likewise.
56908 (ccos_test_data): Use AUTO_TESTS_c_c.
56909 (ccosh_test_data): Likewise.
56910 (cexp_test_data): Likewise.
56911 (clog_test_data): Likewise.
56912 (csqrt_test_data): Likewise.
56913 (ctan_test_data): Likewise.
56914 (ctan_tonearest_test_data): Likewise.
56915 (ctan_towardzero_test_data): Likewise.
56916 (ctan_downward_test_data): Likewise.
56917 (ctan_upward_test_data): Likewise.
56918 (ctanh_test_data): Likewise.
56919 (ctanh_tonearest_test_data): Likewise.
56920 (ctanh_towardzero_test_data): Likewise.
56921 (ctanh_downward_test_data): Likewise.
56922 (ctanh_upward_test_data): Likewise.
56923 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56924 mpc_c_c.
56925 (func_calc_desc): Add mpc_c_c union field.
56926 (FUNC_mpc_c_c): New macro.
56927 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
56928 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
56929 ctanh.
56930 (special_fill_min_subnorm_p120): New function.
56931 (special_real_inputs): Add min_subnorm_p120.
56932 (calc_generic_results): Handle mpc_c_c.
56933 * sysdeps/i386/fpu/libm-test-ulps: Update.
56934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56935
56936 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
56937
56938 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
56939 (do_sin_slow): New functions.
56940 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
56941 (cslow2, csloww1, csloww2): Use the new functions.
56942
56943 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
56944 Use M to change sign of result instead of X. Assume X is
56945 positive.
56946 (csloww1): Likewise.
56947 (__sin): Adjust.
56948 (__cos): Adjust.
56949
56950 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
56951 arguments A and DA.
56952 (__sin): Adjust.
56953 (__cos): Likewise.
56954
56955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
56956 (__cos): Likewise.
56957 (sloww1): Don't adjust sign of DX.
56958 (csloww1): Likewise.
56959 (sloww2): Use X directly and don't adjust sign of DX.
56960 (csloww2): Likewise.
56961
56962 2013-12-19 Joseph Myers <joseph@codesourcery.com>
56963
56964 * math/auto-libm-test-in: Add tests of cabs and carg.
56965 * math/auto-libm-test-out: Regenerated.
56966 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
56967 (carg_test_data): Likewise.
56968 * math/gen-auto-libm-tests.c (func_calc_method): Add value
56969 mpc_c_f.
56970 (func_calc_desc): Add mpc_c_f union field.
56971 (test_functions): Add cabs and carg.
56972 (calc_generic_results): Handle mpc_c_f.
56973
56974 * sysdeps/powerpc/powerpc32/libgcc-compat.S
56975 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
56976 as a macro and a compat symbol.
56977 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
56978 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
56979 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
56980 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
56981 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
56982 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
56983 not use .hidden.
56984 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
56985 Likewise.
56986 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
56987 Likewise.
56988 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
56989 Likewise.
56990 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
56991 Likewise.
56992 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
56993 Likewise.
56994 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
56995 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
56996 from GLIBC_2.3.2.
56997
56998 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56999
57000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57001
57002 2013-12-19 Joseph Myers <joseph@codesourcery.com>
57003
57004 * manual/texinfo.tex: Update to version 2013-11-26.10 with
57005 trailing whitespace removed.
57006 * scripts/config.guess: Update to version 2013-11-29.
57007 * scripts/config.sub: Update to version 2013-10-01.
57008
57009 * math/auto-libm-test-in: Add tests of sincos.
57010 * math/auto-libm-test-out: Regenerated.
57011 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57012 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57013 mpfr_f_11.
57014 (func_calc_desc): Add mpfr_f_11 union field.
57015 (test_functions): Add sincos.
57016 (calc_generic_results): Handle mpfr_f_11.
57017 * sysdeps/i386/fpu/libm-test-ulps: Update.
57018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57019
57020 2013-12-19 Andreas Schwab <schwab@suse.de>
57021
57022 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57023 CALL_MCOUNT.
57024 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57025 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57026 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57027
57028 2013-12-19 Joseph Myers <joseph@codesourcery.com>
57029
57030 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57031 * sysdeps/i386/fpu/libm-test-ulps: Update.
57032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57033
57034 [BZ #16293]
57035 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57036 round-to-nearest mode when using frndint.
57037 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57038 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57040 Likewise.
57041 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
57042 sinh test to fail.
57043 * math/auto-libm-test-out: Regenerated.
57044 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57045 (TEST_COND_x86): Likewise.
57046 (expm1_tonearest_test_data): New array.
57047 (expm1_test_tonearest): New function.
57048 (expm1_towardzero_test_data): New array.
57049 (expm1_test_towardzero): New function.
57050 (expm1_downward_test_data): New array.
57051 (expm1_test_downward): New function.
57052 (expm1_upward_test_data): New array.
57053 (expm1_test_upward): New function.
57054 (main): Run the new test functions.
57055 * sysdeps/i386/fpu/libm-test-ulps: Update.
57056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57057
57058 * include/features.h: Update comment documenting feature test
57059 macros. Mention _DEFAULT_SOURCE in comment.
57060 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57061 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57062 _BSD_SOURCE and _SVID_SOURCE.
57063 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57064 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57065 !_SVID_SOURCE]: Likewise.
57066 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57067 (__USE_POSIX_IMPLICITLY): Define.
57068 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57069 (_POSIX_SOURCE): Undefine and redefine.
57070 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57071 (_POSIX_C_SOURCE): Likewise.
57072 * manual/creature.texi (_DEFAULT_SOURCE): Document.
57073 (Feature Test Macros): Update documentation of default features.
57074
57075 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
57076
57077 * benchtests/Makefile: Add bench-strtok.
57078 * benchtests/bench-strtok.c: New file: strtok benchtest.
57079
57080 2013-12-19 Allan McRae <allan@archlinux.org>
57081
57082 * manual/install.texi: Suppress menu for plain text output.
57083 * INSTALL: Regenerated.
57084
57085 2013-12-18 Brooks Moses <bmoses@google.com>
57086
57087 [BZ #15846]
57088 * misc/getauxval.c: Include errno.h.
57089 (__getauxval): Set errno to ENOENT if the requested type is not
57090 found.
57091 * misc/sys/auxv.h (getauxval): Document that it may set errno;
57092 don't declare with __attribute_const__.
57093 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57094 * manual/startup.texi: Document that getauxval sets errno.
57095
57096 2013-12-18 Joseph Myers <joseph@codesourcery.com>
57097
57098 * math/auto-libm-test-in: Add tests of jn and yn.
57099 * math/auto-libm-test-out: Regenerated.
57100 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57101 (yn_test_data): Likewise.
57102 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57103 mpfr_if_f.
57104 (func_calc_desc): Add mpfr_if_f union field.
57105 (FUNC_mpfr_if_f): New macro.
57106 (test_functions): Add jn and yn.
57107 (calc_generic_results): Assert type of second input for
57108 mpfr_ff_f. Handle mpfr_if_f.
57109 (output_for_one_input_case): Disable all checking for arguments
57110 fitting floating-point types in case of an integer argument.
57111 * sysdeps/i386/fpu/libm-test-ulps: Update.
57112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57113
57114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57115 Don't expect fegetround reference in libm.so.
57116
57117 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57118
57119 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57120 $(config-cflags-nofma).
57121
57122 2013-12-18 Joseph Myers <joseph@codesourcery.com>
57123
57124 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57125 * math/auto-libm-test-out: Regenerated.
57126
57127 [BZ #16338]
57128 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57129 to determine exponent and adjust argument to have exponent of -1.
57130 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57131 log2.
57132 * math/auto-libm-test-out: Regenerated.
57133 * sysdeps/i386/fpu/libm-test-ulps: Update.
57134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57135
57136 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
57137
57138 * manual/probes.texi: Remove cases when per-thread arenas are
57139 disabled.
57140
57141 2013-12-18 Andreas Schwab <schwab@suse.de>
57142
57143 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57144 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57145 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57146 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57147 * sysdeps/i386/i686/multiarch/Makefile: Update.
57148 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57149
57150 2013-12-17 Joseph Myers <joseph@codesourcery.com>
57151
57152 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57153 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57154
57155 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
57156
57157 [BZ #15968]
57158 Support TZ transition times < 00:00:00.
57159 This is needed for version-3 tz-format files; it supports time
57160 stamps past 2037 for America/Godthab (the only entry in the tz
57161 database for which this change is relevant).
57162 * manual/time.texi (TZ Variable): Document transition times
57163 from -167:59:59 through -00:00:01.
57164 * time/tzset.c (tz_rule): Time of day is now signed.
57165 (__tzset_parse_tz): Parse negative time of day.
57166
57167 Document TZ transition times >= 25:00:00.
57168 * manual/time.texi (TZ Variable): Document transition times from
57169 25:00:00 through 167:59:59. These are already supported, and this
57170 support will help with version-3 tz-format files.
57171
57172 * manual/time.texi (TZ Variable): Modernize North America example
57173 to reflect current (i.e., 2007-and-later) daylight saving rules.
57174
57175 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57176
57177 2013-12-17 Joseph Myers <joseph@codesourcery.com>
57178
57179 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57180 * sysdeps/unix/bsd/bits/stat.h: Likewise.
57181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57182 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57183 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57184 * sysdeps/unix/bsd/bsdstat.h: Likewise.
57185 * sysdeps/unix/bsd/clock.c: Likewise.
57186 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57187 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57188 * sysdeps/unix/bsd/init-posix.c: Likewise.
57189 * sysdeps/unix/bsd/poll.c: Likewise.
57190 * sysdeps/unix/bsd/ptsname.c: Likewise.
57191 * sysdeps/unix/bsd/seekdir.c: Likewise.
57192 * sysdeps/unix/bsd/setegid.c: Likewise.
57193 * sysdeps/unix/bsd/seteuid.c: Likewise.
57194 * sysdeps/unix/bsd/setgid.c: Likewise.
57195 * sysdeps/unix/bsd/setrgid.c: Likewise.
57196 * sysdeps/unix/bsd/setruid.c: Likewise.
57197 * sysdeps/unix/bsd/setsid.c: Likewise.
57198 * sysdeps/unix/bsd/setuid.c: Likewise.
57199 * sysdeps/unix/bsd/sigaction.c: Likewise.
57200 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57201 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57202 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57203 * sysdeps/unix/bsd/telldir.c: Likewise.
57204 * sysdeps/unix/bsd/times.c: Likewise.
57205 * sysdeps/unix/bsd/usleep.c: Likewise.
57206
57207 * misc/Makefile (install-lib): Remove libbsd-compat.a.
57208 ($(objpfx)libbsd-compat.a): Remove rule.
57209
57210 * include/features.h (__FAVOR_BSD): Do not define.
57211 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57212 features conflicting with POSIX.
57213 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57214 (_BSD_SOURCE): Remove description of not being a subset of other
57215 feature test macros.
57216 * manual/job.texi (getpgrp): Do not document BSD version.
57217 (getpgid): Do not document by reference to BSD getpgrp.
57218 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57219 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57220 * signal/signal.h [__FAVOR_BSD]: Likewise.
57221 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57222 instead of making contents conditional on [__FAVOR_BSD].
57223 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57224
57225 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57226
57227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57228
57229 2013-12-17 Joseph Myers <joseph@codesourcery.com>
57230
57231 [BZ #16314]
57232 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57233 values below 2**-450, not 2**-500.
57234 * math/auto-libm-test-in: Don't allow spurious underflow from
57235 hypot.
57236 * math/auto-libm-test-out: Regenerated.
57237
57238 [BZ #16316]
57239 [BZ #16330]
57240 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57241 values of ha and hb and sort them after adjusting subnormal
57242 arguments.
57243 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57244 Likewise.
57245 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57246 values of ea and eb and sort them after adjusting subnormal
57247 arguments.
57248 * math/auto-libm-test-in: Do not expect some hypot tests of
57249 subnormals to fail. Add more hypot tests.
57250 * math/auto-libm-test-out: Regenerated.
57251
57252 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57253
57254 [BZ #13304]
57255 * sysdeps/sh/s_fma.c: New file.
57256 * sysdeps/sh/s_fmaf.c: New file.
57257 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
57258 version.
57259 * sysdeps/sh/Implies: Add sh/soft-fp.
57260
57261 2013-12-16 Roland McGrath <roland@hack.frob.com>
57262
57263 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
57264 level of indirection to members `objname', `errstring', `malloced'.
57265 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57266 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
57267 it as the __longjmp argument (just pass 1 instead).
57268 (_dl_catch_error): Initialize C with argument pointers and address of
57269 volatile local ERRCODE rather than copying values out of C at return.
57270
57271 2013-12-16 Joseph Myers <joseph@codesourcery.com>
57272
57273 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57274 * math/auto-libm-test-out: Regenerated.
57275 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57276 (hypot_test_data): Likewise.
57277 (pow_test_data): Likewise.
57278 (pow_tonearest_test_data): Likewise.
57279 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57280 mpfr_ff_f.
57281 (func_calc_desc): Add mpfr_ff_f union field.
57282 (FUNC_mpfr_ff_f): New macro.
57283 (test_functions): Add atan2, hypot and pow.
57284 (special_fill_min): New function.
57285 (special_fill_minus_min): Likewise.
57286 (special_fill_min_subnorm): Likewise.
57287 (special_fill_minus_min_subnorm): Likewise.
57288 (special_real_inputs): Add min, -min, min_subnorm and
57289 -min_subnorm.
57290 (calc_generic_results): Handle mpfr_ff_f.
57291 * sysdeps/i386/fpu/libm-test-ulps: Update.
57292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57293
57294 2013-12-16 Will Newton <will.newton@linaro.org>
57295
57296 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57297 (Aligned Memory Blocks): Add documentation for aligned_alloc
57298 and suggest it as an alternative to posix_memalign.
57299 (Hooks for Malloc): Document __memalign_hook is also called
57300 for aligned_alloc. (Summary of Malloc): Add summary for
57301 aligned alloc. Document __memalign_hook is also called
57302 for aligned_alloc.
57303
57304 2013-12-16 Will Newton <will.newton@linaro.org>
57305
57306 * manual/memory.texi (Malloc Examples): Clarify default
57307 alignment documentation. Suggest posix_memalign rather
57308 than memalign or valloc.
57309 (Aligned Memory Blocks): Remove suggestion to use memalign
57310 or valloc. Remove obsolete comment about BSD.
57311 Document memalign errno values and mark the function obsolete.
57312 Document posix_memalign returned error codes. Mark valloc
57313 as obsolete. (Hooks for Malloc): __memalign_hook is also
57314 called for posix_memalign and valloc.
57315 (Summary of Malloc): Add posix_memalign to function summary.
57316 __memalign_hook is also called for posix_memalign and valloc.
57317
57318 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57319
57320 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57321 TAYLOR_SIN.
57322 (__sin): Adjust.
57323 (__cos): Likewise.
57324 (sloww): Use mynumber union. Expand ternary operator into
57325 if-else statements.
57326 (cslow): use mynumber union.
57327
57328 2013-12-16 Allan McRae <allan@archlinux.org>
57329
57330 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57331 * configure: Regenerated.
57332
57333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57334
57335 [BZ #14120]
57336 * configure.ac: Added --enable-maintainer-mode. Check for
57337 autoconf when enabled.
57338 * configure: Regenerated.
57339
57340 * nscd/nscd.service: New file.
57341 * nscd/nscd.tmpfiles: New file.
57342
57343 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
57344
57345 [BZ #12100]
57346 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57347 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57348 * sysdeps/x86_64/multiarch/strstr.c: ... here.
57349 (strstr): Add __strstr_sse2_unaligned ifunc.
57350 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57351 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57352 (strcasestr): Remove __strcasestr_sse42 ifunc.
57353 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57356
57357 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57358
57359 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57360 * sysdeps/sh/bits/fenv.h: ... here.
57361 * sysdeps/sh/sh4/fpu/bits: Remove directory.
57362
57363 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57364
57365 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57366
57367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57368 hypotf multiarch implementations.
57369 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57370 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57371 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57372 multiarch hypot for PPC64.
57373 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57376 multiarch hypotf for PPC64.
57377
57378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57379 modff multiarch implementations.
57380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57383 multiarch modf for PPC64.
57384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57387 multiarch modff for PPC64.
57388
57389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57390 and logl multiarch implementations.
57391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57394 multiarch logb for PPC64.
57395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57398 multiarch logb for PPC64.
57399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57402 multiarch logb for PPC64.
57403
57404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57405 isinff multiarch implementation.
57406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57407 file.
57408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57410 multiarch isinf for PPC64.
57411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57412 file.
57413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57414 multiarch isinff for PPC64.
57415
57416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57417 finitef multiarch implementation.
57418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57419 file.
57420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57422 multiarch finite for PPC64.
57423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57424 file.
57425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57426 multiarch finitef for PPC64.
57427
57428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57429 lrint multiarch implementation.
57430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57431 file.
57432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57434 multiarch llrint for PPC64.
57435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57436 multiarch lrint for PPC64.
57437
57438 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57439 copysignf multiarch implementation.
57440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57441 file.
57442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57443 file.
57444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57445 multiarch copysign for PPC64.
57446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57447 multiarch copysignf for PPC64.
57448
57449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57450 multiarch implementation.
57451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57452 file.
57453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57454 file.
57455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57456 file.
57457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57458 file.
57459 multiarch llround for PPC64.
57460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57461 multiarch trunc for PPC64.
57462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57463 multiarch truncf for PPC64.
57464
57465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57466 multiarch implementation.
57467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57468 file.
57469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57470 file.
57471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57472 file.
57473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57474 file.
57475 multiarch llround for PPC64.
57476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57477 multiarch round for PPC64.
57478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57479 multiarch roundf for PPC64.
57480
57481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57482 multiarch implementation.
57483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57484 file.
57485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57486 file.
57487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57488 file.
57489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57490 file.
57491 multiarch llround for PPC64.
57492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57493 multiarch floor for PPC64.
57494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57495 multiarch floorf for PPC64.
57496
57497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57498 multiarch implementation.
57499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57500 file.
57501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57502 file.
57503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57504 file.
57505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57506 file.
57507 multiarch llround for PPC64.
57508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57509 multiarch ceil for PPC64.
57510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57511 multiarch ceilf for PPC64.
57512
57513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57514 multiarch implementation.
57515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57516 file.
57517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57518 file.
57519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57520 file.
57521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57522 multiarch llround for PPC64.
57523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57524 multiarch lround for PPC64.
57525
57526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57527 multiarch implementation.
57528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57531 file.
57532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57535 multiarch isnan for PPC64.
57536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57537 multiarch isnanf for PPC64.
57538
57539 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57540 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57541 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57542 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57543 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57545
57546 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57547 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57550
57551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57552 multiarch implementations.
57553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57554 (__libc_ifunc_impl_list): Likewise.
57555 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57556 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57557 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57558 multiarch stpcpy for PPC64.
57559
57560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57561 multiarch implementations.
57562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57563 (__libc_ifunc_impl_list): Likewise.
57564 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57565 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57566 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57567 multiarch strcpy for PPC64.
57568
57569 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57570 redefine function name.
57571 (_wordcopy_fwd_dest_aligned): Likewise.
57572 (_wordcopy_bwd_aligned): Likewise.
57573 (_wordcopy_bwd_dest_aligned): Likewise.
57574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57575 multiarch implementations.
57576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57577 (__libc_ifunc_impl_list): Likewise.
57578 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57579 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57580 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57581 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57582 multiarch wcscpy for PPC64.
57583
57584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57585 multiarch implementations.
57586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57587 (__libc_ifunc_impl_list): Likewise.
57588 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57589 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57591 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57592 multiarch wcscpy for PPC64.
57593
57594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57595 multiarch implementations.
57596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57597 (__libc_ifunc_impl_list): Likewise.
57598 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57599 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57600 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57601 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57602 multiarch wcsrchr for PPC64.
57603
57604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57605 multiarch implementations.
57606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57607 (__libc_ifunc_impl_list): Likewise.
57608 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57609 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57610 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57611 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57612 multiarch wcschr for PPC64.
57613
57614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57615 multiarch implementations.
57616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57617 (__libc_ifunc_impl_list): Likewise.
57618 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57619 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57620 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57621 multiarch strchrnul for PPC64.
57622
57623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57624 implementations.
57625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57626 (__libc_ifunc_impl_list): Likewise.
57627 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57628 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57629 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57630 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57631 strchr for PPC64.
57632
57633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57634 implementations.
57635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57636 (__libc_ifunc_impl_list): Likewise.
57637 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57638 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57639 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57640 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57641 strncmp for PPC64.
57642
57643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57644 multiarch implementations.
57645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57646 (__libc_ifunc_impl_list): Likewise.
57647 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57648 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57649 strncasecmp for PPC64.
57650 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57651 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57652 multiarch strncasecmp_l for PPC64.
57653
57654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57655 multiarch implementations.
57656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57657 (__libc_ifunc_impl_list): Likewise.
57658 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57659 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57660 multiarch strcasecmp for PPC64.
57661 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57662 file.
57663 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57664 multiarch strcasecmp_l for PPC64.
57665
57666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57667 implementations.
57668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57669 (__libc_ifunc_impl_list): Likewise.
57670 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57671 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57672 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57673 strnlen for PPC64.
57674
57675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57676 implementations.
57677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57678 (__libc_ifunc_impl_list): Likewise.
57679 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57680 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57681 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57682 strlen for PPC64.
57683
57684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57685 implementations.
57686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57687 (__libc_ifunc_impl_list): Likewise.
57688 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57689 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57690 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57691 rawmemrchr for PPC64.
57692
57693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57694 implementation.
57695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57696 (__libc_ifunc_impl_list): Likewise.
57697 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57698 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57699 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57700 memrchr for PPC64.
57701
57702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57703 implementation.
57704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57705 (__libc_ifunc_impl_list): Likewise.
57706 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57707 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57708 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57709 memchr for PPC64.
57710
57711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57712 implementation.
57713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57714 (__libc_ifunc_impl_list): Likewise.
57715 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57716 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57717 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
57718 mempcpy for PPC64.
57719
57720 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
57721 avoid cretion of __bzero symbol.
57722 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
57723 Likewise.
57724 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
57725 Likewise.
57726 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
57727 Likewise.
57728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
57729 multiarch implementations.
57730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57731 (__libc_ifunc_impl_list): Likewise.
57732 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
57733 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
57734 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
57735 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
57736 bzero for PPC32.
57737 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
57738 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
57739 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
57740 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
57741 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
57742 memset for PPC64.
57743 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
57744
57745 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
57746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
57747 implementations.
57748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57749 (__libc_ifunc_impl_list): Likewise.
57750 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
57751 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
57752 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
57753 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
57754 memcmp for PPC64.
57755
57756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
57757 multiarch for POWER/PPC64.
57758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
57759 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
57760 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
57761 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
57762 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
57763 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
57764 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
57765 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
57766 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
57767 memcpy for PPC64.
57768
57769 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
57770 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
57771 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
57772 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
57773 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
57774 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
57775 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
57776 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
57777 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
57778 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
57779 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
57780 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
57781 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
57782 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
57783 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
57784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
57785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
57786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
57787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
57788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
57789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
57790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
57791
57792 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57793
57794 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
57795
57796 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57797
57798 * benchtests/Makefile (bench): Add exp2 and log2.
57799 (LDLIBS-bench-exp2): Add -lm.
57800 (LDLIBS-bench-log2): Likewise.
57801 * benchtests/exp2-inputs: New inputs file.
57802 * benchtests/log2-inputs: New inputs file.
57803 * benchtests/log-inputs: Add new inputs.
57804 * benchtests/tan-inputs: Likewise.
57805
57806 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57807
57808 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
57809 definition...
57810 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
57811 (csloww2): ... from here.
57812
57813 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
57814 instead of structures.
57815 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
57816 (POLYNOMIAL): Likewise.
57817 (TAYLOR_SLOW): Likewise.
57818 (__sin): Likewise.
57819 (__cos): Likewise.
57820 (slow1): Likewise.
57821 (slow2): Likewise.
57822 (sloww): Likewise.
57823 (sloww1); Likewise.
57824 (sloww2): Likewise.
57825 (bsloww1): Likewise.
57826 (bsloww2): Likewise.
57827 (cslow2): Likewise.
57828 (csloww): Likewise.
57829 (csloww1): Likewise.
57830 (csloww2): Likewise.
57831
57832 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
57833
57834 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57835 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
57836 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
57837 * malloc/hooks.c (realloc_check): Likewise.
57838
57839 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
57840 * malloc/arena.c: Remove PER_THREAD conditional.
57841 [!PER_THREAD]: Remove code.
57842 (ptmalloc_unlock_all2): Likewise.
57843 (ptmalloc_init): Likewise.
57844 (_int_new_arena): Likewise.
57845 (arena_get2): Likewise.
57846 * malloc/hooks.c (__malloc_get_state): Likewise.
57847 (__malloc_set_state): Likewise.
57848 * malloc/malloc.c: Likewise.
57849 (struct malloc_state): Likewise.
57850 (struct malloc_par): Likewise.
57851 (__libc_realloc): Likewise.
57852 (__libc_mallopt): Likewise.
57853
57854 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57855
57856 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
57857
57858 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
57859
57860 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
57861 macro to a function. Check for zero perturb_byte.
57862 (_int_malloc, _int_free): Remove zero perturb_byte checks.
57863
57864 * malloc/malloc.c: (force_reg): Remove.
57865 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
57866 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
57867 force_reg by atomic_forced_read.
57868 * malloc/arena.c (ptmalloc_init): Likewise.
57869 * malloc/hooks.c (top_check): Likewise.
57870
57871 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57872
57873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57874
57875 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
57876
57877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57878
57879 2013-12-08 Joseph Myers <joseph@codesourcery.com>
57880
57881 * math/auto-libm-test-in: Add tests of lgamma.
57882 * math/auto-libm-test-out: Regenerated.
57883 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
57884 (M_LOG_2_SQRT_PIl): Likewise.
57885 (lgamma_test_data): Use AUTO_TESTS_f_f1.
57886 * math/gen-auto-libm-tests.c (func_calc_method): Add value
57887 mpfr_f_f1.
57888 (func_calc_desc): Add mpfr_f_f1 union field.
57889 (ARGS1): New macro.
57890 (ARGS2): Likewise.
57891 (ARGS3): Likewise.
57892 (ARGS4): Likewise.
57893 (RET1): Likewise.
57894 (RET2): Likewise.
57895 (CALC): Likewise.
57896 (FUNC): Likewise.
57897 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
57898 (test_functions): Add lgamma.
57899 (calc_generic_results): Handle mpfr_f_f1.
57900 * sysdeps/i386/fpu/libm-test-ulps: Update.
57901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57902
57903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57904
57905 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
57906 __mpn_add_n for PowerPC64/POWER7.
57907 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
57908 __mpn_sub_n for PowerPC64/POWER7.
57909
57910 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
57911 __mpn_addmul_1 for PowerPC64.
57912 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
57913 __mpn_submul_1 for PowerPC64.
57914 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
57915 for PowerPC64.
57916 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
57917 for PowerPC64.
57918
57919 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
57920
57921 [BZ #15089]
57922 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
57923
57924 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57925
57926 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
57927
57928 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
57929 add multiarch folders.
57930 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
57931 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
57932 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
57933 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
57934 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
57935 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
57936 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
57937 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
57938 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
57939 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
57940 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
57941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
57942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
57943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
57944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
57945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
57946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
57947
57948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57949 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
57950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
57951 New file.
57952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
57953 New file.
57954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
57955 multiarch __ieee754_hypot for PowerPC32.
57956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
57957 New file.
57958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
57959 New file.
57960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
57961 multiarch __ieee754_hypotf for PowerPC32.
57962
57963 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
57964 long_double_symbol only if __logbl is defined.
57965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
57966 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
57967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
57968 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
57969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
57970 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
57971 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
57972 path for implementation.
57973 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
57974 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
57975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
57976 logb, and logbl multiarch implementations for PowerPC32.
57977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
57978 file.
57979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
57980 file.
57981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
57982 multiarch logb for PowerPC32.
57983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
57984 file.
57985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
57986 file.
57987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
57988 multiarch logbf for PowerPC32.
57989 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
57990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
57991 file.
57992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
57993 multiarch logbl implementation for PowerPC32.
57994
57995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
57996 and modff multiarch implementations.
57997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
57998 New file.
57999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58000 New file.
58001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58002 multiarch modf for PowerPC32.
58003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58004 New file.
58005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58006 New file.
58007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58008 multiarch modff for PowerPC32.
58009
58010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58011 and lrintf multiarch implementations.
58012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58013 New file.
58014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58015 New file.
58016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58017 multiarch lrint for PowerPC32.
58018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58019 file: multiarch lrintf for PowerPC32.
58020
58021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58022 and lroundf multiarch implementations.
58023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58024 New file.
58025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58026 New file.
58027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58028 New file.
58029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58030 multiarch lround for PowerPC32.
58031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58032 file: multiarch lroundf for PowerPC32.
58033
58034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58035 copysign and copysignf multiarch implementations.
58036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58037 New file.
58038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58039 New file.
58040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58041 file: multiarch copysign for PowerPC32.
58042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58043 file: multiarch copysignf for PowerPC32.
58044
58045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58046 and truncf multiarch implementations.
58047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58048 New file.
58049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58050 file.
58051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58052 multiarch trunc for PowerPC32.
58053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58054 New file.
58055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58056 New file.
58057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58058 multiarch truncf for PowerPC32.
58059
58060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58061 and roundf multiarch implementations.
58062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58063 New file.
58064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58065 file.
58066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58067 multiarch round for PowerPC32.
58068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58069 New file.
58070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58071 New file.
58072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58073 multiarch roundf for PowerPC32.
58074
58075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58076 and floorf multiarch implementations.
58077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58078 New file.
58079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58080 file.
58081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58082 multiarch floor for PowerPC32.
58083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58084 New file.
58085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58086 New file.
58087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58088 multiarch floorf for PowerPC32.
58089
58090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58091 and ceilf multiarch implementations.
58092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58093 New file.
58094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58095 file.
58096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58097 multiarch ceil for PowerPC32.
58098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58099 New file.
58100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58101 file.
58102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58103 multiarch ceilf for PowerPC32.
58104
58105 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58106 is defined.
58107 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58108 FINITEF is defined.
58109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58110 and finitef multiarch implementations.
58111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58112 New file.
58113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58114 file.
58115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58116 multiarch finite for PowerPC32.
58117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58118 New file.
58119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58120 file: multiarch finitef for PowerPC32.
58121
58122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58123 and isinff multiarch implementations.
58124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58125 file.
58126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58127 file.
58128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58129 multiarch isinf for PowerPC32.
58130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58131 New file.
58132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58133 multiarch isinff for PowerPC32.
58134
58135 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58136 alias when __isnan is defined.
58137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58138 and isnanf multiarch implementations.
58139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58140 file.
58141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58142 file.
58143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58144 file.
58145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58146 file.
58147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58148 multiarch isnan for PowerPC32.
58149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58150 New file.
58151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58152 New file.
58153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58154 multiarch isnanf for PowerPC32.
58155
58156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58157 and sqrtf multiarch implementations.
58158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58159 file.
58160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58161 file.
58162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58163 multiarch sqrt for PowerPC32.
58164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58165 file.
58166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58167 file.
58168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58169 multiarch sqrtf for PowerPC32.
58170
58171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58172 and llroundf multiarch implementations.
58173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58174 New file.
58175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58176 New file.
58177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58178 New file.
58179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58180 file: multiarch llround for PowerPC32.
58181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58182 file: multiarch llroundf for PowerPC32.
58183
58184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58185 multiarch PowerPC32 fpu implementations.
58186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58187 New file.
58188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58189 New file.
58190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58191 multiarch llrint for PowerPC32.
58192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58193 New file.
58194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58195 New file.
58196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58197 file.
58198
58199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58200
58201 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58202 file.
58203 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58204 file.
58205 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58206 file.
58207 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58208 multiarch wordcopy for PPC32.
58209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58210 wordcopy objects.
58211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58212 (__libc_ifunc_impl_list): Likewise.
58213 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58214 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58215 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58216 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58217 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58218 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58219
58220 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58222 file.
58223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58224 file.
58225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58226 file.
58227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58228 multiarch wcscpy for PPC32.
58229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58230 multiarch objects.
58231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58232 (__libc_ifunc_impl_list): Likewise.
58233 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58234 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58235 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58236 sysdeps/powerpc/power6/wcscpy.c.
58237
58238 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58240 file.
58241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58242 file.
58243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58244 file.
58245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58246 multiarch wcsrchr for PPC32.
58247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58248 multiarch objects.
58249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58250 (__libc_ifunc_impl_list): Likewise.
58251 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58252 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58253 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58254 sysdeps/powerpc/power6/wcsrchr.c.
58255
58256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58257 file.
58258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58259 file.
58260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58262 multiarch wcschr for PPc32.
58263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58264 multiarch objects.
58265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58266 (__libc_ifunc_impl_list): Likewise.
58267 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58268 * sysdeps/powerpc/power6/wcschr.c: ... to here.
58269 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58270 sysdeps/powerpc/power6/wcschr.c.
58271
58272 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58273 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58274 file.
58275 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58276 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58277 file: multiarch strchr for PPC32.
58278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58279 multiarch objects.
58280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58281 (__libc_ifunc_impl_list): Likewise.
58282
58283 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58284 name.
58285 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58286 file.
58287 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58288 file.
58289 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58290 multiarch strchrnul for PPC32.
58291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58292 multiarch objects.
58293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58294 (__libc_ifunc_impl_list): Likewise.
58295
58296 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58297 file.
58298 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58299 multiarch strncasecmp for PPC32.
58300 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58301 file.
58302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58303 multiarch strncasecmp_l for PPC32.
58304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58305 strncasecmp multiarch objects.
58306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58307 (__libc_ifunc_impl_list): Likewise.
58308
58309 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58310 file.
58311 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58312 multiarch strncasecmp for PPC32.
58313 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58314 New file.
58315 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58316 multiarch strcasecmp_l for PPC32.
58317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58318 multiarch objects.
58319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58320 (__libc_ifunc_impl_list): Likewise.
58321
58322 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58323 file.
58324 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58325 file.
58326 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58327 multiarch strncmp for PPC32.
58328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58329 multiarch objects.
58330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58331 (__libc_ifunc_impl_list): Likewise.
58332
58333 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58334 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58335 file.
58336 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58337 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58339 multiarch objects.
58340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58341 (__libc_ifunc_impl_list): Likewise.
58342
58343 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58344 file.
58345 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58346 file.
58347 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58349 multiarch objects.
58350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58351 (__libc_ifunc_impl_list): Likewise.
58352
58353 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58354 file.
58355 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58356 file.
58357 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58358 multiarch rawmemchr for PPC32.
58359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58360 multiarch objects.
58361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58362 (__libc_ifunc_impl_list): Likewise.
58363
58364 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58365 file.
58366 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58367 file.
58368 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58369 file: memrchr multiarch for PPC32.
58370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58371 multiarch objects.
58372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58373 (__libc_ifunc_impl_list): Likewise.
58374
58375 * string/memchr.c (__memchr): Using macro to redefine symbol name.
58376 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58377 file.
58378 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58379 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58380 multiarch memchr for PPC32.
58381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58382 multiarch objects.
58383 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58384 (__libc_ifunc_impl_list): Likewise.
58385
58386 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58387 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58388 file.
58389 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58390 file.
58391 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58392 file: multiarch mempcpy for PPC32.
58393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58394 multiarch objects.
58395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58396 (__libc_ifunc_impl_list): Likewise.
58397
58398 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58399 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58400 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58401 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58402 multiarch bzero for PPC32.
58403 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58404 file.
58405 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58406 file.
58407 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58408 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58409 file: multiarch memset for PPC32.
58410 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58412 memset multiarch objects.
58413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58414 (__libc_ifunc_impl_list): Likewise.
58415
58416 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58417 file.
58418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58419 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58420 memcmp for PPC32.
58421 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58423 multiarch objects.
58424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58425 (__libc_ifunc_impl_list): Likewise.
58426
58427 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58428 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58429 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58430 file.
58431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58432 file.
58433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58434 file.
58435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58436 multiarch memcpy for PPC32.
58437 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58438 multiarch objects.
58439 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58440 (__libc_ifunc_impl_list): Likewise.
58441
58442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58443 support multiarch for POWER/PPC32.
58444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58445 Likewise.
58446 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58448 Implies file to make multiarch folder appers before the fpu and
58449 default folder for power4 configuration.
58450
58451 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
58452
58453 * scripts/bench.pl: Append volatile keyword to type.
58454
58455 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58456
58457 * sysdeps/sh/sotruss-lib.c: New file.
58458 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58459
58460 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58461
58462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58463
58464 2013-12-05 Joseph Myers <joseph@codesourcery.com>
58465
58466 [BZ #6810]
58467 * math/w_tgamma.c: Include <errno.h>.
58468 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
58469 * math/w_tgammaf.c: Include <errno.h>.
58470 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
58471 * math/w_tgammal.c: Include <errno.h>.
58472 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
58473 * math/auto-libm-test-in: Do not allow missing errno on tgamma
58474 underflow. Add more tgamma tests.
58475 * math/auto-libm-test-out: Regenerated.
58476 * sysdeps/i386/fpu/libm-test-ulps: Update.
58477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58478
58479 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58480 sin, sinh, tan, tanh, tgamma, y0 and y1.
58481 * math/auto-libm-test-out: Regenerated.
58482 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58483 (TEST_COND_x86): Likewise.
58484 (M_E2l): Remove macro.
58485 (M_E3l): Likewise.
58486 (M_2_SQRT_PIl): Likewise.
58487 (M_SQRT_PIl): Likewise.
58488 (M_1_DIV_El): Likewise.
58489 (log_test_data): Use AUTO_TESTS_f_f.
58490 (log10_test_data): Likewise.
58491 (log1p_test_data): Likewise.
58492 (log2_test_data): Likewise.
58493 (sin_test_data): Likewise.
58494 (sin_tonearest_test_data): Likewise.
58495 (sin_towardzero_test_data): Likewise.
58496 (sin_downward_test_data): Likewise.
58497 (sin_upward_test_data): Likewise.
58498 (sinh_test_data): Likewise.
58499 (sinh_tonearest_test_data): Likewise.
58500 (sinh_towardzero_test_data): Likewise.
58501 (sinh_downward_test_data): Likewise.
58502 (sinh_upward_test_data): Likewise.
58503 (tan_test_data): Likewise.
58504 (tan_tonearest_test_data): Likewise.
58505 (tan_towardzero_test_data): Likewise.
58506 (tan_downward_test_data): Likewise.
58507 (tan_upward_test_data): Likewise.
58508 (tanh_test_data): Likewise.
58509 (tgamma_test_data): Likewise.
58510 (y0_test_data): Likewise.
58511 (y1_test_data): Likewise.
58512 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58513 (special_real_inputs): Add pi/4.
58514 * sysdeps/i386/fpu/libm-test-ulps: Update.
58515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58516
58517 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58518
58519 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58520 "longjmp_target" static probes.
58521 (__longjmp): Rename to __longjmp_symbol.
58522 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58523 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58524 on which longjmp to generate.
58525 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58526 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58527 probe.
58528 (__sigsetjmp): Rename to __sigsetjmp_symbol.
58529 (__sigjmp_save): Rename to __sigjmp_save_symbol.
58530 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58531 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58532 and __sigjmp_save_symbol based on which sigsetjmp to generated.
58533 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58535 __longjmp_symbol based on which __longjmp to generate.
58536 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58537 probe.
58538 (setjmp): Rename to setjmp_symbol.
58539 (__sigsetjmp): Rename to __sigsetjmp_symbol.
58540 (_setjmp): Rename to _setjmp_symbol.
58541 (__sigsetjmp): Rename to __sigsetjmp_symbol.
58542 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58543 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58544 which setjmp to generate.
58545 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58546 "longjmp_target" static probes.
58547
58548 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58549
58550 * benchtests/README: Add note about output arguments.
58551 * benchtests/bench-sincos.c: Remove file.
58552 * benchtests/sincos-inputs: New file.
58553 * scripts/bench.pl: Identify output arguments and define
58554 static variables for them.
58555
58556 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58557
58558 [BZ #15941]
58559 * Makefile (INSTALL): Add install-plain.texi as the primary
58560 dependency.
58561 * manual/install-plain.texi: New file.
58562 * manual/install.texi: Include node directive only for
58563 non-plaintext output.
58564
58565 2013-12-04 Joseph Myers <joseph@codesourcery.com>
58566
58567 * stdlib/longlong.h: Update from GCC.
58568
58569 [BZ #6807]
58570 [BZ #15901]
58571 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58572 * math/w_j0f.c (y0f): Likewise.
58573 * math/w_j0l.c (__y0l): Likewise.
58574 * math/w_j1.c (y1): Likewise.
58575 * math/w_j1f.c (y1f): Likewise.
58576 * math/w_j1l.c (__y1l): Likewise.
58577 * math/w_jn.c (yn): Likewise.
58578 * math/w_jnf.c (ynf): Likewise.
58579 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58580 Bessel function pole errors in _POSIX_ mode. Use NAN as return
58581 value for Bessel function domain errors outside _SVID_ mode.
58582 Adjust sign of return value for yn (negative integer, 0).
58583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58584 by zero in return for negative x and set sign appropriately for
58585 negative n.
58586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58587 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58588 * math/libm-test.inc (y0_test_data): Add more tests and adjust
58589 expectations in error cases.
58590 (y1_test_data): Likewise.
58591 (yn_test_data): Likewise.
58592 * sysdeps/i386/fpu/libm-test-ulps: Update.
58593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58594
58595 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58596
58597 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58598 "64" to "64-v1". Add "64-v2".
58599 (abi-64-options): Rename to ...
58600 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
58601 (abi-64-condition): Rename to ...
58602 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
58603 (abi-64-ld-soname): Rename to ...
58604 (abi-64-v1-ld-soname): ... this.
58605 (abi-64-v2-options): Define.
58606 (abi-64-v2-condition): Likewise.
58607 (abi-64-v2-ld-soname): Likewise.
58608 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58609 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58613
58614 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58615 Alan Modra <amodra@gmail.com>
58616
58617 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58618 New versions for use with the ELFv2 ABI.
58619 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58620 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58621 declaration.
58622 (struct La_ppc64v2_retval): Likewise.
58623 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58624 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58625 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58626 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58627 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58628 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58629 Do not save or restore CR.
58630 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58631 (_dl_profile_resolve): Do no save or restore CR. Support extended
58632 return values for ELFv2 ABI. Fix location of FPR return registers.
58633 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58634 updated values for _CALL_ELF == 2.
58635 (La_regs, La_retval, int_retval): Likewise.
58636
58637 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58638
58639 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58640 (FRAME_MIN_SIZE_PARM): Likewise.
58641 (FRAME_BACKCHAIN): Likewise.
58642 (FRAME_CR_SAVE): Likewise.
58643 (FRAME_LR_SAVE): Likewise.
58644 (FRAME_TOC_SAVE): Likewise.
58645 (FRAME_PARM_SAVE): Likewise.
58646 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58647 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58648 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58649 (call_mcount_parm_offset): New macro.
58650 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58651 (PROF): Use symbolic stack frame offsets.
58652 (TAIL_CALL_SYSCALL_ERROR): Likewise.
58653 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58654 Redefine in terms of FRAME_MIN_SIZE.
58655 (_dl_runtime_resolve): Use symbolic stack frame offsets.
58656 (_dl_profile_resolve): Likewise. Update comment.
58657 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58658 symbols stack frame offsets.
58659 (__sigsetjmp): Likewise.
58660 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58661 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58662 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58663 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58664
58665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58666 (FRAME_BACKCHAIN): Remove.
58667 (FRAME_CR_SAVE): Likewise.
58668 (FRAME_LR_SAVE): Likewise.
58669 (FRAME_COMPILER_DW): Likewise.
58670 (FRAME_LINKER_DW): Likewise.
58671 (FRAME_TOC_SAVE): Likewise.
58672 (FRAME_PARM_SAVE): Likewise.
58673 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58674 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58675 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58677 (CHECK_SP): Use symbolic stack frame offsets.
58678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58679 zone" instead of caller's parameter save area for temp storage.
58680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58681 Likewise. Also, use symbolic stack frame offsets.
58682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58683 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58684 our own stack frame instead of the caller's.
58685 (__socket): Use symbolic stack frame offsets.
58686
58687 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58688 Alan Modra <amodra@gmail.com>
58689
58690 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58691 Define.
58692 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58693 (PPC64_LOCAL_ENTRY_OFFSET): Define.
58694 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58695 New function.
58696 (elf_machine_fixup_plt): Call it.
58697 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
58698 reloc arguments.
58699 (elf_machine_rela): Update call to elf_machine_plt_conflict.
58700 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58701 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58702 r2 before calling target.
58703
58704 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58705 Alan Modra <amodra@gmail.com>
58706
58707 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58708 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58709 versions of macros to support ELFv2 ABI.
58710 (LOCALENTRY): New macro.
58711 (ENTRY, EALIGN): Use it.
58712 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58713 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58714 fall through into ENTRY entry point.
58715 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58716 Only define if _CALL_ELF != 2.
58717
58718 (elf_machine_matches_host): Verify ABI version matches.
58719 (RTLD_START): Use LOCALENTRY.
58720 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
58721 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
58722 (PLT_ENTRY_WORDS): New macro.
58723 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
58724 (elf_machine_runtime_setup): Support ELFv2 ABI.
58725 (elf_machine_fixup_plt): Likewise.
58726 (elf_machine_plt_conflict): Likewise.
58727 (resolve_ifunc): Likewise.
58728 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
58729 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58730 Likewise.
58731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
58732 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
58733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58734 (makecontext): Support ELFv2 ABI.
58735 * elf/elf.h (EF_PPC64_ABI): Define.
58736
58737 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58738
58739 * sysdeps/powerpc/powerpc64/sysdep.h
58740 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
58741 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
58742 (ENTRY) [ASSEMBLER]: ... but instead here ...
58743 (EALIGN) [ASSEMBLER]: ... and here.
58744 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
58745 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
58746 (ENTRY_2) [!ASSEMBLER]: Use it.
58747 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
58748 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
58749 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58750 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
58751 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
58752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
58753 Use PPC64_LOAD_FUNCPTR.
58754
58755 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
58756
58757 2013-12-04 Alan Modra <amodra@gmail.com>
58758
58759 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
58760 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
58761 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
58762 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
58763
58764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
58765 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
58766 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
58767 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
58768 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
58769 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
58770
58771 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
58772
58773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58774 (__makecontext): Fix incorrect CFI when backtracing out of
58775 context created via makecontext.
58776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
58777 (__setcontext): Fix incorrect CFI during switch to new context.
58778 (__novec_setcontext): Likewise.
58779
58780 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
58781
58782 [BZ #4772]
58783 * time/strptime_l.c (__strptime_internal): Allow modifiers
58784 in strptime.
58785 * time/tst-strptime.c (day_tests): Add testcase.
58786
58787 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
58788
58789 * scripts/bench.pl: Skip over blank lines.
58790
58791 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
58792
58793 [BZ #926]
58794 * manual/time.texi (Calendar Time): Clarify what timezone functions
58795 use.
58796
58797 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58798
58799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58800
58801 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
58802
58803 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
58804 implementation.
58805 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
58806 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
58807 * debug/memset_chk.c (__memset_chk): Likewise.
58808 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
58809 * debug/strncpy_chk.c: Likewise.
58810
58811 2013-12-03 Joseph Myers <joseph@codesourcery.com>
58812
58813 [BZ #15268]
58814 [BZ #15425]
58815 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
58816 (__ieee754_exp): For possibly underflowing results, check size of
58817 result and force underflow exception if required.
58818 * math/auto-libm-test-in: Add more tests of exp.
58819 * math/auto-libm-test-out: Regenerated.
58820 * sysdeps/i386/fpu/libm-test-ulps: Update.
58821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58822
58823 [BZ #16283]
58824 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
58825 * math/w_exp2f.c (__exp2f): Likewise.
58826 * math/w_exp2l.c (__exp2l): Likewise.
58827 * math/auto-libm-test-in: Do not allow missing errno on exp2
58828 underflow.
58829 * math/auto-libm-test-out: Regenerated.
58830
58831 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
58832
58833 [BZ #16274]
58834 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
58835 handle filename validation.
58836 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
58837 (do_open): Delete.
58838
58839 2013-12-03 Joseph Myers <joseph@codesourcery.com>
58840
58841 [BZ #6786]
58842 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
58843 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
58844 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
58845 <float.h>.
58846 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
58847 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
58848 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58849 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
58850 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58851 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
58852 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58853 * math/auto-libm-test-in: Don't allow missing errno from erfc.
58854 Add more erfc tests.
58855 * math/auto-libm-test-out: Regenerated.
58856 * sysdeps/i386/fpu/libm-test-ulps: Update.
58857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58858
58859 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
58860 exp2, expm1, j0 and j1.
58861 * math/auto-libm-test-out: Regenerated.
58862 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
58863 (erfc_test_data): Likewise.
58864 (exp_test_data): Likewise.
58865 (exp_tonearest_test_data): Likewise.
58866 (exp_towardzero_test_data): Likewise.
58867 (exp_downward_test_data): Likewise.
58868 (exp_upward_test_data): Likewise.
58869 (exp10_test_data): Likewise.
58870 (exp2_test_data): Likewise.
58871 (expm1_test_data): Likewise.
58872 (j0_test_data): Likewise.
58873 (j1_test_data): Likewise.
58874 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
58875 (input_flag_type): Add flag_xfail_rounding.
58876 (input_flags): Add xfail-rounding.
58877 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
58878 (output_for_one_input_case): Handle flag_xfail_rounding.
58879 * sysdeps/i386/fpu/libm-test-ulps: Update.
58880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58881
58882 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
58883
58884 [BZ #16289]
58885 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
58886 division by 0.
58887
58888 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58889
58890 [BZ #16195]
58891 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
58892 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
58893 (STAP_PROBE0): New macro.
58894 (STAP_PROBE1): Likewise.
58895 (STAP_PROBE2): Likewise.
58896 (STAP_PROBE3): Likewise.
58897 (STAP_PROBE4): Likewise.
58898
58899 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
58900
58901 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
58902
58903 2013-12-02 Steve Ellcey <sellcey@mips.com>
58904
58905 * benchtests/Makefile (bench): Add sqrt.
58906 (LDLIBS-bench-sqrt): New.
58907 * benchtests/sqrt-input: New.
58908
58909 2013-12-02 Pavel Simerda <psimerda@redhat.com>
58910
58911 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
58912 (GAIH_EAI): Likewise.
58913 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
58914 (gaih_inet): Likewise.
58915 (getaddrinfo): Don't use GAIH_EAI.
58916
58917 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
58918 (struct gaih): Remove definition.
58919
58920 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58921
58922 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
58923 Use HERRNOP directly.
58924
58925 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58926
58927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58928
58929 2013-11-30 Joseph Myers <joseph@codesourcery.com>
58930
58931 * math/gen-auto-libm-tests.c (test_functions): Add more
58932 single-argument functions.
58933 (special_fill_pi_2): New function.
58934 (special_fill_minus_pi_2): Likewise.
58935 (special_fill_pi_6): Likewise.
58936 (special_fill_minus_pi_6): Likewise.
58937 (special_fill_pi_3): Likewise.
58938 (special_fill_2pi_3): Likewise.
58939 (special_fill_e): Likewise.
58940 (special_fill_1_e): Likewise.
58941 (special_fill_e_minus_1): Likewise.
58942 (special_real_inputs): Add more special inputs.
58943 (output_for_one_input_case): Do not require ERANGE on underflow to
58944 zero if round-to-nearest result does not underflow to zero, unless
58945 exact results required.
58946 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
58947 atan, atanh, cbrt, cos and cosh.
58948 * math/auto-libm-test-out: Regenerated.
58949 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
58950 (acos_tonearest_test_data): Likewise.
58951 (acos_towardzero_test_data): Likewise.
58952 (acos_downward_test_data): Likewise.
58953 (acos_upward_test_data): Likewise.
58954 (acosh_test_data): Likewise.
58955 (asin_test_data): Likewise.
58956 (asin_tonearest_test_data): Likewise.
58957 (asin_towardzero_test_data): Likewise.
58958 (asin_upward_test_data): Likewise.
58959 (asinh_test_data): Likewise.
58960 (atan_test_data): Likewise.
58961 (atanh_test_data): Likewise.
58962 (cbrt_test_data): Likewise.
58963 (cos_test_data): Likewise.
58964 (cos_tonearest_test_data): Likewise.
58965 (cos_towardzero_test_data): Likewise.
58966 (cos_downward_test_data): Likewise.
58967 (cos_upward_test_data): Likewise.
58968 (cosh_test_data): Likewise.
58969 (cosh_tonearest_test_data): Likewise.
58970 (cosh_towardzero_test_data): Likewise.
58971 (cosh_downward_test_data): Likewise.
58972 (cosh_upward_test_data): Likewise.
58973 * sysdeps/i386/fpu/libm-test-ulps: Update.
58974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58975
58976 2013-11-29 Joseph Myers <joseph@codesourcery.com>
58977
58978 [BZ #6787]
58979 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
58980 * math/w_exp10f.c (__exp10f): Likewise.
58981 * math/w_exp10l.c (__exp10l): Likewise.
58982 * math/libm-test.inc (exp10_test_data): Add more tests and expect
58983 errno settings in existing tests.
58984
58985 [BZ #14032]
58986 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
58987 precision control set to double precision.
58988 * sysdeps/i386/fpu/w_sqrt.c: New file.
58989 * math/auto-libm-test-in: Add more tests.
58990 * math/auto-libm-test-out: Update.
58991
58992 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
58993 (sqrt_test_tonearest): New function.
58994 (sqrt_towardzero_test_data): New variable.
58995 (sqrt_test_towardzero): New function.
58996 (sqrt_downward_test_data): New variable.
58997 (sqrt_test_downward): New function.
58998 (sqrt_upward_test_data): New variable.
58999 (sqrt_test_upward): New function.
59000 (main): Call the new functions.
59001
59002 * math/gen-auto-libm-tests.c: New file.
59003 * math/auto-libm-test-in: Likewise.
59004 * math/auto-libm-test-out: New generated file.
59005 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59006 variables.
59007 (%beautify): Add generated representations of zero.
59008 (top level): Set $auto_input and call parse_auto_input.
59009 (beautify): Remove trailing "f" from hex float constants.
59010 (parse_args): Handle XFAIL_TEST.
59011 (convert_condition): New function.
59012 (or_value): Likewise.
59013 (or_cond_value): Likewise.
59014 (generate_testfile): Handle AUTO_TESTS_* lines.
59015 (parse_auto_input): New function.
59016 * math/libm-test.inc (XFAIL_TEST): New macro.
59017 (ERRNO_UNCHANGED): Update value.
59018 (ERRNO_EDOM): Likewise.
59019 (ERRNO_ERANGE): Likewise.
59020 (IGNORE_RESULT): Likewise.
59021 (TEST_COND_flt_32): New macro.
59022 (TEST_COND_dbl_64): Likewise.
59023 (TEST_COND_ldbl_96_intel): Likewise.
59024 (TEST_COND_ldbl_96_m68k): Likewise.
59025 (TEST_COND_ldbl_128): Likewise.
59026 (TEST_COND_ldbl_128ibm): Likewise.
59027 (TEST_COND_long32): Likewise.
59028 (TEST_COND_long64): Likewise.
59029 (TEST_COND_before_rounding): Likewise.
59030 (TEST_COND_after_rounding): Likewise.
59031 (enable_test): Handle XFAIL_TEST flag.
59032 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59033 with finite results.
59034 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59035 auto-libm-test-out.
59036
59037 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
59038 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59039
59040 [BZ #16214]
59041 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59042 __tls_get_addr_internal instead of __tls_get_offset in order to
59043 avoid GOT pointer dependency. Make rtld export
59044 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59045 __tls_get_addr since we are a __tls_get_offset platform.
59046 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59047 GOT pointer being set up before.
59048 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59049
59050 2013-11-28 Joseph Myers <joseph@codesourcery.com>
59051
59052 * manual/math.texi (Errors in Math Functions): Document accuracy
59053 goals.
59054
59055 [BZ #15004]
59056 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59057 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59058 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59059 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59060 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59061 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59062 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59063 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59064 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59065 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59066 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59067 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59068 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59069 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59070 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59071 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59072
59073 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59074 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59075 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59076 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59077 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59078 Likewise.
59079 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59080 Likewise.
59081 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59082 Likewise.
59083 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59084 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59085 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59086 atomic-feupdateenv and flt-rounds.
59087 * sysdeps/powerpc/nofpu/Versions (libc): Add
59088 __atomic_feholdexcept, __atomic_feclearexcept,
59089 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59090 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59091 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59092 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59093 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59094 here.
59095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59096 Update.
59097
59098 * manual/arith.texi (FP Exceptions): Document that exceptions may
59099 not be raised when matherr is used.
59100 (Math Error Reporting): Document overflow in directed rounding
59101 modes. Document that errno may not be set when finite values are
59102 returned on overflow. Document intent to set errno on underflow
59103 only for underflow to zero.
59104
59105 [BZ #16271]
59106 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59107 round-to-nearest then adjust result for other rounding modes.
59108 * include/fenv.h (fegetround): Use libm_hidden_proto.
59109 * math/fegetround.c (fegetround): Use libm_hidden_def.
59110 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59111 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59112 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59113 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59114 Likewise.
59115 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59116 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59117 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59118 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59119
59120 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59121
59122 [BZ #16077]
59123 * nss/Versions (libnss_files): Add
59124 _nss_files_gethostbyname3_r.
59125 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59126 New function.
59127 (HOST_DB_LOOKUP): Remove macro.
59128 (_nss_files_gethostbyname_r): Implement function without the
59129 HOST_DB_LOOKUP macro.
59130 (_nss_files_gethostbyname2_r): Likewise.
59131
59132 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
59133
59134 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59135
59136 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
59137
59138 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59139 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59140 warning.
59141
59142 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59143
59144 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59145 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59146 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59147 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59148 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59149 __fe_nomask_env_priv and attribute_hidden.
59150 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59151 (libc_feupdateenv_test_ppc): Likewise.
59152 (libc_feresetround_ppc): Likewise.
59153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59154 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59155 compat_symbol macro.
59156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59157 (__fe_nomask_env): Likewise.
59158 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59159
59160 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
59161
59162 * string/Makefile: Remove ifunc tests.
59163 * string/test-string.h: Define TEST_IFUNC.
59164 * string/test-bcopy-ifunc.c: Remove.
59165 * string/test-bzero-ifunc.c: Likewise.
59166 * string/test-memccpy-ifunc.c: Likewise.
59167 * string/test-memchr-ifunc.c: Likewise.
59168 * string/test-memcmp-ifunc.c: Likewise.
59169 * string/test-memcpy-ifunc.c: Likewise.
59170 * string/test-memmem-ifunc.c: Likewise.
59171 * string/test-memmove-ifunc.c: Likewise.
59172 * string/test-mempcpy-ifunc.c: Likewise.
59173 * string/test-memrchr-ifunc.c: Likewise.
59174 * string/test-memset-ifunc.c: Likewise.
59175 * string/test-rawmemchr-ifunc.c: Likewise.
59176 * string/test-stpcpy-ifunc.c: Likewise.
59177 * string/test-stpncpy-ifunc.c: Likewise.
59178 * string/test-strcasecmp-ifunc.c: Likewise.
59179 * string/test-strcasestr-ifunc.c: Likewise.
59180 * string/test-strcat-ifunc.c: Likewise.
59181 * string/test-strchr-ifunc.c: Likewise.
59182 * string/test-strchrnul-ifunc.c: Likewise.
59183 * string/test-strcmp-ifunc.c: Likewise.
59184 * string/test-strcpy-ifunc.c: Likewise.
59185 * string/test-strcspn-ifunc.c: Likewise.
59186 * string/test-strlen-ifunc.c: Likewise.
59187 * string/test-strncasecmp-ifunc.c: Likewise.
59188 * string/test-strncat-ifunc.c: Likewise.
59189 * string/test-strncmp-ifunc.c: Likewise.
59190 * string/test-strncpy-ifunc.c: Likewise.
59191 * string/test-strnlen-ifunc.c: Likewise.
59192 * string/test-strpbrk-ifunc.c: Likewise.
59193 * string/test-strrchr-ifunc.c: Likewise.
59194 * string/test-strspn-ifunc.c: Likewise.
59195 * string/test-strstr-ifunc.c: Likewise.
59196
59197 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
59198
59199 * benchtests/Makefile: Remove ifunc tests.
59200 * benchtests/bench-string.h: Define TEST_IFUNC.
59201 * benchtests/bench-bcopy-ifunc.c: Remove.
59202 * benchtests/bench-bzero-ifunc.c: Likewise.
59203 * benchtests/bench-memccpy-ifunc.c: Likewise.
59204 * benchtests/bench-memchr-ifunc.c: Likewise.
59205 * benchtests/bench-memcmp-ifunc.c: Likewise.
59206 * benchtests/bench-memcpy-ifunc.c: Likewise.
59207 * benchtests/bench-memmem-ifunc.c: Likewise.
59208 * benchtests/bench-memmove-ifunc.c: Likewise.
59209 * benchtests/bench-mempcpy-ifunc.c: Likewise.
59210 * benchtests/bench-memrchr-ifunc.c: Likewise.
59211 * benchtests/bench-memset-ifunc.c: Likewise.
59212 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59213 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59214 * benchtests/bench-stpcpy-ifunc.c: Likewise.
59215 * benchtests/bench-stpncpy-ifunc.c: Likewise.
59216 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59217 * benchtests/bench-strcasestr-ifunc.c: Likewise.
59218 * benchtests/bench-strcat-ifunc.c: Likewise.
59219 * benchtests/bench-strchr-ifunc.c: Likewise.
59220 * benchtests/bench-strchrnul-ifunc.c: Likewise.
59221 * benchtests/bench-strcmp-ifunc.c: Likewise.
59222 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59223 * benchtests/bench-strcpy-ifunc.c: Likewise.
59224 * benchtests/bench-strcspn-ifunc.c: Likewise.
59225 * benchtests/bench-strlen-ifunc.c: Likewise.
59226 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59227 * benchtests/bench-strncat-ifunc.c: Likewise.
59228 * benchtests/bench-strncmp-ifunc.c: Likewise.
59229 * benchtests/bench-strncpy-ifunc.c: Likewise.
59230 * benchtests/bench-strnlen-ifunc.c: Likewise.
59231 * benchtests/bench-strpbrk-ifunc.c: Likewise.
59232 * benchtests/bench-strrchr-ifunc.c: Likewise.
59233 * benchtests/bench-strsep-ifunc.c: Likewise.
59234 * benchtests/bench-strspn-ifunc.c: Likewise.
59235 * benchtests/bench-strstr-ifunc.c: Likewise.
59236
59237 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
59238
59239 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59240
59241 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
59242
59243 * resolv/netdb.h: Use __glibc_reserved instead __unused.
59244 * rt/aio.h: Likewise.
59245 * sysdeps/gnu/bits/utmp.h: Likewise.
59246 * sysdeps/gnu/bits/utmpx.h: Likewise.
59247 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59248 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59249 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59250 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59251 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59252 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59253 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59254 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59255 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59256 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59257 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59258 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59259 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59261 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59262 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59263 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59264 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59265 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59266 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59267 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59268 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59269 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59270 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59271 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59273 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59274 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59275 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59276 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59277 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59278 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59279 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59280 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59281 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59282 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59283 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59284 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59285 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59286 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59287 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59288 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59289
59290 2013-11-25 Carlos O'Donell <carlos@redhat.com>
59291
59292 [BZ #16245]
59293 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59294 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59295
59296 2013-11-25 Joseph Myers <joseph@codesourcery.com>
59297
59298 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59299 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59300 Likewise.
59301
59302 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59303
59304 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59305 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59306 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59307 (__fesetround): Remove define.
59308 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59309 rounding and exceptions handling.
59310 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59311 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59312 (__fe_nomask_env): Likewise.
59313 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59314 __fegetround instead of fegetround.
59315 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59316 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59317
59318 2013-11-21 Roland McGrath <roland@hack.frob.com>
59319
59320 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59321 it's there.
59322
59323 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59324
59325 2013-11-21 Meador Inge <meadori@codesourcery.com>
59326
59327 [BZ #11157]
59328 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59329 (encrypt_r): Likewise.
59330 * malloc/obstack.h (obstack_free): Likewise.
59331 * posix/unistd.h (encrypt): Likewise.
59332
59333 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
59334
59335 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59336 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59337 DL_CALL_DT_FINI() that call the functions directly.
59338 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59339 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59340 * elf/dl-fini.c: Likewise.
59341
59342 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
59343
59344 * malloc/hooks.c (memalign_check): Add alignment rounding.
59345 * malloc/malloc.c (_mid_memalign): New function.
59346 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59347 Implement by calling _mid_memalign.
59348 * manual/probes.texi (Memory Allocation Probes): Remove
59349 memory_valloc_retry and memory_pvalloc_retry.
59350
59351 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59352
59353 * locale/programs/locarchive.c (open_archive): Add const
59354 qualifier to ARCHIVEFNAME and copy default fname to
59355 DEFAULT_FNAME.
59356
59357 [BZ #15601]
59358 * libio/tst-widetext.input: Rename Oriya to Odia.
59359 * locale/iso-639.def: Likewise.
59360
59361 * manual/probes.texi (Mathematical Function Probes): Add
59362 documentation for sin, cos, asin and acos probes.
59363 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59364 (__sin32): Add slowasin probe.
59365 (__cos32): Add slowacos probe.
59366 (__mpsin): Add slowsin probe.
59367 (__mpcos): Add slowcos probe.
59368
59369 2013-11-19 Joseph Myers <joseph@codesourcery.com>
59370
59371 [BZ #15483]
59372 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59373 thread-local __sim_exceptions_thread and global
59374 __sim_exceptions_global.
59375 (__sim_disabled_exceptions): Change to thread-local
59376 __sim_disabled_exceptions_thread and global
59377 __sim_disabled_exceptions_global.
59378 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59379 and global __sim_round_mode_global.
59380 (__simulate_exceptions): Use thread-local floating-point state and
59381 set global state from it as needed.
59382 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59383 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59384 __sim_round_mode_thread.
59385 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59386 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59387 and global __sim_exceptions_global.
59388 (__sim_disabled_exceptions): Change to thread-local
59389 __sim_disabled_exceptions_thread and global
59390 __sim_disabled_exceptions_global.
59391 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59392 and global __sim_round_mode_global.
59393 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59394 (SIM_SET_GLOBAL): Likewise.
59395 * sysdeps/powerpc/soft-fp/sfp-machine.h
59396 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59397 __sim_round_mode_thread.
59398 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59399 __sim_disabled_exceptions_thread.
59400 (__sim_exceptions): Change to __sim_exceptions_thread.
59401 (__sim_disabled_exceptions): Change to
59402 __sim_disabled_exceptions_thread.
59403 (__sim_round_mode): Change to __sim_round_mode_thread.
59404 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59405 thread-local floating-point state and set global state from it as
59406 needed.
59407 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59408 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59409 (__sim_disabled_exceptions): Remove extern declaration.
59410 (feenableexcept): Use thread-local floating-point state and set
59411 global state from it as needed.
59412 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59413 extern declaration.
59414 (__sim_disabled_exceptions): Likewise.
59415 (__sim_round_mode): Likewise.
59416 (__fegetenv): Use thread-local floating-point state.
59417 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59418 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59419 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59420 floating-point state and set global state from it as needed.
59421 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59422 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59423 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59424 Likewise.
59425 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59426 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59427 Likewise.
59428 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59429 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59430 Use __sim_round_mode_thread.
59431 * math/test-fenv-tls.c: New file.
59432 * math/Makefile (tests): Add test-fenv-tls.
59433 ($(objpfx)test-fenv-tls): Depend on
59434 $(common-objpfx)nptl/libpthread.so.
59435
59436 2013-11-19 Andreas Schwab <schwab@suse.de>
59437
59438 * locale/programs/locale.c (show_info): Decode wordarray elements.
59439 * locale/categories.def (LC_MONETARY): Add element for
59440 _NL_MONETARY_CRNCYSTR.
59441 * locale/C-monetary.c (conversion_rate): New variable.
59442 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59443 element.
59444
59445 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
59446
59447 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59448 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59449
59450 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
59451
59452 * elf/Makefile (tst-auxv): New test.
59453 * elf/tst-auxv.c: New
59454 * elf/rtld.c (dl_main): Adjust AT_EXECFN
59455
59456 2013-11-18 Joseph Myers <joseph@codesourcery.com>
59457
59458 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59459 (hidden_proto): Caller changed.
59460 (hidden_tls_proto): New macro.
59461 (libc_hidden_tls_proto): Likewise.
59462 (rtld_hidden_tls_proto): Likewise.
59463 (libm_hidden_tls_proto): Likewise.
59464 (libresolv_hidden_tls_proto): Likewise.
59465 (librt_hidden_tls_proto): Likewise.
59466 (libdl_hidden_tls_proto): Likewise.
59467 (libnss_files_hidden_tls_proto): Likewise.
59468 (libnsl_hidden_tls_proto): Likewise.
59469 (libnss_nisplus_hidden_tls_proto): Likewise.
59470 (libutil_hidden_tls_proto): Likewise.
59471
59472 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
59473
59474 [BZ #10253]
59475 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59476 (decompose_rpath): Defer expansion to fillin_rpath.
59477 (_dl_init_paths): Pass linkmap to fillin_rpath.
59478
59479 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
59480
59481 * benchtests/Makefile: Add strsep.
59482 * benchtests/bench-strsep.c: New file: strsep benchtest.
59483 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59484
59485 2013-11-18 Andreas Schwab <schwab@suse.de>
59486
59487 * locale/programs/locale.c (show_info) [case byte]: Check for
59488 '\377' instead of '\177'.
59489 * locale/C-monetary.c (not_available): Always use "\377".
59490 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59491 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
59492 detect unavailable sign_posn locale elements.
59493 * locale/localeconv.c (__localeconv): For grouping and
59494 mon_grouping handle "\177" and "\377" like no grouping.
59495 (INT_ELEM): New macro. Use it to set all numeric members.
59496 * locale/programs/ld-monetary.c (monetary_read)
59497 <tok_mon_grouping>: Normalize single -1 to the empty string.
59498 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59499 Likewise.
59500
59501 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
59502
59503 [BZ #16055]
59504 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59505 when we match (nil).
59506 * stdio-common/tst-sscanf.c (struct test): Add testcase.
59507
59508 2013-11-16 Joseph Myers <joseph@codesourcery.com>
59509
59510 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59511 (NO_TEST_INLINE): Update value.
59512 (ERRNO_UNCHANGED): Likewise.
59513 (ERRNO_EDOM): Likewise.
59514 (ERRNO_ERANGE): Likewise.
59515 (IGNORE_RESULT): Likewise.
59516 (check_float_internal): Check signs of NaN results if
59517 TEST_NAN_SIGN used.
59518 (check_complex): Pass TEST_NAN_SIGN flag through to second
59519 check_float_internal call.
59520 (copysign_test_data): Add tests with quiet NaNs as second
59521 argument. Use TEST_NAN_SIGN.
59522 (fabs_test_data): Add test of negative quiet NaN argument. Use
59523 TEST_NAN_SIGN.
59524 (signbit_test_data): Add tests of quiet NaN argument.
59525 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59526
59527 * math/gen-libm-test.pl (show_exceptions): Take extra argument
59528 $ignore_result.
59529 (parse_args): Handle function results specified as IGNORE.
59530 * math/libm-test.inc (IGNORE_RESULT): New macro.
59531 (check_float_internal): Do not check numerical result if flag
59532 IGNORE_RESULT set.
59533 (check_complex): Pass through IGNORE_RESULT to second
59534 check_float_internal call.
59535 (check_int): Do not check numerical result if flag IGNORE_RESULT
59536 set.
59537 (check_long): Likewise.
59538 (check_bool): Likewise.
59539 (check_longlong): Likewise.
59540 (lrint_test_data): Add tests of infinite and NaN arguments.
59541 (lrint_tonearest_test_data): Likewise.
59542 (lrint_towardzero_test_data): Likewise.
59543 (lrint_downward_test_data): Likewise.
59544 (lrint_upward_test_data): Likewise.
59545 (llrint_test_data): Likewise.
59546 (llrint_tonearest_test_data): Likewise.
59547 (llrint_towardzero_test_data): Likewise.
59548 (llrint_downward_test_data): Likewise.
59549 (llrint_upward_test_data): Likewise.
59550 (lround_test_data): Likewise.
59551 (llround_test_data): Likewise.
59552
59553 * math/libm-test.inc (NO_TEST_INLINE): New macro.
59554 (ERRNO_UNCHANGED): Update value.
59555 (ERRNO_EDOM): Likewise.
59556 (ERRNO_ERANGE): Likewise.
59557 (NO_TEST_INLINE_FLOAT): New macro.
59558 (NO_TEST_INLINE_DOUBLE): Likewise.
59559 (enable_test): New function.
59560 (RUN_TEST_f_f): Check enable_test before running test.
59561 (RUN_TEST_2_f): Likewise.
59562 (RUN_TEST_fff_f): Likewise.
59563 (RUN_TEST_c_f): Likewise.
59564 (RUN_TEST_f_f1): Likewise.
59565 (RUN_TEST_fF_f1): Likewise.
59566 (RUN_TEST_fI_f1): Likewise.
59567 (RUN_TEST_ffI_f1): Likewise.
59568 (RUN_TEST_c_c): Likewise.
59569 (RUN_TEST_cc_c): Likewise.
59570 (RUN_TEST_f_i): Likewise.
59571 (RUN_TEST_f_i_tg): Likewise.
59572 (RUN_TEST_ff_i_tg): Likewise.
59573 (RUN_TEST_f_b): Likewise.
59574 (RUN_TEST_f_b_tg): Likewise.
59575 (RUN_TEST_f_l): Likewise.
59576 (RUN_TEST_f_L): Likewise.
59577 (RUN_TEST_fFF_11): Likewise.
59578 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59579 conditionals.
59580 (cosh_test_data): Likewise.
59581 (exp_test_data): Likewise.
59582 (expm1_test_data): Likewise.
59583 (hypot_test_data): Likewise.
59584 (pow_test_data): Likewise.
59585 (sinh_test_data): Likewise.
59586 (tanh_test_data): Likewise.
59587 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59588 flags argument.
59589
59590 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59591 tests with quiet NaN input and output.
59592 (acosh_test_data): Likewise.
59593 (asin_test_data): Likewise.
59594 (asinh_test_data): Likewise.
59595 (atan_test_data): Likewise.
59596 (atanh_test_data): Likewise.
59597 (atan2_test_data): Likewise.
59598 (cbrt_test_data): Likewise.
59599 (cos_test_data): Likewise.
59600 (cosh_test_data): Likewise.
59601 (erf_test_data): Likewise.
59602 (erfc_test_data): Likewise.
59603 (exp_test_data): Likewise.
59604 (exp10_test_data): Likewise.
59605 (exp2_test_data): Likewise.
59606 (expm1_test_data): Likewise.
59607 (hypot_test_data): Likewise.
59608 (j0_test_data): Likewise.
59609 (j1_test_data): Likewise.
59610 (jn_test_data): Likewise.
59611 (lgamma_test_data): Likewise.
59612 (log_test_data): Likewise.
59613 (log10_test_data): Likewise.
59614 (log1p_test_data): Likewise.
59615 (log2_test_data): Likewise.
59616 (pow_test_data): Likewise.
59617 (scalb_test_data): Likewise.
59618 (sin_test_data): Likewise.
59619 (sincos_test_data): Likewise.
59620 (sinh_test_data): Likewise.
59621 (tan_test_data): Likewise.
59622 (tanh_test_data): Likewise.
59623 (tgamma_test_data): Likewise.
59624 (y0_test_data): Likewise.
59625 (y1_test_data): Likewise.
59626 (yn_test_data): Likewise.
59627
59628 [BZ #16167]
59629 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59630 argument being NaN and avoid computations with second argument in
59631 that case.
59632 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59633 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59634 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59635
59636 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
59637
59638 * locale/iso-639.def: Add Chitwani Tharu (the).
59639
59640 2013-11-14 Andreas Schwab <schwab@suse.de>
59641
59642 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59643 word instead of empty string.
59644
59645 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59646
59647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59648 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59650 (__fe_nomask_env): Likewise.
59651
59652 2013-11-13 Steve Ellcey <sellcey@mips.com>
59653
59654 * benchtests/bench-timing.h: Include time.h.
59655
59656 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
59657
59658 [BZ #15997]
59659 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59660 to 3.4.0 for x32.
59661 * sysdeps/unix/sysv/linux/configure: Regenerated.
59662
59663 2013-11-13 Joseph Myers <joseph@codesourcery.com>
59664
59665 [BZ #16151]
59666 * stdlib/strtod_l.c (round_and_return): Do not consider
59667 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59668 exponent one less than half the least subnormal exponent.
59669 * stdlib/test-strtod-round-data: Add more tests.
59670 * stdlib/tst-strtod-round.c (tests): Regenerated.
59671
59672 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59673
59674 [BZ #14143]
59675 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59676 (__fe_mask_env): Likewise.
59677 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59678 libm_hidden_proto and add function prototype.
59679 (__fe_mask_env): Add function prototype.
59680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59681 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59683 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59685 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59686
59687 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59688
59689 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59690 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59691
59692 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59693
59694 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59695 of htab_find_slot().
59696
59697 2013-11-11 David S. Miller <davem@davemloft.net>
59698
59699 [BZ #16150]
59700 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59701 symbol in the non-vis3 case in static builds.
59702 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59703 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59704 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59705 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59706
59707 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
59708
59709 [BZ #387]
59710 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59711 it is empty.
59712
59713 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59714
59715 * benchtests/Makefile: Add bench-strtod.
59716 * benchtests/bench-strtod.c: New file: strtod benchtest
59717
59718 2013-11-11 Andreas Schwab <schwab@suse.de>
59719
59720 [BZ #16153]
59721 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
59722 terminating NUL in key length.
59723
59724 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59725
59726 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59727 Add artificial ODP entry for vDSO symbol for PPC64.
59728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
59729 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59730
59731 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
59732
59733 [BZ #15374]
59734 * nss/getent.c (services_keys): Recognize services starting with digit.
59735
59736 2013-11-06 David S. Miller <davem@davemloft.net>
59737
59738 [BZ #15985]
59739 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
59740 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
59741
59742 2013-11-06 Will Newton <will.newton@linaro.org>
59743
59744 * manual/memory.texi (Malloc Examples): Remove register
59745 keyword from examples.
59746
59747 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
59748
59749 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
59750
59751 2013-11-04 Joseph Myers <joseph@codesourcery.com>
59752
59753 [BZ #6981]
59754 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
59755 depending on [__GCC_IEC_559 > 0].
59756 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
59757 depending on [__GCC_IEC_559_COMPLEX > 0].
59758
59759 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
59760
59761 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
59762 to iso-639.def.
59763
59764 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
59765
59766 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
59767
59768 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
59769
59770 [BZ #16112]
59771 * malloc/malloc (malloc_info): Do not handle first bin as
59772 special case.
59773
59774 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
59775
59776 * locale/iso-639.def: Add Central Nahuatl (nhn).
59777
59778 2013-11-01 Bruno Haible <bruno@clisp.org>
59779
59780 [BZ #7003]
59781 * manual/math.texi (BSD Random): Specify range upper bound as
59782 in POSIX.
59783
59784 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
59785
59786 * locale/iso-639.def: Add Meadow Mari (mhr).
59787
59788 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
59789
59790 [BZ #14752], [BZ #15763]
59791 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
59792 Validate name.
59793 * rt/tst_shm.c: Add test for escaping directory.
59794
59795 2013-10-31 Andreas Schwab <schwab@suse.de>
59796
59797 [BZ #15917]
59798 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
59799 followed by 'x' as part of digit sequence.
59800 * stdio-common/tst-sscanf.c (double_tests2): New tests.
59801
59802 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
59803
59804 [BZ #16037]
59805 * configure.ac: allow GNU Make 4.0 and greater.
59806 * configure: Regenerated.
59807
59808 2013-10-30 Will Newton <will.newton@linaro.org>
59809
59810 [BZ #16038]
59811 * malloc/hooks.c (memalign_check): Limit alignment to the
59812 maximum representable power of two.
59813 * malloc/malloc.c (__libc_memalign): Likewise.
59814 * malloc/tst-memalign.c (do_test): Add test for very
59815 large alignment values.
59816 * malloc/tst-posix_memalign.c (do_test): Likewise.
59817
59818 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
59819
59820 [BZ #11087]
59821 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
59822 (munmap_chunk): Likewise.
59823 (mremap_chunk): Likewise.
59824
59825 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
59826
59827 [BZ #15799]
59828 * stdlib/div.c (div): Remove obsolete code.
59829 * stdlib/ldiv.c (ldiv): Likewise.
59830 * stdlib/lldiv.c (lldiv): Likewise.
59831
59832 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
59833
59834 [BZ #16071]
59835 * nss/nss_files/files-XXX.c (get_contents_ret): New
59836 enumerator.
59837 (get_contents): New function.
59838 (internal_getent): Use it. Expand size of LINEBUFLEN.
59839
59840 2013-10-30 Mike Frysinger <vapier@gentoo.org>
59841
59842 * configure.in: Moved to ...
59843 * configure.ac: ... here. Change reference to configure.in
59844 to configure.ac.
59845 * sysdeps/arm/preconfigure.ac: ... here.
59846 configure.in to configure.ac.
59847 * sysdeps/gnu/configure.in: Moved to ...
59848 * sysdeps/gnu/configure.ac: ... here.
59849 * sysdeps/i386/configure.in: Moved to ...
59850 * sysdeps/i386/configure.ac: ... here.
59851 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
59852 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
59853 * sysdeps/mach/configure.in: Moved to ...
59854 * sysdeps/mach/configure.ac: ... here.
59855 * sysdeps/mach/hurd/configure.in: Moved to ...
59856 * sysdeps/mach/hurd/configure.ac: ... here.
59857 * sysdeps/powerpc/configure.in: Moved to ...
59858 * sysdeps/powerpc/configure.ac: ... here.
59859 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
59860 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
59861 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
59862 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
59863 * sysdeps/s390/s390-32/configure.in: Moved to ...
59864 * sysdeps/s390/s390-32/configure.ac: ... here.
59865 * sysdeps/s390/s390-64/configure.in: Moved to ...
59866 * sysdeps/s390/s390-64/configure.ac: ... here.
59867 * sysdeps/sh/configure.in: Moved to ...
59868 * sysdeps/sh/configure.ac: ... here.
59869 * sysdeps/sparc/configure.in: Moved to ...
59870 * sysdeps/sparc/configure.ac: ... here.
59871 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
59872 * sysdeps/unix/sysv/linux/configure.ac: ... here.
59873 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
59874 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
59875 * sysdeps/x86_64/configure.in: Moved to ...
59876 * sysdeps/x86_64/configure.ac: ... here.
59877 * sysdeps/x86_64/preconfigure.in: Moved to ...
59878 * sysdeps/x86_64/preconfigure.ac: ... here.
59879 * aclocal.m4: Change reference to configure.in to configure.ac.
59880 * config.h.in: Likewise.
59881 * manual/install.texi: Likewise.
59882 * manual/maint.texi: Likewise.
59883 * Makefile: Likewise.
59884 * malloc/Makefile: Likewise.
59885 * nscd/Makefile: Likewise.
59886 * Makeconfig: Change reference to configure.in and
59887 preconfigure.in to configure.ac and preconfigure.ac
59888 respectively.
59889 * INSTALL: Regenerated.
59890 * configure: Likewise.
59891 * sysdeps/gnu/configure: Likewise.
59892 * sysdeps/i386/configure: Likewise.
59893 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
59894 * sysdeps/mach/configure: Likewise.
59895 * sysdeps/mach/hurd/configure: Likewise.
59896 * sysdeps/powerpc/configure: Likewise.
59897 * sysdeps/powerpc/powerpc32/configure: Likewise.
59898 * sysdeps/powerpc/powerpc64/configure: Likewise.
59899 * sysdeps/s390/s390-32/configure: Likewise.
59900 * sysdeps/s390/s390-64/configure: Likewise.
59901 * sysdeps/sh/configure: Likewise.
59902 * sysdeps/sparc/configure: Likewise.
59903 * sysdeps/unix/sysv/linux/configure: Likewise.
59904 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
59905 * sysdeps/x86_64/configure: Likewise.
59906 * sysdeps/x86_64/preconfigure: Likewise.
59907
59908 2013-10-29 Andreas Schwab <schwab@suse.de>
59909
59910 * stdio-common/Makefile (tst-swscanf-ENV): Define.
59911
59912 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59913
59914 * benchtests/pow-inputs: Add new inputs.
59915
59916 * benchtests/exp-inputs: Add new inputs.
59917
59918 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
59919 conditional check for return value.
59920 (__cos32): Likewise.
59921
59922 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59923
59924 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
59925 to provide a boost for large inputs with word alignment.
59926 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
59927 implementation based on optimized PPC64 strcpy.
59928 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
59929 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
59930 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
59931 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
59932
59933 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
59934
59935 [BZ #2801]
59936 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
59937
59938 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
59939
59940 [BZ #14876]
59941 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
59942 * time/tst-strptime.c (day_tests): Add testcase.
59943
59944 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
59945
59946 [BZ #14029]
59947 * manual/pattern.texi: Acknowledge that fnmatch can fail.
59948
59949 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
59950
59951 [BZ #16074]
59952 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
59953 MAP_FAILED on error.
59954
59955 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59956
59957 [BZ #16072]
59958 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
59959 heap for large requests.
59960
59961 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
59962
59963 [BZ #9954]
59964 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
59965 result if the result has no associated interface.
59966 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
59967 interface for all 127.X.Y.Z addresses.
59968
59969 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
59970
59971 * locale/iso-639.def: Add Ligurian (lij)
59972
59973 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
59974
59975 [BZ #15825]
59976 * sunrpc/rpc_main.c: Document rpcgen -5.
59977
59978 2013-10-19 Michael Stahl <mstahl@redhat.com>
59979
59980 * elf/rtld.c (do_preload): Print the reason why preloading failed.
59981
59982 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
59983
59984 [BZ #10278]
59985 * posix/glob.c: Match only directories when trailing slash is present.
59986 * posix/tst-gnuglob.c (my_opendir): Do not open files.
59987 (main): Add testcase.
59988
59989 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
59990
59991 [BZ #15670]
59992 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
59993
59994 2013-10-18 Carlos O'Donell <carlos@redhat.com>
59995
59996 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
59997 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
59998 AUTH_DES and cindex for FIPS 140-2.
59999 (DES Encryption): Add cindex FIPS 46-3.
60000
60001 * locale/locarchive.h (struct locarhandle): Add fname.
60002 * locale/programs/localedef.c (main): Pass ARGV[remaining]
60003 if an optional argument was specified to --list-archive,
60004 otherwise NULL.
60005 * locale/programs/locarchive.c (show_archive_content): Take new
60006 argument fname and pass it via ah.fname to open_archive.
60007 * locale/programs/localedef.h: Update decl.
60008 (open_archive): If AH->fname is non-null, open that file
60009 rather than the default file name, and don't ignore ENOENT.
60010 (create_archive): Set AH.fname to NULL.
60011 (delete_locales_from_archive): Likewise.
60012 (add_locales_to_archive): Likewise.
60013 * locale/programs/locfile.c (write_all_categories): Likewise.
60014
60015 2013-10-18 Joseph Myers <joseph@codesourcery.com>
60016 Aldy Hernandez <aldyh@redhat.com>
60017
60018 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60019 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60020 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60021 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60022 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60023 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60024 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60025 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60026 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60027 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60028 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60029 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60030 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60031 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60032 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60033 Likewise.
60034 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60035 Likewise.
60036 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60037 Likewise.
60038 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60039 Likewise.
60040 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60041 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60042 Likewise.
60043 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60044 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60045 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60046 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60047 Likewise.
60048 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60049 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60050 * sysdeps/powerpc/preconfigure: Likewise.
60051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60052 Likewise.
60053 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60054 Replace contents of file by #include of <fenv_libc.h>.
60055 * sysdeps/powerpc/soft-fp/sfp-machine.h
60056 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60057 and <sys/prctl.h>.
60058 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60059 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60060 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60061 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60062 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60063 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60065 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60066 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60069 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60071 Allow copysignl PLT reference to be missing.
60072
60073 2013-10-18 Richard Sandiford <richard@codesourcery.com>
60074 Joseph Myers <joseph@codesourcery.com
60075
60076 [BZ #15948]
60077 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60078 single character.
60079 (add_to_tablewc): Assert sequence of wide characters is nonempty.
60080
60081 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60082
60083 * elf/tst-tls-dlinfo.c: Don't include tls.h.
60084 * elf/tst-tls1.c: Likewise.
60085 * elf/tst-tls10.h: Likewise.
60086 * elf/tst-tls14.c: Likewise.
60087 * elf/tst-tls2.c: Likewise.
60088 * elf/tst-tls3.c: Likewise.
60089 * elf/tst-tls4.c: Likewise.
60090 * elf/tst-tls5.c: Likewise.
60091 * elf/tst-tls6.c: Likewise.
60092 * elf/tst-tls7.c: Likewise.
60093 * elf/tst-tls8.c: Likewise.
60094 * elf/tst-tls9.c: Likewise.
60095 * elf/tst-tlsmod1.c: Likewise.
60096 * elf/tst-tlsmod13.c: Likewise.
60097 * elf/tst-tlsmod13a.c: Likewise.
60098 * elf/tst-tlsmod14a.c: Likewise.
60099 * elf/tst-tlsmod16a.c: Likewise.
60100 * elf/tst-tlsmod16b.c: Likewise.
60101 * elf/tst-tlsmod2.c: Likewise.
60102 * elf/tst-tlsmod3.c: Likewise.
60103 * elf/tst-tlsmod4.c: Likewise.
60104 * elf/tst-tlsmod5.c: Likewise.
60105 * elf/tst-tlsmod6.c: Likewise.
60106
60107 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
60108
60109 [BZ #12486]
60110 * malloc/malloc.c: remove checks for statistics.
60111
60112 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
60113
60114 [BZ #15277]
60115 * inet/inet_net.c (inet_network): Detect additional invalid strings.
60116 * inet/tst-network.c: Add testcase.
60117
60118 2013-10-17 Andreas Schwab <schwab@suse.de>
60119
60120 [BZ #15218]
60121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60122 to determine canonical name.
60123
60124 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
60125
60126 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60127 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60129 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60131 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60132 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60133 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60135 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60136 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60138 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60139 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60140 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60141 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60143 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60144 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60145 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60148 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60149 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60150 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60151 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60152 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60153 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60154 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60155 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60156 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60158 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60159 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60160 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60161 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60162 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60163 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60164 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60165 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60166 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60167 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60168 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60169 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60170 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60171 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60172 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60173 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60174 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60175 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60176 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60177 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60178 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60179 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60181 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60183 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60184
60185 2013-10-17 Joseph Myers <joseph@codesourcery.com>
60186
60187 [BZ #16041]
60188 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60189 make result into a quiet NaN.
60190
60191 2013-10-16 Joseph Myers <joseph@codesourcery.com>
60192
60193 * soft-fp/adddf3.c: Fix horizontal whitespace.
60194 * soft-fp/addsf3.c: Likewise.
60195 * soft-fp/addtf3.c: Likewise.
60196 * soft-fp/divdf3.c: Likewise.
60197 * soft-fp/divsf3.c: Likewise.
60198 * soft-fp/divtf3.c: Likewise.
60199 * soft-fp/double.h: Likewise.
60200 * soft-fp/eqdf2.c: Likewise.
60201 * soft-fp/eqsf2.c: Likewise.
60202 * soft-fp/eqtf2.c: Likewise.
60203 * soft-fp/extenddftf2.c: Likewise.
60204 * soft-fp/extended.h: Likewise.
60205 * soft-fp/extendsfdf2.c: Likewise.
60206 * soft-fp/extendsftf2.c: Likewise.
60207 * soft-fp/extendxftf2.c: Likewise.
60208 * soft-fp/fixdfdi.c: Likewise.
60209 * soft-fp/fixdfsi.c: Likewise.
60210 * soft-fp/fixdfti.c: Likewise.
60211 * soft-fp/fixsfdi.c: Likewise.
60212 * soft-fp/fixsfsi.c: Likewise.
60213 * soft-fp/fixsfti.c: Likewise.
60214 * soft-fp/fixtfdi.c: Likewise.
60215 * soft-fp/fixtfsi.c: Likewise.
60216 * soft-fp/fixtfti.c: Likewise.
60217 * soft-fp/fixunsdfdi.c: Likewise.
60218 * soft-fp/fixunsdfsi.c: Likewise.
60219 * soft-fp/fixunsdfti.c: Likewise.
60220 * soft-fp/fixunssfdi.c: Likewise.
60221 * soft-fp/fixunssfsi.c: Likewise.
60222 * soft-fp/fixunssfti.c: Likewise.
60223 * soft-fp/fixunstfdi.c: Likewise.
60224 * soft-fp/fixunstfsi.c: Likewise.
60225 * soft-fp/fixunstfti.c: Likewise.
60226 * soft-fp/floatdidf.c: Likewise.
60227 * soft-fp/floatdisf.c: Likewise.
60228 * soft-fp/floatditf.c: Likewise.
60229 * soft-fp/floatsidf.c: Likewise.
60230 * soft-fp/floatsisf.c: Likewise.
60231 * soft-fp/floatsitf.c: Likewise.
60232 * soft-fp/floattidf.c: Likewise.
60233 * soft-fp/floattisf.c: Likewise.
60234 * soft-fp/floattitf.c: Likewise.
60235 * soft-fp/floatundidf.c: Likewise.
60236 * soft-fp/floatundisf.c: Likewise.
60237 * soft-fp/floatunditf.c: Likewise.
60238 * soft-fp/floatunsidf.c: Likewise.
60239 * soft-fp/floatunsisf.c: Likewise.
60240 * soft-fp/floatunsitf.c: Likewise.
60241 * soft-fp/floatuntidf.c: Likewise.
60242 * soft-fp/floatuntisf.c: Likewise.
60243 * soft-fp/floatuntitf.c: Likewise.
60244 * soft-fp/fmadf4.c: Likewise.
60245 * soft-fp/fmasf4.c: Likewise.
60246 * soft-fp/fmatf4.c: Likewise.
60247 * soft-fp/gedf2.c: Likewise.
60248 * soft-fp/gesf2.c: Likewise.
60249 * soft-fp/getf2.c: Likewise.
60250 * soft-fp/ledf2.c: Likewise.
60251 * soft-fp/lesf2.c: Likewise.
60252 * soft-fp/letf2.c: Likewise.
60253 * soft-fp/muldf3.c: Likewise.
60254 * soft-fp/mulsf3.c: Likewise.
60255 * soft-fp/multf3.c: Likewise.
60256 * soft-fp/negdf2.c: Likewise.
60257 * soft-fp/negsf2.c: Likewise.
60258 * soft-fp/negtf2.c: Likewise.
60259 * soft-fp/op-1.h: Likewise.
60260 * soft-fp/op-2.h: Likewise.
60261 * soft-fp/op-4.h: Likewise.
60262 * soft-fp/op-8.h: Likewise.
60263 * soft-fp/op-common.h: Likewise.
60264 * soft-fp/quad.h: Likewise.
60265 * soft-fp/single.h: Likewise.
60266 * soft-fp/soft-fp.h: Likewise.
60267 * soft-fp/sqrtdf2.c: Likewise.
60268 * soft-fp/sqrtsf2.c: Likewise.
60269 * soft-fp/sqrttf2.c: Likewise.
60270 * soft-fp/subdf3.c: Likewise.
60271 * soft-fp/subsf3.c: Likewise.
60272 * soft-fp/subtf3.c: Likewise.
60273 * soft-fp/truncdfsf2.c: Likewise.
60274 * soft-fp/trunctfdf2.c: Likewise.
60275 * soft-fp/trunctfsf2.c: Likewise.
60276 * soft-fp/trunctfxf2.c: Likewise.
60277 * soft-fp/unorddf2.c: Likewise.
60278 * soft-fp/unordsf2.c: Likewise.
60279 * soft-fp/unordtf2.c: Likewise.
60280
60281 2013-10-15 Joseph Myers <joseph@codesourcery.com>
60282
60283 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60284 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60285
60286 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
60287
60288 * elf/dl-libc.c: Clear initfini list after freeing.
60289
60290 2013-10-14 Joseph Myers <joseph@codesourcery.com>
60291
60292 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60293 * soft-fp/addsf3.c: Likewise.
60294 * soft-fp/addtf3.c: Likewise.
60295 * soft-fp/divdf3.c: Likewise.
60296 * soft-fp/divsf3.c: Likewise.
60297 * soft-fp/divtf3.c: Likewise.
60298 * soft-fp/double.h: Likewise.
60299 * soft-fp/eqdf2.c: Likewise.
60300 * soft-fp/eqsf2.c: Likewise.
60301 * soft-fp/eqtf2.c: Likewise.
60302 * soft-fp/extenddftf2.c: Likewise.
60303 * soft-fp/extended.h: Likewise.
60304 * soft-fp/extendsfdf2.c: Likewise.
60305 * soft-fp/extendsftf2.c: Likewise.
60306 * soft-fp/extendxftf2.c: Likewise.
60307 * soft-fp/fixdfdi.c: Likewise.
60308 * soft-fp/fixdfsi.c: Likewise.
60309 * soft-fp/fixdfti.c: Likewise.
60310 * soft-fp/fixsfdi.c: Likewise.
60311 * soft-fp/fixsfsi.c: Likewise.
60312 * soft-fp/fixsfti.c: Likewise.
60313 * soft-fp/fixtfdi.c: Likewise.
60314 * soft-fp/fixtfsi.c: Likewise.
60315 * soft-fp/fixtfti.c: Likewise.
60316 * soft-fp/fixunsdfdi.c: Likewise.
60317 * soft-fp/fixunsdfsi.c: Likewise.
60318 * soft-fp/fixunsdfti.c: Likewise.
60319 * soft-fp/fixunssfdi.c: Likewise.
60320 * soft-fp/fixunssfsi.c: Likewise.
60321 * soft-fp/fixunssfti.c: Likewise.
60322 * soft-fp/fixunstfdi.c: Likewise.
60323 * soft-fp/fixunstfsi.c: Likewise.
60324 * soft-fp/fixunstfti.c: Likewise.
60325 * soft-fp/floatdidf.c: Likewise.
60326 * soft-fp/floatdisf.c: Likewise.
60327 * soft-fp/floatditf.c: Likewise.
60328 * soft-fp/floatsidf.c: Likewise.
60329 * soft-fp/floatsisf.c: Likewise.
60330 * soft-fp/floatsitf.c: Likewise.
60331 * soft-fp/floattidf.c: Likewise.
60332 * soft-fp/floattisf.c: Likewise.
60333 * soft-fp/floattitf.c: Likewise.
60334 * soft-fp/floatundidf.c: Likewise.
60335 * soft-fp/floatundisf.c: Likewise.
60336 * soft-fp/floatunsidf.c: Likewise.
60337 * soft-fp/floatunsisf.c: Likewise.
60338 * soft-fp/floatuntidf.c: Likewise.
60339 * soft-fp/floatuntisf.c: Likewise.
60340 * soft-fp/floatuntitf.c: Likewise.
60341 * soft-fp/fmadf4.c: Likewise.
60342 * soft-fp/fmasf4.c: Likewise.
60343 * soft-fp/fmatf4.c: Likewise.
60344 * soft-fp/gedf2.c: Likewise.
60345 * soft-fp/gesf2.c: Likewise.
60346 * soft-fp/getf2.c: Likewise.
60347 * soft-fp/ledf2.c: Likewise.
60348 * soft-fp/lesf2.c: Likewise.
60349 * soft-fp/letf2.c: Likewise.
60350 * soft-fp/muldf3.c: Likewise.
60351 * soft-fp/mulsf3.c: Likewise.
60352 * soft-fp/multf3.c: Likewise.
60353 * soft-fp/negdf2.c: Likewise.
60354 * soft-fp/negsf2.c: Likewise.
60355 * soft-fp/negtf2.c: Likewise.
60356 * soft-fp/op-1.h: Likewise.
60357 * soft-fp/op-2.h: Likewise.
60358 * soft-fp/op-4.h: Likewise.
60359 * soft-fp/op-8.h: Likewise.
60360 * soft-fp/op-common.h: Likewise.
60361 * soft-fp/quad.h: Likewise.
60362 * soft-fp/single.h: Likewise.
60363 * soft-fp/soft-fp.h: Likewise.
60364 * soft-fp/sqrtdf2.c: Likewise.
60365 * soft-fp/sqrtsf2.c: Likewise.
60366 * soft-fp/sqrttf2.c: Likewise.
60367 * soft-fp/subdf3.c: Likewise.
60368 * soft-fp/subsf3.c: Likewise.
60369 * soft-fp/subtf3.c: Likewise.
60370 * soft-fp/truncdfsf2.c: Likewise.
60371 * soft-fp/trunctfdf2.c: Likewise.
60372 * soft-fp/trunctfsf2.c: Likewise.
60373 * soft-fp/trunctfxf2.c: Likewise.
60374 * soft-fp/unorddf2.c: Likewise.
60375 * soft-fp/unordsf2.c: Likewise.
60376 * soft-fp/unordtf2.c: Likewise.
60377
60378 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
60379
60380 [BZ #15672]
60381 * misc/error.c (error_tail): Fix possible buffer overflow.
60382
60383 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
60384
60385 [BZ #13028]
60386 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60387 address.
60388
60389 2013-10-14 P. J. McDermott <pj@pehjota.net>
60390
60391 [BZ #832]
60392 * elf/ldd.bash.in (try_trace): New function. Delete previous code
60393 testing pipefail option.
60394
60395 2013-10-12 Joseph Myers <joseph@codesourcery.com>
60396
60397 * soft-fp/double.h: Indent preprocessor directives inside #if.
60398 * soft-fp/extended.h: Likewise.
60399 * soft-fp/op-2.h: Likewise.
60400 * soft-fp/op-4.h: Likewise.
60401 * soft-fp/op-common.h: Likewise.
60402 * soft-fp/quad.h: Likewise.
60403 * soft-fp/single.h: Likewise.
60404 * soft-fp/soft-fp.h: Likewise.
60405
60406 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
60407
60408 * iconv/iconv_prog.c: Fix typos.
60409 * stdio-common/psiginfo-data.h: Likewise.
60410
60411 2013-10-12 Reuben Thomas <rrt@sc3d.org>
60412
60413 [BZ #15764]
60414 * locale/setlocale.c: Fix typo.
60415
60416 2013-10-12 Joseph Myers <joseph@codesourcery.com>
60417
60418 [BZ #16036]
60419 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60420 signaling NaN arguments.
60421 * soft-fp/unordsf2.c (__unordsf2): Likewise.
60422 * soft-fp/unordtf2.c (__unordtf2): Likewise.
60423
60424 [BZ #14910]
60425 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60426 unordered operands.
60427 * soft-fp/gesf2.c (__gesf2): Likewise.
60428 * soft-fp/getf2.c (__getf2): Likewise.
60429 * soft-fp/ledf2.c (__ledf2): Likewise.
60430 * soft-fp/lesf2.c (__lesf2): Likewise.
60431 * soft-fp/letf2.c (__letf2): Likewise.
60432
60433 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60434 * soft-fp/eqsf2.c (__eqsf2): Likewise.
60435 * soft-fp/eqtf2.c (__eqtf2): Likewise.
60436 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60437 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60438 * soft-fp/fixdfti.c (__fixdfti): Likewise.
60439 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60440 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60441 * soft-fp/fixsfti.c (__fixsfti): Likewise.
60442 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60443 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60444 * soft-fp/fixtfti.c (__fixtfti): Likewise.
60445 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60446 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60447 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60448 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60449 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60450 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60451 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60452 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60453 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60454 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60455 * soft-fp/floatdisf.c (__floatdisf): Likewise.
60456 * soft-fp/floatsisf.c (__floatsisf): Likewise.
60457 * soft-fp/floattidf.c (__floattidf): Likewise.
60458 * soft-fp/floattisf.c (__floattisf): Likewise.
60459 * soft-fp/floattitf.c (__floattitf): Likewise.
60460 * soft-fp/floatundidf.c (__floatundidf): Likewise.
60461 * soft-fp/floatundisf.c (__floatundisf): Likewise.
60462 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60463 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60464 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60465 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60466 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60467 * soft-fp/gesf2.c (__gesf2): Likewise.
60468 * soft-fp/getf2.c (__getf2): Likewise.
60469 * soft-fp/ledf2.c (__ledf2): Likewise.
60470 * soft-fp/lesf2.c (__lesf2): Likewise.
60471 * soft-fp/letf2.c (__letf2): Likewise.
60472
60473 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60474 Undefine and redefine.
60475 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60476 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60477 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60478 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60479 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60480 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60481 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60482 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60483 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60484 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60485 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60486 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60487 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60488 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60489 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60490
60491 [BZ #16032]
60492 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60493 without decrementing exponent if mantissa >= that for the
60494 denominator, not >.
60495 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60496 denominator, not >. Decrement exponent in < case instead of
60497 incrementing in >= case.
60498 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60499 without decrementing exponent if mantissa >= that for the
60500 denominator, not >.
60501
60502 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60503 computing saturated result for unsigned overflow.
60504
60505 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
60506 Jeff Law <law@redhat.com>
60507
60508 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60509 (atan2Mp): Add systemtap probe marker.
60510 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60511 (__ieee754_log): Add systemtap probe marker.
60512 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60513 (atanMp): Add systemtap probe marker.
60514 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60515 (tanMp): Add systemtap probe marker.
60516 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60517 (__slowexp): Add systemtap probe marker.
60518 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60519 (__slowpow): Add systemtap probe marker.
60520 * manual/probes.texi: Document probes.
60521
60522 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
60523
60524 [BZ #15362]
60525 * libio/fileops.c (_IO_new_file_write): Return count of bytes
60526 written.
60527 (_IO_new_file_xsputn): Don't return EOF if nothing has been
60528 written.
60529 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60530 written to buffer but not flushed.
60531 * libio/iofwrite_u.c: Likewise.
60532 * libio/iopadn.c: Return bytes returned even if EOF was
60533 encountered.
60534 * libio/iowpadn.c: Likewise.
60535 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60536 if _IO_padn does not write the whole buffer.
60537 [!COMPILE_WPRINTF] (PAD): Likewise.
60538
60539 2013-10-10 David S. Miller <davem@davemloft.net>
60540
60541 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60542 directory block.
60543
60544 2013-10-10 Joseph Myers <joseph@codesourcery.com>
60545
60546 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
60547 instead of FSF address.
60548 * soft-fp/fixdfti.c: Likewise.
60549 * soft-fp/fixsfti.c: Likewise.
60550 * soft-fp/fixtfti.c: Likewise.
60551 * soft-fp/fixunsdfti.c: Likewise.
60552 * soft-fp/fixunssfti.c: Likewise.
60553 * soft-fp/fixunstfti.c: Likewise.
60554 * soft-fp/floattidf.c: Likewise.
60555 * soft-fp/floattisf.c: Likewise.
60556 * soft-fp/floattitf.c: Likewise.
60557 * soft-fp/floatuntidf.c: Likewise.
60558 * soft-fp/floatuntisf.c: Likewise.
60559 * soft-fp/floatuntitf.c: Likewise.
60560 * soft-fp/trunctfxf2.c: Likewise.
60561
60562 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
60563 * soft-fp/fixdfti.c: Likewise.
60564 * soft-fp/fixsfti.c: Likewise.
60565 * soft-fp/fixtfti.c: Likewise.
60566 * soft-fp/fixunsdfti.c: Likewise.
60567 * soft-fp/fixunssfti.c: Likewise.
60568 * soft-fp/fixunstfti.c: Likewise.
60569 * soft-fp/floattidf.c: Likewise.
60570 * soft-fp/floattisf.c: Likewise.
60571 * soft-fp/floattitf.c: Likewise.
60572 * soft-fp/floatuntidf.c: Likewise.
60573 * soft-fp/floatuntisf.c: Likewise.
60574 * soft-fp/floatuntitf.c: Likewise.
60575 * soft-fp/trunctfxf2.c: Likewise.
60576
60577 2013-10-10 David S. Miller <davem@davemloft.net>
60578
60579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60580
60581 2013-10-10 Joseph Myers <joseph@codsourcery.com>
60582
60583 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60584 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60585 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60586 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60587 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60588 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60589 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60590
60591 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60592 for NaNs before doing comparisons on argument.
60593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60594 Likewise.
60595
60596 2013-10-10 Will Newton <will.newton@linaro.org>
60597
60598 * malloc/hooks.c (memalign_check): Ensure the value of bytes
60599 passed to _int_memalign does not overflow.
60600
60601 2013-10-10 Torvald Riegel <triegel@redhat.com>
60602
60603 * scripts/bench.pl: Add include-sources directive.
60604 * benchtests/README: Update documentation.
60605
60606 2013-10-10 Joseph Myers <joseph@codesourcery.com>
60607
60608 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60609 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60610 instead of FP_INIT_ROUNDMODE.
60611 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60612 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60613
60614 [BZ #16034]
60615 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
60616 copy class of input value.
60617 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
60618 not handle exceptions.
60619 * soft-fp/negsf2.c (__negsf2): Likewise.
60620 * soft-fp/negtf2.c (__negtf2): Likewise.
60621 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60622
60623 2013-10-09 Joseph Myers <joseph@codesourcery.com>
60624
60625 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60626 semicolon. From Linux kernel.
60627
60628 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
60629
60630 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60631
60632 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
60633
60634 [BZ #156]
60635 * manual/socket.texi: Added statement about buffer
60636 for gethostbyname2_r.
60637
60638 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
60639
60640 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60641 Use .p2align directive instead, throughout.
60642 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60643 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60644 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60647 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60648 * sysdeps/x86_64/strchr.S: Likewise.
60649 * sysdeps/x86_64/strrchr.S: Likewise.
60650
60651 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
60652
60653 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60654
60655 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60656
60657 * sysdeps/generic/math_private.h (__mpsin1): Remove
60658 declaration.
60659 (__mpcos1): Likewise.
60660 (__mpsin): New argument __range_reduce.
60661 (__mpcos): Likewise.
60662 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60663 (slow): Use __mpsin and __mpcos.
60664 (slow1): Likewise.
60665 (slow2): Likewise.
60666 (sloww): Likewise.
60667 (sloww1): Likewise.
60668 (sloww2): Likewise.
60669 (bsloww): Likewise.
60670 (bsloww1): Likewise.
60671 (bsloww2): Likewise.
60672 (cslow2): Likewise.
60673 (csloww): Likewise.
60674 (csloww1): Likewise.
60675 (csloww2): Likewise.
60676 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60677 range_reduce. Merge in __mpsin1.
60678 (__mpcos): Likewise.
60679 (__mpsin1): Remove.
60680 (__mpcos1): Likewise.
60681
60682 2013-10-07 Joseph Myers <joseph@codesourcery.com>
60683
60684 * locale/loadlocale.c (_nl_intern_locale_data): Use
60685 LOCFILE_ALIGNED_P.
60686 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60687 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60688 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60689 obstack data is appropriately aligned.
60690 (obstack_int32_grow_fast): Likewise.
60691 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60692 * locale/programs/locfile.c (add_locale_uint32): Likewise.
60693 (add_locale_uint32_array): Likewise.
60694
60695 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
60696
60697 * benchtests/Makefile: Remove ARGLIST and RET variables.
60698 ($(objpfx)bench-%.c): Pass only function name to the script.
60699 * benchtests/README: Update documentation.
60700 * benchtests/acos-inputs: Add new directives.
60701 * benchtests/acosh-inputs: Likewise.
60702 * benchtests/asin-inputs: Likewise.
60703 * benchtests/asinh-inputs: Likewise.
60704 * benchtests/atan-inputs: Likewise.
60705 * benchtests/atanh-inputs: Likewise.
60706 * benchtests/cos-inputs: Likewise.
60707 * benchtests/cosh-inputs: Likewise.
60708 * benchtests/exp-inputs: Likewise.
60709 * benchtests/log-inputs: Likewise.
60710 * benchtests/pow-inputs: Likewise.
60711 * benchtests/rint-inputs: Likewise.
60712 * benchtests/sin-inputs: Likewise.
60713 * benchtests/sinh-inputs: Likewise.
60714 * benchtests/tan-inputs: Likewise.
60715 * benchtests/tanh-inputs: Likewise.
60716 * scripts/bench.pl: Add support for new directives.
60717
60718 2013-10-07 Alan Modra <amodra@gmail.com>
60719
60720 * README: Fix careless merge.
60721
60722 2013-10-05 Alan Modra <amodra@gmail.com>
60723
60724 * NEWS: Mention powerpc64le support and bugs fixed.
60725 * README: Both big-endian and little-endian powerpc64 supported.
60726
60727 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
60728
60729 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
60730 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
60731 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
60732 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
60733
60734 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
60735
60736 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
60737 match prototype.
60738
60739 2013-10-04 Joseph Myers <joseph@codesourcery.com>
60740
60741 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
60742 Move -mhard-float appending from
60743 ports/sysdeps/powerpc/powerpc32/Makefile.
60744 [$(with-fp) = yes] (ASFLAGS): Likewise.
60745 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
60746 * sysdeps/powerpc/nofpu: Move directory from
60747 ports/sysdeps/powerpc/nofpu.
60748 * sysdeps/powerpc/soft-fp: Move directory from
60749 ports/sysdeps/powerpc/soft-fp.
60750 * sysdeps/powerpc/powerpc32/405: Move directory from
60751 ports/sysdeps/powerpc/powerpc32/405.
60752 * sysdeps/powerpc/powerpc32/440: Move directory from
60753 ports/sysdeps/powerpc/powerpc32/440.
60754 * sysdeps/powerpc/powerpc32/464: Move directory from
60755 ports/sysdeps/powerpc/powerpc32/464.
60756 * sysdeps/powerpc/powerpc32/476: Move directory from
60757 ports/sysdeps/powerpc/powerpc32/476.
60758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
60759 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
60760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
60761 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
60762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
60763 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
60764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
60765 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
60766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
60767 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
60768 * README: Update for powerpc-*-linux-gnu software floating point
60769 support in libc.
60770
60771 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
60772 case to powerpc/powerpc32*.
60773 * sysdeps/unix/sysv/linux/configure: Regenerated.
60774
60775 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
60776 (_FPU_MASK_OM): Define as 0x04.
60777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
60778 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
60779 0x00c10080.
60780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
60781 0x0000003c.
60782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
60783
60784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
60785 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60786 getcontext_e500.
60787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
60788 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60789 setcontext_e500.
60790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
60791 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
60792 and setcontext_e500.
60793
60794 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
60795
60796 * locale/iso-3166.def: Update iso-1366.def and related occurrences
60797
60798 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60799
60800 * manual/threads.texi (Default Thread Attributes): Fix typo.
60801
60802 2013-10-04 Will Newton <will.newton@linaro.org>
60803
60804 * malloc/Makefile: Add tst-memalign.
60805 * malloc/tst-memalign.c: New file.
60806
60807 * malloc/tst-posix_memalign.c: Add comments.
60808 (do_test): Add comments and call free on all potentially
60809 allocated pointers. Add space after cast.
60810
60811 * malloc/tst-pvalloc.c: Add comments.
60812 (do_test): Add comments and call free on all potentially
60813 allocated pointers. Remove duplicate check for NULL pointer.
60814 Add space after cast.
60815
60816 * malloc/tst-valloc.c: Add comments.
60817 (do_test): Add comments and call free on all potentially
60818 allocated pointers. Remove duplicate check for NULL pointer.
60819 Add space after cast.
60820
60821 2013-10-04 Alan Modra <amodra@gmail.com>
60822
60823 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60824 Use stdint types in rather than __attribute__((mode())).
60825 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60826
60827 2013-10-04 Alan Modra <amodra@gmail.com>
60828
60829 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60830 Correct handling of unaligned relocs for little-endian.
60831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60832
60833 2013-10-04 Alan Modra <amodra@gmail.com>
60834
60835 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
60836 * configure: Regenerate.
60837 * nptl/shlib-versions: Powerpc*le starts at 2.18.
60838 * shlib-versions: Likewise.
60839
60840 2013-10-04 Alan Modra <amodra@gmail.com>
60841
60842 * string/tester.c (test_memrchr): Increment reported test cycle.
60843
60844 2013-10-04 Alan Modra <amodra@gmail.com>
60845
60846 * string/test-memcpy.c (do_one_test): When reporting errors, print
60847 string address and don't overrun end of string.
60848
60849 2013-10-04 Alan Modra <amodra@gmail.com>
60850
60851 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
60852 insrdi. Make better use of reg selection to speed exit slightly.
60853 Schedule entry path a little better. Remove useless "are we done"
60854 checks on entry to main loop. Handle wrapping around zero address.
60855 Correct main loop count. Handle single left-over word from main
60856 loop inline rather than by using loop_small. Remove extra word
60857 case in loop_small caused by wrong loop count. Add little-endian
60858 support.
60859 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60860 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
60861 cache hint.
60862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60863 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
60864 support. Avoid rlwimi.
60865 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
60866
60867 2013-10-04 Alan Modra <amodra@gmail.com>
60868
60869 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
60870 insrdi. Formatting.
60871 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
60872 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60873 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
60874 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60875 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60876 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
60877
60878 2013-10-04 Alan Modra <amodra@gmail.com>
60879
60880 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
60881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
60883 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
60884 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60885 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60886 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60887 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60888 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
60889 use of regs. Use power7 mtocrf. Tidy function tails.
60890
60891 2013-10-04 Alan Modra <amodra@gmail.com>
60892
60893 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
60894 Formatting. Consistently use rXXX register defines or rN defines.
60895 Use early exit labels that avoid restoring unused non-volatile regs.
60896 Make cr field use more consistent with rWORDn compares. Rename
60897 regs used as shift registers for unaligned loop, using rN defines
60898 for short lifetime/multiple use regs.
60899 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60900 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
60901 addi 1,1,64 to pop stack frame. Simplify return value code.
60902 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60903
60904 2013-10-04 Alan Modra <amodra@gmail.com>
60905
60906 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
60907 support. Correct typos, formatting. Optimize tail. Use insrdi
60908 rather than rlwimi.
60909 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
60910 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
60911 little-endian support. Correct typos.
60912 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
60913 rather than rlwimi.
60914 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
60915 in loop and entry code to keep "and." results.
60916 (strchr): Add little-endian support. Comment. Move cntlzd
60917 earlier in tail.
60918 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
60919
60920 2013-10-04 Alan Modra <amodra@gmail.com>
60921
60922 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
60923 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
60924 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
60925 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
60926
60927 2013-10-04 Alan Modra <amodra@gmail.com>
60928
60929 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
60930 (rTMP): Define as r11.
60931 (strcmp): Add little-endian support. Optimise tail.
60932 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
60933 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60934 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60935 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60936 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60939
60940 2013-10-04 Alan Modra <amodra@gmail.com>
60941
60942 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
60943 little-endian support. Remove unnecessary "are we done" tests.
60944 Handle "s" wrapping around zero and extremely large "size".
60945 Correct main loop count. Handle single left-over word from main
60946 loop inline rather than by using small_loop. Correct comments.
60947 Delete "zero" tail, use "end_max" instead.
60948 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
60949
60950 2013-10-04 Alan Modra <amodra@gmail.com>
60951
60952 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
60953 support. Don't branch over align.
60954 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
60955 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
60956 support. Rearrange tmp reg use to suit. Comment.
60957 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
60958
60959 2013-10-04 Alan Modra <amodra@gmail.com>
60960
60961 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
60962
60963 2013-10-04 Alan Modra <amodra@gmail.com>
60964
60965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
60966 conditional form of branch and link when obtaining pc.
60967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
60968
60969 2013-10-04 Alan Modra <amodra@gmail.com>
60970
60971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
60972 HIWORD/LOWORD.
60973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
60974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
60975
60976 2013-10-04 Alan Modra <amodra@gmail.com>
60977
60978 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
60979 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
60980 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
60981 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
60982 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60983 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60984 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
60985 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60986 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
60987 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
60988
60989 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
60990 Alistair Popple <alistair@ozlabs.au.ibm.com>
60991 Alan Modra <amodra@gmail.com>
60992
60993 [BZ #15723]
60994 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
60995 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
60996 _dl_hwcap access for little-endian.
60997 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
60998 destroy vmx regs when saving unaligned.
60999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61000 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
61001 destroy vmx regs when saving unaligned.
61002
61003 2013-10-04 Alan Modra <amodra@gmail.com>
61004
61005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61006 Don't use a union to pack hi/low value.
61007
61008 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
61009
61010 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61011 for little-endian.
61012 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61013 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61014 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61015 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61016 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61017
61018 2013-10-04 Alan Modra <amodra@gmail.com>
61019
61020 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61021 constants to usual value for .cst8 section, and remove redundant
61022 high address load.
61023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61024 constant for 0x1p52. Load little-endian words of double from
61025 correct stack offsets.
61026
61027 2013-10-04 Alan Modra <amodra@gmail.com>
61028
61029 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61030 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61031 words of double from correct stack offsets.
61032 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61033 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61034 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61036 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61038 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61039 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61040 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61041 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61042 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61044 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61045 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61046 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61047 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61048 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61049
61050 2013-10-04 Alan Modra <amodra@gmail.com>
61051
61052 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61053 64-bit int/double union.
61054 (_FPU_SETCW): Likewise.
61055 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61056 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61057
61058 2013-10-04 Alan Modra <amodra@gmail.com>
61059
61060 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61061 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61062
61063 2013-10-04 Alan Modra <amodra@gmail.com>
61064
61065 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61066 use vector int constants.
61067 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61068
61069 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
61070
61071 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61072 array with long long.
61073 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61074 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61075 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61076 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61077 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61078 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61079 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61080 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61081 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61082 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61083 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61084 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61085 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61086
61087 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
61088
61089 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61090 (__signbit): Likewise. Correct for little-endian.
61091 (__signbitl): Call __signbit.
61092 (lrint): Correct for little-endian.
61093 (lrintf): Call lrint.
61094
61095 2013-10-04 Alan Modra <amodra@gmail.com>
61096
61097 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61098 union 32-bit int array member with 64-bit int array.
61099 (t515, tm256): Double rather than long double.
61100 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61101
61102 2013-10-04 Alan Modra <amodra@gmail.com>
61103
61104 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61105 Delete.
61106 (IEEE854_LONG_DOUBLE_BIAS): Delete.
61107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61108 version of math_ldbl.h.
61109
61110 2013-10-04 Alan Modra <amodra@gmail.com>
61111
61112 [BZ #15734], [BZ #15735]
61113 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61114 all uses of ieee875 long double macros and unions. Simplify test
61115 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
61116 ldbl_extract_mantissa value for ix,iy exponents. Properly
61117 normalize after ldbl_extract_mantissa, and don't add hidden bit
61118 already handled. Don't treat low word of ieee854 mantissa like
61119 low word of IBM long double and mask off bit when testing for
61120 zero.
61121 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61122 all uses of ieee875 long double macros and unions. Simplify tests
61123 for 0.0L and inf. Correct double adjustment of k. Delete dead code
61124 adjusting ha,hb. Simplify code setting kld. Delete two600 and
61125 two1022, instead use their values. Recognise that tests for large
61126 "a" and small "b" are mutually exclusive. Rename vars. Comment.
61127 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61128 Rewrite all uses of ieee875 long double macros and unions. Simplify
61129 test for 0.0L and nan. Correct negation.
61130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61131 ieee875 long double macros and unions. Correct output for large
61132 magnitude x. Correct absolute value calculation.
61133 (__erfcl): Likewise.
61134 * math/libm-test.inc: Add tests for errors discovered in IBM long
61135 double versions of fmodl, remainderl, erfl and erfcl.
61136
61137 2013-10-04 Alan Modra <amodra@gmail.com>
61138
61139 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61140 all uses of ieee854 long double macros and unions. Simplify tests
61141 for long doubles that are fully specified by the high double.
61142 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61143 Likewise.
61144 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61145 Remove dead code too.
61146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61147 (__ieee754_ynl): Likewise.
61148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61149 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61151 Remove dead code too.
61152 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61153 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61154 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61155 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61156 Simplify.
61157 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61158 Simplify.
61159 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61160 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61161 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61162 Comment on variable precision.
61163 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61164 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61165 Likewise.
61166 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61167 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61168 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61169 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61170 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61171
61172 2013-10-04 Alan Modra <amodra@gmail.com>
61173
61174 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61175 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61176 all uses of ieee854 long double macros and unions.
61177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61179 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61181 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61182 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61183 Likewise.
61184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61185 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61186 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61187 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61188 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61189 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61190 Simplify sign and nan test too.
61191 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61192 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61193 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61194 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61195 Likewise.
61196 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61197 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61198 Likewise.
61199 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61200 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61201 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61202 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61203 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61204 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61205
61206 2013-10-04 Alan Modra <amodra@gmail.com>
61207
61208 * stdio-common/printf_size.c (__printf_size): Don't use
61209 union ieee854_long_double in fpnum union.
61210 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
61211 signbit macro to retrieve sign from long double.
61212 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61213 retrieve sign from long double.
61214 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61215 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61216 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61217 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61218 * math/test-misc.c (main): Don't use union ieee854_long_double.
61219
61220 2013-10-04 Alan Modra <amodra@gmail.com>
61221
61222 [BZ #15680]
61223 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61224 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61225 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61226 calculation. Remove unnecessary test for denormal exponent.
61227 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61228 Correct handling of denormals. Avoid undefined shift behaviour.
61229 Correct normalisation of low mantissa when low double is denormal.
61230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61231 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
61232 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61233 Correct normalisation of low mantissa. Test for overflow of high
61234 mantissa and normalise.
61235 (ldbl_nearbyint): Use more readable constant for two52.
61236 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61237 (__mpn_construct_long_double): Fix test for overflow of high
61238 mantissa and correct normalisation. Avoid undefined shift.
61239
61240 2013-10-04 Alan Modra <amodra@gmail.com>
61241
61242 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61243 (union ibm_extended_long_double): Define as an array of ieee754_double.
61244 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61246 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61247 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61248 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61249 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61251 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61252 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61253 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61254 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61255
61256 2013-10-03 Joseph Myers <joseph@codesourcery.com>
61257
61258 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61259 page size instead of calling getpagesize.
61260
61261 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61262 (LOCFILE_ALIGN_MASK): Likewise.
61263 (LOCFILE_ALIGN_UP): Likewise.
61264 (LOCFILE_ALIGNED_P): Likewise.
61265 * locale/programs/ld-collate.c (collate_output): Use the new
61266 macros instead of __alignof__ (int32_t).
61267 * locale/weight.h (findidx): Likewise.
61268
61269 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
61270
61271 [BZ #431]
61272 * manual/string.texi: Fix strncat and wcsncat.
61273
61274 2013-10-03 Brooks Moses <bmoses@google.com>
61275
61276 [BZ #15915]
61277 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61278 * Makerules: ...here, and adjust associated comments.
61279
61280 2013-10-02 Will Newton <will.newton@linaro.org>
61281
61282 * malloc/Makefile: Add tst-pvalloc.
61283 * malloc/tst-pvalloc.c: New file.
61284
61285 2013-10-02 Will Newton <will.newton@linaro.org>
61286
61287 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61288 improve test coverage.
61289
61290 2013-10-02 Will Newton <will.newton@linaro.org>
61291
61292 * malloc/Makefile: Add tst-posix_memalign.
61293 * malloc/tst-posix_memalign.c: New file.
61294
61295 2013-10-01 Eric Blake <eblake@redhat.com>
61296
61297 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61298 Use __THROWNL rather than __THROW on static functions.
61299
61300 2013-09-30 Petr Machata <pmachata@redhat.com>
61301
61302 * elf/elf.h (R_AARCH64_ABS16): New macro.
61303 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61304 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61305 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61306 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61307 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61308 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61309 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61310 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61311 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61312 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61313 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61314 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61315 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61316 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61317 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61318 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61319 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61320 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61321 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61322 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61323 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61324 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61325 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61326 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61327 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61328 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61329 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61330 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61331 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61332 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61333 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61334 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61335 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61336 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61337 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61338 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61339 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61340 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61341 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61342 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61343 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61344 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61345 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61346 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61347 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61348 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61349 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61350 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61351 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61352 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61353 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61354 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61355 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61356 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61357 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61358 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61359 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61360 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61361 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61362 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61363 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61364 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61365 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61366 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61367 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61368 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61369 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61370 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61371 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61372 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61373 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61374 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61375 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61376 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61377 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61378 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61379 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61380 (R_AARCH64_TLSDESC_LDR): Likewise.
61381 (R_AARCH64_TLSDESC_ADD): Likewise.
61382 (R_AARCH64_TLSDESC_CALL): Likewise.
61383
61384 2013-09-30 Andreas Schwab <schwab@suse.de>
61385
61386 [BZ #15048]
61387 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61388 the nss database lookup.
61389 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61391
61392 2013-09-28 Mike Frysinger <vapier@gentoo.org>
61393
61394 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61395
61396 2013-09-28 P. J. McDermott <pj@pehjota.net>
61397
61398 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61399 ${Bash-specific parameter/pattern/string} parameter expansion.
61400 * sysdeps/unix/make-syscalls.sh: Likewise.
61401
61402 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61403
61404 * sysdeps/sh/stackguard-macros.h: New file.
61405
61406 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
61407
61408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61410 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61412 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61413 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61414
61415 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61416
61417 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61418 Fix thread ID register.
61419
61420 2013-09-25 Joseph Myers <joseph@codesourcery.com>
61421
61422 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61423 [POSIX || UNIX98]: Require rather than permitting all symbols from
61424 <time.h>.
61425 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61426 element of struct sched_param.
61427 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61428 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61429 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61430 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61431 constant.
61432
61433 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
61434
61435 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61436 argument calculation.
61437
61438 2013-09-24 Joseph Myers <joseph@codesourcery.com>
61439
61440 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61441 Expect macro.
61442 [POSIX] (pthread_attr_t): Do not require type.
61443 [POSIX] (pthread_cond_t): Likewise.
61444 [POSIX] (pthread_condattr_t): Likewise.
61445 [POSIX] (pthread_key_t): Likewise.
61446 [POSIX] (pthread_mutex_t): Likewise.
61447 [POSIX] (pthread_mutexattr_t): Likewise.
61448 [POSIX] (pthread_once_t): Likewise.
61449 [POSIX] (pthread_t): Likewise.
61450 [POSIX-based standards] (pthread_atfork): Expect function.
61451
61452 2013-09-24 Joseph Myers <joseph@codesourcery.com>
61453 Richard Sandiford <richard@codesourcery.com>
61454
61455 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61456 (swap_endianness_p): New extern variable.
61457 (set_big_endian): New inline function.
61458 (maybe_swap_uint32): Likewise.
61459 (maybe_swap_uint32_array): Likewise.
61460 (maybe_swap_uint32_obstack): Likewise.
61461 * locale/programs/locfile.c: Include <stdbool.h>.
61462 (swap_endianness_p): New variable.
61463 (add_locale_uint32): Call maybe_swap_uint32.
61464 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61465 (write_locale_data): Call maybe_swap_uint32_array.
61466 * locale/programs/ld-collate.c (obstack_int32_grow): Call
61467 maybe_swap_uint32.
61468 (obstack_int32_grow_fast): Likewise.
61469 (output_weightwc): Call maybe_swap_uint32_obstack.
61470 (collate_output): Likewise.
61471 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61472 (OPT_LITTLE_ENDIAN): Likewise.
61473 (options): Add --little-endian and --big-endian options.
61474 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61475 * locale/programs/locarchive.c: Include "locfile.h".
61476 (GET): New macro.
61477 (SET): Likewise.
61478 (INC): Likewise.
61479 (create_archive): Use the new macros to access fields of
61480 structures directly mapped from or written to locale archives.
61481 (oldlocrecentcmp): Likewise.
61482 (enlarge_archive): Likewise.
61483 (insert_name): Likewise.
61484 (add_alias): Likewise.
61485 (add_locale): Likewise.
61486 (delete_locales_from_archive): Likewise.
61487 (show_archive_content): Likewise.
61488 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
61489 locale data.
61490
61491 2013-09-24 Roland McGrath <roland@hack.frob.com>
61492
61493 * manual/freemanuals.texi: Updated from (newly) canonical copy at
61494 http://www.gnu.org/doc/freemanuals.texi.
61495 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61496
61497 2013-09-24 Will Newton <will.newton@linaro.org>
61498
61499 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61500 macro.
61501
61502 2013-09-23 Joseph Myers <joseph@codesourcery.com>
61503
61504 * locale/hashval.h (compute_hashval): Interpret bytes of key as
61505 unsigned char.
61506
61507 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
61508
61509 * manual/threads.texi (POSIX Threads): Fix a typo.
61510
61511 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
61512
61513 [BZ #14547]
61514 * string/tst-strcoll-overflow.c: New test case.
61515 * string/Makefile (xtests): Add tst-strcoll-overflow.
61516 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61517 cache if string sizes may cause integer overflow.
61518
61519 [BZ #14547]
61520 * string/strcoll_l.c (coll_seq): New members rule, idx,
61521 save_idx and back_us.
61522 (get_next_seq_nocache): New function.
61523 (do_compare_nocache): New function.
61524 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61525 when malloc fails.
61526
61527 2013-09-23 Carlos O'Donell <carlos@redhat.com>
61528
61529 [BZ #15754]
61530 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61531 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61532 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61533
61534 [BZ #15754]
61535 * elf/Makefile (tests): Add tst-ptrguard1.
61536 (tests-static): Add tst-ptrguard1-static.
61537 (tst-ptrguard1-ARGS): Define.
61538 (tst-ptrguard1-static-ARGS): Define.
61539 * elf/tst-ptrguard1.c: New file.
61540 * elf/tst-ptrguard1-static.c: New file.
61541 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61542 * sysdeps/i386/stackguard-macros.h: Likewise.
61543 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61544 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61545 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61546 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61547 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61548 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61549
61550 2013-09-23 Hector Marco <hecmargi@upv.es>
61551 Ismael Ripoll <iripoll@disca.upv.es>
61552 Carlos O'Donell <carlos@redhat.com>
61553
61554 [BZ #15754]
61555 * sysdeps/generic/stackguard-macros.h: Define
61556 __pointer_chk_guard_local and POINTER_CHK_GUARD.
61557 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61558 Define __pointer_chk_guard_local.
61559 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61560 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61561
61562 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
61563
61564 [BZ #15859]
61565 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61566
61567 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
61568
61569 * include/string.h (__ffs): Declare as hidden.
61570 * string/ffs.c (__ffs): Define as hidden.
61571 * sysdeps/i386/ffs.c (__ffs): Likewise.
61572 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61573 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61574 * sysdeps/s390/ffs.c (__ffs): Likewise.
61575 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61576
61577 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
61578
61579 * NEWS: Mention malloc probes.
61580
61581 * malloc/arena.c (new_heap): New memory_heap_new probe.
61582 (grow_heap): New memory_heap_more probe.
61583 (shrink_heap): New memory_heap_less probe.
61584 (heap_trim): New memory_heap_free probe.
61585 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61586 (systrim): New memory_sbrk_less probe.
61587 * manual/probes.texi: Document them.
61588
61589 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61590 * manual/probes.texi: Document it.
61591
61592 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61593 (__libc_realloc): Add memory_realloc_retry probe.
61594 (__libc_memalign): Add memory_memalign_retry probe.
61595 (__libc_valloc): Add memory_valloc_retry probe.
61596 (__libc_pvalloc): Add memory_pvalloc_retry probe.
61597 (__libc_calloc): Add memory_calloc_retry probe.
61598 * manual/probes.texi: Document them.
61599
61600 * malloc/arena.c (get_free_list): Add probe
61601 memory_arena_reuse_free_list.
61602 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61603 and memory_arena_reuse.
61604 (arena_get2) [!PER_THREAD]: Likewise.
61605 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61606 memory_arena_reuse_realloc.
61607 * manual/probes.texi: Document them.
61608
61609 * malloc/malloc.c (__libc_free): Add
61610 memory_mallopt_free_dyn_thresholds probe.
61611 (__libc_mallopt): Add multiple memory_mallopt probes.
61612 * manual/probes.texi: Document them.
61613
61614 * malloc/malloc.c: Include stap-probe.h.
61615 (__libc_mallopt): Add memory_mallopt probe.
61616 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61617 * manual/probes.texi: New.
61618 * manual/Makefile (chapters): Add probes.
61619 * manual/threads.texi: Set next node.
61620
61621 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
61622
61623 [BZ #15963, #13985]
61624 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61625 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61626 Add `Chinese' to `nan' entry name.
61627
61628 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
61629
61630 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61631 (POLYNOMIAL): Likewise.
61632 (TAYLOR_SINCOS): Likewise.
61633 (TAYLOR_SLOW): Likewise.
61634 (__sin): Use TAYLOR_SINCOS.
61635 (__cos): Likewise.
61636 (slow): Use TAYLOR_SLOW.
61637 (sloww): Likewise.
61638 (bsloww): Likewise.
61639 (csloww): Likewise.
61640
61641 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61642
61643 * stdlib/strtod_l.c: Fix buffer overrun.
61644
61645 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
61646
61647 * benchtests/Makefile (bench): Add sincos.
61648 * benchtests/bench-sincos.c: New file.
61649
61650 * math/libm-test.inc (cos_test_data): New test inputs.
61651 (sin_test_data): Likewise.
61652
61653 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61654 macro.
61655 (__sin): Use it.
61656 (__cos): Likewise.
61657 (slow1): Likewise.
61658 (slow2): Likewise.
61659 (sloww1): Likewise.
61660 (sloww2): Likewise.
61661 (bsloww1): Likewise.
61662 (bsloww2): Likewise.
61663 (cslow2): Likewise.
61664 (csloww1): Likewise.
61665 (csloww2): Likewise.
61666
61667 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61668 function.
61669 (__sin): Use it.
61670 (__cos): Likewise.
61671
61672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61673 gotos.
61674 (__cos): Likewise.
61675
61676 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
61677
61678 * config.h.in (HAVE_MIPS_NAN2008): New macro.
61679 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61680 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61681 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61682 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61683 * elf/cache.c (print_entry): Handle the new cache flags.
61684
61685 2013-09-18 Joseph Myers <joseph@codesourcery.com>
61686 Aldy Hernandez <aldyh@redhat.com>
61687
61688 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61689 Change condition to [_SOFT_FLOAT].
61690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61702 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61705 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61706 declaration.
61707
61708 2013-09-18 Joseph Myers <joseph@codesourcery.com>
61709
61710 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61711 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61712 (__longjmp): Use LOAD_GP to load saved GPRs.
61713 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61714 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61715 (__sigsetjmp): Use SAVE_GP to save GPRs.
61716
61717 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
61718 Do not append -msoft-float.
61719 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
61720
61721 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61722
61723 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
61724
61725 2013-09-17 Joseph Myers <joseph@codesourcery.com>
61726
61727 [BZ #15966]
61728 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
61729 (_FPU_GETCW): Use initial "__" on variable and field names but not
61730 on macro parameter name.
61731 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
61732 parentheses around reference to macro parameter.
61733
61734 2013-09-13 Richard Sandiford <richard@codesourcery.com>
61735
61736 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
61737 prototype.
61738 (ctype_startup): Use uint32_t in cast and sizeof for
61739 ctype->charnames.
61740
61741 2013-09-11 Jia Liu <proljc@gmail.com>
61742
61743 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
61744 __daddr_t_defined.
61745 [__FreeBSD__]: Likewise.
61746
61747 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
61748
61749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61750 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
61751 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
61752 (strchr): Remove __strchr_sse42 ifunc selection.
61753 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
61754 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
61755
61756 2013-09-11 Will Newton <will.newton@linaro.org>
61757
61758 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
61759 parameter to RES. Remove hardcoded 1000 value.
61760 * benchtests/bench-skeleton.c (main): Pass RES parameter
61761 to TIMING_INIT and multiply result by 1000.
61762
61763 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61764
61765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61766
61767 2013-09-11 Andreas Schwab <schwab@suse.de>
61768
61769 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
61770 if not defined.
61771 (O_TMPFILE) [__USE_GNU]: Define.
61772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
61773 Define.
61774
61775 2013-09-11 Will Newton <will.newton@linaro.org>
61776
61777 [BZ #15857]
61778 * malloc/malloc.c (__libc_memalign): Check the value of bytes
61779 does not overflow.
61780
61781 2013-09-11 Will Newton <will.newton@linaro.org>
61782
61783 [BZ #15856]
61784 * malloc/malloc.c (__libc_valloc): Check the value of bytes
61785 does not overflow.
61786
61787 2013-09-11 Will Newton <will.newton@linaro.org>
61788
61789 [BZ #15855]
61790 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
61791 does not overflow.
61792
61793 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
61794
61795 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
61796 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61797 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61798 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61799 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61800
61801 2013-09-10 Allan McRae <allan@archlinux.org>
61802
61803 [BZ #15748]
61804 * manual/arith.texi (Parsing of Floats): Clarify
61805 cross-reference.
61806
61807 [BZ #15849]
61808 * manual/install.texi (Running make install): Mention
61809 --enable-pt-chown.
61810 * INSTALL: Regenerated.
61811
61812 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
61813
61814 * csu/init-first.c (_init): Remove the !SHARED condition around
61815 FPU control word initialization.
61816 * elf/dl-support.c (_dl_fpu_control): New variable.
61817 (_dl_aux_init) <AT_FPUCW>: Initialize it.
61818 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
61819 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
61820 * math/test-fpucw-static.c: New file.
61821 * math/test-fpucw-ieee.c: New file.
61822 * math/test-fpucw-ieee-static.c: New file.
61823 * math/Makefile (tests): Add `test-fpucw-ieee' and
61824 `$(tests-static)'.
61825 (tests-static): New variable.
61826 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
61827 dependency to...
61828 [($(build-shared),yes)]
61829 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
61830 ... this.
61831 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
61832 New dependency.
61833
61834 2013-09-09 Allan McRae <allan@archlinux.org>
61835
61836 [BZ #15939]
61837 * manual/string.texi (Collation Functions): Fix typo in
61838 strcoll example.
61839 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
61840
61841 [BZ #15893]
61842 * stdlib/isomac.c (get_null_defines): Fix memory leak.
61843
61844 [BZ #15892]
61845 * libio/memstream.c (open_memstream): Fix memory leak.
61846 * libio/wmemstream.c (open_wmemstream): Likewise.
61847
61848 [BZ #15895]
61849 * nscd/netgroupcache.c: Fix nesting of ifdefs.
61850
61851 2013-09-09 Will Newton <will.newton@linaro.org>
61852
61853 * malloc/Makefile: Add tst-realloc to tests.
61854 * malloc/tst-realloc.c: New file.
61855
61856 2013-09-09 Allan McRae <allan@archlinux.org>
61857
61858 [BZ #15844]
61859 * COPYING: Update from GNU website to fix FSF address.
61860 * COPYING.LIB: Likewise.
61861
61862 2013-09-06 David S. Miller <davem@davemloft.net>
61863
61864 * po/zh_TW.po: Update Chinese (traditional) translation from
61865 translation project.
61866
61867 2013-09-06 Richard Sandiford <richard@codesourcery.com>
61868 Joseph Myers <joseph@codesourcery.com>
61869
61870 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
61871 "localeinfo.h".
61872 (obstack_chunk_alloc): New macro.
61873 (obstack_chunk_free): Likewise.
61874 (record_offset): New function.
61875 (init_locale_data): Likewise.
61876 (align_locale_data): Likewise.
61877 (add_locale_empty): Likewise.
61878 (add_locale_raw_data): Likewise.
61879 (add_locale_raw_obstack): Likewise.
61880 (add_locale_string): Likewise.
61881 (add_locale_wstring): Likewise.
61882 (add_locale_uint32): Likewise.
61883 (add_locale_uint32_array): Likewise.
61884 (add_locale_char): Likewise.
61885 (start_locale_structure): Likewise.
61886 (end_locale_structure): Likewise.
61887 (start_locale_prelude): Likewise.
61888 (end_locale_prelude): Likewise.
61889 (write_locale_data): Take locale_file structure rather than an
61890 iovec.
61891 * locale/programs/locfile.h: Include "obstack.h".
61892 (struct locale_file): Change to store locale file contents instead
61893 of header.
61894 (init_locale_data): New prototype.
61895 (align_locale_data): Likewise.
61896 (add_locale_empty): Likewise.
61897 (add_locale_raw_data): Likewise.
61898 (add_locale_raw_obstack): Likewise.
61899 (add_locale_string): Likewise.
61900 (add_locale_wstring): Likewise.
61901 (add_locale_uint32): Likewise.
61902 (add_locale_uint32_array): Likewise.
61903 (add_locale_char): Likewise.
61904 (start_locale_structure): Likewise.
61905 (end_locale_structure): Likewise.
61906 (start_locale_prelude): Likewise.
61907 (end_locale_prelude): Likewise.
61908 (write_locale_data): Update prototype.
61909 * locale/programs/3level.h (struct TABLE): Remove result field.
61910 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
61911 Use new locale_file interface.
61912 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
61913 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
61914 * locale/programs/ld-address.c (address_output): Use new
61915 locale_file interface.
61916 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
61917 NO_ADD_LOCALE.
61918 (collate_finish): Don't call collseq_table_finalize.
61919 (collate_output): Use new locale_file interface.
61920 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
61921 in file.
61922 (NO_FINALIZE): Change to NO_ADD_LOCALE.
61923 (TABLE): Move defines earlier in file.
61924 (ELEMENT): Likewise.
61925 (DEFAULT): Likewise.
61926 (wctrans_table_add): Move macro and inline function earlier in
61927 file.
61928 (struct wctype_table): Move type earlier in file.
61929 (add_locale_wctype_table): New static prototype.
61930 (struct locale_ctype_t): Use logical types instead of struct iovec
61931 pointers for members.
61932 (ctype_output): Use new locale_file interface.
61933 (wctype_table_finalize): Change to add_locale_wctype_table. Use
61934 new locale_file interface.
61935 (allocate_arrays): Update for use of new locale_file interface.
61936 * locale/programs/ld-identification.c (identification_output): Use
61937 new locale_file interface.
61938 * locale/programs/ld-measurement.c (measurement_output): Likewise.
61939 * locale/programs/ld-messages.c (messages_output): Likewise.
61940 * locale/programs/ld-monetary.c (monetary_output): Likewise.
61941 * locale/programs/ld-name.c (name_output): Likewise.
61942 * locale/programs/ld-numeric.c (numeric_output): Likewise.
61943 * locale/programs/ld-paper.c (paper_output): Likewise.
61944 * locale/programs/ld-telephone.c (telephone_output): Likewise.
61945 * locale/programs/ld-time.c (time_output): Likewise.
61946
61947 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61948
61949 * benchtests/Makefile: Add memrchr benchmark.
61950 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
61951 benchmark as memrchr.
61952 * benchtests/bench-memrchr-ifunc.c: New file.
61953 * benchtests/bench-memrchr.c: New file.
61954
61955 2013-09-06 Will Newton <will.newton@linaro.org>
61956
61957 * benchtests/Makefile (string-bench): Add memcpy.
61958
61959 2013-09-05 Carlos O'Donell <carlos@redhat.com>
61960 Cong Wang <amwang@redhat.com>
61961
61962 [BZ #15850]
61963 * sysdeps/unix/sysv/linux/bits/in.h
61964 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
61965 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
61966 before __USE_KERNEL_IPV6_DEFS uses.
61967 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
61968 IPPROTO_BEETPH.
61969 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
61970 sockaddr_in6, or ipv6_mreq.
61971
61972 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61973
61974 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
61975 memory access for final bytes in some large inputs.
61976 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
61977
61978 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61979
61980 * string/test-memrchr.c: New file.
61981 * string/test-memrchr-ifunc.c: New file.
61982 * string/Makefile: Add new memrchr testcase.
61983
61984 2013-09-05 Mike Frysinger <vapier@gentoo.org>
61985
61986 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
61987 fanotify_init returns EPERM.
61988
61989 2013-09-04 Joseph Myers <joseph@codesourcery.com>
61990
61991 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
61992 errors.
61993 (top level): Treat second token from macro or constant entries for
61994 allowed headers as allowed.
61995 * include/complex.h: Condition internal declarations on
61996 [!_ISOMAC].
61997 * include/fenv.h: Condition include of <stdbool.h> and internal
61998 declarations on [!_ISOMAC].
61999
62000 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
62001
62002 [BZ #15923]
62003 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62004
62005 2013-09-04 Joseph Myers <joseph@codesourcery.com>
62006
62007 * configure.in (--enable-versioning): Remove configure option.
62008 (libc_cv_asm_symver_directive): Remove configure test.
62009 (libc_cv_ld_version_script_option): Likewise.
62010 (VERSIONING): Remove variable and AC_SUBST.
62011 (DO_VERSIONING): Remove AC_DEFINE.
62012 * configure: Regenerated.
62013 * config.h.in (DO_VERSIONING): Remove macro.
62014 * Makerules [$(versioning) = yes]: Change conditionals to
62015 [$(build-shared) = yes].
62016 * config.make.in (versioning): Remove variable.
62017 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62018 [$(build-shared) = yes].
62019 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62020 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62021 * elf/Makefile [$(versioning) = yes]: Change conditionals to
62022 [$(build-shared) = yes].
62023 * extra-lib.mk [$(versioning) = yes]: Likewise.
62024 * hurd/Makefile [$(versioning) = yes]: Likewise.
62025 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62026 [SHARED].
62027 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62028 [SHARED].
62029 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62030 [SHARED && !NO_HIDDEN].
62031 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62032 [SHARED].
62033 [SHARED && DO_VERSIONING]: Likewise..
62034 * libio/Makefile [$(versioning) = yes]: Change conditionals to
62035 [$(build-shared) = yes].
62036 * manual/install.texi (--disable-versioning): Remove
62037 documentation.
62038 * INSTALL: Regenerated.
62039 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62040 to [SHARED].
62041 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62042 [$(build-shared) = yes].
62043 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62044 * sysdeps/i386/i686/multiarch/strstr-c.c
62045 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62046 [SHARED && !NO_HIDDEN].
62047 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62048 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62049 * sysdeps/powerpc/powerpc32/dl-machine.c
62050 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62051 * sysdeps/powerpc/powerpc32/sysdep.h
62052 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62053 to [SHARED && PIC && !NO_HIDDEN].
62054 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62055 conditional to [SHARED].
62056
62057 2013-09-04 Will Newton <will.newton@linaro.org>
62058
62059 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62060 * benchtests/bench-string.h: Include bench-timing.h instead
62061 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62062 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62063 call to HP_TIMING_DIFF_INIT.
62064 * benchtests/bench-memccpy.c: Use bench-timing.h macros
62065 instead of hp-timing.h macros.
62066 * benchtests/bench-memchr.c: Likewise.
62067 * benchtests/bench-memcmp.c: Likewise.
62068 * benchtests/bench-memcpy.c: Likewise.
62069 * benchtests/bench-memmem.c: Likewise.
62070 * benchtests/bench-memmove.c: Likewise.
62071 * benchtests/bench-memset.c: Likewise.
62072 * benchtests/bench-rawmemchr.c: Likewise.
62073 * benchtests/bench-strcasecmp.c: Likewise.
62074 * benchtests/bench-strcasestr.c: Likewise.
62075 * benchtests/bench-strcat.c: Likewise.
62076 * benchtests/bench-strchr.c: Likewise.
62077 * benchtests/bench-strcmp.c: Likewise.
62078 * benchtests/bench-strcpy.c: Likewise.
62079 * benchtests/bench-strcpy_chk.c: Likewise.
62080 * benchtests/bench-strlen.c: Likewise.
62081 * benchtests/bench-strncasecmp.c: Likewise.
62082 * benchtests/bench-strncat.c: Likewise.
62083 * benchtests/bench-strncmp.c: Likewise.
62084 * benchtests/bench-strncpy.c: Likewise.
62085 * benchtests/bench-strnlen.c: Likewise.
62086 * benchtests/bench-strpbrk.c: Likewise.
62087 * benchtests/bench-strrchr.c: Likewise.
62088 * benchtests/bench-strspn.c: Likewise.
62089 * benchtests/bench-strstr.c: Likewise.
62090
62091 2013-09-04 Will Newton <will.newton@linaro.org>
62092
62093 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62094
62095 2013-09-03 Joseph Myers <joseph@codesourcery.com>
62096
62097 [BZ #15427]
62098 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62099 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62100 * math/libm-test.inc (lgamma_test_data): Add more tests.
62101 * sysdeps/i386/fpu/libm-test-ulps: Update.
62102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62103
62104 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
62105
62106 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62108 Add ifunc.
62109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62110 Add strcmp-sse2-unaligned
62111 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62112
62113 2013-09-02 Mike Frysinger <vapier@gentoo.org>
62114
62115 * Versions.def (libc): Add GLIBC_2.19.
62116
62117 2013-09-02 Mike Frysinger <vapier@gentoo.org>
62118
62119 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62120 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62121
62122 2013-09-02 Joseph Myers <joseph@codesourcery.com>
62123
62124 [BZ #14155]
62125 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62126 intermediate calculations in recurrence.
62127 (__ieee754_ynf): Likewise.
62128 * math/libm-test.inc (jn_test_data): Do not allow spurious
62129 underflow exception. Add more tests.
62130 (yn_test_data): Add more tests.
62131 * sysdeps/i386/fpu/libm-test-ulps: Update.
62132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62133
62134 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
62135
62136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62137
62138 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
62139
62140 * csu/init-first.c: Fix then/than typos.
62141 * locale/programs/ld-collate.c: Likewise.
62142 * locale/programs/linereader.h: Likewise.
62143 * manual/charset.texi: Likewise.
62144 * manual/filesys.texi: Likewise.
62145 * manual/stdio.texi: Likewise.
62146 * manual/string.texi: Likewise.
62147 * stdlib/fmtmsg.c: Likewise.
62148 * sysdeps/i386/stpncpy.S: Likewise.
62149 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62150 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62151 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62152 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62153
62154 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
62155
62156 * elf/dl-open.c: Fix typos.
62157 * iconvdata/gbbig5.c: Likewise.
62158 * iconvdata/iso-2022-jp.c: Likewise.
62159 * iconv/gconv_int.h: Likewise.
62160 * iconv/loop.c: Likewise.
62161 * nis/rpcsvc/nis.h: Likewise.
62162 * resolv/ns_name.c: Likewise.
62163 * stdio-common/vfscanf.c: Likewise.
62164 * streams/stropts.h: Likewise.
62165 * sunrpc/rpc_thread.c: Likewise.
62166 * sysdeps/i386/strpbrk.S: Likewise.
62167 * sysdeps/ieee754/k_standard.c: Likewise.
62168 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62170 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62171 * sysdeps/mach/hurd/profil.c: Likewise.
62172 * sysdeps/s390/dl-procinfo.h: Likewise.
62173 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62174 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62175 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62176 * sysdeps/x86_64/dl-trampoline.S: Likewise.
62177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62178
62179 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
62180
62181 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62183
62184 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
62185
62186 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62187 aix specific files.
62188 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62189 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62190 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62191 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62192 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62193 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62194 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62195 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62196
62197 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
62198 Roland McGrath <roland@hack.frob.com>
62199
62200 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62201 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62202
62203 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
62204
62205 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62206 __executable_start symbol instead of _start.
62207
62208 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
62209
62210 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62211 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62212 Move macros to...
62213 * sysdeps/gnu/ldsodefs.h: ... this new file.
62214
62215 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62216 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62217 instead of ELFOSABI_LINUX.
62218
62219 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62220 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62221 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62222 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62223 Likewise.
62224 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62225 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62226 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62227 Likewise.
62228 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62229 (ibm_extended_long_double): Add ieee_nan member.
62230 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62231 (do_test): New function.
62232
62233 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62234 TEST_TRUNC.
62235 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62236 functions, renamed from truncdfsf_test, trunctfsf_test,
62237 trunctfdf_test.
62238 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62239 functions.
62240 (do_test): Run all these.
62241
62242 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
62243
62244 * argp/argp-help.c: Fix typos.
62245 * argp/argp-parse.c: Likewise.
62246 * debug/backtracesyms.c: Likewise.
62247 * elf/elf.h: Likewise.
62248 * malloc/malloc.c: Likewise.
62249 * nis/nis_print.c: Likewise.
62250 * resolv/res_comp.c: Likewise.
62251 * stdlib/stdlib.h: Likewise.
62252 * sunrpc/clnt_tcp.c: Likewise.
62253 * sunrpc/clnt_udp.c: Likewise.
62254 * sunrpc/clnt_unix.c: Likewise.
62255 * sysdeps/unix/bsd/ptsname.c: Likewise.
62256 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62257 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62259 Likewise.
62260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62261 Likewise.
62262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62263 Likewise.
62264 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62265
62266 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62267
62268 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62270
62271 2013-08-27 Mike Frysinger <vapier@gentoo.org>
62272
62273 [BZ #15897]
62274 * dlfcn/Makefile (tests): Add bug-dl-leaf.
62275 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62276 ($(objpfx)bug-dl-leaf): New rule.
62277 ($(objpfx)bug-dl-leaf.so): Likewise.
62278 ($(objpfx)bug-dl-leaf.out): Likewise.
62279 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62280 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62281 * dlfcn/bug-dl-leaf.c: New test.
62282 * dlfcn/bug-dl-leaf-lib.c: Likewise.
62283 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62284 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62285 (dlclose): Likewise.
62286 (dlmopen): Likewise.
62287
62288 2013-08-27 Roland McGrath <roland@hack.frob.com>
62289
62290 * include/netdb.h [!_ISOMAC]:
62291 Don't include <tls.h>.
62292 (h_errno, __libc_h_errno): Move declaration and macros out of
62293 [_LIBC_REENTRANT].
62294
62295 * include/resolv.h [_RESOLV_H_]:
62296 Don't include <tls.h>.
62297 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62298 * resolv/res_libc.c: Don't include <tls.h>.
62299 (_res): Use __attribute__ ((nocommon)) in place of
62300 __attribute__ ((section (".bss"))).
62301
62302 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62303 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62304
62305 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62306
62307 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62308 only under [SIOCGIFCONF && SIOCGIFNETMASK].
62309
62310 * resolv/res_mkquery.c: Include <sys/time.h>.
62311
62312 * inet/ifreq.c: Moved to ...
62313 * sysdeps/unix/ifreq.c: ... here.
62314 * inet/ifreq.c: New file, true stub version.
62315
62316 * socket/sa_len.c: New file.
62317 * socket/Makefile (aux): Add it.
62318 * sysdeps/unix/sysv/linux/Makefile
62319 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62320 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62321 and #include <socket/sa_len.c>.
62322 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62323 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62324
62325 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62326 * bits/socket.h: ... here.
62327
62328 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62329 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62330 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62331
62332 2013-08-27 Andreas Schwab <schwab@suse.de>
62333
62334 [BZ #15736]
62335 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62336 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62337 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62338 * string/test-strcasecmp.c (test_main): Run tests in several
62339 locales.
62340 * string/test-strncasecmp.c (test_main): Likewise.
62341
62342 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62343 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62344 to __strcasecmp_nonascii and __strncasecmp_nonascii.
62345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62346 (__strncasecmp_ssse3) [PIC]: Likewise.
62347
62348 2013-08-26 Roland McGrath <roland@hack.frob.com>
62349
62350 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62351
62352 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62353 instead of explicitly declaring xdecrypt.
62354 * nis/nss_nis/nis-publickey.c: Likewise.
62355
62356 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62357
62358 [BZ #15890]
62359 * nscd/aicache.c: Include res_hconf.h.
62360 (addhstaiX): Initialize res_hconf.
62361
62362 2013-08-26 Andreas Schwab <schwab@suse.de>
62363
62364 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62365 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62366
62367 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62368
62369 * nscd/aicache.c (addhstaiX): Fix indentation.
62370
62371 2013-08-25 Mike Frysinger <vapier@gentoo.org>
62372
62373 * configure.ac: Quote $build_pt_chown test.
62374 * configure: Regenerated.
62375
62376 2013-08-23 Joseph Myers <joseph@codesourcery.com>
62377
62378 [BZ #15532]
62379 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62380 * math/s_cexpf.c (__cexpf): Likewise.
62381 * math/s_cexpl.c (__cexpl): Likewise.
62382 * math/libm-test.inc (cexp_test_data): Correct expected return
62383 value for NaN + i0. Add another test.
62384
62385 2013-08-22 David S. Miller <davem@davemloft.net>
62386
62387 * po/ca.po: Update Catalan translation from translation project.
62388 * po/uk.po: Add Ukrainian translations from translation project.
62389
62390 2013-08-21 Joseph Myers <joseph@codesourcery.com>
62391
62392 [BZ #15797]
62393 * math/s_fdim.c (__fdim): Check for infinite arguments if result
62394 is infinite, not alongside NaN test.
62395 * math/s_fdimf.c (__fdimf): Likewise.
62396 * math/s_fdiml.c (__fdiml): Likewise.
62397 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
62398 errno is unchanged.
62399
62400 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
62401
62402 * argp/argp-help.c: Fix typos.
62403 * crypt/speeds.c: Likewise.
62404 * csu/check_fds.c: Likewise.
62405 * elf/dl-load.c: Likewise.
62406 * elf/dl-open.c: Likewise.
62407 * elf/reldep3.c: Likewise.
62408 * elf/reldep.c: Likewise.
62409 * elf/sprof.c: Likewise.
62410 * iconv/iconv_charmap.c: Likewise.
62411 * iconv/skeleton.c: Likewise.
62412 * iconv/strtab.c: Likewise.
62413 * io/lockf64.c: Likewise.
62414 * libio/libioP.h: Likewise.
62415 * resolv/gai_notify.c: Likewise.
62416 * resolv/ns_name.c: Likewise.
62417 * resolv/ns_samedomain.c: Likewise.
62418 * resolv/res_send.c: Likewise.
62419 * stdlib/random.c: Likewise.
62420 * sunrpc/rpc/xdr.h: Likewise.
62421 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62422 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62423 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62424 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62425 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62426 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62428 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62429 * sysdeps/mach/hurd/check_fds.c: Likewise.
62430 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62431 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62432 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62433 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62434 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62435 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62436 * sysdeps/pthread/aio_notify.c: Likewise.
62437 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62438 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62439 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62440 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62441 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62442
62443 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62444
62445 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62446 version if bit_Slow_SSE4_2 is set.
62447 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62448 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62449
62450 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62451
62452 [BZ #15867]
62453 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62454 trampoline stack frame information.
62455 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62457 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62458 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62459 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62460 * sysdeps/unix/sysv/linux/powerpc/init-first.c
62461 (_libc_vdso_platform_setup): Initialize the signal trampolines.
62462 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62463 sa_flags value.
62464 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62465 interrupting a syscall and set with option SA_SIGINFO.
62466
62467 2013-08-20 Joseph Myers <joseph@codesourcery.com>
62468
62469 [BZ #15531]
62470 * math/s_cproj.c (__cproj): Only return an infinity if one part of
62471 argument is infinite.
62472 * math/s_cprojf.c (__cprojf): Likewise.
62473 * math/s_cprojl.c (__cprojl): Likewise.
62474 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62475 * math/libm-test.inc (cproj_test_data): Add more tests.
62476
62477 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62478
62479 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62480 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62481 size. Use __ffs to determine corresponding shift.
62482
62483 2013-08-20 Joseph Myers <joseph@codesourcery.com>
62484 Roland McGrath <roland@hack.frob.com>
62485
62486 * Makefile (INSTALL): Remove trailing blank lines from output of
62487 makeinfo.
62488
62489 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62490
62491 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62492 Align 32 bit compat elf_greg to 8 bytes.
62493
62494 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
62495
62496 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62497
62498 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
62499
62500 * string/strcoll_l.c (coll_seq): New structure.
62501 (get_next_seq_cached): New function.
62502 (get_next_seq): New function.
62503 (do_compare): New function.
62504 (STRCOLL): Use GNU style definition. Simplify implementation
62505 by using get_next_seq, get_next_seq_cached and do_compare.
62506
62507 2013-08-16 Florian Weimer <fweimer@redhat.com>
62508
62509 [BZ #14699]
62510 CVE-2013-4237
62511 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62512 member.
62513 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62514 member.
62515 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62516 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62517 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
62518 conditional.
62519 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62520 GETDENTS_64BIT_ALIGNED.
62521 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62522 * manual/filesys.texi (Reading/Closing Directory): Document
62523 ENAMETOOLONG return value of readdir_r. Recommend readdir more
62524 strongly.
62525 * manual/conf.texi (Limits for Files): Add portability note to
62526 NAME_MAX, PATH_MAX.
62527 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62528
62529 2013-08-13 Andreas Schwab <schwab@suse.de>
62530
62531 [BZ #15749]
62532 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62533 of fabs.
62534 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62535 LDBL_MAX_EXP >= 16384]: Add tests for it.
62536
62537 2013-08-12 David S. Miller <davem@davemloft.net>
62538
62539 * version.h (RELEASE): Set to "development".
62540 (VERSION): Set to "2.18.90".
62541 * NEWS: Add 2.19 section.
62542
62543 2013-08-03 David S. Miller <davem@davemloft.net>
62544
62545 * po/ko.po: Update Korean translation from translation project.
62546
62547 2013-08-01 David S. Miller <davem@davemloft.net>
62548
62549 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
62550 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62551 Bilka.
62552
62553 2013-07-30 David S. Miller <davem@davemloft.net>
62554
62555 * po/fr.po: Update French translation from translation project.
62556
62557 2013-07-28 David S. Miller <davem@davemloft.net>
62558
62559 * po/cs.po: Update Czech translation from translation project.
62560
62561 * po/sv.po: Update Swedish translation from translation project.
62562
62563 2013-07-27 David S. Miller <davem@davemloft.net>
62564
62565 * po/eo.po: Update Esperanto translation from translation project.
62566
62567 * po/vi.po: Update Vietnamese translation from translation project.
62568
62569 * po/de.po: Update German translation from translation project.
62570
62571 2013-07-26 David S. Miller <davem@davemloft.net>
62572
62573 * po/bg.po: Update Bulgarian translation from translation project.
62574
62575 * po/nl.po: Update Dutch translation from translation project.
62576 * po/pl.po: Update Polish translation from translation project.
62577 * po/ru.po: Update Russian translation from translation project.
62578
62579 2013-07-24 David S. Miller <davem@davemloft.net>
62580
62581 * po/libc.pot: Update.
62582
62583 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62584
62585 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62586 variable page size.
62587 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62588 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62589 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62590
62591 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62592
62593 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62594
62595 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
62596 Andreas Schwab <schwab@suse.de>
62597 Roland McGrath <roland@hack.frob.com>
62598 Joseph Myers <joseph@codesourcery.com>
62599 Carlos O'Donell <carlos@redhat.com>
62600
62601 [BZ #15755]
62602 * config.h.in: Define HAVE_PT_CHOWN.
62603 * config.make.in (build-pt-chown): New variable.
62604 * configure.in (--enable-pt_chown): New configure option.
62605 * configure: Regenerate.
62606 * login/Makefile: Include Makeconfig. Build pt_chown only if
62607 build-pt-chown is enabled.
62608 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62609 pt_chown to fix pty ownership.
62610 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62611 CLOSE_ALL_FDS.
62612 * manual/install.texi (Configuring and compiling): Mention
62613 --enable-pt_chown. Add @findex for grantpt.
62614 * INSTALL: Regenerate.
62615
62616 2013-07-20 David S. Miller <davem@davemloft.net>
62617
62618 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62619 difference between 32-bit and 64-bit.
62620
62621 2013-07-15 Carlos O'Donell <carlos@redhat.com>
62622
62623 [BZ #15711]
62624 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62625 Avoid system header dependency with -ffreestanding.
62626 ($(objpfx)bits/syscall%d): Likewise.
62627
62628 2013-07-13 David S. Miller <davem@davemloft.net>
62629
62630 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62631 underflows from atanl/atan2l due to bug 15319.
62632 (casinh_test_data): Likewise.
62633
62634 2013-07-07 David S. Miller <davem@davemloft.net>
62635
62636 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62637
62638 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
62639
62640 * sysdeps/i386/fpu/libm-test-ulps: Update.
62641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62642
62643 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62644
62645 * configure.in (--enable-lock-elision): Fix message text.
62646 * INSTALL: Regenerate.
62647 * configure: Regenerate.
62648
62649 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62650
62651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62652
62653 2013-07-03 Andreas Jaeger <aj@suse.de>
62654
62655 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62656 define.
62657 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62658 (ptrace_peeksiginfo_args): Add.
62659 (__ptrace_peeksiginfo_flags): Add.
62660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62661 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62662 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62663
62664 2013-07-03 Allan McRae <allan@archlinux.org>
62665
62666 * sysdeps/i386/fpu/libm-test-ulps: Update.
62667
62668 2013-07-02 David S. Miller <davem@davemloft.net>
62669
62670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62671
62672 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
62673
62674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62675
62676 2013-07-02 Joseph Myers <joseph@codesourcery.com>
62677
62678 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62680
62681 2013-07-02 Andi Kleen <ak@linux.intel.com>
62682
62683 * config.h.in (ENABLE_LOCK_ELISION): Add.
62684 * configure.in (--enable-lock-elision): Add option.
62685 * manual/install.texi: Document --enable lock elision.
62686 * configure: Regenerate
62687 * INSTALL: Regenerate.
62688
62689 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
62690
62691 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62692 SSE4.2 strcasecmp for libc.a.
62693 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62694
62695 2013-07-02 Joseph Myers <joseph@codesourcery.com>
62696
62697 [BZ #13304]
62698 * soft-fp/op-common.h (_FP_FMA): New macro.
62699 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62700 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
62701 (_FP_MUL_MEAT_1_imm): ... here.
62702 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
62703 (_FP_MUL_MEAT_1_wide): ... here.
62704 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
62705 (_FP_MUL_MEAT_1_hard): ... here.
62706 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62707 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
62708 (_FP_MUL_MEAT_2_wide): ... here.
62709 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
62710 (_FP_MUL_MEAT_2_wide_3mul): ... here.
62711 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
62712 (_FP_MUL_MEAT_2_gmp): ... here.
62713 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62714 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
62715 (_FP_MUL_MEAT_4_wide): ... here.
62716 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
62717 (_FP_MUL_MEAT_4_gmp): ... here.
62718 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
62719 (_FP_WFRACBITS_DW_S): Likewise.
62720 (_FP_WFRACXBITS_DW_S): Likewise.
62721 (_FP_HIGHBIT_DW_S): Likewise.
62722 (FP_FMA_S): Likewise.
62723 (_FP_FRAC_HIGH_DW_S): Likewise.
62724 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62725 (_FP_WFRACBITS_DW_D): Likewise.
62726 (_FP_WFRACXBITS_DW_D): Likewise.
62727 (_FP_HIGHBIT_DW_D): Likewise.
62728 (FP_FMA_D): Likewise.
62729 (_FP_FRAC_HIGH_DW_D): Likewise.
62730 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
62731 (_FP_WFRACBITS_DW_E): Likewise.
62732 (_FP_WFRACXBITS_DW_E): Likewise.
62733 (_FP_HIGHBIT_DW_E): Likewise.
62734 (FP_FMA_E): Likewise.
62735 (_FP_FRAC_HIGH_DW_E): Likewise.
62736 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
62737 (_FP_WFRACBITS_DW_Q): Likewise.
62738 (_FP_WFRACXBITS_DW_Q): Likewise.
62739 (_FP_HIGHBIT_DW_Q): Likewise.
62740 (FP_FMA_Q): Likewise.
62741 (_FP_FRAC_HIGH_DW_Q): Likewise.
62742 * soft-fp/fmasf4.c: New file.
62743 * soft-fp/fmadf4.c: Likewise.
62744 * soft-fp/fmatf4.c: Likewise.
62745
62746 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62747
62748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62749 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
62750 Silvermont.
62751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
62752 macro.
62753 (index_Slow_SSE4_2): Likewise.
62754 (index_Prefer_PMINUB_for_stringop): Likewise.
62755 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
62756 bit_Slow_SSE4_2 is set.
62757 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62758 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62759
62760 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62761
62762 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
62763 rtld_global._dl_hwcap2.
62764 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
62765 POWER8.
62766 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
62767 POWER8 feature descriptions defined in _dl_hwcap2.
62768 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
62769 string handling for POWER8 feature bits.
62770 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
62771 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
62772 _dl_powerpc_cap_flags.
62773 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
62774 * sysdeps/powerpc/rtld-global-offsets.sym
62775 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
62776 _dl_hwcap2 in the rtld_global_ro structure.
62777
62778 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62779
62780 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
62781 hardware capabilities in support of AT_HWCAP2.
62782 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
62783 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
62784 GLRO(dl_hwcap2).
62785 (_dl_show_auxv): Add support for calling _dl_procinfo to display
62786 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
62787 explicitly the unknown a_type display mechanism is used.
62788 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
62789 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
62790 struct member.
62791 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
62792 to macro prototype for AT_HWCAP2 support.
62793 * sysdeps/i386/dl-procinfo.h: Likewise.
62794 * sysdeps/s390/dl-procinfo.h: Likewise.
62795 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
62796 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
62797 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
62798 return -1 for unknown a_type display fallback.
62799 * sysdeps/sparc/dl-procinfo.h: Likewise.
62800 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
62801 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
62802
62803 2013-06-28 Joseph Myers <joseph@codesourcery.com>
62804
62805 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
62806 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
62807
62808 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
62809
62810 [BZ #12492]
62811 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
62812 mprotect making __stack_prot writable.
62813
62814 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
62815 Joseph Myers <joseph@codesourcery.com>
62816
62817 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
62818 as being properly aligned.
62819
62820 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
62821
62822 * dlfcn/modstatic5.c: New file.
62823 * dlfcn/tststatic5.c: New file.
62824 * dlfcn/Makefile (tests): Add tststatic5.
62825 (tests-static): Likewise.
62826 (modules-names): Add modstatic5.
62827 (tststatic5-ENV): New variable.
62828 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
62829
62830 [BZ #15022]
62831 * elf/dl-support.c (_dl_main_map): New variable.
62832 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
62833 (_dl_nns, _dl_load_adds): Set to 1.
62834 (_dl_initial_searchlist): Refer to _dl_main_map.
62835 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
62836 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
62837 call to _dl_get_origin.
62838 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
62839 around call_map.
62840 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
62841 * dlfcn/modstatic3.c: New file.
62842 * dlfcn/tststatic3.c: New file.
62843 * dlfcn/tststatic4.c: New file.
62844 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
62845 (tests-static): Likewise.
62846 (modules-names): Add modstatic3.
62847 (tststatic3-ENV, tststatic4-ENV): New variables.
62848 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
62849 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
62850
62851 2013-06-26 Joseph Myers <joseph@codesourcery.com>
62852
62853 * configure.in (CC): Require GCC version 4.4 or later.
62854 * configure: Regenerated.
62855 * manual/install.texi (Tools for Compilation): Update GCC version
62856 requirement.
62857 * INSTALL: Regenerated.
62858
62859 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62860
62861 [BZ #15674]
62862 * string/test-memcmp.c (check2): New.
62863 (main): Call check2.
62864
62865 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
62866
62867 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
62868
62869 [BZ #15022]
62870 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
62871 over to...
62872 (dl_open_worker) [!SHARED]: ... here.
62873
62874 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62875
62876 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
62877
62878 2013-06-25 Richard Henderson <rth@redhat.com>
62879
62880 * locale/programs/locarchive.c: Include <libc-internal.h>
62881
62882 2013-06-25 Joseph Myers <joseph@codesourcery.com>
62883
62884 * manual/texinfo.tex: Update to version 2013-06-21.17, with
62885 trailing whitespace removed.
62886
62887 2013-06-24 Mike Frysinger <vapier@gentoo.org>
62888
62889 [BZ #10283]
62890 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
62891 * locale/programs/locarchive.c: Include libc-mmap.h.
62892 (prepare_address_space): Take two new outputs (the mmap base and len).
62893 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
62894 values.
62895 (create_archive): Declare new mmap base and len values for
62896 prepare_address_space, and store the result in ah.
62897 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
62898 (enlarge_archive): If ah->mmap_base is not NULL, use that and
62899 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62900 Declare new mmap base and len values for
62901 prepare_address_space, and store the result in new_ah.
62902 (open_archive): Declare new mmap base and len values for
62903 prepare_address_space, and store the result in ah.
62904 (close_archive): If ah->mmap_base is not NULL, use that and
62905 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62906 * sysdeps/generic/libc-mmap.h: New file.
62907
62908 2013-06-24 Mike Frysinger <vapier@gentoo.org>
62909
62910 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
62911 (ALIGN_UP): Likewise.
62912 (PTR_ALIGN_DOWN): Likewise.
62913 (PTR_ALIGN_UP): Likewise.
62914
62915 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
62916
62917 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
62918 entry mapped to PPC_PLATFORM_POWER8.
62919 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
62920 POWER8.
62921 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
62922 (_dl_string_platform): Add case for exporting platform position for
62923 POWER8.
62924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
62925 search path to sysdeps/powerpc/powerpc32/power8 directory.
62926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
62927 search path to sysdeps/powerpc/powerpc64/power8 directory.
62928 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
62929 power7 directories.
62930 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
62931 power7 directories.
62932
62933 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
62934
62935 * INSTALL: Regenerate.
62936
62937 * nscd/connections.c (nscd_init): Fix comment.
62938
62939 2013-06-22 Joseph Myers <joseph@codesourcery.com>
62940
62941 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
62942
62943 [BZ #15667]
62944 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
62945 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
62946
62947 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
62948
62949 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
62950 DL_DST_REQ_STATIC.
62951 (DL_DST_REQ_STATIC): Remove macro.
62952
62953 2013-06-21 Joseph Myers <joseph@codesourcery.com>
62954
62955 [BZ #7006]
62956 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
62957 with a shift of 0 bits.
62958
62959 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
62960
62961 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
62962 $(tststatic-ENV).
62963
62964 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62965
62966 [BZ #15655]
62967 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
62968
62969 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62970
62971 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
62972 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
62973 accepts -fno-tree-loop-distribute-patterns.
62974 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
62975 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
62976 recursive call.
62977 * string/memset.c (memset): Likewise.
62978 * string/test-memmove.c (simple_memmove): Disable loop transformation
62979 to library calls.
62980 * string/test-memset.c (simple_memset): Likewise.
62981 * benchtests/bench-memmove.c (simple_memmove): Likewise.
62982 * benchtests/bench-memset.c (simple_memset): Likewise.
62983 * configure: Regenerated.
62984
62985 2013-06-20 Joseph Myers <joseph@codesourcery.com>
62986
62987 * math/test-misc.c (main): Ignore fesetround failure when failures
62988 of subsequent rounding tests would be ignored.
62989
62990 [BZ #15654]
62991 * math/fedisblxcpt.c (fedisableexcept): Return 0.
62992 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
62993 * math/fegetenv.c (__fegetenv): Return 0.
62994 * math/fegetexcept.c (fegetexcept): Return 0.
62995 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
62996 FE_TONEAREST.
62997 * math/feholdexcpt.c (feholdexcept): Return 0.
62998 * math/fesetenv.c (__fesetenv): Return 0.
62999 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63000 argument FE_TONEAREST.
63001 * math/feupdateenv.c (__feupdateenv): Return 0.
63002 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63003
63004 2013-06-18 Roland McGrath <roland@hack.frob.com>
63005
63006 * elf/rtld-Rules (rtld-compile-command.S): New variable.
63007 (rtld-compile-command.s, rtld-compile-command.c): New variables.
63008 ($(objpfx)rtld-%.os rules): Use them.
63009
63010 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63011
63012 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63013 fields.
63014
63015 2013-06-17 Roland McGrath <roland@hack.frob.com>
63016
63017 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63018 length of target pattern, then descending length of dependency pattern.
63019 * configure.in (AWK): Require gawk 3.1.2 or newer.
63020 * manual/install.texi (Tools for Compilation): Say that we do.
63021 * configure: Regenerated.
63022
63023 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63024 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63025 * scripts/sysd-rules.awk: ... this new script.
63026 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63027 than a glob-style pattern.
63028
63029 2013-06-17 Joseph Myers <joseph@codesourcery.com>
63030
63031 * math/test-misc.c (main): Do not treat incorrectly rounded
63032 conversions as failure unless ROUNDING_TESTS passes.
63033
63034 2013-06-15 Joseph Myers <joseph@codesourcery.com>
63035
63036 [BZ #15631]
63037 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63038 restore exception state around main square root computation, then
63039 check for inexactness explicitly.
63040
63041 * math/libm-test.inc (fma_test_data): Add another test.
63042
63043 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
63044
63045 * manual/threads.texi (Non-POSIX Extensions): New document
63046 node. Document pthread_getattr_default_np and
63047 pthread_setattr_default_np.
63048
63049 * Versions.def (libpthread): Add GLIBC_2.18.
63050 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63052 Likewise.
63053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63054 Likewise.
63055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63056 Likewise.
63057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63058 Likewise.
63059 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63060 Likewise.
63061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63062 Likewise.
63063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63064 Likewise.
63065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63066 Likewise.
63067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63068 Likewise.
63069
63070 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63071
63072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63073 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63074
63075 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
63076 H.J. Lu <hjl.tools@gmail.com>
63077
63078 [BZ #15627]
63079 * sysdeps/x86_64/rtld-memset.c: Remove file.
63080 * sysdeps/x86_64/rtld-memset.S: New file.
63081
63082 2013-06-14 Joseph Myers <joseph@codesourcery.com>
63083
63084 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63085 (test_in_one_mode): Take arguments for whether the rounding mode
63086 is supported for each floating-point type.
63087 (do_test): Pass new arguments to test_in_one_mode using
63088 ROUNDING_TESTS.
63089
63090 2013-06-13 Roland McGrath <roland@hack.frob.com>
63091
63092 * posix/tst-waitid.c (do_test): Distinguish different instances of
63093 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
63094 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63095 before entering the kernel for waitpid.
63096
63097 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
63098
63099 * NEWS: Fix note on clock function precision. Text by Roland
63100 McGrath.
63101
63102 2013-06-13 Roland McGrath <roland@hack.frob.com>
63103
63104 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63105 it into place only when and if the sanity check passes.
63106
63107 2013-06-13 Joseph Myers <joseph@codesourcery.com>
63108
63109 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63110 output for whether conversion result is exact. Take argument
63111 indicating whether type is IBM long double.
63112 (round_for_all): Change need_exact field to ibm_ld.
63113 * stdlib/tst-strtod-round.c (struct exactness): New type.
63114 (struct test): Change bool ld_ok field to struct exactness exact.
63115 (TEST): Update all definitions for change to field.
63116 (tests): Regenerate array contents.
63117 (test_in_one_mode): Take pointer to new field instead of old ld_ok
63118 field value. Check for IBM long double here.
63119 (do_test): Update calls to test_in_one_mode.
63120
63121 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
63122
63123 [BZ #12515]
63124 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63125 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63126
63127 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63128
63129 [BZ #15605]
63130 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63131 generated by the compiler on loop optimizations.
63132 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63133 general definitions.
63134
63135 2013-06-12 Joseph Myers <joseph@codesourcery.com>
63136
63137 * math/bug-nextafter.c: Include <math-tests.h>.
63138 (main): Only test for exceptions if EXCEPTION_TESTS is true for
63139 the relevant type.
63140 * math/bug-nexttoward.c: Include <math-tests.h>.
63141 (main): Only test for exceptions if EXCEPTION_TESTS is true for
63142 the relevant type.
63143 * math/test-misc.c: Include <math-tests.h>.
63144 (main): Only test for exceptions if EXCEPTION_TESTS is true for
63145 the relevant type.
63146
63147 2013-06-12 Andreas Jaeger <aj@suse.de>
63148
63149 * po/ia.po: Update Interlingua translation from translation
63150 project.
63151
63152 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
63153
63154 * include/fenv.h: Include stdbool.h.
63155 (struct rm_ctx): New structure.
63156 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63157 Define macro.
63158 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63159 (SET_RESTORE_ROUNDF): Likewise.
63160 (SET_RESTORE_ROUNDL): Likewise.
63161 (SET_RESTORE_ROUND_NOEX): Likewise.
63162 (SET_RESTORE_ROUND_NOEXF): Likewise.
63163 (SET_RESTORE_ROUND_NOEXL): Likewise.
63164 (SET_RESTORE_ROUND_53BIT): Likewise.
63165 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63166 (libc_feresetround_noexf_ctx): Likewise.
63167 (libc_feresetround_noexl_ctx): Likewise.
63168 (libc_feholdsetround_53bit_ctx): Likewise.
63169 (libc_feresetround_53bit_ctx): Likewise.
63170 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63171 (libc_feholdexcept_setround_sse_ctx): New function.
63172 (libc_fesetenv_sse_ctx): Likewise.
63173 (libc_feupdateenv_sse_ctx): Likewise.
63174 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63175 (libc_feholdexcept_setround_387_ctx): Likewise.
63176 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63177 (libc_feholdsetround_387_prec_ctx): Likewise.
63178 (libc_feholdsetround_387_ctx): Likewise.
63179 (libc_feholdsetround_387_53bit_ctx): Likewise.
63180 (libc_feholdsetround_sse_ctx): Likewise.
63181 (libc_feresetround_sse_ctx): Likewise.
63182 (libc_feresetround_387_ctx): Likewise.
63183 (libc_feupdateenv_387_ctx): Likewise.
63184 (libc_feholdexcept_setroundf_ctx): Define macro.
63185 (libc_fesetenvf_ctx): Likewise.
63186 (libc_feupdateenvf_ctx): Likewise.
63187 (libc_feholdsetroundf_ctx): Likewise.
63188 (libc_feresetroundf_ctx): Likewise.
63189 (libc_feholdexcept_setround_ctx): Likewise.
63190 (libc_fesetenv_ctx): Likewise.
63191 (libc_feupdateenv_ctx): Likewise.
63192 (libc_feholdsetround_ctx): Likewise.
63193 (libc_feresetround_ctx): Likewise.
63194 (libc_feholdexcept_setroundl_ctx): Likewise.
63195 (libc_feupdateenvl_ctx): Likewise.
63196 (libc_feholdsetroundl_ctx): Likewise.
63197 (libc_feresetroundl_ctx): Likewise.
63198 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63199 (libc_feresetround_53bit_ctx): Likewise.
63200
63201 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63202
63203 * locale/iso-639.def: Convert to UTF-8.
63204
63205 2013-06-11 Joseph Myers <joseph@codesourcery.com>
63206
63207 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63208 (EXCEPTION_TESTS_double): Likewise.
63209 (EXCEPTION_TESTS_long_double): Likewise.
63210 (EXCEPTION_TESTS): Likewise.
63211 * math/libm-test.inc (test_exceptions): Only test exceptions if
63212 EXCEPTION_TESTS (FLOAT).
63213
63214 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63215
63216 * benchtests/Makefile (string-bench): Add strcpy_chk and
63217 stpcpy_chk.
63218 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63219 * benchtests/bench-stpcpy_chk.c: New file.
63220 * benchtests/bench-strcpy_chk-ifunc.c: New file.
63221 * benchtests/bench-strcpy_chk.c: New file.
63222 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63223 code.
63224 (do_test): Likewise.
63225
63226 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63227
63228 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63229 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63230 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63231 with tabs where appropriate.
63232 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63233 dl-procinfo.h.
63234 [PPC_PLATFORM_PPC440]: Likewise.
63235 [PPC_PLATFORM_PPC464]: Likewise.
63236 [PPC_PLATFORM_PPC476]: Likewise.
63237 (_dl_string_platform): Add support for detecting ppc405, ppc440,
63238 ppc464, and ppc476 platform strings merging from ports/
63239 dl-procinfo.h.
63240
63241 2013-06-11 Andreas Schwab <schwab@suse.de>
63242
63243 [BZ #14991]
63244 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63245 (from_ucs4_idx): Regenerate.
63246 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63247 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63248 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63249 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63250 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63251 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63252 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63253 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63254 from FROM_LOOP and TO_LOOP specific macros.
63255 (BODY): Handle combining characters.
63256 * iconvdata/BIG5HKSCS.irreversible: Update.
63257 * iconvdata/BIG5HKSCS.precomposed: New file.
63258 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63259 characters.
63260 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63261
63262 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63263
63264 * include/sys/time.h: Fix indentation and add copyright header.
63265
63266 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63267 (do_test): Likewise.
63268 * string/test-memchr.c (do_one_test): Likewise.
63269 (do_test): Likewise.
63270 * string/test-memcmp.c (do_one_test): Likewise.
63271 (do_test): Likewise.
63272 * string/test-memcpy.c (do_one_test): Likewise.
63273 (do_test): Likewise.
63274 * string/test-memmem.c (do_one_test): Likewise.
63275 (do_test): Likewise.
63276 (do_random_tests): Likewise.
63277 * string/test-memmove.c (do_one_test): Likewise.
63278 (do_test): Likewise.
63279 * string/test-memset.c (do_one_test): Likewise.
63280 (do_test): Likewise.
63281 * string/test-rawmemchr.c (do_one_test): Likewise.
63282 (do_test): Likewise.
63283 * string/test-strcasecmp.c (do_one_test): Likewise.
63284 (do_test): Likewise.
63285 * string/test-strcasestr.c (do_one_test): Likewise.
63286 (do_test): Likewise.
63287 * string/test-strcat.c (do_one_test): Likewise.
63288 (do_test): Likewise.
63289 * string/test-strchr.c (do_one_test): Likewise.
63290 (do_test): Likewise.
63291 * string/test-strcmp.c (do_one_test): Likewise.
63292 (do_test): Likewise.
63293 * string/test-strcpy.c (do_one_test): Likewise.
63294 (do_test): Likewise.
63295 * string/test-string.h: Likewise.
63296 (test_init): Likewise.
63297 * string/test-strlen.c (do_one_test): Likewise.
63298 (do_test): Likewise.
63299 * string/test-strncasecmp.c (do_one_test): Likewise.
63300 (do_test): Likewise.
63301 * string/test-strncat.c (do_one_test): Likewise.
63302 (do_test): Likewise.
63303 * string/test-strncmp.c (do_one_test): Likewise.
63304 (do_test_limit): Likewise.
63305 (do_test): Likewise.
63306 * string/test-strncpy.c (do_one_test): Likewise.
63307 (do_test): Likewise.
63308 * string/test-strnlen.c (do_one_test): Likewise.
63309 (do_test): Likewise.
63310 * string/test-strpbrk.c (do_one_test): Likewise.
63311 (do_test): Likewise.
63312 * string/test-strrchr.c (do_one_test): Likewise.
63313 (do_test): Likewise.
63314 * string/test-strspn.c (do_one_test): Likewise.
63315 (do_test): Likewise.
63316 * string/test-strstr.c (do_one_test): Likewise.
63317 (do_test): Likewise.
63318
63319 * benchtests/Makefile (string-bench): Add string benchmarks.
63320 * benchtests/bench-bcopy-ifunc.c: New file.
63321 * benchtests/bench-bcopy.c: New file.
63322 * benchtests/bench-bzero-ifunc.c: New file.
63323 * benchtests/bench-bzero.c: New file.
63324 * benchtests/bench-memccpy-ifunc.c: New file.
63325 * benchtests/bench-memccpy.c: New file.
63326 * benchtests/bench-memchr-ifunc.c: New file.
63327 * benchtests/bench-memchr.c: New file.
63328 * benchtests/bench-memcmp-ifunc.c: New file.
63329 * benchtests/bench-memcmp.c: New file.
63330 * benchtests/bench-memmem-ifunc.c: New file.
63331 * benchtests/bench-memmem.c: New file.
63332 * benchtests/bench-memmove-ifunc.c: New file.
63333 * benchtests/bench-memmove.c: New file.
63334 * benchtests/bench-mempcpy-ifunc.c: New file.
63335 * benchtests/bench-mempcpy.c: New file.
63336 * benchtests/bench-memset-ifunc.c: New file.
63337 * benchtests/bench-memset.c: New file.
63338 * benchtests/bench-rawmemchr-ifunc.c: New file.
63339 * benchtests/bench-rawmemchr.c: New file.
63340 * benchtests/bench-stpcpy-ifunc.c: New file.
63341 * benchtests/bench-stpcpy.c: New file.
63342 * benchtests/bench-stpncpy-ifunc.c: New file.
63343 * benchtests/bench-stpncpy.c: New file.
63344 * benchtests/bench-strcasecmp-ifunc.c: New file.
63345 * benchtests/bench-strcasecmp.c: New file.
63346 * benchtests/bench-strcasestr-ifunc.c: New file.
63347 * benchtests/bench-strcasestr.c: New file.
63348 * benchtests/bench-strcat-ifunc.c: New file.
63349 * benchtests/bench-strcat.c: New file.
63350 * benchtests/bench-strchr-ifunc.c: New file.
63351 * benchtests/bench-strchr.c: New file.
63352 * benchtests/bench-strchrnul-ifunc.c: New file.
63353 * benchtests/bench-strchrnul.c: New file.
63354 * benchtests/bench-strcmp-ifunc.c: New file.
63355 * benchtests/bench-strcmp.c: New file.
63356 * benchtests/bench-strcpy-ifunc.c: New file.
63357 * benchtests/bench-strcpy.c: New file.
63358 * benchtests/bench-strcspn-ifunc.c: New file.
63359 * benchtests/bench-strcspn.c: New file.
63360 * benchtests/bench-strlen-ifunc.c: New file.
63361 * benchtests/bench-strlen.c: New file.
63362 * benchtests/bench-strncasecmp-ifunc.c: New file.
63363 * benchtests/bench-strncasecmp.c: New file.
63364 * benchtests/bench-strncat-ifunc.c: New file.
63365 * benchtests/bench-strncat.c: New file.
63366 * benchtests/bench-strncmp-ifunc.c: New file.
63367 * benchtests/bench-strncmp.c: New file.
63368 * benchtests/bench-strncpy-ifunc.c: New file.
63369 * benchtests/bench-strncpy.c: New file.
63370 * benchtests/bench-strnlen-ifunc.c: New file.
63371 * benchtests/bench-strnlen.c: New file.
63372 * benchtests/bench-strpbrk-ifunc.c: New file.
63373 * benchtests/bench-strpbrk.c: New file.
63374 * benchtests/bench-strrchr-ifunc.c: New file.
63375 * benchtests/bench-strrchr.c: New file.
63376 * benchtests/bench-strspn-ifunc.c: New file.
63377 * benchtests/bench-strspn.c: New file.
63378 * benchtests/bench-strstr-ifunc.c: New file.
63379 * benchtests/bench-strstr.c: New file.
63380
63381 * benchtests/Makefile: Disable parallel execution of targets.
63382 (string-bench): Add memcpy.
63383 (benchset): New variable to store a list of benchmark sets.
63384 (bench-func): Renamed from bench.
63385 (bench-set): New target.
63386 (bench): Depend on bench-func and bench-set.
63387 * benchtests/README: Add section on benchmark sets.
63388 * benchtests/bench-memcpy-ifunc.c: New file.
63389 * benchtests/bench-memcpy.c: New file.
63390 * benchtests/bench-string.h: New file.
63391
63392 2013-06-11 Andreas Schwab <schwab@suse.de>
63393
63394 [BZ #15577]
63395 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63396 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63397 values in the triple.
63398 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63399 terminator in the group key.
63400
63401 2013-06-11 Andreas Jaeger <aj@suse.de>
63402
63403 * po/zh_TW.po: Update Chinese (traditional) translation from
63404 translation project.
63405
63406 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63407
63408 * include/time.h (__clock_gettime): Add libc_hidden_proto.
63409 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63410 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
63411 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63412 (clock_getcpuclockid): Likewise.
63413 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63414 Add weak_alias and libc_hidden_def.
63415 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63416 * rt/clock_gettime.c (clock_gettime): Rename to
63417 __clock_gettime. Add weak_alias and libc_hidden_def.
63418 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63419 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63420 __clock_nanosleep. Add weak_alias and libc_hidden_def.
63421 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63422 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63423 Likewise.
63424 * rt/clock_settime.c (clock_settime): Rename to
63425 __clock_settime. Add weak_alias and libc_hidden_def.
63426 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63427
63428 2013-06-10 Joseph Myers <joseph@codesourcery.com>
63429
63430 * mach/err_boot.sub: Remove trailing whitespace.
63431 * mach/err_ipc.sub: Likewise.
63432 * mach/err_mach.sub: Likewise.
63433
63434 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63435 (ROUNDING_TESTS_double): Likewise.
63436 (ROUNDING_TESTS_long_double): Likewise.
63437 (ROUNDING_TESTS): Likewise.
63438 * math/libm-test.inc: Include <math-tests.h>.
63439 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63440 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63441 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63442 (IF_ROUND_INIT_FE_UPWARD): Likewise.
63443
63444 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
63445
63446 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63447 of assigning.
63448
63449 2013-06-08 Joseph Myers <joseph@codesourcery.com>
63450
63451 * sysdeps/gnu/errlist.awk: Do not generate space at end of
63452 otherwise empty TRANS lines.
63453 * sysdeps/gnu/errlist.c: Regenerated.
63454
63455 * catgets/gencat.c (error_print): Use (void) in function
63456 definition.
63457 * crypt/crypt_util.c (__init_des): Likewise.
63458 * crypt/speeds.c (Stop): Likewise.
63459 (main): Likewise.
63460 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63461 * inet/ruserpass.c (token): Likewise.
63462 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63463 * intl/localealias.c (extend_alias_table): Likewise.
63464 * intl/plural-exp.c (init_germanic_plural): Likewise.
63465 * libio/fcloseall.c (__fcloseall): Likewise.
63466 * libio/genops.c (_IO_flush_all): Likewise.
63467 (_IO_flush_all_linebuffered): Likewise.
63468 (_IO_cleanup): Likewise.
63469 (_IO_iter_begin): Likewise.
63470 (_IO_iter_end): Likewise.
63471 (_IO_list_lock): Likewise.
63472 (_IO_list_unlock): Likewise.
63473 (_IO_list_resetlock): Likewise.
63474 * libio/getchar.c (getchar): Likewise.
63475 * libio/getchar_u.c (getchar_unlocked): Likewise.
63476 * libio/getwchar.c (getwchar): Likewise.
63477 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63478 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63479 * login/getpt.c (__getpt): Likewise.
63480 * login/tst-utmp.c (main): Likewise.
63481 * malloc/hooks.c (__malloc_check_init): Likewise.
63482 * malloc/malloc.c (__malloc_stats): Likewise.
63483 * malloc/mtrace.c (tr_break): Likewise.
63484 (mtrace): Likewise.
63485 (muntrace): Likewise.
63486 * misc/fstab.c (endfsent): Likewise.
63487 * misc/getclktck.c (__getclktck): Likewise.
63488 * misc/getdtsz.c (__getdtablesize): Likewise.
63489 * misc/gethostid.c (gethostid): Likewise.
63490 * misc/getpagesize.c (__getpagesize): Likewise.
63491 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63492 (__get_nprocs): Likewise.
63493 (__get_phys_pages): Likewise.
63494 (__get_avphys_pages): Likewise.
63495 * misc/getttyent.c (getttyent): Likewise.
63496 (setttyent): Likewise.
63497 (endttyent): Likewise.
63498 * misc/getusershell.c (getusershell): Likewise.
63499 (endusershell): Likewise.
63500 (setusershell): Likewise.
63501 (initshells): Likewise.
63502 * misc/hsearch.c (__hdestroy): Likewise.
63503 * misc/sync.c (sync): Likewise.
63504 * misc/syslog.c (closelog_internal): Likewise.
63505 (closelog): Likewise.
63506 * misc/ttyslot.c (ttyslot): Likewise.
63507 * misc/vhangup.c (vhangup): Likewise.
63508 * posix/fork.c (__fork): Likewise.
63509 * posix/getegid.c (__getegid): Likewise.
63510 * posix/geteuid.c (__geteuid): Likewise.
63511 * posix/getgid.c (__getgid): Likewise.
63512 * posix/getpid.c (__getpid): Likewise.
63513 * posix/getppid.c (__getppid): Likewise.
63514 * posix/getuid.c (__getuid): Likewise.
63515 * posix/pause.c (pause): Likewise.
63516 * posix/setpgrp.c (setpgrp): Likewise.
63517 * posix/setsid.c (__setsid): Likewise.
63518 * posix/test-vfork.c (noop): Likewise.
63519 * resolv/gethnamaddr.c (_endhtent): Likewise.
63520 (_gethtent): Likewise.
63521 (ht_endhostent): Likewise.
63522 (gethostent): Likewise.
63523 (dns_service): Likewise.
63524 * stdlib/drand48.c (drand48): Likewise.
63525 * stdlib/lrand48.c (lrand48): Likewise.
63526 * stdlib/mrand48.c (mrand48): Likewise.
63527 * stdlib/rand.c (rand): Likewise.
63528 * stdlib/random.c (__random): Likewise.
63529 * stdlib/setenv.c (clearenv): Likewise.
63530 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63531 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63532 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63533 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63534 (__get_nprocs): Likewise.
63535 (__get_phys_pages): Likewise.
63536 (__get_avphys_pages): Likewise.
63537 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63538 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63539 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63540 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63541 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63542 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63543 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63544 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63545 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63546 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63547 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63548 * sysdeps/mach/hurd/sync.c (sync): Likewise.
63549 * sysdeps/posix/clock.c (clock): Likewise.
63550 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63551 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63552 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63553 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63554 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63556 (__get_nprocs_conf): Likewise.
63557 (__get_phys_pages): Likewise.
63558 (__get_avphys_pages): Likewise.
63559 * time/clock.c (clock): Likewise.
63560 * time/tzset.c (__tzname_max): Likewise.
63561
63562 2013-06-07 Joseph Myers <joseph@codesourcery.com>
63563
63564 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63565 (__bswap_32): Do not use "register".
63566 * crypt/crypt.c (_ufc_doit_r): Likewise.
63567 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63568 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63569 * gmon/gmon.c (__monstartup): Likewise.
63570 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63571 * hurd/hurdmalloc.c (more_memory): Likewise.
63572 (malloc): Likewise.
63573 (free): Likewise.
63574 (realloc): Likewise.
63575 (malloc_fork_prepare): Likewise.
63576 (malloc_fork_parent): Likewise.
63577 (malloc_fork_child): Likewise.
63578 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63579 (_svcauth_des): Likewise.
63580 * inet/inet_lnaof.c (inet_lnaof): Likewise.
63581 * inet/inet_net.c (inet_network): Likewise.
63582 * inet/inet_netof.c (inet_netof): Likewise.
63583 * inet/rcmd.c (__validuser2_sa): Likewise.
63584 * io/fts.c (fts_open): Likewise.
63585 (fts_load): Likewise.
63586 (fts_close): Likewise.
63587 (fts_read): Likewise.
63588 (fts_children): Likewise.
63589 (fts_build): Likewise.
63590 (fts_stat): Likewise.
63591 (fts_sort): Likewise.
63592 (fts_alloc): Likewise.
63593 (fts_lfree): Likewise.
63594 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63595 (_IO_file_xsgetn): Likewise.
63596 (_IO_file_xsgetn_mmap): Likewise.
63597 * libio/iofopncook.c (_IO_cookie_read): Likewise.
63598 (_IO_cookie_write): Likewise.
63599 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63600 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63601 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63602 * malloc/obstack.c (_obstack_begin): Likewise.
63603 (_obstack_begin_1): Likewise.
63604 (_obstack_newchunk): Likewise.
63605 (_obstack_allocated_p): Likewise.
63606 (obstack_free): Likewise.
63607 (_obstack_memory_used): Likewise.
63608 * misc/getttyent.c (getttynam): Likewise.
63609 (getttyent): Likewise.
63610 (skip): Likewise.
63611 (value): Likewise.
63612 * misc/getusershell.c (initshells): Likewise.
63613 * misc/syslog.c (__vsyslog_chk): Likewise.
63614 * misc/ttyslot.c (ttyslot): Likewise.
63615 * nis/nis_hash.c (__nis_hash): Likewise.
63616 * posix/fnmatch_loop.c (FCT): Likewise.
63617 * posix/getconf.c (print_all): Likewise.
63618 (main): Likewise.
63619 * posix/getopt.c (exchange): Likewise.
63620 * posix/glob.c (globfree): Likewise.
63621 (prefix_array): Likewise.
63622 (__glob_pattern_type): Likewise.
63623 * resolv/arpa/nameser.h (NS_GET16): Likewise.
63624 (NS_GET32): Likewise.
63625 (NS_PUT16): Likewise.
63626 (NS_PUT32): Likewise.
63627 * resolv/gethnamaddr.c (getanswer): Likewise.
63628 (gethostbyname2): Likewise.
63629 (gethostbyaddr): Likewise.
63630 (_gethtent): Likewise.
63631 (_gethtbyname2): Likewise.
63632 (_gethtbyaddr): Likewise.
63633 * resolv/ns_print.c (dst_s_get_int16): Likewise.
63634 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63635 * resolv/res_init.c (__res_vinit): Likewise.
63636 (net_mask): Likewise.
63637 * resolv/res_mkquery.c (outchar): Likewise.
63638 (PRINT): Likewise.
63639 * stdio-common/printf_fp.c (outchar): Likewise.
63640 (PRINT): Likewise.
63641 * stdio-common/printf_fphex.c (outchar): Likewise.
63642 (PRINT): Likewise.
63643 * stdio-common/printf_size.c (outchar): Likewise.
63644 (PRINT): Likewise.
63645 * stdio-common/test_rdwr.c (main): Likewise.
63646 * stdio-common/tfformat.c (matches): Likewise.
63647 * stdio-common/vfprintf.c (outchar): Likewise.
63648 (printf_unknown): Likewise.
63649 (buffered_vfprintf): Likewise.
63650 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63651 * stdio-common/xbug.c (AppendToBuffer): Likewise.
63652 (ReadFile): Likewise.
63653 * stdlib/qsort.c (SWAP): Likewise.
63654 (_quicksort): Likewise.
63655 * stdlib/setenv.c (__add_to_environ): Likewise.
63656 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63657 * stdlib/strtol_l.c (__strtol_l): Likewise.
63658 * stdlib/tst-strtod.c (main): Likewise.
63659 * stdlib/tst-strtol.c (main): Likewise.
63660 * stdlib/tst-strtoll.c (main): Likewise.
63661 * string/bits/string2.h (__strcmp_cc): Likewise.
63662 (__strcmp_cg): Likewise.
63663 (__strcspn_c1): Likewise.
63664 (__strcspn_c2): Likewise.
63665 (__strcspn_c3): Likewise.
63666 (__strspn_c1): Likewise.
63667 (__strspn_c2): Likewise.
63668 (__strspn_c3): Likewise.
63669 (__strsep_1c): Likewise.
63670 (__strsep_2c): Likewise.
63671 (__strsep_3c): Likewise.
63672 * string/memccpy.c (__memccpy): Likewise.
63673 * string/stpcpy.c (__stpcpy): Likewise.
63674 * string/strcmp.c (strcmp): Likewise.
63675 * string/strrchr.c (strrchr): Likewise.
63676 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63677 Likewise.
63678 * sysdeps/mach/hurd/getcwd.c
63679 (_hurd_canonicalize_directory_name_internal): Likewise.
63680 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63681 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63682 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63683 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63684 Likewise, in both definitions.
63685 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63686 definitions.
63687 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63688 64] (__bswap_64): Likewise.
63689 * time/test_time.c (main): Likewise.
63690 * time/tzfile.c (__tzfile_read): Likewise.
63691 (__tzfile_compute): Likewise.
63692 * time/tzset.c (__tzset_parse_tz): Likewise.
63693 (tzset_internal): Likewise.
63694 (compute_change): Likewise.
63695 * wcsmbs/wcscat.c (__wcscat): Likewise.
63696 * wcsmbs/wcschr.c (wcschr): Likewise.
63697 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63698 * wcsmbs/wcscspn.c (wcscspn): Likewise.
63699 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63700 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63701 * wcsmbs/wcsspn.c (wcsspn): Likewise.
63702 * wcsmbs/wcsstr.c (wcsstr): Likewise.
63703 * wcsmbs/wmemchr.c (wmemchr): Likewise.
63704 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63705 * wcsmbs/wmemset.c (wmemset): Likewise.
63706
63707 2013-06-06 Joseph Myers <joseph@codesourcery.com>
63708
63709 * scripts/config.guess: Update to version 2013-05-16.
63710 * scripts/config.sub: Update to version 2013-04-24.
63711 * scripts/install-sh: Update to version 2011-11-20.07.
63712 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63713 * scripts/move-if-change: Update to version 2012-01-06 07:23.
63714
63715 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
63716
63717 * debug/fgetws_u_chk.c: Fix leading whitespaces.
63718 * elf/sln.c: Likewise.
63719 * hurd/hurd/ioctl.h: Likewise.
63720 * hurd/hurdmalloc.c: Likewise.
63721 * hurd/xattr.c: Likewise.
63722 * include/shlib-compat.h: Likewise.
63723 * inet/ruserpass.c: Likewise.
63724 * libio/iofgets_u.c: Likewise.
63725 * libio/iofgetws_u.c: Likewise.
63726 * locale/programs/ld-identification.c: Likewise.
63727 * locale/programs/ld-time.c: Likewise.
63728 * mach/msg-destroy.c: Likewise.
63729 * nss/nss_files/files-netgrp.c: Likewise.
63730 * resolv/res_data.c: Likewise.
63731 * soft-fp/op-1.h: Likewise.
63732 * soft-fp/op-2.h: Likewise.
63733 * soft-fp/op-4.h: Likewise.
63734 * soft-fp/op-common.h: Likewise.
63735 * stdio-common/printf_fphex.c: Likewise.
63736 * stdlib/strtod_l.c: Likewise.
63737 * sunrpc/rpc/clnt.h: Likewise.
63738 * sysdeps/generic/framestate.c: Likewise.
63739 * sysdeps/i386/bsd-_setjmp.S: Likewise.
63740 * sysdeps/i386/bsd-setjmp.S: Likewise.
63741 * sysdeps/i386/__longjmp.S: Likewise.
63742 * sysdeps/i386/setjmp.S: Likewise.
63743 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63744 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63745 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63746 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63747 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63748 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63750 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63751 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63752 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63753 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63754 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63755 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63756 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63757 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63758 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63759 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63760 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
63761 * sysdeps/ieee754/support.c: Likewise.
63762 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63763 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
63764 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
63765 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
63766 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
63767 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
63768 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
63769 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
63770 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
63771 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
63772 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
63773 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
63774 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
63775 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
63776 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
63777 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
63778 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
63780
63781 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
63782
63783 * posix/transbug.c: Remove executable mode.
63784
63785 2013-06-05 Joseph Myers <joseph@codesourcery.com>
63786
63787 * crypt/speeds.c: Remove trailing whitespace.
63788 * dlfcn/default.c: Likewise.
63789 * elf/ifuncdep2.c: Likewise.
63790 * elf/ifuncmain1.c: Likewise.
63791 * elf/ifuncmain1vis.c: Likewise.
63792 * elf/testobj.h: Likewise.
63793 * elf/tst-stackguard1.c: Likewise.
63794 * gmon/sys/gmon.h: Likewise.
63795 * hurd/hurdmsg.c: Likewise.
63796 * hurd/new-fd.c: Likewise.
63797 * hurd/ports-get.c: Likewise.
63798 * iconvdata/ibm1008_420.c: Likewise.
63799 * inet/tst-getni1.c: Likewise.
63800 * inet/tst-getni2.c: Likewise.
63801 * libio/ioungetc.c: Likewise.
63802 * libio/wfiledoalloc.c: Likewise.
63803 * manual/libm-err-tab.pl: Likewise.
63804 * math/w_dremf.c: Likewise.
63805 * misc/ftruncate.c: Likewise.
63806 * posix/bug-glob2.c: Likewise.
63807 * posix/tst-pcre.c: Likewise.
63808 * posix/wait4.c: Likewise.
63809 * resolv/README: Likewise.
63810 * resolv/res_debug.h: Likewise.
63811 * resolv/tst-inet_ntop.c: Likewise.
63812 * setjmp/bug269-setjmp.c: Likewise.
63813 * soft-fp/extended.h: Likewise.
63814 * soft-fp/op-1.h: Likewise.
63815 * soft-fp/op-2.h: Likewise.
63816 * soft-fp/op-4.h: Likewise.
63817 * soft-fp/op-8.h: Likewise.
63818 * soft-fp/testit.c: Likewise.
63819 * stdio-common/bug16.c: Likewise.
63820 * stdlib/random.c: Likewise.
63821 * sunrpc/rpcsvc/rquota.x: Likewise.
63822 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
63823 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63824 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63825 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63826 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63827 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63828 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63829 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63830 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63831 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63832 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63833 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63834 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63835 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63836 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63837 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63838 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63839 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63840 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63841 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63842 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63843 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63844 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
63845 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63846 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63847 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63848 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63849 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63850 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63851 * sysdeps/ieee754/s_lib_version.c: Likewise.
63852 * sysdeps/mach/hurd/check_fds.c: Likewise.
63853 * sysdeps/mach/hurd/getsockname.c: Likewise.
63854 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
63855 * sysdeps/mach/hurd/recvfrom.c: Likewise.
63856 * sysdeps/powerpc/bits/link.h: Likewise.
63857 * sysdeps/powerpc/dl-procinfo.c: Likewise.
63858 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
63859 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
63860 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
63861 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63862 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63863 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
63864 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63865 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
63866 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63867 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
63868 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63869 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
63870 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63871 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63872 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63873 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63875 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63876 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63877 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63878 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
63879 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63880 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
63881 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
63882 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63883 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63884 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63885 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63886 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63887 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63888 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63889 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63890 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63891 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
63892 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63893 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
63894 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63895 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
63896 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
63897 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
63898 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
63899 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
63900 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
63901 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63902 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
63903 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
63904 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63905 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
63906 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
63907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63909 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63910 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63911 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
63912 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
63913 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
63914 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63915 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
63916 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
63917 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
63918 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
63919 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
63920 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63921 * sysdeps/powerpc/sysdep.h: Likewise.
63922 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63923 * sysdeps/s390/s390-64/sub_n.S: Likewise.
63924 * sysdeps/sh/dl-trampoline.S: Likewise.
63925 * sysdeps/sh/memset.S: Likewise.
63926 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
63927 * sysdeps/sh/strlen.S: Likewise.
63928 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
63929 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
63930 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
63931 * sysdeps/sparc/sparc32/rem.S: Likewise.
63932 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
63933 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
63934 * sysdeps/sparc/sparc32/strchr.S: Likewise.
63935 * sysdeps/sparc/sparc32/udiv.S: Likewise.
63936 * sysdeps/sparc/sparc32/urem.S: Likewise.
63937 * sysdeps/sparc/sparc64/add_n.S: Likewise.
63938 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63939 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
63940 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
63941 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
63942 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
63943 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
63944 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
63945 * sysdeps/unix/bsd/times.c: Likewise.
63946 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
63947 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
63948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
63949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
63950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
63951 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
63952 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
63953 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
63954 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
63955 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
63956 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
63957 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63958 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
63959 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63960 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63961 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
63962 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63963 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
63964 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
63965 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
63966 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
63967 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
63968 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63969 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
63970 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
63971 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
63972 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
63973 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63974 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
63975 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
63976 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
63977 * sysdeps/x86_64/strcspn.S: Likewise.
63978
63979 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63980
63981 * locale/C-translit.h: Revert #include <stdint.h> because this is a
63982 generated file. Regenerate properly from gen-translit.pl.
63983 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
63984 locale/C-translit.h.
63985
63986 2013-06-05 Andreas Schwab <schwab@suse.de>
63987
63988 [BZ #15100]
63989 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
63990 week as 6 instead of -1.
63991 * time/tst-strptime.c (day_tests): Add test case.
63992
63993 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
63994
63995 * sysdeps/generic/math_private.h
63996 (libc_feholdexcept_setround_53bit): Replace with
63997 libc_feholdsetround_53bit.
63998 (libc_feupdateenv_53bit): Replace with
63999 libc_feresetround_53bit.
64000 (SET_RESTORE_ROUND_53BIT): Adjust.
64001
64002 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
64003
64004 * string/test-strchrnul.c: Add copyright header.
64005
64006 * posix/tst-getaddrinfo4.c: Increase test timeout.
64007
64008 2013-06-03 Carlos O'Donell <carlos@redhat.com>
64009
64010 [BZ #15536]
64011 * math/libm-test.inc (MAX_EXP): Remove
64012 (MIN_EXP): Define.
64013 (ulp): Use MIN_EXP - MANT_DIG.
64014 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64015
64016 2013-05-31 Carlos O'Donell <carlos@redhat.com>
64017
64018 * po/be.po: Revert last change.
64019 * po/zh_CN.po: Likewise.
64020 * po/header.pot: Likewise.
64021
64022 2013-05-31 Joseph Myers <joseph@codesourcery.com>
64023
64024 * Makefile ($(common-objpfx)linkobj/libc.so): Define
64025 link-libc-deps to empty as target-specific variable.
64026 * Makerules (link-libc-args): New variable.
64027 (libc-for-link): Likewise.
64028 (link-libc-deps): Likewise.
64029 (lib%.so): Depend on $(link-libc-deps). Link with
64030 $(link-libc-args).
64031 (build-module): Link with $(link-libc-args).
64032 (build-module-asneeded): Likewise.
64033 (build-module-helper-objlist): Filter out $(link-libc-deps) from
64034 list of objects.
64035 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64036 target-specific variable.
64037 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64038 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64039 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64040 libc.
64041 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64042 libc and ld.so.
64043 ($(objpfx)libpcprofile.so): Likewise.
64044 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64045 libc_nonshared.a.
64046 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64047 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64048 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64049 $(link-libc-deps).
64050 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64051 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64052 * login/Makefile ($(objpfx)libutil.so): Likewise.
64053 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64054 * math/Makefile ($(objpfx)libm.so): Likewise.
64055 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64056 $(objpfx)libnsl.so): Define libc-for-link as target-specific
64057 variable instead of depending directly on libc.
64058 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64059 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64060 $(link-libc-deps).
64061 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64062 libc.
64063 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64064 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64065 ($(objpfx)libanl.so): Likewise.
64066 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64067 ld.so.
64068 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64069 $(link-libc-deps).
64070 * sysdeps/i386/fpu/Makefile: Remove file.
64071 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64072 ($(objpfx)libm.so): Remove dependency on ld.so.
64073
64074 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
64075
64076 [BZ # 15553]
64077 * nis/yp_xdr.c (XDRMAXNAME): Define.
64078 (XDRMAXRECORD): Define.
64079 (xdr_domainname): Use XDRMAXNAME.
64080 (xdr_mapname): Likewise.
64081 (xdr_peername): Likewise.
64082 (xdr_keydat): Use XDRMAXRECORD.
64083 (xdr_valdat): Likewise.
64084
64085 2013-05-30 Jeff Law <law@redhat.com>
64086
64087 [BZ #14256]
64088 * manual/errno.texi (ESTALE): Update to account for more than
64089 just NFS file systems.
64090 * sysdeps/gnu/errlist.c: Regenerated.
64091
64092 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
64093
64094 [BZ #15465]
64095 * elf/Makefile (tests): Add tst-null-argv.
64096 (modules-names): Add tst-null-argv-lib.
64097 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64098 (tst-null-argv-ENV): Set environment for tst-null-argv.
64099 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64100 (RTLD_PROGNAME): New macro.
64101 * elf/tst-null-argv.c: New test case.
64102 * elf/tst-null-argv-lib.c: Library for test case.
64103 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64104 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64105 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64106 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64107 * elf/dl-init.c (call_init): Likewise.
64108 (_dl_init): Likewise.
64109 * elf/dl-load.c (print_search_path): Likewise.
64110 (_dl_map_object): Likewise.
64111 * elf/dl-lookup.c (do_lookup_x): Likewise.
64112 (add_dependency): Likewise.
64113 (_dl_lookup_symbol_x): Likewise.
64114 (_dl_debug_bindings): Likewise.
64115 * elf/dl-open.c (_dl_show_scope): Likewise.
64116 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64117 * elf/dl-version.c (match_symbol): Likewise.
64118 (_dl_check_map_versions): Likewise.
64119 * elf/rtld.c (dl_main): Likewise.
64120 (print_unresolved): Use RTLD_PROGNAME.
64121 (print_missing_version): Likewise.
64122 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64123 (elf_machine_rela): Likewise.
64124 * sysdeps/powerpc/powerpc32/dl-machine.c
64125 (__process_machine_rela): Likewise.
64126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64127 Likewise.
64128 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64129 Likewise.
64130 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64131 Likewise.
64132 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64133 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64134 Likewise.
64135 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64136 Likewise.
64137 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64138
64139 2013-05-28 Carlos O'Donell <carlos@redhat.com>
64140
64141 * po/be.po: Add descriptive title.
64142 * po/zh_CN.po: Likewise.
64143 * po/header.pot: Likewise.
64144
64145 2013-05-28 Mike Frysinger <vapier@gentoo.org>
64146
64147 * locale/programs/locarchive.c (create_archive): Inlucde fname in
64148 error message.
64149 (enlarge_archive): Likewise.
64150
64151 2013-05-28 Ben North <ben@redfrontdoor.org>
64152
64153 * manual/arith.texi (frexp): It is the magnitude of the return
64154 value which lies in [0.5, 1), not the return value itself.
64155
64156 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64157
64158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64159
64160 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
64161
64162 * stdio-common/bug26.c (main): Correct fscanf template.
64163
64164 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64165 declare _dl_skip_args.
64166
64167 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64168 Don't declare.
64169
64170 * manual/platform.texi: Add missing @end deftypefun.
64171
64172 2013-05-24 Joseph Myers <joseph@codesourcery.com>
64173
64174 [BZ #15529]
64175 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64176 bit of mantissa of 2^16382.
64177 * math/libm-test.inc (hypot_test_data): Add more tests.
64178
64179 * math/libm-test.inc: Add drem and pow10 to list of tested
64180 functions.
64181 (pow10_test): New function.
64182 (drem_test): Likewise.
64183 (drem_test_tonearest): Likewise.
64184 (drem_test_towardzero): Likewise.
64185 (drem_test_downward): Likewise.
64186 (drem_test_upward): Likewise.
64187 (main): Call the new functions.
64188
64189 * math/libm-test.inc (finite_test_data): Remove.
64190 (finite_test): Run tests from isfinite_test_data.
64191 (gamma_test_data): Remove.
64192 (gamma_test): Run tests from lgamma_test_data.
64193 * sysdeps/i386/fpu/libm-test-ulps: Update.
64194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64195
64196 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64197
64198 * manual/platform.texi: Add PowerPC PPR function set documentation.
64199 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64200 implementation.
64201
64202 2013-05-24 Carlos O'Donell <carlos@redhat.com>
64203
64204 * math/libm-test.inc (MAX_EXP): Define.
64205 (ULPDIFF): Define.
64206 (ulp): New function.
64207 (check_float_internal): Use ULPDIFF.
64208 (cpow_test): Disable failing test.
64209 (check_ulp): Test ulp() implementation.
64210 (main): Call check_ulp before starting tests.
64211
64212 2013-05-24 Joseph Myers <joseph@codesourcery.com>
64213
64214 * math/gen-libm-test.pl (generate_testfile): Do not handle
64215 START_DATA and END_DATA.
64216 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64217 END_DATA.
64218 (acos_tonearest_test_data): Likewise.
64219 (acos_towardzero_test_data): Likewise.
64220 (acos_downward_test_data): Likewise.
64221 (acos_upward_test_data): Likewise.
64222 (acosh_test_data): Likewise.
64223 (asin_test_data): Likewise.
64224 (asin_tonearest_test_data): Likewise.
64225 (asin_towardzero_test_data): Likewise.
64226 (asin_downward_test_data): Likewise.
64227 (asin_upward_test_data): Likewise.
64228 (asinh_test_data): Likewise.
64229 (atan_test_data): Likewise.
64230 (atanh_test_data): Likewise.
64231 (atan2_test_data): Likewise.
64232 (cabs_test_data): Likewise.
64233 (cacos_test_data): Likewise.
64234 (cacosh_test_data): Likewise.
64235 (carg_test_data): Likewise.
64236 (casin_test_data): Likewise.
64237 (casinh_test_data): Likewise.
64238 (catan_test_data): Likewise.
64239 (catanh_test_data): Likewise.
64240 (cbrt_test_data): Likewise.
64241 (ccos_test_data): Likewise.
64242 (ccosh_test_data): Likewise.
64243 (ceil_test_data): Likewise.
64244 (cexp_test_data): Likewise.
64245 (cimag_test_data): Likewise.
64246 (clog_test_data): Likewise.
64247 (clog10_test_data): Likewise.
64248 (conj_test_data): Likewise.
64249 (copysign_test_data): Likewise.
64250 (cos_test_data): Likewise.
64251 (cos_tonearest_test_data): Likewise.
64252 (cos_towardzero_test_data): Likewise.
64253 (cos_downward_test_data): Likewise.
64254 (cos_upward_test_data): Likewise.
64255 (cosh_test_data): Likewise.
64256 (cosh_tonearest_test_data): Likewise.
64257 (cosh_towardzero_test_data): Likewise.
64258 (cosh_downward_test_data): Likewise.
64259 (cosh_upward_test_data): Likewise.
64260 (cpow_test_data): Likewise.
64261 (cproj_test_data): Likewise.
64262 (creal_test_data): Likewise.
64263 (csin_test_data): Likewise.
64264 (csinh_test_data): Likewise.
64265 (csqrt_test_data): Likewise.
64266 (ctan_test_data): Likewise.
64267 (ctan_tonearest_test_data): Likewise.
64268 (ctan_towardzero_test_data): Likewise.
64269 (ctan_downward_test_data): Likewise.
64270 (ctan_upward_test_data): Likewise.
64271 (ctanh_test_data): Likewise.
64272 (ctanh_tonearest_test_data): Likewise.
64273 (ctanh_towardzero_test_data): Likewise.
64274 (ctanh_downward_test_data): Likewise.
64275 (ctanh_upward_test_data): Likewise.
64276 (erf_test_data): Likewise.
64277 (erfc_test_data): Likewise.
64278 (exp_test_data): Likewise.
64279 (exp_tonearest_test_data): Likewise.
64280 (exp_towardzero_test_data): Likewise.
64281 (exp_downward_test_data): Likewise.
64282 (exp_upward_test_data): Likewise.
64283 (exp10_test_data): Likewise.
64284 (exp2_test_data): Likewise.
64285 (expm1_test_data): Likewise.
64286 (fabs_test_data): Likewise.
64287 (fdim_test_data): Likewise.
64288 (finite_test_data): Likewise.
64289 (floor_test_data): Likewise.
64290 (fma_test_data): Likewise.
64291 (fma_towardzero_test_data): Likewise.
64292 (fma_downward_test_data): Likewise.
64293 (fma_upward_test_data): Likewise.
64294 (fmax_test_data): Likewise.
64295 (fmin_test_data): Likewise.
64296 (fmod_test_data): Likewise.
64297 (fpclassify_test_data): Likewise.
64298 (frexp_test_data): Likewise.
64299 (gamma_test_data): Likewise.
64300 (hypot_test_data): Likewise.
64301 (ilogb_test_data): Likewise.
64302 (isfinite_test_data): Likewise.
64303 (isgreater_test_data): Likewise.
64304 (isgreaterequal_test_data): Likewise.
64305 (isinf_test_data): Likewise.
64306 (isless_test_data): Likewise.
64307 (islessequal_test_data): Likewise.
64308 (islessgreater_test_data): Likewise.
64309 (isnan_test_data): Likewise.
64310 (isnormal_test_data): Likewise.
64311 (issignaling_test_data): Likewise.
64312 (isunordered_test_data): Likewise.
64313 (j0_test_data): Likewise.
64314 (j1_test_data): Likewise.
64315 (jn_test_data): Likewise.
64316 (ldexp_test_data): Likewise.
64317 (lgamma_test_data): Likewise.
64318 (lrint_test_data): Likewise.
64319 (lrint_tonearest_test_data): Likewise.
64320 (lrint_towardzero_test_data): Likewise.
64321 (lrint_downward_test_data): Likewise.
64322 (lrint_upward_test_data): Likewise.
64323 (llrint_test_data): Likewise.
64324 (llrint_tonearest_test_data): Likewise.
64325 (llrint_towardzero_test_data): Likewise.
64326 (llrint_downward_test_data): Likewise.
64327 (llrint_upward_test_data): Likewise.
64328 (log_test_data): Likewise.
64329 (log10_test_data): Likewise.
64330 (log1p_test_data): Likewise.
64331 (log2_test_data): Likewise.
64332 (logb_test_data): Likewise.
64333 (logb_downward_test_data): Likewise.
64334 (lround_test_data): Likewise.
64335 (llround_test_data): Likewise.
64336 (modf_test_data): Likewise.
64337 (nearbyint_test_data): Likewise.
64338 (nextafter_test_data): Likewise.
64339 (nexttoward_test_data): Likewise.
64340 (pow_test_data): Likewise.
64341 (pow_tonearest_test_data): Likewise.
64342 (pow_towardzero_test_data): Likewise.
64343 (pow_downward_test_data): Likewise.
64344 (pow_upward_test_data): Likewise.
64345 (remainder_test_data): Likewise.
64346 (remainder_tonearest_test_data): Likewise.
64347 (remainder_towardzero_test_data): Likewise.
64348 (remainder_downward_test_data): Likewise.
64349 (remainder_upward_test_data): Likewise.
64350 (remquo_test_data): Likewise.
64351 (rint_test_data): Likewise.
64352 (rint_tonearest_test_data): Likewise.
64353 (rint_towardzero_test_data): Likewise.
64354 (rint_downward_test_data): Likewise.
64355 (rint_upward_test_data): Likewise.
64356 (round_test_data): Likewise.
64357 (scalb_test_data): Likewise.
64358 (scalbn_test_data): Likewise.
64359 (scalbln_test_data): Likewise.
64360 (signbit_test_data): Likewise.
64361 (sin_test_data): Likewise.
64362 (sin_tonearest_test_data): Likewise.
64363 (sin_towardzero_test_data): Likewise.
64364 (sin_downward_test_data): Likewise.
64365 (sin_upward_test_data): Likewise.
64366 (sincos_test_data): Likewise.
64367 (sinh_test_data): Likewise.
64368 (sinh_tonearest_test_data): Likewise.
64369 (sinh_towardzero_test_data): Likewise.
64370 (sinh_downward_test_data): Likewise.
64371 (sinh_upward_test_data): Likewise.
64372 (sqrt_test_data): Likewise.
64373 (tan_test_data): Likewise.
64374 (tan_tonearest_test_data): Likewise.
64375 (tan_towardzero_test_data): Likewise.
64376 (tan_downward_test_data): Likewise.
64377 (tan_upward_test_data): Likewise.
64378 (tanh_test_data): Likewise.
64379 (tgamma_test_data): Likewise.
64380 (trunc_test_data): Likewise.
64381 (y0_test_data): Likewise.
64382 (y1_test_data): Likewise.
64383 (yn_test_data): Likewise.
64384 (significand_test_data): Likewise.
64385
64386 * math/gen-libm-test.pl (@functions): Remove variable.
64387 (generate_testfile): Don't handle START and END lines.
64388 * math/libm-test.inc (START): New macro.
64389 (END): Likewise.
64390 (END_COMPLEX): Likewise.
64391 (acos_test): Use END macro without arguments.
64392 (acos_test_tonearest): Likewise.
64393 (acos_test_towardzero): Likewise.
64394 (acos_test_downward): Likewise.
64395 (acos_test_upward): Likewise.
64396 (acosh_test): Likewise.
64397 (asin_test): Likewise.
64398 (asin_test_tonearest): Likewise.
64399 (asin_test_towardzero): Likewise.
64400 (asin_test_downward): Likewise.
64401 (asin_test_upward): Likewise.
64402 (asinh_test): Likewise.
64403 (atan_test): Likewise.
64404 (atanh_test): Likewise.
64405 (atan2_test): Likewise.
64406 (cabs_test): Likewise.
64407 (cacos_test): Use END_COMPLEX macro without arguments.
64408 (cacosh_test): Likewise.
64409 (carg_test): Use END macro without arguments.
64410 (casin_test): Use END_COMPLEX macro without arguments.
64411 (casinh_test): Likewise.
64412 (catan_test): Likewise.
64413 (catanh_test): Likewise.
64414 (cbrt_test): Use END macro without arguments.
64415 (ccos_test): Use END_COMPLEX macro without arguments.
64416 (ccosh_test): Likewise.
64417 (ceil_test): Use END macro without arguments.
64418 (cexp_test): Use END_COMPLEX macro without arguments.
64419 (cimag_test): Use END macro without arguments.
64420 (clog_test): Use END_COMPLEX macro without arguments.
64421 (clog10_test): Likewise.
64422 (conj_test): Likewise.
64423 (copysign_test): Use END macro without arguments.
64424 (cos_test): Likewise.
64425 (cos_test_tonearest): Likewise.
64426 (cos_test_towardzero): Likewise.
64427 (cos_test_downward): Likewise.
64428 (cos_test_upward): Likewise.
64429 (cosh_test): Likewise.
64430 (cosh_test_tonearest): Likewise.
64431 (cosh_test_towardzero): Likewise.
64432 (cosh_test_downward): Likewise.
64433 (cosh_test_upward): Likewise.
64434 (cpow_test): Use END_COMPLEX macro without arguments.
64435 (cproj_test): Likewise.
64436 (creal_test): Use END macro without arguments.
64437 (csin_test): Use END_COMPLEX macro without arguments.
64438 (csinh_test): Likewise.
64439 (csqrt_test): Likewise.
64440 (ctan_test): Likewise.
64441 (ctan_test_tonearest): Likewise.
64442 (ctan_test_towardzero): Likewise.
64443 (ctan_test_downward): Likewise.
64444 (ctan_test_upward): Likewise.
64445 (ctanh_test): Likewise.
64446 (ctanh_test_tonearest): Likewise.
64447 (ctanh_test_towardzero): Likewise.
64448 (ctanh_test_downward): Likewise.
64449 (ctanh_test_upward): Likewise.
64450 (erf_test): Use END macro without arguments.
64451 (erfc_test): Likewise.
64452 (exp_test): Likewise.
64453 (exp_test_tonearest): Likewise.
64454 (exp_test_towardzero): Likewise.
64455 (exp_test_downward): Likewise.
64456 (exp_test_upward): Likewise.
64457 (exp10_test): Likewise.
64458 (exp2_test): Likewise.
64459 (expm1_test): Likewise.
64460 (fabs_test): Likewise.
64461 (fdim_test): Likewise.
64462 (finite_test): Likewise.
64463 (floor_test): Likewise.
64464 (fma_test): Likewise.
64465 (fma_test_towardzero): Likewise.
64466 (fma_test_downward): Likewise.
64467 (fma_test_upward): Likewise.
64468 (fmax_test): Likewise.
64469 (fmin_test): Likewise.
64470 (fmod_test): Likewise.
64471 (fpclassify_test): Likewise.
64472 (frexp_test): Likewise.
64473 (gamma_test): Likewise.
64474 (hypot_test): Likewise.
64475 (ilogb_test): Likewise.
64476 (isfinite_test): Likewise.
64477 (isgreater_test): Likewise.
64478 (isgreaterequal_test): Likewise.
64479 (isinf_test): Likewise.
64480 (isless_test): Likewise.
64481 (islessequal_test): Likewise.
64482 (islessgreater_test): Likewise.
64483 (isnan_test): Likewise.
64484 (isnormal_test): Likewise.
64485 (issignaling_test): Likewise.
64486 (isunordered_test): Likewise.
64487 (j0_test): Likewise.
64488 (j1_test): Likewise.
64489 (jn_test): Likewise.
64490 (ldexp_test): Likewise.
64491 (lgamma_test): Likewise.
64492 (lrint_test): Likewise.
64493 (lrint_test_tonearest): Likewise.
64494 (lrint_test_towardzero): Likewise.
64495 (lrint_test_downward): Likewise.
64496 (lrint_test_upward): Likewise.
64497 (llrint_test): Likewise.
64498 (llrint_test_tonearest): Likewise.
64499 (llrint_test_towardzero): Likewise.
64500 (llrint_test_downward): Likewise.
64501 (llrint_test_upward): Likewise.
64502 (log_test): Likewise.
64503 (log10_test): Likewise.
64504 (log1p_test): Likewise.
64505 (log2_test): Likewise.
64506 (logb_test): Likewise.
64507 (logb_test_downward): Likewise.
64508 (lround_test): Likewise.
64509 (llround_test): Likewise.
64510 (modf_test): Likewise.
64511 (nearbyint_test): Likewise.
64512 (nextafter_test): Likewise.
64513 (nexttoward_test): Likewise.
64514 (pow_test): Likewise.
64515 (pow_test_tonearest): Likewise.
64516 (pow_test_towardzero): Likewise.
64517 (pow_test_downward): Likewise.
64518 (pow_test_upward): Likewise.
64519 (remainder_test): Likewise.
64520 (remainder_test_tonearest): Likewise.
64521 (remainder_test_towardzero): Likewise.
64522 (remainder_test_downward): Likewise.
64523 (remainder_test_upward): Likewise.
64524 (remquo_test): Likewise.
64525 (rint_test): Likewise.
64526 (rint_test_tonearest): Likewise.
64527 (rint_test_towardzero): Likewise.
64528 (rint_test_downward): Likewise.
64529 (rint_test_upward): Likewise.
64530 (round_test): Likewise.
64531 (scalb_test): Likewise.
64532 (scalbn_test): Likewise.
64533 (scalbln_test): Likewise.
64534 (signbit_test): Likewise.
64535 (sin_test): Likewise.
64536 (sin_test_tonearest): Likewise.
64537 (sin_test_towardzero): Likewise.
64538 (sin_test_downward): Likewise.
64539 (sin_test_upward): Likewise.
64540 (sincos_test): Likewise.
64541 (sinh_test): Likewise.
64542 (sinh_test_tonearest): Likewise.
64543 (sinh_test_towardzero): Likewise.
64544 (sinh_test_downward): Likewise.
64545 (sinh_test_upward): Likewise.
64546 (sqrt_test): Likewise.
64547 (tan_test): Likewise.
64548 (tan_test_tonearest): Likewise.
64549 (tan_test_towardzero): Likewise.
64550 (tan_test_downward): Likewise.
64551 (tan_test_upward): Likewise.
64552 (tanh_test): Likewise.
64553 (tgamma_test): Likewise.
64554 (trunc_test): Likewise.
64555 (y0_test): Likewise.
64556 (y1_test): Likewise.
64557 (yn_test): Likewise.
64558 (significand_test): Likewise.
64559
64560 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
64561
64562 [BZ #15381]
64563 * libio/genops.c (_IO_no_init): Initialize wide struct info.
64564
64565 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
64566
64567 [BZ #14894]
64568 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64569 __ppc_mdoio and __ppc_mdoom.
64570 * manual/platform.texi: Document new functions __ppc_yield,
64571 __ppc_mdoio and __ppc_mdoom.
64572
64573 2013-05-22 Carlos O'Donell <carlos@redhat.com>
64574
64575 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64576 (main): Mention "tls" pseudo-hwcap is legacy.
64577 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64578
64579 2013-05-22 Joseph Myers <joseph@codesourcery.com>
64580
64581 * math/gen-libm-test.pl (parse_args): Output only string of
64582 arguments as text for test name, not full call or descriptions of
64583 tests for extra outputs.
64584 (generate_testfile): Do not pass function name to parse_args.
64585 Generate this_func variable from START.
64586 * math/libm-test.inc (struct test_f_f_data): Rename test_name
64587 field to arg_str.
64588 (struct test_ff_f_data): Likewise.
64589 (test_ff_f_data_nexttoward): Likewise.
64590 (struct test_fi_f_data): Likewise.
64591 (struct test_fl_f_data): Likewise.
64592 (struct test_if_f_data): Likewise.
64593 (struct test_fff_f_data): Likewise.
64594 (struct test_c_f_data): Likewise.
64595 (struct test_f_f1_data): Likewise. Remove field extra_name.
64596 (struct test_fF_f1_data): Likewise.
64597 (struct test_ffI_f1_data): Likewise.
64598 (struct test_c_c_data): Rename test_name field to arg_str.
64599 (struct test_cc_c_data): Likewise.
64600 (struct test_f_i_data): Likewise.
64601 (struct test_ff_i_data): Likewise.
64602 (struct test_f_l_data): Likewise.
64603 (struct test_f_L_data): Likewise.
64604 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
64605 and extra2_name.
64606 (COMMON_TEST_SETUP): New macro.
64607 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64608 (COMMON_TEST_CLEANUP): Likewise.
64609 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64610 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
64611 macros.
64612 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64613 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
64614 macros.
64615 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64616 (RUN_TEST_fff_f): Take argument string. Call new setup and
64617 cleanup macros.
64618 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64619 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
64620 macros.
64621 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64622 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
64623 macros.
64624 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64625 (RUN_TEST_fF_f1): Take argument string. Call new setup and
64626 cleanup macros.
64627 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64628 (RUN_TEST_fI_f1): Take argument string. Call new setup and
64629 cleanup macros.
64630 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64631 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
64632 cleanup macros.
64633 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64634 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
64635 macros.
64636 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64637 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
64638 macros.
64639 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64640 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
64641 macros.
64642 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64643 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
64644 cleanup macros.
64645 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64646 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
64647 cleanup macros.
64648 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64649 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
64650 macros.
64651 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64652 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
64653 cleanup macros.
64654 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64655 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
64656 macros.
64657 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64658 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
64659 macros.
64660 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64661 (RUN_TEST_fFF_11): Take argument string. Call new setup and
64662 cleanup macros.
64663 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64664
64665 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
64666
64667 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64668 to _sifields.sigfault.
64669 (si_addr_lsb): Define new macro.
64670 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64671 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64672 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64673
64674 2013-05-03 Carlos O'Donell <carlos at redhat.com>
64675
64676 [BZ #15441]
64677 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64678 returns -1.
64679 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64680 null return -1.
64681 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64682 loading the domain.
64683
64684 2013-05-22 Joseph Myers <joseph@codesourcery.com>
64685
64686 * math/gen-libm-test.pl (parse_args): Do not include expected
64687 result in test name.
64688 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64689 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64690 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64691 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64692 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64694
64695 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
64696
64697 * benchtests/Makefile: Sort function entries.
64698
64699 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64700 tanh, asinh, acosh, atanh.
64701 * benchtests/acos-inputs: New file.
64702 * benchtests/acosh-inputs: New file.
64703 * benchtests/asin-inputs: New file.
64704 * benchtests/asinh-inputs: New file.
64705 * benchtests/atanh-inputs: New file.
64706 * benchtests/cosh-inputs: New file.
64707 * benchtests/log-inputs: New file.
64708 * benchtests/sinh-inputs: New file.
64709 * benchtests/tanh-inputs: New file.
64710
64711 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
64712
64713 [BZ #15339]
64714 * posix/tst-getaddrinfo4.c: New test.
64715 * posix/Makefile (tests): Add it.
64716
64717 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64718
64719 [BZ #15339]
64720 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
64721 when no services were used.
64722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
64723 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
64724
64725 2013-05-21 Andreas Schwab <schwab@suse.de>
64726
64727 [BZ #15014]
64728 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
64729 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
64730 successful.
64731 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
64732 redundant variable declarations and reallocation of buffer when
64733 parsing as IPv6 address. Always set NSS status when called from
64734 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
64735 buffer too small. Correct computation of needed size.
64736 * nss/Makefile (tests): Add test-digits-dots.
64737 * nss/test-digits-dots.c: New test.
64738
64739 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64740
64741 * benchtests/Makefile: Remove instructions for adding
64742 benchmark tests.
64743 * benchtests/README: New file to explain how to execute and
64744 enhance the benchmark tests.
64745
64746 2013-05-21 Andreas Schwab <schwab@suse.de>
64747
64748 [BZ #15493]
64749 * setjmp/Makefile (tests): Add tst-sigsetjmp.
64750 * setjmp/tst-sigsetjmp.c: New test.
64751
64752 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
64753
64754 * sysdeps/x86_64/memset.S (memset): New implementation.
64755 (__bzero): Likewise.
64756 (__memset_tail): New function.
64757
64758 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
64759
64760 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
64761 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
64762 __memcpy_sse2_unaligned ifunc selection.
64763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64764 Add memcpy-sse2-unaligned.S.
64765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64766 Add: __memcpy_sse2_unaligned.
64767
64768 2013-05-19 Joseph Myers <joseph@codesourcery.com>
64769
64770 [BZ #15490]
64771 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64772 math_force_eval before restoring floating-point envrionment.
64773 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
64774 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
64775 Likewise.
64776 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
64777 <math_private.h>.
64778 (__nearbyintl): Use math_force_eval before restoring
64779 floating-point environment.
64780 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
64781
64782 * math/gen-libm-test.pl (special_functions): Remove.
64783 (parse_args): Don't handle TEST_extra. Handle functions with no
64784 return value.
64785 * math/libm-test.inc (struct test_sincos_data): Replace with
64786 struct test_fFF_11_data.
64787 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
64788 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
64789 (sincos_test_data): Change element type to struct
64790 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
64791 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
64792 RUN_TEST_LOOP_sincos.
64793 * math/README.libm-test: Don't mention special handling of
64794 individual functions.
64795 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
64796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64797 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64798 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64799 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64801
64802 * math/gen-libm-test.pl (get_variable): Remove function.
64803 (parse_args): Don't show pointer parameters to call in test
64804 names. Use "extra output N" in test names for extra outputs
64805 rather than naming variables.
64806
64807 2013-05-18 Joseph Myers <joseph@codesourcery.com>
64808
64809 [BZ #15488]
64810 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
64811 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
64812 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
64813 double tests.
64814 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
64815 disable.
64816 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
64817 check_long_double.
64818
64819 * math/gen-libm-test.pl (@tests): Remove variable.
64820 ($count): Likewise.
64821 (new_test): Remove function.
64822 (show_exceptions): New function.
64823 (special_functions): Use show_exceptions instead of new_test.
64824 (parse_args): Likewise.
64825 (generate_testfile): Pass only function name in generated call to
64826 print_max_error or print_complex_max_error.
64827 (get_ulps): Do not handle complex tests specially.
64828 (output_test): Rename to ...
64829 (get_all_ulps_for_test): ... this. Return a string rather than
64830 printing to a file. Require ulps to be present.
64831 (output_ulps): Generate arrays rather than #defines.
64832 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
64833 (struct ulp_data): New type.
64834 (BUILD_COMPLEX_ULP): Remove macro.
64835 (compare_ulp_data): New function.
64836 (find_ulps): Likewise.
64837 (find_test_ulps): Likewise.
64838 (find_function_ulps): Likewise.
64839 (find_complex_function_ulps): Likewise.
64840 (print_max_error): Determine allowed ulps using
64841 find_function_ulps.
64842 (print_complex_max_error): Determine allowed ulps using
64843 find_complex_function_ulps.
64844 (check_float_internal): Determine max ulps using find_test_ulps.
64845 (check_float): Do not take max_ulp parameter. Update call to
64846 check_float_internal.
64847 (check_complex): Likewise.
64848 (check_int): Do not take max_ulp parameter.
64849 (check_long): Likewise.
64850 (check_bool): Likewise.
64851 (check_longlong): Likewise.
64852 (struct test_f_f_data): Remove max_ulp field.
64853 (struct test_ff_f_data): Likewise.
64854 (struct test_ff_f_data_nexttoward): Likewise.
64855 (struct test_fi_f_data): Likewise.
64856 (struct test_fl_f_data): Likewise.
64857 (struct test_if_f_data): Likewise.
64858 (struct test_fff_f_data): Likewise.
64859 (struct test_c_f_data): Likewise.
64860 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
64861 (struct test_fF_f1_data): Likewise.
64862 (struct test_ffI_f1_data): Likewise.
64863 (struct test_c_c_data): Remove max_ulp field.
64864 (struct test_cc_c_data): Likewise.
64865 (struct test_f_i_data): Likewise.
64866 (struct test_ff_i_data): Likewise.
64867 (struct test_f_l_data): Likewise.
64868 (struct test_f_L_data): Likewise.
64869 (struct test_sincos_data): Likewise.
64870 (RUN_TEST_f_f): Do not handle ulps.
64871 (RUN_TEST_LOOP_f_f): Likewise.
64872 (RUN_TEST_2_f): Likewise.
64873 (RUN_TEST_LOOP_2_f): Likewise.
64874 (RUN_TEST_fff_f): Likewise.
64875 (RUN_TEST_LOOP_fff_f): Likewise.
64876 (RUN_TEST_c_f): Likewise.
64877 (RUN_TEST_LOOP_c_f): Likewise.
64878 (RUN_TEST_f_f1): Likewise.
64879 (RUN_TEST_LOOP_f_f1): Likewise.
64880 (RUN_TEST_fF_f1): Likewise.
64881 (RUN_TEST_LOOP_fF_f1): Likewise.
64882 (RUN_TEST_fI_f1): Likewise.
64883 (RUN_TEST_LOOP_fI_f1): Likewise.
64884 (RUN_TEST_ffI_f1): Likewise.
64885 (RUN_TEST_LOOP_ffI_f1): Likewise.
64886 (RUN_TEST_c_c): Likewise.
64887 (RUN_TEST_LOOP_c_c): Likewise.
64888 (RUN_TEST_cc_c): Likewise.
64889 (RUN_TEST_LOOP_cc_c): Likewise.
64890 (RUN_TEST_f_i): Likewise.
64891 (RUN_TEST_LOOP_f_i): Likewise.
64892 (RUN_TEST_f_i_tg): Likewise.
64893 (RUN_TEST_LOOP_f_i_tg): Likewise.
64894 (RUN_TEST_ff_i_tg): Likewise.
64895 (RUN_TEST_LOOP_ff_i_tg): Likewise.
64896 (RUN_TEST_f_b): Likewise.
64897 (RUN_TEST_LOOP_f_b): Likewise.
64898 (RUN_TEST_f_b_tg): Likewise.
64899 (RUN_TEST_LOOP_f_b_tg): Likewise.
64900 (RUN_TEST_f_l): Likewise.
64901 (RUN_TEST_LOOP_f_l): Likewise.
64902 (RUN_TEST_f_L): Likewise.
64903 (RUN_TEST_LOOP_f_L): Likewise.
64904 (RUN_TEST_sincos): Likewise.
64905 (RUN_TEST_LOOP_sincos): Likewise.
64906
64907 2013-05-17 Joseph Myers <joseph@codesourcery.com>
64908
64909 [BZ #15480]
64910 [BZ #15485]
64911 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
64912 main case of finite arguments, set rounding mode to FE_TONEAREST
64913 and discard exceptions.
64914 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
64915 exceptions.
64916 (remainder_tonearest_test_data): New variable.
64917 (remainder_test_tonearest): New function.
64918 (remainder_towardzero_test_data): New variable.
64919 (remainder_test_towardzero): New function.
64920 (remainder_downward_test_data): New variable.
64921 (remainder_test_downward): New function.
64922 (remainder_upward_test_data): New variable.
64923 (remainder_test_upward): New function.
64924 (main): Call the new test functions.
64925
64926 * math/libm-test.inc (struct test_f_f1_data): Remove field
64927 extra_init.
64928 (struct test_fF_f1_data): Likewise.
64929 (struct test_ffI_f1_data): Likewise.
64930 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
64931 based on value of EXTRA_EXPECTED.
64932 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64933 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
64934 EXTRA_VAR based on value of EXTRA_EXPECTED.
64935 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64936 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
64937 EXTRA_VAR based on value of EXTRA_EXPECTED.
64938 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64939 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
64940 EXTRA_VAR based on value of EXTRA_EXPECTED.
64941 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64942 * math/gen-libm-test.pl (parse_args): Don't output initializers
64943 for extra output values.
64944
64945 * math/libm-test.inc (check_int): Expect result to be exactly
64946 equal to expected value and do not handle ulps.
64947 (check_long): Likewise.
64948 (check_longlong): Likewise.
64949
64950 * math/libm-test.inc (ceil_test_data): Test for "inexact"
64951 exceptions.
64952 (cimag_test_data): Likewise.
64953 (conj_test_data): Likewise.
64954 (copysign_test_data): Likewise.
64955 (cproj_test_data): Likewise.
64956 (creal_test_data): Likewise.
64957 (fabs_test_data): Likewise.
64958 (fdim_test_data): Likewise.
64959 (finite_test_data): Likewise.
64960 (floor_test_data): Likewise.
64961 (fmax_test_data): Likewise.
64962 (fmin_test_data): Likewise.
64963 (fmod_test_data): Likewise.
64964 (fpclassify_test_data): Likewise.
64965 (frexp_test_data): Likewise.
64966 (ilogb_test_data): Likewise.
64967 (isfinite_test_data): Likewise.
64968 (isgreater_test_data): Likewise.
64969 (isgreaterequal_test_data): Likewise.
64970 (isinf_test_data): Likewise.
64971 (isless_test_data): Likewise.
64972 (islessequal_test_data): Likewise.
64973 (islessgreater_test_data): Likewise.
64974 (isnan_test_data): Likewise.
64975 (isnormal_test_data): Likewise.
64976 (issignaling_test_data): Likewise.
64977 (isunordered_test_data): Likewise.
64978 (ldexp_test_data): Likewise.
64979 (lrint_test_data): Likewise.
64980 (lrint_test_data) [TEST_FLOAT]: Disable one test.
64981 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
64982 (lrint_tonearest_test_data): Test for "inexact" exceptions.
64983 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64984 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
64985 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64986 test input.
64987 (lrint_towardzero_test_data): Test for "inexact" exceptions.
64988 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64989 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
64990 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
64991 that test input.
64992 (lrint_downward_test_data): Test for "inexact" exceptions.
64993 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64994 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
64995 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64996 test input.
64997 (lrint_upward_test_data): Test for "inexact" exceptions.
64998 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
64999 test input.
65000 (llrint_test_data): Test for "inexact" exceptions.
65001 (llrint_test_data) [TEST_FLOAT]: Disable one test.
65002 (llrint_tonearest_test_data): Test for "inexact" exceptions.
65003 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65004 (llrint_towardzero_test_data): Test for "inexact" exceptions.
65005 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65006 (llrint_downward_test_data): Test for "inexact" exceptions.
65007 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65008 (llrint_upward_test_data): Test for "inexact" exceptions.
65009 (logb_test_data): Likewise.
65010 (logb_downward_test_data): Likewise.
65011 (nextafter_test_data): Likewise.
65012 (nexttoward_test_data): Likewise.
65013 (remainder_test_data): Likewise.
65014 (remquo_test_data): Likewise.
65015 (scalbn_test_data): Likewise.
65016 (scalbln_test_data): Likewise.
65017 (signbit_test_data): Likewise.
65018 (sqrt_test_data): Likewise.
65019 (significand_test_data): Likewise.
65020
65021 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
65022
65023 [BZ #15424]
65024 * benchtests/bench-modf.c (struct args): Mark arg0 as
65025 volatile.
65026 * scripts/bench.pl: Mark members of struct args as volatile.
65027
65028 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65029
65030 [BZ # 15497]
65031 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65032 negative infinity on POWER6 or lower.
65033 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65034
65035 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
65036
65037 [BZ #15442]
65038 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65039 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65040 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65041 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65042 (_FP_SETQNAN): New macro.
65043 (_FP_SETQNAN_SEMIRAW): Likewise.
65044 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65045 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65046 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65047 (FP_EXTEND): Use _FP_FRAC_SNANP.
65048 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65049 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65050 into account.
65051 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65052 New macro.
65053 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65054 Likewise.
65055
65056 2013-05-16 Joseph Myers <joseph@codesourcery.com>
65057
65058 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65059 with DIVIDE_BY_ZERO_EXCEPTION.
65060 (gamma_test_data): Likewise.
65061 (lgamma_test_data): Likewise.
65062 (log_test_data): Likewise.
65063 (log10_test_data): Likewise.
65064 (log2_test_data): Likewise.
65065 (tgamma_test_data): Likewise.
65066
65067 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65068 (acos_test_tonearest): Likewise.
65069 (acos_test_towardzero): Likewise.
65070 (acos_test_downward): Likewise.
65071 (acos_test_upward): Likewise.
65072 (acosh_test): Likewise.
65073 (asin_test): Likewise.
65074 (asin_test_tonearest): Likewise.
65075 (asin_test_towardzero): Likewise.
65076 (asin_test_downward): Likewise.
65077 (asin_test_upward): Likewise.
65078 (asinh_test): Likewise.
65079 (atan_test): Likewise.
65080 (atanh_test): Likewise.
65081 (atan2_test): Likewise.
65082 (cabs_test): Likewise.
65083 (cacos_test): Likewise.
65084 (cacosh_test): Likewise.
65085 (casin_test): Likewise.
65086 (casinh_test): Likewise.
65087 (catan_test): Likewise.
65088 (catanh_test): Likewise.
65089 (cbrt_test): Likewise.
65090 (ccos_test): Likewise.
65091 (ccosh_test): Likewise.
65092 (cexp_test): Likewise.
65093 (clog_test): Likewise.
65094 (clog10_test): Likewise.
65095 (cos_test): Likewise.
65096 (cos_test_tonearest): Likewise.
65097 (cos_test_towardzero): Likewise.
65098 (cos_test_downward): Likewise.
65099 (cos_test_upward): Likewise.
65100 (cosh_test): Likewise.
65101 (cosh_test_tonearest): Likewise.
65102 (cosh_test_towardzero): Likewise.
65103 (cosh_test_downward): Likewise.
65104 (cosh_test_upward): Likewise.
65105 (cpow_test): Likewise.
65106 (csin_test): Likewise.
65107 (csinh_test): Likewise.
65108 (csqrt_test): Likewise.
65109 (ctan_test): Likewise.
65110 (ctan_test_tonearest): Likewise.
65111 (ctan_test_towardzero): Likewise.
65112 (ctan_test_downward): Likewise.
65113 (ctan_test_upward): Likewise.
65114 (ctanh_test): Likewise.
65115 (ctanh_test_tonearest): Likewise.
65116 (ctanh_test_towardzero): Likewise.
65117 (ctanh_test_downward): Likewise.
65118 (ctanh_test_upward): Likewise.
65119 (erf_test): Likewise.
65120 (erfc_test): Likewise.
65121 (exp_test): Likewise.
65122 (exp_test_tonearest): Likewise.
65123 (exp_test_towardzero): Likewise.
65124 (exp_test_downward): Likewise.
65125 (exp_test_upward): Likewise.
65126 (exp10_test): Likewise.
65127 (exp2_test): Likewise.
65128 (expm1_test): Likewise.
65129 (fmod_test): Likewise.
65130 (gamma_test): Likewise.
65131 (hypot_test): Likewise.
65132 (j0_test): Likewise.
65133 (j1_test): Likewise.
65134 (jn_test): Likewise.
65135 (lgamma_test): Likewise.
65136 (log_test): Likewise.
65137 (log10_test): Likewise.
65138 (log1p_test): Likewise.
65139 (log2_test): Likewise.
65140 (logb_test_downward): Likewise.
65141 (pow_test): Likewise.
65142 (pow_test_tonearest): Likewise.
65143 (pow_test_towardzero): Likewise.
65144 (pow_test_downward): Likewise.
65145 (pow_test_upward): Likewise.
65146 (remainder_test): Likewise.
65147 (remquo_test): Likewise.
65148 (sin_test): Likewise.
65149 (sin_test_tonearest): Likewise.
65150 (sin_test_towardzero): Likewise.
65151 (sin_test_downward): Likewise.
65152 (sin_test_upward): Likewise.
65153 (sincos_test): Likewise.
65154 (sinh_test): Likewise.
65155 (sinh_test_tonearest): Likewise.
65156 (sinh_test_towardzero): Likewise.
65157 (sinh_test_downward): Likewise.
65158 (sinh_test_upward): Likewise.
65159 (sqrt_test): Likewise.
65160 (tan_test): Likewise.
65161 (tan_test_tonearest): Likewise.
65162 (tan_test_towardzero): Likewise.
65163 (tan_test_downward): Likewise.
65164 (tan_test_upward): Likewise.
65165 (tanh_test): Likewise.
65166 (tgamma_test): Likewise.
65167 (y0_test): Likewise.
65168 (y1_test): Likewise.
65169 (yn_test): Likewise.
65170
65171 * math/gen-libm-test.pl (adjust_arg): Remove function.
65172 (special_function): Remove argument $in_func. Only handle
65173 generating output for tables of tests, not inside functions.
65174 (parse_args): Likewise.
65175 (generate_testfile): Remove variable $in_func. Update call to
65176 parse_args.
65177 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65178 (MINUS_ZERO_INIT): Rename macro to minus_zero.
65179 (PLUS_INFTY_INIT): Rename macro to plus_infty.
65180 (MINUS_INFTY_INIT): Rename macro to minus_infty.
65181 (QNAN_VALUE_INIT): Rename macro to qnan_value.
65182 (MAX_VALUE_INIT): Rename macro to max_value.
65183 (MIN_VALUE_INIT): Rename macro to min_value.
65184 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65185 (plus_zero): Remove variable.
65186 (minus_zero): Likewise.
65187 (plus_infty): Likewise.
65188 (minus_infty): Likewise.
65189 (qnan_value): Likewise.
65190 (max_value): Likewise.
65191 (min_value): Likewise.
65192 (min_subnorm_value): Likewise.
65193
65194 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65195
65196 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65197 uint64_t or uint32_t usage.
65198 * crypt/sha256-block.c: Likewise.
65199 * crypt/sha256-crypt.c: Likewise.
65200 * crypt/sha256.c: Likewise.
65201 * crypt/sha512-block.c: Likewise.
65202 * crypt/sha512-crypt.c: Likewise.
65203 * crypt/sha512.c: Likewise.
65204 * debug/backtrace-tst.c: Likewise.
65205 * debug/pcprofiledump.c: Likewise.
65206 * elf/cache.c: Likewise.
65207 * elf/dl-cache.c: Likewise.
65208 * elf/dl-misc.c: Likewise.
65209 * elf/dl-profile.c: Likewise.
65210 * elf/dl-support.c: Likewise.
65211 * elf/ldconfig.c: Likewise.
65212 * elf/sprof.c: Likewise.
65213 * iconv/dummy-repertoire.c: Likewise.
65214 * iconv/iconv_charmap.c: Likewise.
65215 * iconv/skeleton.c: Likewise.
65216 * iconvdata/8bit-generic.c: Likewise.
65217 * iconvdata/cp737.h: Likewise.
65218 * iconvdata/cp775.h: Likewise.
65219 * iconvdata/ibm1008.h: Likewise.
65220 * iconvdata/ibm1025.h: Likewise.
65221 * iconvdata/ibm1046.h: Likewise.
65222 * iconvdata/ibm1097.h: Likewise.
65223 * iconvdata/ibm1112.h: Likewise.
65224 * iconvdata/ibm1122.h: Likewise.
65225 * iconvdata/ibm1123.h: Likewise.
65226 * iconvdata/ibm1124.h: Likewise.
65227 * iconvdata/ibm1129.h: Likewise.
65228 * iconvdata/ibm1130.h: Likewise.
65229 * iconvdata/ibm1132.h: Likewise.
65230 * iconvdata/ibm1133.h: Likewise.
65231 * iconvdata/ibm1137.h: Likewise.
65232 * iconvdata/ibm1140.h: Likewise.
65233 * iconvdata/ibm1141.h: Likewise.
65234 * iconvdata/ibm1142.h: Likewise.
65235 * iconvdata/ibm1143.h: Likewise.
65236 * iconvdata/ibm1144.h: Likewise.
65237 * iconvdata/ibm1145.h: Likewise.
65238 * iconvdata/ibm1146.h: Likewise.
65239 * iconvdata/ibm1147.h: Likewise.
65240 * iconvdata/ibm1148.h: Likewise.
65241 * iconvdata/ibm1149.h: Likewise.
65242 * iconvdata/ibm1153.h: Likewise.
65243 * iconvdata/ibm1154.h: Likewise.
65244 * iconvdata/ibm1155.h: Likewise.
65245 * iconvdata/ibm1156.h: Likewise.
65246 * iconvdata/ibm1157.h: Likewise.
65247 * iconvdata/ibm1158.h: Likewise.
65248 * iconvdata/ibm1160.h: Likewise.
65249 * iconvdata/ibm1161.h: Likewise.
65250 * iconvdata/ibm1162.h: Likewise.
65251 * iconvdata/ibm1163.h: Likewise.
65252 * iconvdata/ibm1164.h: Likewise.
65253 * iconvdata/ibm1166.h: Likewise.
65254 * iconvdata/ibm1167.h: Likewise.
65255 * iconvdata/ibm12712.h: Likewise.
65256 * iconvdata/ibm1390.h: Likewise.
65257 * iconvdata/ibm1399.h: Likewise.
65258 * iconvdata/ibm16804.h: Likewise.
65259 * iconvdata/ibm4517.h: Likewise.
65260 * iconvdata/ibm4899.h: Likewise.
65261 * iconvdata/ibm4909.h: Likewise.
65262 * iconvdata/ibm4971.h: Likewise.
65263 * iconvdata/ibm5347.h: Likewise.
65264 * iconvdata/ibm803.h: Likewise.
65265 * iconvdata/ibm856.h: Likewise.
65266 * iconvdata/ibm901.h: Likewise.
65267 * iconvdata/ibm902.h: Likewise.
65268 * iconvdata/ibm9030.h: Likewise.
65269 * iconvdata/ibm9066.h: Likewise.
65270 * iconvdata/ibm921.h: Likewise.
65271 * iconvdata/ibm922.h: Likewise.
65272 * iconvdata/ibm9448.h: Likewise.
65273 * iconvdata/isiri-3342.h: Likewise.
65274 * iconvdata/jis0201.h: Likewise.
65275 * include/link.h: Likewise.
65276 * include/netdb.h: Likewise.
65277 * inet/check_native.c: Likewise.
65278 * inet/check_pf.c: Likewise.
65279 * inet/getipv4sourcefilter.c: Likewise.
65280 * inet/getnameinfo.c: Likewise.
65281 * inet/getsourcefilter.c: Likewise.
65282 * inet/htonl.c: Likewise.
65283 * inet/setipv4sourcefilter.c: Likewise.
65284 * inet/setsourcefilter.c: Likewise.
65285 * inet/test-inet6_opt.c: Likewise.
65286 * inet/tst-network.c: Likewise.
65287 * locale/C-collate.c: Likewise.
65288 * locale/C-ctype.c: Likewise.
65289 * locale/C-time.c: Likewise.
65290 * locale/C-translit.h: Likewise.
65291 * locale/loadarchive.c: Likewise.
65292 * locale/programs/3level.h: Likewise.
65293 * locale/programs/charmap.c: Likewise.
65294 * locale/programs/charmap.h: Likewise.
65295 * locale/programs/ld-address.c: Likewise.
65296 * locale/programs/ld-collate.c: Likewise.
65297 * locale/programs/ld-ctype.c: Likewise.
65298 * locale/programs/ld-identification.c: Likewise.
65299 * locale/programs/ld-measurement.c: Likewise.
65300 * locale/programs/ld-messages.c: Likewise.
65301 * locale/programs/ld-monetary.c: Likewise.
65302 * locale/programs/ld-name.c: Likewise.
65303 * locale/programs/ld-numeric.c: Likewise.
65304 * locale/programs/ld-paper.c: Likewise.
65305 * locale/programs/ld-telephone.c: Likewise.
65306 * locale/programs/ld-time.c: Likewise.
65307 * locale/programs/linereader.c: Likewise.
65308 * locale/programs/locale.c: Likewise.
65309 * locale/programs/locarchive.c: Likewise.
65310 * locale/programs/locfile.h: Likewise.
65311 * locale/programs/repertoire.c: Likewise.
65312 * locale/programs/simple-hash.c: Likewise.
65313 * locale/programs/simple-hash.h: Likewise.
65314 * malloc/memusage.c: Likewise.
65315 * malloc/memusagestat.c: Likewise.
65316 * nis/nis_defaults.c: Likewise.
65317 * nis/nis_hash.c: Likewise.
65318 * nis/nis_print.c: Likewise.
65319 * nis/nis_xdr.c: Likewise.
65320 * nscd/connections.c: Likewise.
65321 * nscd/hstcache.c: Likewise.
65322 * nscd/nscd_gethst_r.c: Likewise.
65323 * nscd/nscd_getserv_r.c: Likewise.
65324 * nscd/nscd_helper.c: Likewise.
65325 * nscd/servicescache.c: Likewise.
65326 * nss/makedb.c: Likewise.
65327 * nss/nss_db/db-XXX.c: Likewise.
65328 * nss/nss_db/db-initgroups.c: Likewise.
65329 * nss/nss_db/db-netgrp.c: Likewise.
65330 * nss/nss_files/files-network.c: Likewise.
65331 * nss/nss_files/files-parse.c: Likewise.
65332 * posix/bug-regex5.c: Likewise.
65333 * posix/fnmatch_loop.c: Likewise.
65334 * posix/regcomp.c: Likewise.
65335 * posix/regexec.c: Likewise.
65336 * posix/tst-rfc3484-2.c: Likewise.
65337 * posix/tst-rfc3484-3.c: Likewise.
65338 * posix/tst-rfc3484.c: Likewise.
65339 * resolv/nss_dns/dns-canon.c: Likewise.
65340 * resolv/nss_dns/dns-network.c: Likewise.
65341 * resolv/res_init.c: Likewise.
65342 * resolv/res_mkquery.c: Likewise.
65343 * resolv/tst-aton.c: Likewise.
65344 * stdlib/cxa_atexit.c: Likewise.
65345 * stdlib/cxa_finalize.c: Likewise.
65346 * stdlib/gen-fpioconst.c: Likewise.
65347 * stdlib/strtol_l.c: Likewise.
65348 * string/tst-endian.c: Likewise.
65349 * sunrpc/auth_des.c: Likewise.
65350 * sunrpc/clnt_udp.c: Likewise.
65351 * sunrpc/rtime.c: Likewise.
65352 * sunrpc/svcauth_des.c: Likewise.
65353 * sunrpc/xdr.c: Likewise.
65354 * sunrpc/xdr_intXX_t.c: Likewise.
65355 * sunrpc/xdr_rec.c: Likewise.
65356 * sysdeps/generic/ldconfig.h: Likewise.
65357 * sysdeps/generic/ldsodefs.h: Likewise.
65358 * sysdeps/generic/memusage.h: Likewise.
65359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65361 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65362 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65365 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65366 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65367 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65369 * sysdeps/posix/getaddrinfo.c: Likewise.
65370 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65371 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65372 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65373 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65374 * sysdeps/powerpc/test-gettimebase.c: Likewise.
65375 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65376 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65377 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65378 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65379 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65380 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65381 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65382 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65383 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65384 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65385 * sysdeps/x86_64/dl-tls.h: Likewise.
65386 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65387 * time/alt_digit.c: Likewise.
65388 * time/era.c: Likewise.
65389 * wcsmbs/tst-c16c32-1.c: Likewise.
65390
65391 2013-05-16 Joseph Myers <joseph@codesourcery.com>
65392
65393 * math/libm-test.inc (struct test_sincos_data): New type.
65394 (RUN_TEST_LOOP_sincos): New macro.
65395 (sincos_test_data): New variable.
65396 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65397
65398 2013-05-16 Richard Henderson <rth@redhat.com>
65399
65400 * math/atest-exp2.c (LIMB64): New macro.
65401 (CONSTSZ): New macro.
65402 (mp_exp1, mp_exp_m1, mp_log2): New variables.
65403 (hexdig): Move ...
65404 (print_mpn_fp): ... to function scope.
65405 (read_mpn_hex): Remove.
65406 (get_log2): Remove.
65407 (exp2_mpn): Use mp_log2.
65408 (main): Use mp_exp1.
65409
65410 2013-05-16 Joseph Myers <joseph@codesourcery.com>
65411
65412 * math/libm-test.inc: Remove comment about not testing "inexact"
65413 exceptions.
65414 (INEXACT_EXCEPTION): New macro.
65415 (NO_INEXACT_EXCEPTION): Likewise.
65416 (INVALID_EXCEPTION_OK): Update value.
65417 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65418 (OVERFLOW_EXCEPTION_OK): Likewise.
65419 (UNDERFLOW_EXCEPTION_OK): Likewise.
65420 (IGNORE_ZERO_INF_SIGN): Likewise.
65421 (ERRNO_UNCHANGED): Likewise.
65422 (ERRNO_EDOM): Likewise.
65423 (ERRNO_ERANGE): Likewise.
65424 (test_exceptions): Handle testing "inexact" exceptions.
65425 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65426 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65427 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65428 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65429 INEXACT_EXCEPTION.
65430 (rint_towardzero_test_data): Likewise.
65431 (rint_downward_test_data): Likewise.
65432 (rint_upward_test_data): Likewise.
65433
65434 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65435 with OVERFLOW_EXCEPTION.
65436 (exp10_test_data): Likewise.
65437 (exp2_test_data): Likewise.
65438 (expm1_test_data): Likewise.
65439 (lgamma_test_data): Likewise.
65440 (pow_test_data): Likewise.
65441 (tgamma_test_data): Likewise.
65442 (yn_test_data): Remove duplicate test of overflow.
65443
65444 * math/libm-test.inc (struct test_cc_c_data): New type.
65445 (RUN_TEST_LOOP_cc_c): New macro.
65446 (cpow_test_data): New variable.
65447 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65448
65449 * math/libm-test.inc (struct test_f_L_data): New type.
65450 (RUN_TEST_LOOP_f_L): New macro.
65451 (llrint_test_data): New variable.
65452 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65453 (llrint_tonearest_test_data): New variable.
65454 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65455 (llrint_towardzero_test_data): New variable.
65456 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65457 (llrint_downward_test_data): New variable.
65458 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65459 (llrint_upward_test_data): New variable.
65460 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65461 (llround_test_data): New variable.
65462 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65463
65464 2013-05-13 Peter Collingbourne <pcc@google.com>
65465
65466 * math/atest-exp2.c (get_log2): Remove const attribute.
65467
65468 2013-05-15 Joseph Myers <joseph@codesourcery.com>
65469
65470 * math/libm-test.inc (struct test_f_l_data): New type.
65471 (RUN_TEST_LOOP_f_l): New macro.
65472 (lrint_test_data): New variable.
65473 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65474 (lrint_tonearest_test_data): New variable.
65475 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65476 (lrint_towardzero_test_data): New variable.
65477 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65478 (lrint_downward_test_data): New variable.
65479 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65480 (lrint_upward_test_data): New variable.
65481 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65482 (lround_test_data): New variable.
65483 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65484
65485 2013-05-15 Peter Collingbourne <pcc@google.com>
65486
65487 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65488 (EXTRACT_WORDS64) Use where appropriate.
65489 (INSERT_WORDS64) Likewise.
65490
65491 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65492 constraints with x constraints.
65493 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65494
65495 * malloc/obstack.c (_obstack_compat): Add initializer.
65496
65497 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
65498
65499 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65500 si_trapno and add si_addr_lsb to _sifields.sigfault.
65501 (si_trapno): Remove macro.
65502 (si_addr_lsb): Define new macro.
65503 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65504
65505 2013-05-15 Joseph Myers <joseph@codesourcery.com>
65506
65507 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65508 instead of TEST_f_l.
65509 (llrint_test_tonearest): Likewise.
65510 (llrint_test_towardzero): Likewise.
65511 (llrint_test_downward): Likewise.
65512 (llrint_test_upward): Likewise.
65513 (llround_test): Likewise.
65514
65515 * math/libm-test.inc (struct test_f_i_data): Add comment.
65516 (RUN_TEST_LOOP_f_b): New macro.
65517 (RUN_TEST_LOOP_f_b_tg): Likewise.
65518 (finite_test_data): New variable.
65519 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65520 (isfinite_test_data): New variable.
65521 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65522 (isinf_test_data): New variable.
65523 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65524 (isnan_test_data): New variable.
65525 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65526 (isnormal_test_data): New variable.
65527 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65528 (issignaling_test_data): New variable.
65529 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65530 (signbit_test_data): New variable.
65531 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65532
65533 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65534 with INVALID_EXCEPTION.
65535 (acosh_test_data): Likewise.
65536 (asin_test_data): Likewise.
65537 (atanh_test_data): Likewise.
65538 (fmod_test_data): Likewise.
65539 (log_test_data): Likewise.
65540 (log10_test_data): Likewise.
65541 (log2_test_data): Likewise.
65542 (pow_test_data): Likewise.
65543 (sqrt_test_data): Likewise.
65544 (y0_test_data): Likewise.
65545 (y1_test_data): Likewise.
65546 (yn_test_data): Likewise.
65547
65548 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65549 function contents.
65550
65551 * math/libm-test.inc (struct test_ff_i_data): New type.
65552 (RUN_TEST_LOOP_ff_i_tg): New macro.
65553 (isgreater_test_data): New variable.
65554 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65555 (isgreaterequal_test_data): New variable.
65556 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65557 (isless_test_data): New variable.
65558 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65559 (islessequal_test_data): New variable.
65560 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65561 (islessgreater_test_data): New variable.
65562 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65563 (isunordered_test_data): New variable.
65564 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65565
65566 2013-05-14 David S. Miller <davem@davemloft.net>
65567
65568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65569
65570 2013-05-14 Joseph Myers <joseph@codesourcery.com>
65571
65572 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65573
65574 * math/libm-test.inc (struct test_fF_f1_data): Change type of
65575 extra_test to int.
65576 (struct test_f_i_data): Change type of max_ulp to int.
65577
65578 * math/libm-test.inc (test_ffI_f1_data): New type.
65579 (RUN_TEST_LOOP_ffI_f1): New macro.
65580 (remquo_test_data): New variable.
65581 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65582
65583 * setjmp/tst-setjmp-fp.c: New file.
65584 * setjmp/Makefile (tests): Add tst-setjmp-fp.
65585 (link-libm): New variable.
65586 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65587
65588 * math/libm-test.inc (struct test_f_i_data): New type.
65589 (RUN_TEST_LOOP_f_i): New macro.
65590 (RUN_TEST_LOOP_f_i_tg): Likewise.
65591 (fpclassify_test_data): New variable.
65592 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65593 (ilogb_test_data): New variable.
65594 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65595
65596 * math/libm-test.inc (scalbln_test): Correct function name in END
65597 call.
65598
65599 * math/libm-test.inc (struct test_f_f1_data): Add comment.
65600 (RUN_TEST_LOOP_fI_f1): New macro.
65601 (frexp_test_data): New variable.
65602 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65603
65604 * math/libm-test.inc (struct test_fF_f1_data): New type.
65605 (RUN_TEST_LOOP_fF_f1): New macro.
65606 (modf_test_data): New variable.
65607 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65608
65609 * math/libm-test.inc (struct test_f_f1_data): New type.
65610 (RUN_TEST_LOOP_f_f1): New macro.
65611 (gamma_test_data): New variable.
65612 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65613 (lgamma_test_data): New variable.
65614 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65615
65616 2013-05-13 Carlos O'Donell <carlos@redhat.com>
65617
65618 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65619 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65620 (main): Comment "tls" pseudo-hwcap.
65621
65622 2013-05-13 Joseph Myers <joseph@codesourcery.com>
65623
65624 * math/libm-test.inc (struct test_fl_f_data): New type.
65625 (RUN_TEST_LOOP_fl_f): New variable.
65626 (scalbln_test_data): New variable.
65627 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65628
65629 * math/libm-test.inc (struct test_fi_f_data): New type.
65630 (RUN_TEST_LOOP_fi_f): New macro.
65631 (ldexp_test_data): New variable.
65632 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65633 (scalbn_test_data): New variable.
65634 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65635
65636 * math/libm-test.inc (struct test_c_f_data): New type.
65637 (RUN_TEST_LOOP_c_f): New macro.
65638 (cabs_test_data): New variable.
65639 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65640 (carg_test_data): New variable.
65641 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65642 (cimag_test_data): New variable.
65643 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65644 (creal_test_data): New variable.
65645 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65646
65647 * math/libm-test.inc (struct test_if_f_data): New type.
65648 (RUN_TEST_LOOP_if_f): New macro.
65649 (jn_test_data): New variable.
65650 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65651 (yn_test_data): New variable.
65652 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65653
65654 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65655
65656 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65657
65658 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65659 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65660
65661 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65662
65663 * benchtests/Makefile (CPPFLAGS-nonlib): Add
65664 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65665 (bench-deps): Add bench-timing.h.
65666 * benchtests-bench-skeleton.c: Include bench-timing.h.
65667 (main): Use TIMING_* macros instead of clock_gettime.
65668 * benchtests/bench-timing.h: New file.
65669
65670 [BZ #14582]
65671 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65672 Renamed from _LIB_VERSION.
65673 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65674
65675 2013-05-12 Joseph Myers <joseph@codesourcery.com>
65676
65677 * math/libm-test.inc (struct test_fff_f_data): New type.
65678 (RUN_TEST_LOOP_fff_f): New macro.
65679 (fma_test_data): New variable.
65680 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65681 (fma_towardzero_test_data): New variable.
65682 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65683 (fma_downward_test_data): New variable.
65684 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65685 (fma_upward_test_data): New variable.
65686 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65687
65688 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65689 (struct test_c_c_data): New type.
65690 (RUN_TEST_LOOP_c_c): New macro.
65691 (cacos_test_data): New variable.
65692 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65693 (cacosh_test_data): New variable.
65694 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65695 (casin_test_data): New variable.
65696 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65697 (casinh_test_data): New variable.
65698 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65699 (catan_test_data): New variable.
65700 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65701 (catanh_test_data): New variable.
65702 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65703 (ccos_test_data): New variable.
65704 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65705 (ccosh_test_data): New variable.
65706 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65707 (cexp_test_data): New variable.
65708 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65709 (clog_test_data): New variable.
65710 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65711 (clog10_test_data): New variable.
65712 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65713 (conj_test_data): New variable.
65714 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65715 (cproj_test_data): New variable.
65716 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65717 (csin_test_data): New variable.
65718 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
65719 (csinh_test_data): New variable.
65720 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
65721 (csqrt_test_data): New variable.
65722 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
65723 (ctan_test_data): New variable.
65724 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
65725 (ctan_tonearest_test_data): New variable.
65726 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65727 (ctan_towardzero_test_data): New variable.
65728 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65729 (ctan_downward_test_data): New variable.
65730 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65731 (ctan_upward_test_data): New variable.
65732 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65733 (ctanh_test_data): New variable.
65734 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
65735 (ctanh_tonearest_test_data): New variable.
65736 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65737 (ctanh_towardzero_test_data): New variable.
65738 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65739 (ctanh_downward_test_data): New variable.
65740 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65741 (ctanh_upward_test_data): New variable.
65742 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65743 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
65744 of BUILD_COMPLEX.
65745
65746 * math/libm-test.inc (struct test_ff_f_data): New type.
65747 (struct test_ff_f_data_nexttoward): Likewise.
65748 (RUN_TEST_LOOP_2_f): New macro.
65749 (RUN_TEST_LOOP_ff_f): Likewise.
65750 (atan2_test_data): New variable.
65751 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
65752 (copysign_test_data): New variable.
65753 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
65754 (fdim_test_data): New variable.
65755 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
65756 (fmax_test_data): New variable.
65757 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
65758 (fmin_test_data): New variable.
65759 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
65760 (fmod_test_data): New variable.
65761 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
65762 (hypot_test_data): New variable.
65763 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
65764 (nextafter_test_data): New variable.
65765 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
65766 (nexttoward_test_data): New variable.
65767 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
65768 (pow_test_data): New variable.
65769 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
65770 (pow_tonearest_test_data): New variable.
65771 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
65772 (pow_towardzero_test_data): New variable.
65773 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
65774 (pow_downward_test_data): New variable.
65775 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
65776 (pow_upward_test_data): New variable.
65777 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
65778 (remainder_test_data): New variable.
65779 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
65780 (scalb_test_data): New variable.
65781 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
65782 * sysdeps/i386/fpu/libm-test-ulps: Update.
65783
65784 2013-05-11 Joseph Myers <joseph@codesourcery.com>
65785
65786 * math/libm-test.inc (fma_test): Use max_value instead of local
65787 variable fltmax.
65788 (nextafter_test): Likewise.
65789
65790 * math/libm-test.inc (acos_towardzero_test_data): New variable.
65791 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65792 (acos_downward_test_data): New variable.
65793 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65794 (acos_upward_test_data): New variable.
65795 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65796 (acosh_test_data): New variable.
65797 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
65798 (asin_test_data): New variable.
65799 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
65800 (asin_tonearest_test_data): New variable.
65801 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65802 (asin_towardzero_test_data): New variable.
65803 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65804 (asin_downward_test_data): New variable.
65805 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65806 (asin_upward_test_data): New variable.
65807 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65808 (asinh_test_data): New variable.
65809 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
65810 (atan_test_data): New variable.
65811 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
65812 (atanh_test_data): New variable.
65813 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
65814 (cbrt_test_data): New variable.
65815 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
65816 (ceil_test_data): New variable.
65817 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
65818 (cos_test_data): New variable.
65819 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
65820 (cos_tonearest_test_data): New variable.
65821 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65822 (cos_towardzero_test_data): New variable.
65823 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65824 (cos_downward_test_data): New variable.
65825 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65826 (cos_upward_test_data): New variable.
65827 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65828 (cosh_test_data): New variable.
65829 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
65830 (cosh_tonearest_test_data): New variable.
65831 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65832 (cosh_towardzero_test_data): New variable.
65833 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65834 (cosh_downward_test_data): New variable.
65835 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65836 (cosh_upward_test_data): New variable.
65837 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65838 (erf_test_data): New variable.
65839 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
65840 (erfc_test_data): New variable.
65841 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
65842 (exp_test_data): New variable.
65843 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
65844 (exp_tonearest_test_data): New variable.
65845 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65846 (exp_towardzero_test_data): New variable.
65847 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65848 (exp_downward_test_data): New variable.
65849 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65850 (exp_upward_test_data): New variable.
65851 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65852 (exp10_test_data): New variable.
65853 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
65854 (exp2_test_data): New variable.
65855 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
65856 (expm1_test_data): New variable.
65857 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
65858 (fabs_test_data): New variable.
65859 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
65860 (floor_test_data): New variable.
65861 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
65862 (j0_test_data): New variable.
65863 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
65864 (j1_test_data): New variable.
65865 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
65866 (log_test_data): New variable.
65867 (log_test): Run tests with RUN_TEST_LOOP_f_f.
65868 (log10_test_data): New variable.
65869 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
65870 (log1p_test_data): New variable.
65871 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
65872 (log2_test_data): New variable.
65873 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
65874 (logb_test_data): New variable.
65875 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
65876 (logb_downward_test_data): New variable.
65877 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65878 (nearbyint_test_data): New variable.
65879 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
65880 (rint_test_data): New variable.
65881 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
65882 (rint_tonearest_test_data): New variable.
65883 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65884 (rint_towardzero_test_data): New variable.
65885 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65886 (rint_downward_test_data): New variable.
65887 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65888 (rint_upward_test_data): New variable.
65889 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65890 (round_test_data): New variable.
65891 (round_test): Run tests with RUN_TEST_LOOP_f_f.
65892 (sin_test_data): New variable.
65893 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
65894 (sin_tonearest_test_data): New variable.
65895 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65896 (sin_towardzero_test_data): New variable.
65897 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65898 (sin_downward_test_data): New variable.
65899 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65900 (sin_upward_test_data): New variable.
65901 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65902 (sinh_test_data): New variable.
65903 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
65904 (sinh_tonearest_test_data): New variable.
65905 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65906 (sinh_towardzero_test_data): New variable.
65907 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65908 (sinh_downward_test_data): New variable.
65909 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65910 (sinh_upward_test_data): New variable.
65911 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65912 (sqrt_test_data): New variable.
65913 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
65914 (tan_test_data): New variable.
65915 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
65916 (tan_tonearest_test_data): New variable.
65917 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65918 (tan_towardzero_test_data): New variable.
65919 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65920 (tan_downward_test_data): New variable.
65921 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65922 (tan_upward_test_data): New variable.
65923 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65924 (tanh_test_data): New variable.
65925 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
65926 (tgamma_test_data): New variable.
65927 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
65928 (trunc_test_data): New variable.
65929 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
65930 (y0_test_data): New variable.
65931 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
65932 (y1_test_data): New variable.
65933 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
65934 (significand_test_data): New variable.
65935 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
65936
65937 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
65938
65939 [BZ #12387]
65940 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
65941
65942 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
65943
65944 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
65945
65946 2013-05-10 Andreas Jaeger <aj@suse.de>
65947
65948 [BZ #15448]
65949 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
65950 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
65951
65952 2013-05-10 Joseph Myers <joseph@codesourcery.com>
65953
65954 * math/gen-libm-test.pl (adjust_arg): New function.
65955 (special_functions): Handle generating output in both functions
65956 and arrays.
65957 (parse_args): Likewise.
65958 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
65959 $in_func argument to parse_args.
65960 * math/libm-test.inc (struct test_f_f_data): New type.
65961 (IF_ROUND_INIT_): New macro.
65962 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
65963 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65964 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65965 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65966 (ROUND_RESTORE_): Likewise.
65967 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
65968 (ROUND_RESTORE_FE_TONEAREST): Likewise.
65969 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
65970 (ROUND_RESTORE_FE_UPWARD): Likewise.
65971 (RUN_TEST_LOOP_f_f): New macro.
65972 (acos_test_data): New variable.
65973 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
65974 (acos_tonearest_test_data): New variable.
65975 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65976
65977 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65978
65979 * benchtests/bench-skeleton.c (startup): Fix coding style.
65980
65981 2013-05-10 Joseph Myers <joseph@codesourcery.com>
65982
65983 [BZ #6809]
65984 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
65985 negative infinity argument.
65986 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
65987 negative infinity argument.
65988 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
65989 negative infinity argument.
65990 * math/libm-test.inc (tgamma_test): Expect errno to be set for
65991 domain errors.
65992
65993 2013-05-10 Florian Weimer <fweimer@redhat.com>
65994
65995 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
65996 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
65997 * iconv/iconv_prog.c (main): Likewise.
65998 * locale/programs/charmap-dir.c (charmap_readdir)
65999 (fopen_uncompressed): Likewise.
66000 * locale/programs/locfile.c (siblings_uncached)
66001 (write_locale_data): Use lstat64 instead of lstat.
66002 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66003 stat.
66004
66005 2013-05-10 Andreas Jaeger <aj@suse.de>
66006
66007 [BZ #15395]
66008 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66009 localization.
66010 Include <locale.h>.
66011
66012 2013-05-09 Carlos O'Donell <carlos@redhat.com>
66013
66014 * elf/dl-close.c (_dl_close_worker): Add comments.
66015
66016 2013-05-09 Joseph Myers <joseph@codesourcery.com>
66017
66018 [BZ #15359]
66019 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66020 high part of pi/2.
66021 (__ieee754_rem_pio2l): Update comments.
66022
66023 [BZ #15429]
66024 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66025 high part of pi/2.
66026 (__ieee754_rem_pio2l): Update comments.
66027
66028 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66029 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66030
66031 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66032 M_PI_4l.
66033
66034 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66035 (M_PI_34_LOG10El): Likewise.
66036 (M_PI2_LOG10El): Likewise.
66037 (M_PI4_LOG10El): Likewise.
66038 (M_PI_LOG10El): Likewise.
66039
66040 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66041
66042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66043
66044 2013-05-08 Joseph Myers <joseph@codesourcery.com>
66045
66046 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66047 (MINUS_ZERO_INIT): Likewise.
66048 (PLUS_INFTY_INIT): Likewise.
66049 (MINUS_INFTY_INIT): Likewise.
66050 (QNAN_VALUE_INIT): Likewise.
66051 (MAX_VALUE_INIT): Likewise.
66052 (MIN_VALUE_INIT): Likewise.
66053 (MIN_SUBNORM_VALUE_INIT): Likewise.
66054 (plus_zero): Initialize with PLUS_ZERO_INIT.
66055 (minus_zero): Initialize with MINUS_ZERO_INIT.
66056 (plus_infty): Initialize with PLUS_INFTY_INIT.
66057 (minus_infty): Initialize with MINUS_INFTY_INIT.
66058 (qnan_value): Initialize with QNAN_VALUE_INIT.
66059 (max_value): Initialize with MAX_VALUE_INIT.
66060 (min_value): Initialize with MIN_VALUE_INIT.
66061 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66062
66063 * math/libm-test.inc (RUN_TEST_if_f): New macro.
66064 (jn_test): Use TEST_if_f instead of TEST_ff_f.
66065 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66066 (yn_test): Use TEST_if_f instead of TEST_ff_f.
66067
66068 * math/libm-test.inc (RUN_TEST_f_f): New macro.
66069 (RUN_TEST_2_f): Likewise.
66070 (RUN_TEST_ff_f): Likewise.
66071 (RUN_TEST_fi_f): Likewise.
66072 (RUN_TEST_fl_f): Likewise.
66073 (RUN_TEST_fff_f): Likewise.
66074 (RUN_TEST_c_f): Likewise.
66075 (RUN_TEST_f_f1): Likewise.
66076 (RUN_TEST_fF_f1): Likewise.
66077 (RUN_TEST_fI_f1): Likewise.
66078 (RUN_TEST_ffI_f1): Likewise.
66079 (RUN_TEST_c_c): Likewise.
66080 (RUN_TEST_cc_c): Likewise.
66081 (RUN_TEST_f_i): Likewise.
66082 (RUN_TEST_f_i_tg): Likewise.
66083 (RUN_TEST_ff_i_tg): Likewise.
66084 (RUN_TEST_f_b): Likewise.
66085 (RUN_TEST_f_b_tg): Likewise.
66086 (RUN_TEST_f_l): Likewise.
66087 (RUN_TEST_f_L): Likewise.
66088 (RUN_TEST_sincos): Likewise.
66089 * math/gen-libm-test.pl (new_test): Take new argument to indicate
66090 whether to show exceptions. Do not include ");\n" in return
66091 value.
66092 (special_functions): Output call to RUN_TEST_sincos instead of
66093 check_float calls. Update calls to new_test.
66094 (parse_args): Output call to single RUN_TEST_* macro instead of
66095 check_* calls and other assignments. Update calls to new_test.
66096
66097 [BZ #2546]
66098 [BZ #2560]
66099 [BZ #5159]
66100 [BZ #15426]
66101 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66102 input to result for tgamma overflow.
66103 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66104 (gamma_coeff): New variable.
66105 (NCOEFF): New macro.
66106 (gamma_positive): New function.
66107 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66108 underflow here. Use gamma_positive instead of exp (lgamma) for
66109 other arguments.
66110 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66111 (gamma_coeff): New variable.
66112 (NCOEFF): New macro.
66113 (gammaf_positive): New function.
66114 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66115 underflow here. Use gamma_positive instead of exp (lgamma) for
66116 other arguments.
66117 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66118 (gamma_coeff): New variable.
66119 (NCOEFF): New macro.
66120 (gammal_positive): New function.
66121 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66122 underflow here. Use gamma_positive instead of exp (lgamma) for
66123 other arguments.
66124 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66125 (gamma_coeff): New variable.
66126 (NCOEFF): New macro.
66127 (gammal_positive): New function.
66128 (__ieee754_gammal_r): Handle positive infinity, overflow and
66129 underflow here. Handle NaN the same as positive infinity. Remove
66130 check x < 0xffffffff for negative integers. Use gamma_positive
66131 instead of exp (lgamma) for other arguments.
66132 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66133 (gamma_coeff): New variable.
66134 (NCOEFF): New macro.
66135 (gammal_positive): New function.
66136 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66137 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66138 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66139 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66140 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66141 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66142 * sysdeps/generic/math_private.h (__gamma_productf): New
66143 prototype.
66144 (__gamma_product): Likewise.
66145 (__gamma_productl): Likewise.
66146 * math/Makefile (libm-calls): Add gamma_product.
66147 * math/libm-test.inc (tgamma_test): Add more tests.
66148 * sysdeps/i386/fpu/libm-test-ulps: Update.
66149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66150
66151 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
66152
66153 * benchtests/bench-skeleton.c (main): Preheat CPU.
66154
66155 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
66156
66157 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66158
66159 2013-05-07 Roland McGrath <roland@hack.frob.com>
66160
66161 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66162 and _dl_skip_args_internal.
66163
66164 2013-05-07 Carlos O'Donell <carlos@redhat.com>
66165
66166 * manual/message.texi (Message Translation): Talk about users.
66167 Message to key mapping impacts design.
66168
66169 2013-05-06 Roland McGrath <roland@hack.frob.com>
66170
66171 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66172
66173 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66174
66175 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66176 * sysdeps/wordsize-64/glob64.c: ... here.
66177
66178 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66179 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66180 New macros.
66181
66182 * debug/getlogin_r_chk.c: Moved to ...
66183 * login/getlogin_r_chk.c: ... here.
66184 * debug/Makefile (routines): Move getlogin_r_chk to ...
66185 * login/Makefile (routines): ... here.
66186 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66187 * login/Versions (libc: GLIBC_2.4): ... here.
66188
66189 * io/poll.c (__poll): Renamed from poll.
66190 Add libc_hidden_def.
66191 (poll): Define as weak alias.
66192
66193 * debug/ptsname_r_chk.c: Moved to ...
66194 * login/ptsname_r_chk.c: ... here.
66195 * debug/Makefile (routines): Move ptsname_r_chk to ...
66196 * login/Makefile (routines): ... here.
66197 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66198 * login/Versions (libc: GLIBC_2.4): ... here.
66199
66200 * posix/getlogin.c: Moved to ...
66201 * login/getlogin.c: ... here.
66202 * posix/getlogin_r.c: Moved to ...
66203 * login/getlogin_r.c: ... here.
66204 * posix/getlogin_r.c: Moved to ...
66205 * login/getlogin_r.c: ... here.
66206 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66207 * login/Makefile (routines): ... here.
66208 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66209 * login/Versions (libc: GLIBC_2.0): ... here.
66210
66211 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66212 (setrlimit): Define as weak alias.
66213
66214 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66215 Call __ names for open, ftruncate, and close.
66216 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66217 (truncate): Define as weak alias.
66218
66219 2013-05-06 Joseph Myers <joseph@codesourcery.com>
66220
66221 * math/gen-libm-test.pl (parse_args): Initialize x before each
66222 test of frexp, modf and remquo.
66223
66224 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66225 test signgam value.
66226
66227 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66228
66229 [BZ #15418]
66230 [BZ #15419]
66231 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66232 internal tests.
66233 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66234
66235 2013-05-06 Roland McGrath <roland@hack.frob.com>
66236
66237 * elf/dl-writev.h: New file.
66238 * elf/dl-misc.c: Include it.
66239 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66240 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66241
66242 2013-05-04 Joseph Myers <joseph@codesourcery.com>
66243
66244 * math/libm-test.inc (noXFails): Remove variable.
66245 (noXPasses): Likewise.
66246 (BUILD_COMPLEX_INT): Remove macro.
66247 (print_screen): Remove xfail argument.
66248 (print_screen_max_error): Likewise.
66249 (update_stats): Likewise.
66250 (print_max_error): Likewise. Update calls to other affected
66251 functions.
66252 (print_complex_max_error): Likewise.
66253 (test_single_exception): Update calls to print_screen.
66254 (test_single_errno): Likewise.
66255 (check_float_internal): Remove xfail argument. Update calls to
66256 other affected functions.
66257 (check_float): Likewise.
66258 (check_complex): Likewise.
66259 (check_int): Likewise.
66260 (check_long): Likewise.
66261 (check_bool): Likewise.
66262 (check_longlong): Likewise.
66263 (main): Don't print noXFails and noXPasses.
66264 * math/gen-libm-test.pl (top level): Don't mention expected
66265 failure handling in comment.
66266 (new_test): Don't handle expected failures.
66267 (parse_args): Don't mention expected failure handling in comment.
66268 (generate_testfile): Don't handle expected failures.
66269 (parse_ulps): Likewise.
66270 (print_ulps_file): Likewise.
66271 (get_failure): Remove function.
66272 (output_test): Don't handle expected failures.
66273 * make/README.libm-test: Don't mention expected failure handling.
66274
66275 * math/libm-test.inc (plus_zero): Make const. Add initializer.
66276 (minus_zero): Likewise.
66277 (plus_infty): Likewise.
66278 (minus_infty): Likewise.
66279 (qnan_value): Likewise.
66280 (max_value): Likewise.
66281 (min_value): Likewise.
66282 (min_subnorm_value): Likewise.
66283 (initialize): Do not initialize those variables dynamically.
66284
66285 2013-05-03 Roland McGrath <roland@hack.frob.com>
66286
66287 * io/open.c (__open_2): Moved to ...
66288 * io/open_2.c: ... this new file.
66289 * io/open64.c (__open64_2): Moved to ...
66290 * io/open64_2.c: ... this new file.
66291 * io/openat.c (__openat_2): Moved to ...
66292 * io/openat_2.c: ... this new file.
66293 * io/openat64.c (__openat64_2): Moved to ...
66294 * io/openat64_2.c: ... this new file.
66295 * io/Makefile (routines): Add them.
66296 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66297 * sysdeps/unix/sysv/linux/open_2.c: File removed.
66298 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66299 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66300 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66301 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66302 (__openat64): Add hidden_ver.
66303 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66304 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66305
66306 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66307 Separately conditionalize setting of GLRO(dl_sysinfo) so
66308 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66309 as well, but the actual setting is only under [NEED_DL_SYSINFO].
66310
66311 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66312
66313 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66314 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66315 definition.
66316 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66317 * sysdeps/unix/sysv/linux/powerpc/init-first.c
66318 (_libc_vdso_platform_setup): Add __vdso_time initialization.
66319 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66320 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66321
66322 2013-05-03 Joseph Myers <joseph@codesourcery.com>
66323
66324 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66325 test signgam value.
66326
66327 * math/libm-test.inc (hypot_test): Do not use
66328 IGNORE_ZERO_INF_SIGN.
66329
66330 2013-05-03 Andreas Jaeger <aj@suse.de>
66331
66332 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66333 Linux 3.9.
66334 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66335 (PF_MAX): Adjust for VSOCK change.
66336
66337 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66338
66339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66340
66341 2013-05-02 Carlos O'Donell <carlos@redhat.com>
66342
66343 [BZ #15264]
66344 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66345 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66346 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66347
66348 2013-05-02 David S. Miller <davem@davemloft.net>
66349
66350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66351
66352 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
66353
66354 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66355
66356 2013-05-01 Roland McGrath <roland@hack.frob.com>
66357
66358 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66359
66360 2013-05-01 Richard Smith <richard@metafoo.co.uk>
66361
66362 [BZ #14952]
66363 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66364 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66365 Use __attribute__ ((__gnu_inline__)).
66366 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66367 Don't use __attribute__ ((__gnu_inline__)).
66368
66369 2013-05-01 Joseph Myers <joseph@codesourcery.com>
66370
66371 [BZ #15423]
66372 * math/s_catan.c (__catan): Handle small real or imaginary part of
66373 input specially to avoid spurious underflow.
66374 * math/s_catanf.c (__catanf): Likewise.
66375 * math/s_catanh.c (__catanh): Likewise.
66376 * math/s_catanhf.c (__catanhf): Likewise.
66377 * math/s_catanhl.c (__catanhl): Likewise.
66378 * math/s_catanl.c (__catanl): Likewise.
66379 * math/libm-test.inc (catan_test): Add more tests.
66380 (catanh_test): Likewise.
66381 * sysdeps/i386/fpu/libm-test-ulps: Update.
66382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66383
66384 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66385
66386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66387
66388 2013-04-30 Joseph Myers <joseph@codesourcery.com>
66389
66390 [BZ #15416]
66391 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66392 accurately for denominator in atan2.
66393 * math/s_catanf.c (__catanf): Likewise.
66394 * math/s_catanh.c (__catanh): Likewise.
66395 * math/s_catanhf.c (__catanhf): Likewise.
66396 * math/s_catanhl.c (__catanhl): Likewise.
66397 * math/s_catanl.c (__catanl): Likewise.
66398 * math/libm-test.inc (catan_test): Add more tests.
66399 (catanh_test): Likewise.
66400 * sysdeps/i386/fpu/libm-test-ulps: Update.
66401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66402
66403 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
66404
66405 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66406
66407 * benchtests/Makefile (bench): Remove slow benchmarks.
66408 * benchtests/atan-inputs: Add slow benchmark inputs.
66409 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66410 (BENCH_FUNC): Accept variant offset.
66411 (VARIANT): Define.
66412 * benchtests/bench-skeleton.c (main): Run benchmark for each
66413 variant.
66414 * benchtests/cos-inputs: Add slow benchmark inputs.
66415 * benchtests/exp-inputs: Likewise.
66416 * benchtests/pow-inputs: Likewise.
66417 * benchtests/sin-inputs: Likewise.
66418 * benchtests/slowatan-inputs: Remove.
66419 * benchtests/slowatan.c: Remove.
66420 * benchtests/slowcos-inputs: Remove.
66421 * benchtests/slowcos.c: Remove.
66422 * benchtests/slowexp-inputs: Remove.
66423 * benchtests/slowexp.c: Remove.
66424 * benchtests/slowpow-inputs: Remove.
66425 * benchtests/slowpow.c: Remove.
66426 * benchtests/slowsin-inputs: Remove.
66427 * benchtests/slowsin.c: Remove.
66428 * benchtests/slowtan-inputs: Remove.
66429 * benchtests/slowtan.c: Remove.
66430 * benchtests/tan-inputs: Add slow benchmark inputs.
66431 * scripts/bench.pl: Parse comments and directives.
66432
66433 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
66434 in CPPFLAGS.
66435 ($(objpfx)bench-%.c): Remove *-ITER.
66436 * benchtests/bench-modf.c: Remove definition of ITER.
66437 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66438 (main): Loop for DURATION seconds instead of fixed number of
66439 iterations.
66440 * scripts/bench.pl: Don't expect iterations in parameters.
66441
66442 2013-04-29 Roland McGrath <roland@hack.frob.com>
66443
66444 * io/fchdir.c (__fchdir): Renamed from fchdir.
66445 (fchdir): Define as weak alias.
66446
66447 2013-04-29 Joseph Myers <joseph@codesourcery.com>
66448
66449 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66450 (ERRNO_EDOM): Likewise.
66451 (ERRNO_ERANGE): Likewise.
66452 (noErrnoTests): New variable.
66453 (init_max_error): Set errno to 0.
66454 (test_single_errno): New function.
66455 (test_errno): Likewise.
66456 (check_float_internal): Call test_errno. Set errno to 0.
66457 (check_complex): Refer to errno tests in comment.
66458 (check_int): Call test_errno. Set errno to 0.
66459 (check_long): Likewise.
66460 (check_bool): Likewise.
66461 (check_longlong): Likewise.
66462 (cos_test): Use ERRNO_* flags for errno tests instead of
66463 check_int.
66464 (expm1_test): Likewise.
66465 (fmod_test): Likewise.
66466 (ilogb_test): Likewise.
66467 (lgamma_test): Likewise.
66468 (pow_test): Likewise.
66469 (remainder_test): Likewise.
66470 (sin_test): Likewise.
66471 (tan_test): Likewise.
66472 (yn_test): Likewise.
66473 (initialize): Set errno to 0.
66474 (main): Print number of errno tests.
66475 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66476
66477 2013-04-29 Andreas Jaeger <aj@suse.de>
66478
66479 [BZ #15084]
66480 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66481 and RES_USEVC.
66482
66483 [BZ #15085]
66484 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66485 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66486 unimplemented.
66487
66488 [BZ #15380]
66489 * stdlib/random.c (__initstate): Return NULL if
66490 __initstate fails.
66491
66492 [BZ #15086]
66493 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66494 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66495 RES_SNGLKUPREOP.
66496
66497 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66498
66499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66500
66501 2013-04-29 Joseph Myers <joseph@codesourcery.com>
66502
66503 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66504 of individual tests.
66505 (casin_test): Likewise.
66506 (casinh_test): Likewise.
66507
66508 2013-04-27 Joseph Myers <joseph@codesourcery.com>
66509
66510 [BZ #15409]
66511 * math/s_catan.c (__catan): Handle arguments with large real or
66512 imaginary part separately without squaring.
66513 * math/s_catanf.c (__catanf): Likewise.
66514 * math/s_catanh.c (__catanh): Likewise.
66515 * math/s_catanhf.c (__catanhf): Likewise.
66516 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66517 and redefine.
66518 (__catanhl): Handle arguments with large real or imaginary part
66519 separately without squaring.
66520 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66521 and redefine.
66522 (__catanl): Handle arguments with large real or imaginary part
66523 separately without squaring.
66524 * math/libm-test.inc (catan_test): Add more tests.
66525 (catanh_test): Likewise.
66526 * sysdeps/i386/fpu/libm-test-ulps: Update.
66527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66528
66529 2013-04-27 Andreas Jaeger <aj@suse.de>
66530
66531 [BZ #15007]
66532 * stdlib/stdlib.h: Update guards for qecvt.
66533 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66534 <stdlib.h>.
66535
66536 2013-04-27 Allan McRae <allan@archlinux.org>
66537
66538 * sysdeps/i386/fpu/libm-test-ulps: Update.
66539
66540 2013-04-26 Joseph Myers <joseph@codesourcery.com>
66541
66542 [BZ #15406]
66543 * math/s_catan.c: Include <float.h>.
66544 (__catan): Ensure underflow exception occurs for underflowed
66545 result.
66546 * math/s_catanf.c: Include <float.h>.
66547 (__catanf): Ensure underflow exception occurs for underflowed
66548 result.
66549 * math/s_catanh.c: Include <float.h>.
66550 (__catanh): Ensure underflow exception occurs for underflowed
66551 result.
66552 * math/s_catanhf.c: Include <float.h>.
66553 (__catanhf): Ensure underflow exception occurs for underflowed
66554 result.
66555 * math/s_catanhl.c: Include <float.h>.
66556 (__catanhl): Ensure underflow exception occurs for underflowed
66557 result.
66558 * math/s_catanl.c: Include <float.h>.
66559 (__catanl): Ensure underflow exception occurs for underflowed
66560 result.
66561 * math/libm-test.inc (catan_test): Add more tests.
66562 (catanh_test): Likewise.
66563
66564 [BZ #15405]
66565 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66566 underflowed result.
66567 * math/s_ccoshf.c (__ccoshf): Likewise.
66568 * math/s_ccoshl.c (__ccoshl): Likewise.
66569 * math/s_csin.c (__csin): Likewise.
66570 * math/s_csinf.c (__csinf): Likewise.
66571 * math/s_csinh.c (__csinh): Likewise.
66572 * math/s_csinhf.c (__csinhf): Likewise.
66573 * math/s_csinhl.c (__csinhl): Likewise.
66574 * math/s_csinl.c (__csinl): Likewise.
66575 * math/libm-test.inc (ccos_test): Add more tests.
66576 (ccosh_test): Likewise.
66577 (csin_test): Likewise.
66578 (csinh_test): Likewise.
66579
66580 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66581
66582 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66583 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66584 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66585 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66586 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66587 powerpc/power5+/fpu folders.
66588 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66589
66590
66591 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66592
66593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66594
66595 2013-04-25 Joseph Myers <joseph@codesourcery.com>
66596
66597 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66598 additions to variable.
66599 [$(config-machine) = x86_64] (modules-names): Likewise.
66600 ($(objpfx)tst-audit3): Remove dependency.
66601 ($(objpfx)tst-audit3.out): Likewise.
66602 ($(objpfx)tst-audit4): Likewise.
66603 ($(objpfx)tst-audit4.out): Likewise.
66604 ($(objpfx)tst-audit5): Likewise.
66605 ($(objpfx)tst-audit5.out): Likewise.
66606 ($(objpfx)tst-audit6): Likewise.
66607 ($(objpfx)tst-audit6.out): Likewise.
66608 ($(objpfx)tst-audit7): Likewise.
66609 ($(objpfx)tst-audit7.out): Likewise.
66610 (tst-audit3-ENV): Remove variable.
66611 (tst-audit4-ENV): Likewise.
66612 (tst-audit5-ENV): Likewise.
66613 (tst-audit6-ENV): Likewise.
66614 (tst-audit7-ENV): Likewise.
66615 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66616 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66617 addition to variable.
66618 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66619 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66620 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66621 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66622 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66623 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66624 tst-audit3, tst-audit4 and tst-audit5.
66625 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66626 tst-audit6 and tst-audit7.
66627 [$(subdir) = elf] (modules-names): Add audit modules for those
66628 tests.
66629 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66630 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66631 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66632 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66633 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66634 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66635 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66636 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66637 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66638 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66639 [$(subdir) = elf] (tst-audit3-ENV): New variable.
66640 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66641 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66642 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66643 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66644 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66645 Likewise.
66646 [$(subdir) = elf && $(config-cflags-avx) = yes]
66647 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66648 [$(subdir) = elf && $(config-cflags-avx) = yes]
66649 (CFLAGS-tst-auditmod4a.c): Likewise.
66650 [$(subdir) = elf && $(config-cflags-avx) = yes]
66651 (CFLAGS-tst-auditmod4b.c): Likewise.
66652 [$(subdir) = elf && $(config-cflags-avx) = yes]
66653 (CFLAGS-tst-auditmod6b.c): Likewise.
66654 [$(subdir) = elf && $(config-cflags-avx) = yes]
66655 (CFLAGS-tst-auditmod6c.c): Likewise.
66656 [$(subdir) = elf && $(config-cflags-avx) = yes]
66657 (CFLAGS-tst-auditmod7b.c): Likewise.
66658 * elf/tst-audit3.c: Move to ...
66659 * sysdeps/x86_64/tst-audit3.c: ... here.
66660 * elf/tst-audit4.c: Move to ...
66661 * sysdeps/x86_64/tst-audit4.c: ... here.
66662 * elf/tst-audit5.c: Move to ...
66663 * sysdeps/x86_64/tst-audit5.c: ... here.
66664 * elf/tst-audit6.c: Move to ...
66665 * sysdeps/x86_64/tst-audit6.c: ... here.
66666 * elf/tst-audit7.c: Move to ...
66667 * sysdeps/x86_64/tst-audit7.c: ... here.
66668 * elf/tst-auditmod3a.c: Move to ...
66669 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66670 * elf/tst-auditmod3b.c: Move to ...
66671 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66672 * elf/tst-auditmod4a.c: Move to ...
66673 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66674 * elf/tst-auditmod4b.c: Move to ...
66675 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66676 * elf/tst-auditmod5a.c: Move to ...
66677 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66678 * elf/tst-auditmod5b.c: Move to ...
66679 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66680 * elf/tst-auditmod6a.c: Move to ...
66681 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66682 * elf/tst-auditmod6b.c: Move to ...
66683 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66684 * elf/tst-auditmod6c.c: Move to ...
66685 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66686 * elf/tst-auditmod7a.c: Move to ...
66687 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66688 * elf/tst-auditmod7b.c: Move to ...
66689 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66690
66691 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
66692
66693 [BZ #15366]
66694 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66695 define unconditionally.
66696 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66697 define unconditionally.
66698 (INT8_C, INT16_C, etc.): Likewise.
66699
66700 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
66701
66702 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66703 __ehdr_start with hidden visibility.
66704
66705 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66706
66707 2013-04-24 Carlos O'Donell <carlos@redhat.com>
66708
66709 * math/libm-test.inc (cos_test): Use accurate hex constants.
66710 (sincost_test): Likewise.
66711
66712 2013-04-24 Joseph Myers <joseph@codesourcery.com>
66713
66714 * math/libm-test.inc (catan_test): Add more tests.
66715 (catanh_test): Likewise.
66716
66717 * math/s_catanf.c (__catanf): Use suffixed floating-point
66718 constants.
66719 * math/s_catanhf.c (__catanhf): Likewise.
66720 * math/s_catanhl.c (__catanhl): Likewise.
66721 * math/s_catanl.c (__catanl): Likewise.
66722
66723 [BZ #15394]
66724 * math/s_catan.c (__catan): Calculate imaginary part of result
66725 with log1p not log unless computing log of number close to 0.
66726 * math/s_catanf.c (__catanf): Likewise.
66727 * math/s_catanl.c (__catanl): Likewise.
66728 * math/s_catanh.c (__catanh): Calculate real part of result with
66729 log1p not log unless computing log of number close to 0.
66730 * math/s_catanhf.c (__catanhf): Likewise.
66731 * math/s_catanhl.c (__catanhl): Likewise.
66732 * math/libm-test.inc (catan_test): Add more tests.
66733 (catanh_test): Likewise.
66734 * sysdeps/i386/fpu/libm-test-ulps: Update.
66735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66736
66737 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
66738
66739 * benchtests/Makefile: Mention files in which fast and slow
66740 paths of math functions are implemented.
66741
66742 2013-04-23 Roland McGrath <roland@hack.frob.com>
66743
66744 * sysdeps/posix/timespec_get.c: New file.
66745
66746 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66747
66748 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
66749 POWER.
66750 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
66751 for POWER.
66752 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
66753 powerpc/power5/fpu folders.
66754 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
66755 * benchtests/Makefile: Add modf testcase.
66756 * benchtests/bench-modf.c: New file: Benchmark test for mo
66757
66758 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
66759
66760 [BZ #14888]
66761 * time/Makefile (tests): Add tst-strptime-whitespace.
66762 * time/strptime_l.c (get_number): Use ISSPACE.
66763 (__strptime_internal): Likewise.
66764 * time/tst-strptime-whitespace.c: New test case.
66765
66766 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
66767
66768 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
66769 member.
66770 (_nss_files_init): Set it here.
66771
66772 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
66773
66774 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
66775 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
66776 unsigned.
66777
66778 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
66779
66780 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
66781
66782 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66783
66784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
66785 size just once.
66786
66787 2013-04-21 David S. Miller <davem@davemloft.net>
66788
66789 * po/ru.po: Update Russion translation from translation project.
66790
66791 2013-04-17 Adam Conrad <adconrad@0c3.net>
66792
66793 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
66794 and setfsgid.
66795
66796 2013-04-17 Carlos O'Donell <carlos@redhat.com>
66797
66798 * configure.in: Remove i386 configure warning. Remove i386 case.
66799 * configure: Regenerate.
66800 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
66801 Add example to error message.
66802 * sysdeps/i386/configure: Regenerate.
66803
66804 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66805
66806 * benchtests/Makefile (bench): Add cos, tan, slowcos and
66807 slowtan.
66808 * benchtests/cos-inputs: New file.
66809 * benchtests/slowcos-inputs: New file.
66810 * benchtests/slowcos.c: New file.
66811 * benchtests/slowtan-inputs: New file.
66812 * benchtests/slowtan.c: New file.
66813 * benchtests/tan-inputs: New file.
66814
66815 2013-04-16 Roland McGrath <roland@hack.frob.com>
66816
66817 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
66818 considered kosher.
66819
66820 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
66821
66822 * benchtests/Makefile: Include cppflags-iterator.mk to add
66823 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
66824
66825 * Makefile.in (bench-clean): New target.
66826 * benchtests/Makefile (bench-clean): Likewise.
66827
66828 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
66829
66830 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
66831
66832 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
66833
66834 * stdio-common/tstdiomisc.c: Fix coding-style violation.
66835
66836 2013-04-15 Andreas Schwab <schwab@suse.de>
66837
66838 * nscd/grpcache.c (cache_addgr): Properly check for short write.
66839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
66840 * nscd/pwdcache.c (cache_addpw): Likewise.
66841 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
66842 more than recsize.
66843
66844 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
66845
66846 * benchtests/Makefile (bench): Write all output to
66847 bench-out.tmp together.
66848
66849 2013-04-15 Andreas Schwab <schwab@suse.de>
66850
66851 * nscd/nscd.c (main): Don't fork again after closing files.
66852
66853 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
66854
66855 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
66856
66857 * benchtests/Rules (bench-deps): Collect dependencies into a
66858 single variable. Add Makefile to dependencies.
66859 ($(objpfx)bench-%.c): Depend on bench-deps.
66860
66861 2013-04-12 Roland McGrath <roland@hack.frob.com>
66862 Xavier Roche <roche+kml2@exalead.com>
66863
66864 [BZ #15361]
66865 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
66866 just that it's a file descriptor.
66867 * manual/llio.texi (Synchronizing AIO Operations): Update description
66868 for EBADF error from aio_fsync.
66869
66870 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
66871
66872 * Rules (bench): Move target definition...
66873 * benchtests/Makefile: ... here.
66874
66875 2013-04-11 Carlos O'Donell <carlos@redhat.com>
66876
66877 * math/libm-test.inc (cos_test): Fix PI/2 test.
66878 (sincos_test): Likewise.
66879 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
66880 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
66881
66882 2013-04-11 Andreas Schwab <schwab@suse.de>
66883
66884 [BZ #13988]
66885 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
66886 accept exponent character only when digits were seen.
66887 * stdio-common/Makefile (tests): Add bug26.
66888 * stdio-common/bug26.c: New file.
66889
66890 [BZ #14293]
66891 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
66892 non-freeable.
66893
66894 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
66895
66896 * Makeconfig (rtld-prefix): Define built linker prefix.
66897 * Rules (run-bench): Use it.
66898 * math/Makefile (run-regen-ulps): Likewise.
66899
66900 * Rules (bench): Remove eval.
66901
66902 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
66903 Roland McGrath <roland@hack.frob.com>
66904 Ondrej Bilka <neleai@seznam.cz>
66905
66906 [BZ #15346]
66907 * time/getdate.c: Include ctype.h and alloca.h.
66908 (__getdate_r): Trim leading and trailing spaces of input.
66909 * time/tst-getdate.c (tests): Add tests with leading and
66910 trailing spaces.
66911
66912 2013-04-08 Roland McGrath <roland@hack.frob.com>
66913
66914 [BZ #14280]
66915 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
66916 when computing value.
66917
66918 2013-04-06 Carlos O'Donell <carlos@redhat.com>
66919
66920 * math/README.libm-test (How can I generate "libm-test-ulps"?):
66921 Use testrun.sh to run libm tests.
66922
66923 [BZ #15309]
66924 * elf/dl-open.c (dl_open_worker): memset all of seen array.
66925
66926 2013-04-06 Marko Myllynen <myllynen@redhat.com>
66927
66928 [BZ #15264]
66929 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
66930
66931 2013-04-06 Carlos O'Donell <carlos@redhat.com>
66932
66933 * Makefile.in (regen-ulps): New target.
66934 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
66935 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
66936 [ifneq (no,$(PERL)] (regen-ulps): New target.
66937 [ifeq (no,$(PERL)] (regen-ulps): New target.
66938 * math/libm-test.inc (ulps_file_name): Define.
66939 (output_dir): New variable.
66940 (options): Add "output-dir" option.
66941 (parse_opt): Handle 'o' case.
66942 (main): If output_dir is non-NULL use it as a prefix
66943 otherwise use "".
66944 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
66945
66946 2013-04-06 Carlos O'Donell <carlos@redhat.com>
66947
66948 [BZ #10060, #10062]
66949 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
66950 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
66951 fail configure if __sync_val_compare_and_swap is not inlined.
66952 * sysdeps/i386/configure: Regenerate.
66953 * configure.in: Build for i686 when configured for i386.
66954 * configure: Regenerate.
66955 * README: Remove i386 reference.
66956
66957 2013-04-06 Carlos O'Donell <carlos@redhat.com>
66958
66959 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
66960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
66961
66962 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
66963
66964 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
66965 (lmsnanval): New variables.
66966 (F): Add conversion tests.
66967 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
66968 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
66969
66970 * stdio-common/tstdiomisc.c (F): Properly collect individual
66971 tests' results.
66972
66973 [BZ #14686, #15336]
66974 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
66975 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
66976 Instead, use input NaN values or generate a qNaN by arithmetic
66977 operation. Also fix bugs to comply with the standard.
66978 * math/libm-test.inc (remainder_test): Add more tests.
66979
66980 [BZ #15335, #15342]
66981 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
66982 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
66983 input NaN values or generate a qNaN by arithmetic operation.
66984
66985 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
66986 unreachable code.
66987
66988 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
66989 definitions.
66990
66991 2013-04-03 Joseph Myers <joseph@codesourcery.com>
66992
66993 [BZ #14478]
66994 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
66995 underflowed result.
66996 * math/s_cexpf.c (__cexpf): Likewise.
66997 * math/s_cexpl.c (__cexpl): Likewise.
66998 * math/libm-test.inc (cexp_test): Add more tests.
66999
67000 2013-04-03 Andreas Schwab <schwab@suse.de>
67001
67002 [BZ #15330]
67003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67004 order arrays from heap if bigger than alloca cutoff.
67005
67006 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
67007
67008 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67009 (SNAN_TESTS_double): Refer to GCC PR56831.
67010 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67011 GCC PR56828.
67012
67013 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
67014
67015 * Rules (bench): Move bench.out after the run is complete.
67016
67017 * Rules (bench): Echo currently running benchmark.
67018
67019 * benchtests/Makefile (bench): Add atan and slowatan.
67020 * benchtests/atan-inputs: New file.
67021 * benchtests/slowatan-inputs: New file.
67022 * benchtests/slowatan.c: New file.
67023
67024 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67025 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67026 its value.
67027
67028 [BZ #15305]
67029 * sysdeps/unix/sysv/linux/kernel-features.h
67030 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67031 __ASSUME_XFS_RESTRICTED_CHOWN.
67032 * sysdeps/unix/sysv/linux/pathconf.c
67033 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67034 Save and restore errno.
67035
67036 2013-04-02 Joseph Myers <joseph@codesourcery.com>
67037
67038 [BZ #15327]
67039 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67040 arguments using __kernel_casinh.
67041 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67042 arguments using __kernel_casinhf.
67043 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67044 arguments using __kernel_casinhl.
67045 * math/libm-test.inc (cacosh_test): Add more tests.
67046 * sysdeps/i386/fpu/libm-test-ulps: Update.
67047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67048
67049 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
67050
67051 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67053
67054 * bench/Makefile (bench): Add sin and slowsin.
67055 * benchtests/sin-inputs: New file.
67056 * benchtests/slowsin-inputs: New file.
67057 * benchtests/slowsin.c: New file.
67058
67059 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67060 (bench): Add slowexp and slowpow.
67061 (exp-ITER): Increase iterations.
67062 (pow-ITER): Likewise.
67063 * benchtests/exp-inputs: Change input.
67064 * benchtests/pow-inputs: Likewise.
67065 * benchtests/slowexp-inputs: New file.
67066 * benchtests/slowexp.c: New file.
67067 * benchtests/slowpow-inputs: New file.
67068 * benchtests/slowpow.c: New file.
67069
67070 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67071
67072 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67073 instructions.
67074 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67075 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67076 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67077 * benchtests/Makefile: Add rint benchtest.
67078 * benchtests/rint-inputs: Input for rint benchtest.
67079
67080 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
67081
67082 * Versions.def (libm): Add GLIBC_2.18.
67083 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67084 hidden libm prototypes.
67085 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67086 * math/Makefile (libm-calls): Add s_issignaling.
67087 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67088 __issignalingf, __issignalingl. Adjust all libm.abilist files.
67089 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67090 declaration.
67091 * math/math.h [__USE_GNU] (issignaling): New macro.
67092 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67093 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67094 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67095 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67096 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67097 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67098 * manual/arith.texi (issignaling): New section.
67099 * manual/libm-err-tab.pl (@all_functions): Update comment.
67100 * math/gen-libm-test.pl (parse_args): Apply special handling for
67101 issignaling.
67102 * math/libm-test.inc (print_float, issignaling_test): New
67103 functions.
67104 (check_float_internal): Add issignaling checks.
67105 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67106 default definition.
67107 * sysdeps/powerpc/math-tests.h: New file.
67108 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67109 tests.
67110 * math/test-snan.c (TEST_FUNC): Likewise.
67111
67112 2013-03-30 David S. Miller <davem@davemloft.net>
67113
67114 * po/de.po: Update from translation team.
67115
67116 2013-03-30 Joseph Myers <joseph@codesourcery.com>
67117
67118 [BZ #10357]
67119 * math/k_casinh.c (__kernel_casinh): Handle arguments with
67120 imaginary part less than 1.0 and real part less than 0.5
67121 specially.
67122 * math/k_casinhf.c (__kernel_casinhf): Likewise.
67123 * math/k_casinhl.c (__kernel_casinhl): Likewise.
67124 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67125 (cacos_test): Add more tests.
67126 (casin_test): Likewise.
67127 (casinh_test): Likewise.
67128 * sysdeps/i386/fpu/libm-test-ulps: Update.
67129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67130
67131 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
67132
67133 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67134 ONE with its value.
67135
67136 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67137 (__pow_mp): Replace ONE and MONE with their values.
67138 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67139 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67140 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67141 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67142 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67143 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67144
67145 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67146
67147 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67148 (__pow_mp): Replace ZERO and MZERO with their values.
67149 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67150 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67153 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67154 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67155 (__sqr): Likewise.
67156
67157 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67158
67159 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67160
67161 2013-03-28 Roland McGrath <roland@hack.frob.com>
67162
67163 * include/stdlib.h [!SHARED] (__call_tls_dtors):
67164 Declare with __attribute__ ((weak)).
67165 * stdlib/exit.c (__libc_atexit) [!SHARED]:
67166 Call __call_tls_dtors only if it's not NULL.
67167
67168 2013-03-28 Roland McGrath <roland@hack.frob.com>
67169
67170 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67171 didn't do it already, then set _dl_phdr and _dl_phnum based on the
67172 magic __ehdr_start linker symbol if it's defined.
67173 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67174 them up here if it was already done.
67175
67176 * elf/dl-support.c (_dl_phdr): Make pointer to const.
67177 (_dl_aux_init): Use const in cast when setting it.
67178 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67179 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67180 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67181
67182 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67183 Declare them here.
67184 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67185 * csu/libc-tls.c: Nor here.
67186 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67187
67188 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67189 (__libc_message): Never call vsyslog.
67190
67191 2013-03-28 Alan Modra <amodra@gmail.com>
67192
67193 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67194 Define as empty.
67195 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67196 Likewise.
67197
67198 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67199
67200 [BZ #15214]
67201 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67202 underflow.
67203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67204
67205 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
67206
67207 [BZ #15304]
67208 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67209 Don't add gid passed as argument.
67210
67211 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67212
67213 2013-03-27 Joseph Myers <joseph@codesourcery.com>
67214
67215 [BZ #15307]
67216 * math/k_casinh.c (__kernel_casinh): Handle arguments with
67217 imaginary part between 1.0 and 1.5 and real part less than 0.5
67218 specially.
67219 * math/k_casinhf.c (__kernel_casinhf): Likewise.
67220 * math/k_casinhl.c (__kernel_casinhl): Likewise.
67221 * math/libm-test.inc (cacos_test): Add more tests.
67222 (casin_test): Likewise.
67223 (casinh_test): Likewise.
67224 * sysdeps/i386/fpu/libm-test-ulps: Update.
67225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67226
67227 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
67228
67229 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67230 constants.
67231 (norm): Likewise.
67232 (denorm): Likewise.
67233 (__dbl_mp): Likewise.
67234 (add_magnitudes): Likewise.
67235 (sub_magnitudes): Likewise.
67236 (__add): Likewise.
67237 (__sub): Likewise.
67238 (__mul): Likewise.
67239 (__sqr): Likewise.
67240 (__inv): Likewise.
67241 (__dvd): Likewise.
67242
67243 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67244 commented code.
67245 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67246 (__dubcos): Likewise.
67247 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67248 (__ieee754_acos): Likewise.
67249 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67250 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67251 (__exp1): Likewise.
67252 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67254 (log1): Likewise.
67255 (my_log2): Likewise.
67256 (checkint): Likewise.
67257 * sysdeps/ieee754/dbl-64/e_remainder.c
67258 (__ieee754_remainder): Likewise.
67259 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67260 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67261 (bsloww): Likewise.
67262 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67263
67264 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67265 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67266 MANTISSA_STORE_T to store computations on mantissa. Use
67267 macros for rounding and division.
67268 (denorm): Likewise.
67269 (__dbl_mp): Likewise.
67270 (add_magnitudes): Likewise.
67271 (sub_magnitudes): Likewise.
67272 (__mul): Likewise.
67273 (__sqr): Likewise.
67274 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
67275 powers of two in terms of TWOPOW macro.
67276 (mp_no): Make type of mantissa as MANTISSA_T.
67277 [!RADIXI]: Define RADIXI.
67278 [!TWO52]: Define TWO52.
67279 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67280
67281 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67282
67283 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67284 llroundl symbol when building for PPC32.
67285
67286 2013-03-24 Mark H Weaver <mhw@netris.org>
67287
67288 * manual/arith.texi (Normalization Functions): Fix prototypes for
67289 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67290
67291 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67292
67293 [BZ #13889]
67294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67295 high value to check if expl overflow.
67296 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67297 to check for underflow and overflow.
67298 * math/libm-test.inc: Add exp test.
67299
67300 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
67301
67302 [BZ #11120]
67303 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67304 with NOT_IN_libc.
67305
67306 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67307
67308 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67309 symbol.
67310
67311 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
67312
67313 * math/gen-libm-test.pl (parse_args, special_functions): Properly
67314 wrap blocks consisting of several statements.
67315
67316 * sysdeps/generic/math-tests.h: New file.
67317 * sysdeps/i386/fpu/math-tests.h: Likewise.
67318 * math/test-snan.c: Include it.
67319 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67320
67321 2013-03-21 Joseph Myers <joseph@codesourcery.com>
67322
67323 [BZ #15285]
67324 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67325 (__ieee754_j0l): Do not improve calculations using cos of twice
67326 input for inputs above LDBL_MAX / 2.0L.
67327 (__ieee754_y0l): Likewise.
67328 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67329 (__ieee754_j1l): Do not improve calculations using cos of twice
67330 input for inputs above LDBL_MAX / 2.0L.
67331 (__ieee754_y1l): Likewise.
67332 * math/libm-test.inc (j0_test): Add another test.
67333 (j1_test): Likewise.
67334 (y0_test): Likewise.
67335 (y1_test): Likewise.
67336 * sysdeps/i386/fpu/libm-test-ulps: Update.
67337
67338 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
67339
67340 * Rules ($(objpfx)bench-%.c): Include code from a C source
67341 file.
67342
67343 2013-03-21 Joseph Myers <joseph@codesourcery.com>
67344
67345 [BZ #15287]
67346 * math/k_casinh.c (__kernel_casinh): Handle arguments with
67347 imaginary part 1.0 and real part less than 0.5 specially.
67348 * math/k_casinhf.c (__kernel_casinhf): Likewise.
67349 * math/k_casinhl.c (__kernel_casinhl): Likewise.
67350 * math/libm-test.inc (cacos_test): Add more tests.
67351 (casin_test): Likewise.
67352 (casinh_test): Likewise.
67353 * sysdeps/i386/fpu/libm-test-ulps: Update.
67354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67355
67356 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
67357
67358 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67359 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67360
67361 2013-03-20 Joseph Myers <joseph@codesourcery.com>
67362
67363 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67364 * config.make.in (config-cflags-sse4): Remove variable.
67365 (config-cflags-avx): Likewise.
67366 (config-cflags-sse2avx): Likewise.
67367 (config-cflags-novzeroupper): Likewise.
67368 (config-asflags-i686): Likewise.
67369 (have-mfma4): Likewise.
67370 (have-as-vis3): Likewise.
67371 (MIG): Likewise.
67372 * configure.in (MIG): Do not AC_SUBST.
67373 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67374 (libc_cv_cc_sse4): Do not AC_SUBST.
67375 (libc_cv_cc_avx): Likewise.
67376 (libc_cv_cc_sse2avx): Likewise.
67377 (libc_cv_cc_novzeroupper): Likewise.
67378 (libc_cv_cc_fma4): Likewise.
67379 (libc_cv_as_i686): Likewise.
67380 (libc_cv_sparc_as_vis3): Likewise.
67381 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67382 LIBC_CONFIG_VAR.
67383 (config-asflags-i686): Likewise.
67384 (config-cflags-avx): Likewise.
67385 (config-cflags-sse2avx): Likewise.
67386 (have-mfma4): Likewise.
67387 (config-cflags-novzeroupper): Likewise.
67388 * sysdeps/mach/configure.in (MIG): Likewise.
67389 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67390 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67391 LIBC_CONFIG_VAR.
67392 (config-cflags-avx): Likewise.
67393 (config-cflags-sse2avx): Likewise.
67394 (have-mfma4): Likewise.
67395 (config-cflags-novzeroupper): Likewise.
67396 * configure: Regenerated.
67397 * sysdeps/i386/configure: Likewise.
67398 * sysdeps/mach/configure: Likewise.
67399 * sysdeps/sparc/configure: Likewise.
67400 * sysdeps/x86_64/configure: Likewise.
67401
67402 2013-03-20 Roland McGrath <roland@hack.frob.com>
67403
67404 [BZ #14812]
67405 * locale/programs/localedef.c (options): Put N_ translation marker
67406 on argument names, not just descriptions.
67407
67408 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
67409
67410 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67411
67412 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
67413
67414 [BZ #14176]
67415 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67416
67417 2013-03-19 Roland McGrath <roland@hack.frob.com>
67418
67419 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67420 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67421 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67422 [!BEFORE_ABORT] (before_abort): New function.
67423 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67424 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67425 (writev_for_fatal): New function.
67426 (WRITEV_FOR_FATAL): New macro; call that.
67427 (backtrace_and_maps): New function.
67428 (BEFORE_ABORT): New macro; call that.
67429 (struct str_list): Type removed.
67430 (__libc_message, __libc_fatal): Functions removed.
67431 Include <sysdeps/posix/libc_fatal.c> instead.
67432
67433 2013-03-19 Joseph Myers <joseph@codesourcery.com>
67434
67435 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67436 constants.
67437 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67438 double constants.
67439
67440 2013-03-19 Andreas Schwab <schwab@suse.de>
67441
67442 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67443 * sysdeps/gnu/configure: Regenerate.
67444
67445 * configure.in: Substitute libc_cv_rtlddir.
67446 * configure: Regenerate.
67447 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67448 * Makeconfig (rtlddir, inst_rtlddir): New variables.
67449 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67450 * elf/Makefile (install-others, CFLAGS-interp.c)
67451 (ldso_install, common-ldd-rewrite): Likewise.
67452 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67453 $(inst_slibdir)/$(rtld-installed-name).
67454 * scripts/rellns-sh: Add -p option.
67455 * Makerules (make-shlib-link): Use rellns-sh to get relative name
67456 for source.
67457
67458 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
67459
67460 * manual/nptl.texi: Renamed to ...
67461 * manual/threads.texi: ... this.
67462 * manual/Makefile (chapters): Update.
67463
67464 2013-03-18 Roland McGrath <roland@hack.frob.com>
67465
67466 [BZ #14812]
67467 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67468 on argument names, not just descriptions.
67469 * malloc/memusagestat.c (options): Likewise.
67470 * nss/getent.c (options): Likewise.
67471
67472 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
67473
67474 [BZ #14812]
67475 * iconv/iconv_prog.c (options): Put N_ translation marker
67476 on argument names, not just descriptions.
67477 * iconv/iconvconfig.c (options): Likewise.
67478
67479 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
67480
67481 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67482 implementation which is faster on all x86_64 architectures.
67483 Tested on AMD, Intel Nehalem, SNB, IVB.
67484 * sysdeps/x86_64/strnlen.S: Likewise.
67485
67486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67487 Remove all multiarch strlen and strnlen versions.
67488 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67489 Remove strlen and strnlen related parts.
67490
67491 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67492 Inline strlen part.
67493 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67494
67495 * sysdeps/x86_64/multiarch/strlen.S: Remove.
67496 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67497 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67498 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67499 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67500 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67501
67502 2013-03-17 Carlos O'Donell <carlos@redhat.com>
67503
67504 * manual/memory.texi (Malloc Tunable Parameters):
67505 Sort parameters alphabetically. Add comments for missing entries.
67506
67507 2013-03-17 David S. Miller <davem@davemloft.net>
67508
67509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67510
67511 2013-03-16 Joseph Myers <joseph@codesourcery.com>
67512
67513 [BZ #15283]
67514 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67515 for arguments at most half maximum finite value.
67516 * math/libm-test.inc (j0_test): Add more tests.
67517 (j1_test): Likewise.
67518 (y0_test): Likewise.
67519 (y1_test): Likewise.
67520 * sysdeps/i386/fpu/libm-test-ulps: Update.
67521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67522
67523 [BZ #14155]
67524 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67525 1 / x and functions P and Q for arguments above 0x1p256L.
67526 (__ieee754_y0l): Likewise.
67527 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67528 (__ieee754_y1l): Likewise.
67529 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67530 (j1_test): Likewise.
67531 (y0_test): Likewise.
67532 (y1_test): Likewise.
67533
67534 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
67535
67536 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67537 variable.
67538
67539 2013-03-15 Roland McGrath <roland@hack.frob.com>
67540
67541 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67542 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67543 zero since it's initialized to EXEC_PAGESIZE.
67544
67545 * sysdeps/unix/sysv/linux/ldsodefs.h
67546 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67547 * sysdeps/generic/ldsodefs.h: ... here.
67548
67549 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
67550
67551 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67552
67553 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67554 math/test-snan.c.
67555 * math/test-snan.c: Renamed from
67556 sysdeps/powerpc/fpu/test-powerpc-snan.c.
67557 * math/Makefile (tests): Add test-snan.
67558 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67559 test-powerpc-snan.
67560
67561 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67562 SUFFIX. Initialize qNaN_var with __builtin_nan family of
67563 functions.
67564 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
67565 __builtin_nan family of functions.
67566 * math/libm-test.inc (initialize): Initialize qnan_value with
67567 __builtin_nan family of functions.
67568 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67569 Remove variables.
67570 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67571 Remove functions.
67572 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
67573 storage class. Initialize qNaN_var and sNaN_var with
67574 __builtin_nan and __builtin_nans families of functions,
67575 respectively.
67576
67577 * math/libm-test.inc (acosh_test): Also test with qNaN input.
67578 (sqrt_test): Remove duplicate test with qNaN input.
67579 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67580 (round_test, signbit_test, significand_test): Note missing +/-Inf
67581 as well as qNaN tests.
67582
67583 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67584 qNaN_var. Fix a few strings, too.
67585 * math/libm-test.inc (nan_value): Rename to qnan_value.
67586 * math/gen-libm-test.pl (%beautify): Adjust to that.
67587 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67588 * math/test-misc.c (main): Likewise.
67589 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67590 to __qnan_bytes, and __qnan_union, respectively.
67591 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67592 Likewise.
67593 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67594 and lqnanval, respectively.
67595 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67596 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67597 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67598 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67599
67600 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67601 * math/test-misc.c (main) [__x86_64__]: Enable test for long
67602 doubles.
67603
67604 * math/test-misc.c (main): Fix copy'n'pastos.
67605 * misc/tst-efgcvt.c (special): Likewise.
67606
67607 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67608 Remove declarations.
67609
67610 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
67611
67612 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67613 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67614 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67615 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67616
67617 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67618
67619 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67620 macro to return vdso values correctly in IFUNC implementations.
67621 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67622 Optimization by using IFUNC.
67623
67624 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
67625 Richard Henderson <rth@redhat.com>
67626 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67627
67628 * Makefile.in (bench): New target.
67629 * NEWS: Mention the benchmark framework.
67630 * Rules (bench): Likewise.
67631 (binaries-bench): Generate binaries for functions to
67632 benchmark.
67633 * benchtests/Makefile: New makefile for benchmark tests.
67634 * benchtests/bench-skeleton.c: New skeleton file for benchmark
67635 programs.
67636 * benchtests/exp-inputs: New input file for EXP function.
67637 * benchtests/pow-inputs: New input file for POW function.
67638 * scripts/bench.pl: New script to generate source files for
67639 benchmark programs.
67640
67641 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
67642
67643 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67644 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67645 computations on mantissa. Use macros for rounding and
67646 division.
67647 (denorm): Likewise.
67648 (__dbl_mp): Likewise.
67649 (add_magnitudes): Likewise.
67650 (sub_magnitudes): Likewise.
67651 (__mul): Likewise.
67652 (__sqr): Likewise.
67653 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
67654 powers of two in terms of TWOPOW macro.
67655 (mp_no): Make type of mantissa as MANTISSA_T.
67656 [!RADIXI]: Define RADIXI.
67657 [!TWO52]: Define TWO52.
67658 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67659
67660 * manual/nptl.texi (cindex): Modify threads to pthreads.
67661
67662 2013-03-15 Joseph Myers <joseph@codesourcery.com>
67663
67664 * sysdeps/x86_64/preconfigure: Regenerated.
67665
67666 2013-03-14 Joseph Myers <joseph@codesourcery.com>
67667
67668 [BZ #14155]
67669 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67670 0x1p28 and above.
67671 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67672 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67673 0x1p28 and above.
67674 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67675 * math/libm-test.inc (j0_test): Do not allow one spurious
67676 underflow exception.
67677 (y1_test): Likewise.
67678
67679 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
67680
67681 * manual/Makefile (chapters): Add nptl.
67682 * manual/debug.texi (Debugging Support): Add link to Threads
67683 chapter.
67684 * manual/nptl.texi: New file.
67685
67686 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67687
67688 2013-03-14 Petr Baudis <pasky@ucw.cz>
67689
67690 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67691 for non-NULL pointer before the memory validity test. Pointed
67692 out by Holger Brunck <holger.brunck@keymile.com>.
67693
67694 2013-03-13 Andreas Schwab <schwab@suse.de>
67695
67696 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67697 instead of .os.
67698
67699 2013-03-13 Joseph Myers <joseph@codesourcery.com>
67700
67701 * timezone/zic.c: Update from tzcode 2013b.
67702
67703 2013-03-12 Carlos O'Donell <carlos@redhat.com>
67704
67705 * manual/install.texi (Configuring and compiling):
67706 Mention i686 and i586.
67707 * INSTALL: Regenerate.
67708
67709 2013-03-12 Roland McGrath <roland@hack.frob.com>
67710
67711 * sysdeps/init_array/elf-init.c: New file.
67712 * csu/elf-init.c
67713 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67714 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67715
67716 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67717 __gmon_start__ as global, but as static with a .preinit_array pointer.
67718 * sysdeps/init_array/gmon-start.c: New file. Use that.
67719 * sysdeps/init_array/crti.S: New file, empty except for comments.
67720 * sysdeps/init_array/crtn.S: Likewise.
67721
67722 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
67723
67724 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
67725 definining bcopy.
67726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67727 Remove Prefer_SSE_for_memop.
67728 * sysdeps/x86_64/multiarch/init-arch.h: Remove
67729 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
67730 HAS_PREFER_SSE_FOR_MEMOP.
67731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
67732 memset-x86-64.
67733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67734 Remove bzero, memset ifunc support.
67735 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
67736 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
67737 * sysdeps/x86_64/multiarch/memset.S: Likewise.
67738 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67739
67740 2013-03-11 Andreas Schwab <schwab@suse.de>
67741
67742 [BZ #15234]
67743 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
67744 by SHLIB_COMPAT.
67745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
67746 (GLIBC_2.16): Remove pthread_atfork.
67747
67748 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
67749
67750 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
67751 (ptestcases.h): Likewise.
67752
67753 2013-03-08 Roland McGrath <roland@hack.frob.com>
67754
67755 * Makeconfig ($(common-objpfx)config.status): Depend on
67756 sysdeps/*/preconfigure{,.in} too.
67757
67758 2013-03-08 Joseph Myers <joseph@codesourcery.com>
67759
67760 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
67761 (__free_hook): Use void * instead of __malloc_ptr_t.
67762 (__malloc_hook): Likewise.
67763 (__realloc_hook): Likewise.
67764 (__memalign_hook): Likewise.
67765 (__after_morecore_hook): Likewise.
67766 * malloc/arena.c (save_malloc_hook): Likewise.
67767 (save_free_hook): Likewise.
67768 * malloc/hooks.c (malloc_hook_ini): Likewise.
67769 (realloc_hook_ini): Likewise.
67770 (memalign_hook_ini): Likewise.
67771 * malloc/malloc.c (malloc_hook_ini): Likewise.
67772 (realloc_hook_ini): Likewise.
67773 (memalign_hook_ini): Likewise.
67774 (__free_hook): Likewise.
67775 (__malloc_hook): Likewise.
67776 (__realloc_hook): Likewise.
67777 (__memalign_hook): Likewise.
67778 (__libc_malloc): Likewise.
67779 (__libc_free): Likewise.
67780 (__libc_realloc): Likewise.
67781 (__libc_memalign): Likewise.
67782 (__libc_valloc): Likewise.
67783 (__libc_pvalloc): Likewise.
67784 (__libc_calloc): Likewise.
67785 (__posix_memalign): Likewise.
67786 * malloc/morecore.c (__sbrk): Likewise.
67787 (__default_morecore): Likewise.
67788
67789 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
67790
67791 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
67792 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
67793 __malloc_ptrdiff_t.
67794
67795 * malloc/malloc.h (__malloc_size_t): Remove macro.
67796 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
67797 __malloc_size_t.
67798 (old_memalign_hook): Likewise.
67799 (old_realloc_hook): Likewise.
67800 (struct hdr): Likewise.
67801 (flood): Likewise.
67802 (mallochook): Likewise.
67803 (memalignhook): Likewise.
67804 (reallochook): Likewise.
67805 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
67806 (tr_old_realloc_hook): Likewise.
67807 (tr_old_memalign_hook): Likewise.
67808 (tr_mallochook): Likewise.
67809 (tr_reallochook): Likewise.
67810 (tr_memalignhook): Likewise.
67811
67812 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67813
67814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
67815 default_ldbl_pack and using as default implementation.
67816 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
67817 implementation.
67818 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
67819 redundant definition.
67820 (ldbl_insert_mantissa): Likewise.
67821 (ldbl_canonicalize): Likewise.
67822 (ldbl_nearbyint): Likewise.
67823 (ldbl_pack): Rename to ldbl_pack_ppc.
67824 (ldbl_unpack): Rename to ldbl_unpack_ppc.
67825 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
67826 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
67827
67828 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
67829
67830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
67831 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
67832 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
67833 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
67834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
67835 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
67836 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
67837 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
67838
67839 2013-03-07 Andreas Jaeger <aj@suse.de>
67840
67841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67842 bits/mman-linux.h.
67843
67844 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
67845
67846 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
67847 Include mpa.h and declare __MPEXP.
67848 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
67849 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67850 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67851 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
67852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67853 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67854 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
67855
67856 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
67857 (__slowpow): Use long double EXPL and LOGL functions to
67858 compute POW.
67859 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67860 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67861 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
67862 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67863 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
67865
67866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
67867 intermediate variable to calculate exponent.
67868 (__sqr): Likewise.
67869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67870 Likewise.
67871 (__sqr): Likewise.
67872
67873 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
67874 [!NO__SQR]: Define __sqr.
67875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
67876 and NO__SQR. Remove all code except __mul and __sqr. Include
67877 sysdeps/ieee754/dbl-64/mpa.c.
67878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67879
67880 [BZ #12723]
67881 * posix/Makefile (tests): Add tst-pathconf.
67882 * posix/tst-pathconf.c: New test case.
67883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
67884 _PC_PIPE_BUF.
67885 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
67886
67887 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
67888
67889 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
67890
67891 2013-03-06 Andreas Jaeger <aj@suse.de>
67892
67893 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
67894 definition via __MAP_ANONYMOUS.
67895
67896 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
67897 it's not part of Linux headers.
67898
67899 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
67900 (MAP_HUGE_MASK): Define.
67901
67902 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67903 Define.
67904 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67905 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67906 Define.
67907 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67908 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67909 Define.
67910 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67911 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
67912 Define.
67913 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67914
67915 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
67916 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
67917 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
67918 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
67919 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
67920 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
67921
67922 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67923 Handle f2fs.
67924
67925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67926 Handle f2fs and efivarfs.
67927
67928 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
67929 f2fs.
67930
67931 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
67932 (EFIVARFS_MAGIC): Add.
67933 (F2FS_LINK_MAX): Add.
67934
67935 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
67936
67937 * stdio-common/vfprintf.c: Replace __builtin_expect with
67938 __glibc_unlikely.
67939
67940 2013-03-06 Joseph Myers <joseph@codesourcery.com>
67941
67942 [BZ #13550]
67943 * sysdeps/generic/bp-sym.h: Remove file.
67944 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
67945 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
67946 <bp-sym.h> and <bp-asm.h>.
67947 (__longjmp): Don't use BP_SYM.
67948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
67949 and <bp-asm.h>.
67950 (memcpy): Don't use BP_SYM.
67951 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
67952 <bp-sym.h> and <bp-asm.h>.
67953 (memcpy): Don't use BP_SYM.
67954 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
67955 <bp-asm.h>.
67956 (memcpy): Don't use BP_SYM.
67957 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
67958 <bp-asm.h>.
67959 (memset): Don't use BP_SYM.
67960 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67961 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67962 (__bzero): Don't use BP_SYM.
67963 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67964 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67965 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
67966 <bp-sym.h> and <bp-asm.h>.
67967 (memcmp): Don't use BP_SYM. Remove comment about bounded
67968 pointers.
67969 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
67970 <bp-sym.h> and <bp-asm.h>.
67971 (memcpy): Don't use BP_SYM.
67972 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
67973 <bp-sym.h> and <bp-asm.h>.
67974 (memset): Don't use BP_SYM.
67975 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67976 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67977 (__bzero): Don't use BP_SYM.
67978 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67979 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67980 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
67981 <bp-sym.h> and <bp-asm.h>.
67982 (strncmp): Don't use BP_SYM. Remove comment about bounded
67983 pointers.
67984 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
67985 <bp-sym.h> and <bp-asm.h>.
67986 (memcpy): Don't use BP_SYM.
67987 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
67988 <bp-sym.h> and <bp-asm.h>.
67989 (memset): Don't use BP_SYM.
67990 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67991 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67992 (__bzero): Don't use BP_SYM.
67993 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67994 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67995 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
67996 <bp-sym.h> and <bp-asm.h>.
67997 (__memchr): Don't use BP_SYM.
67998 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
67999 <bp-sym.h> and <bp-asm.h>.
68000 (memcmp): Don't use BP_SYM. Remove comment about bounded
68001 pointers.
68002 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68003 <bp-sym.h> and <bp-asm.h>.
68004 (memcpy): Don't use BP_SYM.
68005 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68006 <bp-sym.h> and <bp-asm.h>.
68007 (__mempcpy): Don't use BP_SYM.
68008 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68009 <bp-sym.h> and <bp-asm.h>.
68010 (__memrchr): Don't use BP_SYM.
68011 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68012 <bp-sym.h> and <bp-asm.h>.
68013 (memset): Don't use BP_SYM.
68014 (__bzero): Likewise.
68015 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68016 <bp-sym.h> and <bp-asm.h>.
68017 (__rawmemchr): Don't use BP_SYM.
68018 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68019 <bp-sym.h> and <bp-asm.h>.
68020 (__STRCMP): Don't use BP_SYM.
68021 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68022 <bp-sym.h> and <bp-asm.h>.
68023 (strchr): Don't use BP_SYM.
68024 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68025 <bp-sym.h> and <bp-asm.h>.
68026 (__strchrnul): Don't use BP_SYM.
68027 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68028 <bp-sym.h> and <bp-asm.h>.
68029 (strlen): Don't use BP_SYM.
68030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68031 <bp-sym.h> and <bp-asm.h>.
68032 (strncmp): Don't use BP_SYM. Remove comment about bounded
68033 pointers.
68034 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68035 <bp-sym.h> and <bp-asm.h>.
68036 (__strnlen): Don't use BP_SYM.
68037 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68038 <bp-sym.h> and <bp-asm.h>.
68039 (__GI__setjmp): Don't use BP_SYM.
68040 (_setjmp): Likewise.
68041 (__sigsetjmp): Likewise.
68042 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68043 (L(start_addresses)): Don't use BP_SYM.
68044 (_start): Likewise.
68045 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68046 <bp-asm.h>.
68047 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68048 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68049 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68050 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68051 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68052 <bp-asm.h>.
68053 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68054 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
68055 about bounded pointers.
68056 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68057 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68058 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68059 <bp-asm.h>.
68060 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
68061 about bounded pointers. Remove GKM FIXME comments.
68062 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68063 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68064 <bp-asm.h>.
68065 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68066 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
68067 Remove GKM FIXME comments.
68068 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68069 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68070 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68071 <bp-asm.h>.
68072 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
68073 about bounded pointers. Remove GKM FIXME comment.
68074 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68075 and <bp-asm.h>.
68076 (strncmp): Don't use BP_SYM. Remove comment about bounded
68077 pointers.
68078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68079 <bp-sym.h> and <bp-asm.h>.
68080 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68082 <bp-sym.h> and <bp-asm.h>.
68083 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
68084 comment.
68085
68086 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
68087
68088 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68089 call free(NULL).
68090
68091 2013-03-05 David S. Miller <davem@davemloft.net>
68092
68093 * po/es.po: Update from translation team.
68094
68095 2013-03-05 Andreas Jaeger <aj@suse.de>
68096
68097 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68098 <bits/mman-linux.h>.
68099 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68100 is fine.
68101 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68102 <bits/mman-linux.h> to end of file.
68103 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68104 is fine.
68105 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68106 <bits/mman-linux.h> to end of file.
68107 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68108 is fine.
68109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68110 <bits/mman-linux.h> to end of file.
68111
68112 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68113 (MCL_CURRENT, MCL_FUTURE): Define here.
68114
68115 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68116
68117 [BZ #15232]
68118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68119 attribute_hidden.
68120 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68121
68122 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68123
68124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68125 fourth parameter needed for rt_sigprocmask syscall.
68126 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68127 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68128 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68129 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68130 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68131 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68132
68133 2013-03-04 Joseph Myers <joseph@codesourcery.com>
68134
68135 [BZ #13550]
68136 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68137 comment about bounded pointers.
68138 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68139 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68140
68141 2013-03-04 Andreas Jaeger <aj@suse.de>
68142
68143 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68144 common definitions.
68145
68146 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68147 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68148 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68150 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68152
68153 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68154
68155 [BZ #15055]
68156 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68157 __ieee754_sqrl instead of __sqrl.
68158
68159 2013-03-01 Joseph Myers <joseph@codesourcery.com>
68160
68161 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68162 * sysdeps/powerpc/fpu_control.h: ... here.
68163 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68164 * sysdeps/powerpc/bits/fenvinline.h: ... here.
68165 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68166 * sysdeps/powerpc/bits/mathinline.h: ... here.
68167
68168 2013-03-01 Roland McGrath <roland@hack.frob.com>
68169
68170 * elf/dl-hwcaps.c (_dl_important_hwcaps):
68171 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68172 to just [NEED_DL_SYSINFO_DSO].
68173 * elf/dl-support.c: Likewise.
68174 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68175 * elf/rtld.c (dl_main): Likewise.
68176 * elf/setup-vdso.h (setup_vdso): Likewise.
68177 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68178 * sysdeps/unix/sysv/linux/dl-sysdep.c
68179 (_dl_discover_osversion): Likewise.
68180
68181 2013-03-01 Carlos O'Donell <carlos@redhat.com>
68182
68183 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68184 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68185
68186 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
68187
68188 * NEWS: Mention libm performance improvements and non-x86 PI
68189 futex support.
68190
68191 * csu/libc-start.c (__pthread_initialize_minimal): Change
68192 function arguments.
68193 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68194
68195 2013-02-28 Joseph Myers <joseph@codesourcery.com>
68196
68197 [BZ #13550]
68198 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68199 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68200 <bp-sym.h> and <bp-asm.h>.
68201 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68202 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68203 and <bp-asm.h>.
68204 (memcpy): Don't use BP_SYM.
68205 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68206 <bp-asm.h>.
68207 (__mpn_add_n): Don't use BP_SYM.
68208 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68209 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68210 and <bp-asm.h>.
68211 (__mpn_addmul_1): Don't use BP_SYM.
68212 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68213 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68214 <bp-sym.h>.
68215 (_setjmp): Don't use BP_SYM.
68216 (__novmx_setjmp): Likewise.
68217 (__GI__setjmp): Likewise.
68218 (__vmx_setjmp): Likewise.
68219 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68220 <bp-sym.h>.
68221 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68222 (__bzero): Don't use BP_SYM.
68223 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68224 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68225 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68226 <bp-sym.h> and <bp-asm.h>.
68227 (memcpy): Don't use BP_SYM.
68228 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68229 <bp-sym.h> and <bp-asm.h>.
68230 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68231 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68232 <bp-sym.h> and <bp-asm.h>.
68233 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68234 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68235 <bp-asm.h>.
68236 (__mpn_lshift): Don't use BP_SYM.
68237 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68238 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68239 <bp-asm.h>.
68240 (memset): Don't use BP_SYM.
68241 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68242 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68243 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68244 <bp-asm.h>.
68245 (__mpn_mul_1): Don't use BP_SYM.
68246 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68247 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68248 <bp-sym.h> and <bp-asm.h>.
68249 (memcmp): Don't use BP_SYM.
68250 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68251 <bp-sym.h> and <bp-asm.h>.
68252 (memcpy): Don't use BP_SYM.
68253 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68254 <bp-sym.h> and <bp-asm.h>.
68255 (memset): Don't use BP_SYM.
68256 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68257 <bp-sym.h> and <bp-asm.h>.
68258 (strncmp): Don't use BP_SYM.
68259 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68260 <bp-sym.h> and <bp-asm.h>.
68261 (memcpy): Don't use BP_SYM.
68262 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68263 <bp-sym.h> and <bp-asm.h>.
68264 (memset): Don't use BP_SYM.
68265 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68266 <bp-sym.h> and <bp-asm.h>.
68267 (__memchr): Don't use BP_SYM.
68268 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68269 <bp-sym.h> and <bp-asm.h>.
68270 (memcmp): Don't use BP_SYM.
68271 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68272 <bp-sym.h> and <bp-asm.h>.
68273 (memcpy): Don't use BP_SYM.
68274 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68275 <bp-sym.h> and <bp-asm.h>.
68276 (__mempcpy): Don't use BP_SYM.
68277 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68278 <bp-sym.h> and <bp-asm.h>.
68279 (__memrchr): Don't use BP_SYM.
68280 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68281 <bp-sym.h> and <bp-asm.h>.
68282 (memset): Don't use BP_SYM.
68283 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68284 <bp-sym.h> and <bp-asm.h>.
68285 (__rawmemchr): Don't use BP_SYM.
68286 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68287 <bp-sym.h> and <bp-asm.h>.
68288 (__STRCMP): Don't use BP_SYM.
68289 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68290 <bp-sym.h> and <bp-asm.h>.
68291 (strchr): Don't use BP_SYM.
68292 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68293 <bp-sym.h> and <bp-asm.h>.
68294 (__strchrnul): Don't use BP_SYM.
68295 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68296 <bp-sym.h> and <bp-asm.h>.
68297 (strlen): Don't use BP_SYM.
68298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68299 <bp-sym.h> and <bp-asm.h>.
68300 (strncmp): Don't use BP_SYM.
68301 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68302 <bp-sym.h> and <bp-asm.h>.
68303 (__strnlen): Don't use BP_SYM.
68304 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68305 <bp-asm.h>.
68306 (__mpn_rshift): Don't use BP_SYM.
68307 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68308 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68309 <bp-sym.h> and <bp-asm.h>.
68310 (__sigsetjmp): Don't use BP_SYM.
68311 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68312 (L(start_addresses)): Don't use BP_SYM.
68313 (_start): Likewise.
68314 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68315 <bp-asm.h>.
68316 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68317 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68318 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68319 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68320 <bp-asm.h>.
68321 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68322 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68323 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68324 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68325 <bp-asm.h>.
68326 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
68327 comments.
68328 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68329 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68330 <bp-asm.h>.
68331 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
68332 FIXME comments.
68333 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68334 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68335 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68336 <bp-asm.h>.
68337 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
68338 comment.
68339 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68340 and <bp-asm.h>.
68341 (strncmp): Don't use BP_SYM,
68342 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68343 <bp-asm.h>.
68344 (__mpn_sub_n): Don't use BP_SYM.
68345 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68346 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68347 and <bp-asm.h>.
68348 (__mpn_submul_1): Don't use BP_SYM.
68349 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68351 <bp-sym.h> and <bp-asm.h>.
68352 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68354 <bp-sym.h> and <bp-asm.h>.
68355 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
68356 comment.
68357
68358 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68359
68360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68361 Use ZK to minimize writes to Z.
68362 (sub_magnitudes): Simplify code a bit.
68363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68364 Use ZK to minimize writes to Z.
68365 (sub_magnitudes): Simplify code a bit.
68366
68367 2013-02-27 Roland McGrath <roland@hack.frob.com>
68368
68369 * csu/gmon-start.c: Add special exception to license text.
68370
68371 2013-02-27 Richard Henderson <rth@redhat.com>
68372
68373 * scripts/config.guess: Update from config.git.
68374 * scripts/config.sub: Likewise.
68375
68376 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
68377
68378 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68379
68380 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68381
68382 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68383
68384 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68385
68386 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68387
68388 2013-02-26 Roland McGrath <roland@hack.frob.com>
68389
68390 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68391 [$(build-shared = yes].
68392
68393 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68394
68395 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68396 (__mul): Reduce iterations for calculating mantissa.
68397
68398 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68399 MPTWO.
68400 (__mpranred): Likewise.
68401
68402 [BZ #15160]
68403 * malloc/memusagestat.c (main): Draw graphs for heap and stack
68404 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68405
68406 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
68407
68408 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68409 Define __attribute__.
68410
68411 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68412
68413 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68414 unused.
68415 * posix/regex_internal.h (__attribute): Remove.
68416 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68417 (re_string_context_at): Likewise.
68418 (bitset_not): Use __attribute__ and mark function as possibly
68419 unused.
68420 (bitset_merge): Likewise.
68421 (bitset_mask): Likewise.
68422 (re_string_char_size_at): Likewise.
68423 (re_string_wchar_at): Likewise.
68424 (re_string_elem_size_at): Likewise.
68425
68426 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
68427
68428 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68429 code.
68430 (cc32): Likewise.
68431
68432 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68433 (__acr): Likewise.
68434 (__cpy): Likewise.
68435 (norm): Likewise.
68436 (denorm): Likewise.
68437 (__dbl_mp): Likewise.
68438 (add_magnitudes): Likewise.
68439 (sub_magnitudes): Likewise.
68440 (__mul): Likewise.
68441 (__inv): Likewise.
68442
68443 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68444 style.
68445
68446 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68447 style.
68448
68449 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68450 code.
68451
68452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68453 up changes with default code.
68454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68455 Likewise.
68456
68457 2013-02-24 Allan McRae <allan@archlinux.org>
68458
68459 * manual/socket.texi (The Internet Namespace): Order menu items
68460 to match that in the file.
68461
68462 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68463 node listing of the info page menu.
68464
68465 2013-02-21 Joseph Myers <joseph@codesourcery.com>
68466
68467 [BZ #13550]
68468 * sysdeps/i386/bp-asm.h: Remove file.
68469 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68470 (PARMS): Do not use macros from bp-asm.h.
68471 (S1): Likewise.
68472 (S2): Likewise.
68473 (SIZE): Likewise.
68474 (__mpn_add_n): Do not use BP_SYM
68475 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68476 "bp-asm.h".
68477 (PARMS): Do not use macros from bp-asm.h.
68478 (S1): Likewise.
68479 (SIZE): Likewise.
68480 (__mpn_addmul_1): Do not use BP_SYM
68481 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68482 "bp-asm.h".
68483 (PARMS): Do not use macros from bp-asm.h.
68484 (SIGMSK): Likewise.
68485 (_setjmp): Likewise. Do not use BP_SYM.
68486 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68487 "bp-asm.h".
68488 (PARMS): Do not use macros from bp-asm.h.
68489 (SIGMSK): Likewise.
68490 (setjmp): Likewise. Do not use BP_SYM.
68491 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68492 "bp-asm.h".
68493 (PARMS): Do not use macros from bp-asm.h.
68494 (__frexp): Do not use BP_SYM.
68495 (frexp): Likewise.
68496 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68497 "bp-asm.h".
68498 (PARMS): Do not use macros from bp-asm.h.
68499 (__frexpf): Do not use BP_SYM.
68500 (frexpf): Likewise.
68501 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68502 "bp-asm.h".
68503 (PARMS): Do not use macros from bp-asm.h.
68504 (__frexpl): Do not use BP_SYM.
68505 (frexpl): Likewise.
68506 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68507 "bp-asm.h".
68508 (PARMS): Do not use macros from bp-asm.h.
68509 (__remquo): Do not use BP_SYM.
68510 (remquo): Likewise.
68511 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68512 "bp-asm.h".
68513 (PARMS): Do not use macros from bp-asm.h.
68514 (__remquof): Do not use BP_SYM.
68515 (remquof): Likewise.
68516 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68517 "bp-asm.h".
68518 (PARMS): Do not use macros from bp-asm.h.
68519 (__remquol): Do not use BP_SYM.
68520 (remquol): Likewise.
68521 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68522 "bp-asm.h".
68523 (PARMS): Do not use macros from bp-asm.h.
68524 (DEST): Likewise.
68525 (SRC): Likewise.
68526 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
68527 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68528 "bp-asm.h".
68529 (PARMS): Do not use macros from bp-asm.h.
68530 (strlen): Do not use BP_SYM.
68531 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68532 "bp-asm.h".
68533 (PARMS): Do not use macros from bp-asm.h.
68534 (S1): Likewise.
68535 (S2): Likewise.
68536 (SIZE): Likewise.
68537 (__mpn_add_n): Do not use BP_SYM.
68538 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68539 "bp-asm.h".
68540 (PARMS): Do not use macros from bp-asm.h.
68541 (S1): Likewise.
68542 (SIZE): Likewise.
68543 (__mpn_addmul_1): Do not use BP_SYM.
68544 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68545 weak_alias.
68546 (bzero): Likewise.
68547 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68548 "bp-asm.h".
68549 (PARMS): Do not use macros from bp-asm.h.
68550 (S): Likewise.
68551 (SIZE): Likewise.
68552 (__mpn_lshift): Do not use BP_SYM.
68553 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68554 "bp-asm.h".
68555 (PARMS): Do not use macros from bp-asm.h.
68556 (DEST): Likewise.
68557 (SRC): Likewise.
68558 (LEN): Likewise.
68559 (memcpy): Likewise. Do not use BP_SYM.
68560 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68561 libc_hidden_def and weak_alias.
68562 (mempcpy): Do not use BP_SYM in weak_alias.
68563 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68564 "bp-asm.h".
68565 (PARMS): Do not use macros from bp-asm.h.
68566 (DEST): Likewise.
68567 (LEN): Likewise.
68568 [!BZERO_P] (CHR): Likewise.
68569 (memset): Likewise. Do not use BP_SYM.
68570 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68571 "bp-asm.h".
68572 (PARMS): Do not use macros from bp-asm.h.
68573 (S1): Likewise.
68574 (SIZE): Likewise.
68575 (__mpn_mul_1): Do not use BP_SYM.
68576 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68577 "bp-asm.h".
68578 (PARMS): Do not use macros from bp-asm.h.
68579 (S): Likewise.
68580 (SIZE): Likewise.
68581 (__mpn_rshift): Do not use BP_SYM.
68582 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68583 "bp-asm.h".
68584 (PARMS): Do not use macros from bp-asm.h.
68585 (STR): Likewise.
68586 (CHR): Likewise.
68587 (strchr): Likewise. Do not use BP_SYM.
68588 (index): Do not use BP_SYM in weak_alias.
68589 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68590 "bp-asm.h".
68591 (PARMS): Do not use macros from bp-asm.h.
68592 (DEST): Likewise.
68593 (SRC): Likewise.
68594 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
68595 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68596 "bp-asm.h".
68597 (PARMS): Do not use macros from bp-asm.h.
68598 (strlen): Do not use BP_SYM.
68599 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68600 "bp-asm.h".
68601 (PARMS): Do not use macros from bp-asm.h.
68602 (S1): Likewise.
68603 (S2): Likewise.
68604 (SIZE): Likewise.
68605 (__mpn_sub_n): Do not use BP_SYM.
68606 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68607 "bp-asm.h".
68608 (PARMS): Do not use macros from bp-asm.h.
68609 (S1): Likewise.
68610 (SIZE): Likewise.
68611 (__mpn_submul_1): Do not use BP_SYM.
68612 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68613 "bp-asm.h".
68614 (PARMS): Do not use macros from bp-asm.h.
68615 (S1): Likewise.
68616 (S2): Likewise.
68617 (SIZE): Likewise.
68618 (__mpn_add_n): Do not use BP_SYM.
68619 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68620 weak_alias.
68621 (bzero): Likewise.
68622 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68623 "bp-asm.h".
68624 (PARMS): Do not use macros from bp-asm.h.
68625 (BLK2): Likewise.
68626 (LEN): Likewise.
68627 (memcmp): Do not use BP_SYM.
68628 (bcmp): Do not use BP_SYM in weak_alias.
68629 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68630 "bp-asm.h".
68631 (PARMS): Do not use macros from bp-asm.h.
68632 (DEST): Likewise.
68633 (SRC): Likewise.
68634 (LEN): Likewise.
68635 (memcpy): Likewise. Do not use BP_SYM.
68636 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68637 "bp-asm.h".
68638 (PARMS): Do not use macros from bp-asm.h.
68639 (DEST): Likewise.
68640 (SRC): Likewise.
68641 (LEN): Likewise.
68642 (memmove): Likewise. Do not use BP_SYM.
68643 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68644 "bp-asm.h".
68645 (PARMS): Do not use macros from bp-asm.h.
68646 (DEST): Likewise.
68647 (SRC): Likewise.
68648 (LEN): Likewise.
68649 (__mempcpy): Likewise. Do not use BP_SYM.
68650 (mempcpy): Do not use BP_SYM in weak_alias.
68651 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68652 "bp-asm.h".
68653 (PARMS): Do not use macros from bp-asm.h.
68654 (DEST): Likewise.
68655 (LEN): Likewise.
68656 [!BZERO_P] (CHR): Likewise.
68657 (memset): Likewise. Do not use BP_SYM.
68658 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68659 "bp-asm.h".
68660 (PARMS): Do not use macros from bp-asm.h.
68661 (STR2): Likewise.
68662 (strcmp): Do not use BP_SYM.
68663 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68664 "bp-asm.h".
68665 (PARMS): Do not use macros from bp-asm.h.
68666 (STR): Likewise.
68667 (DELIM): Likewise.
68668 [USE_AS_STRTOK_R] (SAVE): Likewise.
68669 (FUNCTION): Likewise. Do not use BP_SYM.
68670 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68671 aliases.
68672 (strtok_r): Likewise.
68673 (__GI___strtok_r): Likewise.
68674 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68675 (PARMS): Do not use macros from bp-asm.h.
68676 (S): Likewise.
68677 (SIZE): Likewise.
68678 (__mpn_lshift): Do not use BP_SYM.
68679 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68680 (PARMS): Do not use macros from bp-asm.h.
68681 (STR): Likewise.
68682 (CHR): Likewise.
68683 (__memchr): Do not use BP_SYM.
68684 (memchr): Do not use BP_SYM in weak_alias.
68685 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68686 (PARMS): Do not use macros from bp-asm.h.
68687 (BLK2): Likewise.
68688 (LEN): Likewise.
68689 (memcmp): Do not use BP_SYM.
68690 (bcmp): Do not use BP_SYM in weak_alias.
68691 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68692 (PARMS): Do not use macros from bp-asm.h.
68693 (S1): Likewise.
68694 (SIZE): Likewise.
68695 (__mpn_mul_1): Do not use BP_SYM.
68696 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68697 "bp-asm.h".
68698 (PARMS): Do not use macros from bp-asm.h.
68699 (STR): Likewise.
68700 (CHR): Likewise.
68701 (__rawmemchr): Do not use BP_SYM.
68702 (rawmemchr): Do not use BP_SYM in weak_alias.
68703 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68704 (PARMS): Do not use macros from bp-asm.h.
68705 (S): Likewise.
68706 (SIZE): Likewise.
68707 (__mpn_rshift): Do not use BP_SYM.
68708 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68709 (PARMS): Do not use macros from bp-asm.h.
68710 (SIGMSK): Likewise.
68711 (__sigsetjmp): Likewise. Do not use BP_SYM.
68712 * sysdeps/i386/start.S: Do not include "bp-sym.h".
68713 (_start): Do not use BP_SYM.
68714 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68715 (PARMS): Do not use macros from bp-asm.h.
68716 (DEST): Likewise.
68717 (SRC): Likewise.
68718 (__stpcpy): Likewise. Do not use BP_SYM.
68719 (stpcpy): Do not use BP_SYM in weak_alias.
68720 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
68721 "bp-asm.h".
68722 (PARMS): Do not use macros from bp-asm.h.
68723 (DEST): Likewise.
68724 (SRC): Likewise.
68725 (LEN): Likewise.
68726 (__stpncpy): Likewise. Do not use BP_SYM.
68727 (stpncpy): Do not use BP_SYM in weak_alias.
68728 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68729 (PARMS): Do not use macros from bp-asm.h.
68730 (STR): Likewise.
68731 (CHR): Likewise.
68732 (strchr): Likewise. Do not use BP_SYM.
68733 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
68734 "bp-asm.h".
68735 (PARMS): Do not use macros from bp-asm.h.
68736 (STR): Likewise.
68737 (CHR): Likewise.
68738 (__strchrnul): Likewise. Do not use BP_SYM.
68739 (strchrnul): Do not use BP_SYM in weak_alias.
68740 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
68741 "bp-asm.h".
68742 (PARMS): Do not use macros from bp-asm.h.
68743 (STOP): Likewise.
68744 (strcspn): Do not use BP_SYM.
68745 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
68746 "bp-asm.h".
68747 (PARMS): Do not use macros from bp-asm.h.
68748 (STR): Likewise.
68749 (STOP): Likewise.
68750 (strpbrk): Likewise. Do not use BP_SYM.
68751 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
68752 "bp-asm.h".
68753 (PARMS): Do not use macros from bp-asm.h.
68754 (STR): Likewise.
68755 (CHR): Likewise.
68756 (strrchr): Likewise. Do not use BP_SYM.
68757 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
68758 (PARMS): Do not use macros from bp-asm.h.
68759 (SKIP): Likewise.
68760 (strspn): Do not use BP_SYM.
68761 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
68762 (PARMS): Do not use macros from bp-asm.h.
68763 (STR): Likewise.
68764 (DELIM): Likewise.
68765 (SAVE): Likewise.
68766 (FUNCTION): Likewise. Do not use BP_SYM.
68767 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
68768 aliases.
68769 (strtok_r): Likewise.
68770 (__GI___strtok_r): Likewise.
68771 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68772 (PARMS): Do not use macros from bp-asm.h.
68773 (S1): Likewise.
68774 (S2): Likewise.
68775 (SIZE): Likewise.
68776 (__mpn_sub_n): Do not use BP_SYM.
68777 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
68778 "bp-asm.h".
68779 (PARMS): Do not use macros from bp-asm.h.
68780 (S1): Likewise.
68781 (SIZE): Likewise.
68782 (__mpn_submul_1): Do not use BP_SYM.
68783 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
68784 <bp-sym.h>.
68785 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
68786 and <bp-asm.h>.
68787 (PARMS): Do not use macros from bp-asm.h.
68788 (FLAGS): Likewise.
68789 (PTID): Likewise.
68790 (TLS): Likewise.
68791 (CTID): Likewise.
68792 (__clone): Do not use BP_SYM.
68793 (clone): Do not use BP_SYM in weak_alias.
68794 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
68795 and <bp-asm.h>.
68796 (PARMS): Do not use macros from bp-asm.h.
68797 (LEN): Likewise.
68798 (__mmap64): Do not use BP_SYM.
68799 (mmap64): Do not use BP_SYM in weak_alias.
68800 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68801 <bp-sym.h> and <bp-asm.h>.
68802 (PARMS): Do not use macros from bp-asm.h.
68803 (__posix_fadvise64_l64): Do not use BP_SYM.
68804 * sysdeps/unix/sysv/linux/i386/semtimedop.S
68805 (PARMS): Do not use macros from bp-asm.h.
68806 (NSOPS): Likewise.
68807 (semtimedop): Do not use BP_SYM.
68808 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
68809 and <bp-asm.h>.
68810
68811 2013-02-21 Allan McRae <allan@archlinux.org>
68812
68813 * manual/message.texi (Charset conversion in gettext):
68814 Move @end statement to beginning of line.
68815
68816 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68817
68818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
68819 static.
68820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68821 Likewise.
68822
68823 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
68824 (denorm): Likewise.
68825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
68826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
68827
68828 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68829
68830 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
68831 tail-call to the resolved function if pltexit isn't needed.
68832
68833 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68834
68835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
68836 or Y being zero as being unlikely.
68837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68838 Likewise.
68839
68840 2013-02-20 Carlos O'Donell <carlos@redhat.com>
68841
68842 * manual/nss.texi (System Databases and Name Service Switch):
68843 Remove frobnicate @pxref.
68844
68845 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
68846
68847 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68848 __attribute__ ((unused)) to __attribute__ ((__unused__)).
68849
68850 2013-02-20 Petr Machata <pmachata@redhat.com>
68851
68852 * elf/elf.h (R_ARM_TARGET1): New macro.
68853 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
68854 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
68855 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
68856 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
68857 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
68858 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
68859 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
68860 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
68861 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
68862 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
68863 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
68864 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
68865 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
68866 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
68867 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
68868 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
68869 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
68870 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
68871 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
68872 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
68873 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
68874 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
68875 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
68876 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
68877 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
68878 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
68879 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
68880 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
68881 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
68882 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
68883 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
68884 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
68885 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
68886 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
68887 (R_ARM_THM_GOT_BREL12): Likewise.
68888 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
68889 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
68890 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
68891 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
68892 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
68893 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
68894 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
68895 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
68896 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
68897
68898 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
68899
68900 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68901 __attribute_used__ to __attribute__ ((unused)).
68902
68903 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
68904
68905 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
68906 powerpc mpa.c.
68907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
68908 comment formatting.
68909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
68910
68911 2013-02-19 Joseph Myers <joseph@codesourcery.com>
68912
68913 [BZ #13550]
68914 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
68915 Remove macro.
68916 (ENTER): Remove both macro definitions.
68917 (LEAVE): Likewise.
68918 (CHECK_BOUNDS_LOW): Likewise.
68919 (CHECK_BOUNDS_HIGH): Likewise.
68920 (CHECK_BOUNDS_BOTH): Likewise.
68921 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
68922 (RETURN_BOUNDED_POINTER): Likewise.
68923 (RETURN_NULL_BOUNDED_POINTER): Likewise.
68924 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
68925 (POP_ERRNO_LOCATION_RETURN): Likewise.
68926 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
68927 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68928 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
68929 macros.
68930 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68931 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
68932 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
68933 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
68934 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
68935 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
68936 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
68937 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
68938 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
68939 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
68940 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
68941 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
68942 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68943 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
68944 removed macros.
68945 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68946 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
68947 macros.
68948 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68949 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
68950 * sysdeps/i386/i586/memset.S (memset): Likewise.
68951 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
68952 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68953 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
68954 macros.
68955 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68956 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
68957 Change uses of L(2) to L(out).
68958 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
68959 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
68960 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
68961 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68962 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
68963 removed macros.
68964 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68965 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
68966 macros.
68967 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68968 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
68969 (RETURN): Do not use macro LEAVE.
68970 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
68971 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
68972 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
68973 * sysdeps/i386/i686/memset.S (memset): Likewise.
68974 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
68975 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
68976 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68977 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
68978 Likewise.
68979 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68980 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
68981 L(1_2) and L(1_3) into L(1).
68982 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68983 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
68984 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68985 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
68986 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68987 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
68988 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
68989 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68990 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
68991 macros.
68992 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
68993 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68994 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
68995 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
68996 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
68997 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68998 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
68999 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69000 * sysdeps/i386/strcspn.S (strcspn): Likewise.
69001 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69002 * sysdeps/i386/strrchr.S (strrchr): Likewise.
69003 * sysdeps/i386/strspn.S (strspn): Likewise.
69004 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69005 conditional code.
69006 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69007 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69008 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69009 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
69010 L(1_3) into L(1_1).
69011 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69012 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69013 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69014 macros.
69015 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69016
69017 2013-02-19 Jakub Jelinek <jakub@redhat.com>
69018
69019 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69020 macro.
69021
69022 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69023
69024 * math/atest-exp.c (exp_mpn): Remove ROUND.
69025 * math/atest-exp2.c (exp_mpn): Likewise.
69026 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69027
69028 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69029 * stdlib/tst-tls-atexit-lib.c: Likewise.
69030 * stdlib/tst-tls-atexit.c: Likewise.
69031
69032 2013-02-18 Mike Frysinger <vapier@gentoo.org>
69033
69034 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69035 and __attribute_alloc_size__.
69036
69037 2013-02-18 Mike Frysinger <vapier@gentoo.org>
69038
69039 * include/programs/xmalloc.h: Change __attribute_alloc_size to
69040 __attribute_alloc_size__.
69041 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69042 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69043
69044 2013-02-18 Mike Frysinger <vapier@gentoo.org>
69045
69046 * include/programs/xmalloc.h: New file.
69047 * catgets/gencat.c: Include it.
69048 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69049 * elf/pldd.c: Likewise.
69050 * iconv/iconv_charmap.c: Likewise.
69051 * iconv/iconvconfig.c: Likewise.
69052 * iconv/strtab.c: Likewise.
69053 * locale/programs/locale.c: Likewise.
69054 * locale/programs/localedef.h: Likewise.
69055 * locale/programs/simple-hash.c: Likewise.
69056 * nscd/nscd.h: Likewise.
69057 * nss/makedb.c: Likewise.
69058 * sysdeps/generic/ldconfig.h: Likewise.
69059
69060 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
69061
69062 * Versions.def: Add GLIBC_2.18.
69063 * include/link.h (struct link_map): New member l_tls_dtor_count.
69064 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69065 (__call_tls_dtors): Likewise.
69066 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69067 __cxa_thread_atexit_impl.
69068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69069 Likewise.
69070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69071 Likewise.
69072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69073 Likewise.
69074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69075 Likewise.
69076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69078 Likewise.
69079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69080 Likewise.
69081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69083 Likewise.
69084 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69085 (tests): Add test case tst-tls-atexit.
69086 (modules-names): Add shared library for tst-tls-atexit.
69087 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69088 (GLIBC_PRIVATE): Add __call_tls_dtors.
69089 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69090 for libstdc++.
69091 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69092 * stdlib/tst-tls-atexit.c: New test case.
69093 * stdlib/tst-tls-atexit-lib.c: New test case.
69094
69095 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69096
69097 * elf/Versions (ld): Add _dl_find_dso_for_object.
69098 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69099 * elf/dl-open.c (_dl_find_dso_for_object): New function.
69100 (dl_open_worker): Use _dl_find_dso_for_object.
69101 * elf/dl-sym.c (do_sym): Likewise.
69102 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69103
69104 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69105
69106 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69107 Syntactic changes only.
69108 (_dl_runtime_profile): Do a tail-call to the resolved function.
69109
69110 2013-02-17 Joseph Myers <joseph@codesourcery.com>
69111
69112 [BZ #13550]
69113 * sysdeps/x86_64/bp-asm.h: Remove file.
69114 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69115 <bp-sym.h> and <bp-asm.h>.
69116 (__clone): Do not use BP_SYM.
69117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69118 <bp-sym.h> and <bp-asm.h>.
69119 * sysdeps/unix/x86_64/sysdep.S: Likewise.
69120 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69121 "bp-asm.h".
69122 (_setjmp): Do not use BP_SYM.
69123 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69124 "bp-asm.h".
69125 (setjmp): Do not use BP_SYM.
69126 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69127 libc_hidden_def.
69128 (mempcpy): Do not use BP_SYM in weak_alias.
69129 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69130 "bp-asm.h".
69131 (strchr): Do not use BP_SYM.
69132 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69133 "bp-asm.h".
69134 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69135 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69136 (_start): Do not use BP_SYM.
69137 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69138 "bp-asm.h".
69139 (strcat): Do not use BP_SYM.
69140 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69141 "bp-asm.h".
69142 (STRCMP): Do not use BP_SYM.
69143 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69144 "bp-asm.h".
69145 (STRCPY): Do not use BP_SYM.
69146 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69147 "bp-asm.h".
69148 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69149 "bp-asm.h".
69150 (FUNCTION): Do not use BP_SYM.
69151 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69152 weak_alias.
69153 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69154
69155 2013-02-17 Andreas Jaeger <aj@suse.de>
69156
69157 * time/Versions: Sort entries.
69158 * string/Versions: Likewise.
69159 * resolv/Versions: Likewise.
69160 * posix/Versions: Likewise.
69161 * iconv/Versions: Likewise.
69162 * elf/Versions: Likewise.
69163 * wcsmbs/Versions: Likewise.
69164
69165 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69166
69167 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69168 loop termination condition.
69169
69170 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69171 variable to calculate EZ.
69172 (__sqr): Likewise.
69173
69174 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69175 the lower precision input.
69176
69177 2013-02-15 Joseph Myers <joseph@codesourcery.com>
69178
69179 [BZ #13550]
69180 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69181 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69182 (run-via-rtld-prefix): Do not handle %-bp tests.
69183 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69184 (all-object-suffixes): Remove .ob.
69185 (bppfx): Remove variable.
69186 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69187 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69188 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69189 [$(build-bounded) = yes] (libtype.ob): Likewise.
69190 * Makerules (elide-routines.ob): Remove variable.
69191 (do-tests-clean): Do not handle *-bp.out.
69192 (common-mostlyclean): Do not handle *-bp and *-bp.out.
69193 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69194 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69195 (tests): Do not include $(tests-bp.out).
69196 (xtests): Do not include $(xtests-bp.out).
69197 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69198 [$(build-bounded) = yes] ($(addprefix
69199 $(objpfx),$(binaries-bounded))): Remove rule.
69200 ($(objpfx)%-bp.out): Remove rule.
69201 * config.make.in (build-bounded): Remove variable.
69202 * crypt/Makefile [$(build-bounded) = yes]
69203 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69204 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69205 append to variable.
69206 [$(build-bounded) = yes] (install-lib): Likewise.
69207 [$(build-bounded) = yes] (generated): Likewise.
69208 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69209 Remove rule.
69210 * intl/Makefile [$(build-bounded) = yes]
69211 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69212 * math/Makefile [$(build-bounded) = yes]
69213 ($(tests:%=$(objpfx)%-bp): Likewise.
69214 * misc/Makefile [$(build-bounded) = yes]
69215 ($(objpfx)tst-tsearch-bp): Likewise.
69216 * nptl/Makeconfig (bounded-thread-library): Remove variable.
69217 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69218 Remove dependency.
69219 * string/Makefile (o-objects.ob): Remove variable.
69220 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69221 (CFLAGS-.ob): Remove variable.
69222 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69223 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69224 both definitions of variable.
69225 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69226 (ASFLAGS-.ob): Remove variable.
69227
69228 2013-02-14 Joseph Myers <joseph@codesourcery.com>
69229
69230 [BZ #13550]
69231 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69232 Remove __BOUNDED_POINTERS__ from condition.
69233 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69234 * string/bits/string2.h [!__NO_STRING_INLINES &&
69235 !__BOUNDED_POINTERS__]: Likewise.
69236 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69237 Likewise.
69238 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69239 Remove conditional code.
69240 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69241 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69242 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69243 condition.
69244
69245 [BZ #13550]
69246 * csu/libc-start.c: Do not include <bp-sym.h>.
69247 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69248 * elf/dl-open.c: Do not include <bp-sym.h>.
69249 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69250 * math/fegetenv.c: Do not include <bp-sym.h>.
69251 (fegetenv): Do not use BP_SYM in versioned symbols.
69252 * nptl/sysdeps/pthread/bits/libc-lockP.h
69253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69254 <bp-sym.h>.
69255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69256 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69258 (__pthread_mutex_destroy): Likewise.
69259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69260 (__pthread_mutex_lock): Likewise.
69261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69262 (__pthread_mutex_trylock): Likewise.
69263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69264 (__pthread_mutex_unlock): Likewise.
69265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69266 (__pthread_mutexattr_init): Likewise.
69267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69268 (__pthread_mutexattr_destroy): Likewise.
69269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69270 (__pthread_mutexattr_settype): Likewise.
69271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69272 (__pthread_rwlock_init): Likewise.
69273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69274 (__pthread_rwlock_destroy): Likewise.
69275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69276 (__pthread_rwlock_rdlock): Likewise.
69277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69278 (__pthread_rwlock_tryrdlock): Likewise.
69279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69280 (__pthread_rwlock_wrlock): Likewise.
69281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69282 (__pthread_rwlock_trywrlock): Likewise.
69283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69284 (__pthread_rwlock_unlock): Likewise.
69285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69286 (__pthread_key_create): Likewise.
69287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69288 (__pthread_setspecific): Likewise.
69289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69290 (__pthread_getspecific): Likewise.
69291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69292 Likewise.
69293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69294 (_pthread_cleanup_push_defer): Likewise.
69295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69296 (_pthread_cleanup_pop_restore): Likewise.
69297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69298 (pthread_setcancelstate): Likewise.
69299 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69300 <bp-sym.h>.
69301 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69302 (memchr): Do not use BP_SYM in weak_alias.
69303 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69304 (fegetenv): Do not use BP_SYM in versioned symbols.
69305 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69306 (fesetenv): Do not use BP_SYM in versioned symbols.
69307 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69308 (feupdateenv): Do not use BP_SYM in versioned symbols.
69309 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69310 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69311 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69312 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69313 (open64): Do not use BP_SYM in weak_alias.
69314 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69315 (fegetenv): Do not use BP_SYM in versioned symbols.
69316 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69317 (fesetenv): Do not use BP_SYM in versioned symbols.
69318 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69319 (feupdateenv): Do not use BP_SYM in versioned symbols.
69320 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69321 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69322 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69323 (feraiseexcept): Do not use BP_SYM in versioned symbols.
69324 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69325 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69326 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69327 <bp-sym.h>.
69328 (__libc_start_main): Do not use BP_SYM.
69329
69330 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69331
69332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69333 redundant return line.
69334 (norm): Likewise.
69335 (denorm): Likewise.
69336 (dbl_mp): Likewise.
69337 (sub_magnitudes): Likewise.
69338 (__add): Likewise.
69339 (__sub): Likewise.
69340 (__mul): Likewise.
69341 (__inv): Likewise.
69342 (__dvd): Likewise.
69343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69344 (norm): Likewise.
69345 (denorm): Likewise.
69346 (dbl_mp): Likewise.
69347 (sub_magnitudes): Likewise.
69348 (__add): Likewise.
69349 (__sub): Likewise.
69350 (__mul): Likewise.
69351 (__inv): Likewise.
69352 (__dvd): Likewise.
69353
69354 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69355 instead of __mul.
69356 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69357 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69358 (cc32): Likewise.
69359
69360 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69361 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69363 of __mul for squares.
69364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69365 function
69366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69367 Likewise.
69368 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69369 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69370
69371 2013-02-13 Joseph Myers <joseph@codesourcery.com>
69372
69373 [BZ #13550]
69374 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69375 code.
69376 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69377 prototype or function definition. Rename ubp_* variables and
69378 parameters. Remove argv definitions conditional on
69379 [__BOUNDED_POINTERS__].
69380 * debug/backtrace.c (__backtrace): Do not use __unbounded.
69381 * elf/dl-runtime.c (_dl_fixup): Likewise.
69382 * include/set-hooks.h (RUN_HOOK): Likewise.
69383 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69384 definition.
69385 * string/strcpy.c (strcpy): Do not use __unbounded.
69386 * sysdeps/generic/frame.h (struct layout): Likewise.
69387 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69388 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69389 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69390 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69391 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69392 (__backtrace): Likewise.
69393 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69394 use __ptrvalue.
69395 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69396 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69397 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69398 Likewise.
69399 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69400 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69401 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69402 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69403 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69404 Do not use __unbounded.
69405 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69406 Rename __unboundedrlimits parameter to rlimits in prototype.
69407 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69408 Do not use __unbounded.
69409 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69410 not use __ptrvalue.
69411 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69412 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69413 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69414 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69415 __ptrvalue or __unbounded.
69416 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69417 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69418 use __unbounded.
69419 (__new_msgctl): Do not use __ptrvalue.
69420 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69421 __unbounded.
69422 (__libc_msgrcv): Do not use __ptrvalue.
69423 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69424 startup_info): Do not use __unbounded.
69425 (__libc_start_main): Likewise. Rename ubp_* variables and
69426 parameters. Remove argv definitions conditional on
69427 [__BOUNDED_POINTERS__].
69428 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69429 __ptrvalue.
69430 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69431 use __unbounded.
69432 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69433 or __ptrvalue.
69434 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69435 use __unbounded.
69436 (__new_shmctl): Do not use __ptrvalue.
69437 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69438 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69439 Likewise.
69440 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69441 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69442 (__libc_sigaction): Likewise.
69443 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69444 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69445 Likewise.
69446 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69447
69448 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
69449
69450 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69451
69452 * string/mempcpy.c: Implement by calling memcpy.
69453
69454 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
69455
69456 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69457
69458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69459 evaluation.
69460
69461 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69462 values in the mantissa.
69463
69464 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69465 minimize writes to Z.
69466 (sub_magnitudes): Simplify code a bit.
69467
69468 2013-02-12 Roland McGrath <roland@hack.frob.com>
69469
69470 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69471 from the message. The linker prefixes all warnings with that already.
69472
69473 2013-02-12 Andreas Schwab <schwab@suse.de>
69474
69475 [BZ #15078]
69476 * posix/regexec.c (extend_buffers): Add parameter min_len.
69477 (check_matching): Pass minimum needed length.
69478 (clean_state_log_if_needed): Likewise.
69479 (get_subexp): Likewise.
69480 * posix/Makefile (tests): Add bug-regex34.
69481 (bug-regex34-ENV): Define.
69482 * posix/bug-regex34.c: New file.
69483
69484 [BZ #11561]
69485 * posix/regcomp.c (parse_bracket_exp): When looking up collating
69486 elements compare against the byte sequence of it, not its name.
69487 * posix/Makefile (tests): Add bug-regex35.
69488 (bug-regex35-ENV): Define.
69489 * posix/bug-regex35.c: New file.
69490
69491 2013-02-11 Tom de Vries <tom@codesourcery.com>
69492
69493 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
69494 comment.
69495 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69496 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69497 (CHECK_EOL): Add undef.
69498
69499 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
69500
69501 * bits/stdlib-bsearch.h: New file.
69502 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69503 * stdlib/stdlib.h: Likewise.
69504
69505 2013-02-11 Roland McGrath <roland@hack.frob.com>
69506
69507 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69508 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69509 declaration.
69510 * manual/search.texi (Array Search Function): Add missing const in
69511 lfind prototype.
69512 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69513 declaration to use rlim_t.
69514 (Basic Scheduling Functions): Remove erroneous const from
69515 sched_getparam prototype. Remove erroneous * from
69516 sched_get_priority_max and sched_get_priority_min prototypes.
69517 (Resource Usage): Fix summary @comment on vtimes to refer to
69518 sys/vtimes.h rather than vtimes.h.
69519 Add missing *s in vtimes prototype.
69520 (Limits on Resources): Fix ulimit prototype to return long int.
69521 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69522 prototypes to use long int rather than double.
69523 (BSD Random): Fix initstate and setstate to use char *, not void *.
69524 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69525 prototype to make second argument 'struct aiocb64 *const[]'.
69526 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69527 (Status of AIO Operations): Remove erroneous const in aio_return and
69528 aio_return64 prototypes.
69529 (Synchronizing I/O): Fix sync prototype to return void.
69530 * manual/startup.texi (Suboptions): Remove an erroneous const in
69531 getsubopt prototype.
69532 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69533 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69534 use size_t rather than int.
69535 (Scanning All Users): Likewise for getpwent_r.
69536 (Setting Groups): Add missing const to setgroups prototype.
69537 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69538 * manual/socket.texi (Host Names): Fix gethostbyaddr and
69539 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69540 'const void *' rather than 'const char *'.
69541 (Host Address Functions): Likewise for inet_ntop.
69542 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69543 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69544 ssize_t for return value.
69545 (Sending Data): Likewise for send, sendto, sendmsg.
69546 (Socket Option Functions): Add a missing const in setsockopt prototype.
69547 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69548 use wchar_t for the argument.
69549 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69550 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69551 take no arguments.
69552 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69553 double/float/long double for second argument.
69554 Fix return types of significand, significandf, significandl.
69555 * manual/filesys.texi (Setting Permissions): Use mode_t for second
69556 argument in fchmod prototype.
69557 (File Owner): Use uid_t and gid_t in fchown prototype.
69558 (File Times): Add const to utimes, futimes, and lutimes prototypes.
69559 (Making Special Files): Use mode_t and dev_t in mknod prototype.
69560 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69561 use 'const struct dirent **' as argument types to CMP function pointer
69562 argument.
69563 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69564 (File Times): Fix summary magic @comment for struct utimbuf and utime
69565 to refer to utime.h, not time.h.
69566 * manual/string.texi (Argz Functions): Add missing const in
69567 argz_extract and argz_next prototypes.
69568 (Finding Tokens in a String): Likewise for basename.
69569 (String/Array Comparison): Fix typo in wcscasecmp prototype.
69570 (Copying and Concatenation): Fix typo in wmemmove prototype.
69571 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69572 (Signal Stack): Remove erroneous const in sigstack prototype.
69573 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69574 prototype.
69575 (Simple Calendar Time): Likewise for stime.
69576 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69577 prototype.
69578 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69579 say sys/sysctl.h instead.
69580 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69581 and vsyslog prototypes.
69582
69583 2013-02-11 Tom de Vries <tom@codesourcery.com>
69584
69585 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69586 Remove.
69587
69588 2013-02-11 Roland McGrath <roland@hack.frob.com>
69589
69590 * misc/sys/mman.h: Fix typo in mremap comment.
69591
69592 2013-02-08 Roland McGrath <roland@hack.frob.com>
69593
69594 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69595 the '\0' terminator.
69596
69597 2013-02-08 Joseph Myers <joseph@codesourcery.com>
69598
69599 [BZ #13550]
69600 * debug/segfault.c: Don't include <bp-checks.h>.
69601 * sysdeps/generic/bp-checks.h: Remove file.
69602 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69603 (__GETDENTS): Don't use CHECK_N.
69604 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69605 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69606 (__getgroups): Don't use CHECK_N.
69607 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69608 (setgroups): Don't use CHECK_N.
69609 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69610 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69611 (__libc_msgrcv): Don't use CHECK_N.
69612 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69613 (__libc_msgsnd): Don't use CHECK_N.
69614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69615 <bp-checks.h>.
69616 (__libc_pread): Don't use CHECK_N.
69617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69618 include <bp-checks.h>.
69619 (__libc_pread64): Don't use CHECK_N.
69620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69621 include <bp-checks.h>.
69622 (__libc_pwrite): Don't use CHECK_N.
69623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69624 include <bp-checks.h>.
69625 (__libc_pwrite64): Don't use CHECK_N.
69626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69627 <bp-checks.h>.
69628 (__libc_pread): Don't use CHECK_N.
69629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69630 include <bp-checks.h>.
69631 (__libc_pread64): Don't use CHECK_N.
69632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69633 include <bp-checks.h>.
69634 (__libc_pwrite): Don't use CHECK_N.
69635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69636 include <bp-checks.h>.
69637 (__libc_pwrite64): Don't use CHECK_N.
69638 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69639 (do_pread): Don't use CHECK_N.
69640 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69641 (do_pread64): Don't use CHECK_N.
69642 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69643 (do_pwrite): Don't use CHECK_N.
69644 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69645 (do_pwrite64): Don't use CHECK_N.
69646 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69647 (__libc_readv): Don't use CHECK_N.
69648 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69649 (semop): Don't use CHECK_N.
69650 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69651 <bp-checks.h>.
69652 (semtimedop): Don't use CHECK_N.
69653 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69654 (__libc_pread): Don't use CHECK_N.
69655 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69656 <bp-checks.h>.
69657 (__libc_pread64): Don't use CHECK_N.
69658 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69659 <bp-checks.h>.
69660 (__libc_pwrite): Don't use CHECK_N.
69661 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69662 <bp-checks.h>.
69663 (__libc_pwrite64): Don't use CHECK_N.
69664 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69665 <bp-checks.h>.
69666 (__libc_msgrcv): Don't use CHECK_N.
69667 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69668 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
69669 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69670 (__libc_writev): Don't use CHECK_N.
69671
69672 2013-02-08 Roland McGrath <roland@hack.frob.com>
69673
69674 * string/strcpy.c: Removed unused variable.
69675
69676 * Makeconfig (+sysdep-includes): Define with := rather than =.
69677 Use an existing include/ subdir of each sysdeps dir before it.
69678
69679 2013-02-08 Carlos O'Donell <carlos@redhat.com>
69680
69681 * nscd/connection.c (register_traced_file): Comment function.
69682 [HAVE_INOTIFY] (union __inev): Define.
69683 [HAVE_INOTIFY] (inotify_check_files): New function.
69684 [HAVE_INOTIFY] (clear_db_cache): Likewise.
69685 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69686 clear_db_cache.
69687 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69688
69689 2013-02-08 Carlos O'Donell <carlos@redhat.com>
69690
69691 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69692 loaded if not already and that a failure is permanent.
69693
69694 2013-02-08 Carlos O'Donell <carlos@redhat.com>
69695
69696 [BZ #15006]
69697 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69698 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69699
69700 2013-02-08 Joseph Myers <joseph@codesourcery.com>
69701
69702 [BZ #13550]
69703 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69704 (CHECK_1_NULL_OK): Likewise.
69705 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69706 (__fxstat): Do not use CHECK_1.
69707 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69708 <bp-checks.h>.
69709 (___fxstat64): Do not use CHECK_1.
69710 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69711 <bp-checks.h>.
69712 (__fxstatat): Do not use CHECK_1.
69713 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69714 <bp-checks.h>.
69715 (__fxstatat64): Do not use CHECK_1.
69716 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69717 <bp-checks.h>.
69718 (__fxstat): Do not use CHECK_1.
69719 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
69720 <bp-checks.h>.
69721 (__fxstatat): Do not use CHECK_1.
69722 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69723 <bp-checks.h>.
69724 (__getresgid): Do not use CHECK_1.
69725 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69726 <bp-checks.h>.
69727 (__getresuid): Do not use CHECK_1.
69728 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
69729 <bp-checks.h>.
69730 (__lxstat): Do not use CHECK_1.
69731 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69732 <bp-checks.h>.
69733 (__old_msgctl): Do not use CHECK_1.
69734 (__new_msgctl): Likewise.
69735 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
69736 <bp-checks.h>.
69737 (__new_setrlimit): Do not use CHECK_1.
69738 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69739 <bp-checks.h>.
69740 (__old_shmctl): Do not use CHECK_1.
69741 (__new_shmctl): Likewise.
69742 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
69743 <bp-checks.h>.
69744 (__xstat): Do not use CHECK_1.
69745 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
69746 (__lxstat): Do not use CHECK_1.
69747 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
69748 <bp-checks.h>.
69749 (___lxstat64): Do not use CHECK_1.
69750 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
69751 (__old_msgctl): Do not use CHECK_1.
69752 (__new_msgctl): Likewise.
69753 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
69754 <bp-checks.h>.
69755 (__gettimeofday): Do not use CHECK_1.
69756 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
69757 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
69758 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
69759 <bp-checks.h>.
69760 (__gettimeofday): Do not use CHECK_1.
69761 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
69762 (__old_shmctl): Do not use CHECK_1_NULL_OK.
69763 (__new_shmctl): Do not use CHECK_1.
69764 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
69765 <bp-checks.h>.
69766 (do_sigtimedwait): Do not use CHECK_1.
69767 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
69768 <bp-checks.h>.
69769 (do_sigwaitinfo): Do not use CHECK_1.
69770 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
69771 <bp-checks.h>.
69772 (msgctl): Do not use CHECK_1.
69773 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
69774 <bp-checks.h>.
69775 (shmctl): Do not use CHECK_1.
69776 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
69777 (ustat): Do not use CHECK_1.
69778 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
69779 <bp-checks.h>.
69780 (__fxstat): Do not use CHECK_1.
69781 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
69782 <bp-checks.h>.
69783 (__fxstatat): Do not use CHECK_1.
69784 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
69785 <bp-checks.h>.
69786 (__lxstat): Do not use CHECK_1.
69787 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
69788 <bp-checks.h>.
69789 (__xstat): Do not use CHECK_1.
69790 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
69791 (__xstat): Do not use CHECK_1.
69792 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
69793 (___xstat64): Do not use CHECK_1.
69794
69795 [BZ #13550]
69796 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
69797 definitions.
69798 (CHECK_BOUNDS_HIGH): Likewise.
69799 * string/strcpy.c: Do not include <bp-checks.h>.
69800 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
69801
69802 2013-02-07 Roland McGrath <roland@hack.frob.com>
69803
69804 * nscd/nscd-client.h (__nscd_drop_map_ref):
69805 Add __attribute__ ((unused)).
69806 * nis/nss-nisplus.h (niserr2nss): Likewise.
69807
69808 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
69809 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
69810
69811 * csu/libc-tls.c (init_static_tls, init_slotinfo):
69812 Remove inline keyword.
69813 * include/rounding-mode.h (round_away): Likewise.
69814 * libio/wfileops.c (adjust_wide_data): Likewise.
69815 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
69816 (__m128i_strloadu_tolower): Likewise.
69817 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
69818 (__m128i_strloadu_tolower): Likewise.
69819 * time/mktime.c (ydhms_diff): Likewise.
69820 * locale/elem-hash.h (elem_hash): Likewise.
69821 * locale/setlocale.c (setdata): Likewise.
69822 * posix/regex_internal.h (re_string_char_size_at): Likewise.
69823 (re_string_wchar_at): Likewise.
69824 (bitset_not, bitset_merge, bitset_mask): Likewise.
69825 [!(__GNUC__ > 3)] (inline): Remove macro.
69826 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
69827 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
69828 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
69829 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
69830 * string/memcmp.c (memcmp_bytes): Likewise.
69831 * locale/programs/locarchive.c (compute_hashval): Likewise.
69832 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
69833 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
69834 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
69835 * nss/getent.c (print_rpc, print_protocols): Likewise.
69836 (print_passwd, print_group, print_aliases): Likewise.
69837 * nis/nss-nisplus.h (niserr2nss): Likewise.
69838 * nscd/connections.c (restart_p): Likewise.
69839 Change return type to bool.
69840
69841 2013-02-05 Roland McGrath <roland@hack.frob.com>
69842
69843 * Makeconfig (all-Depend-files): Add existing
69844 $(sorted-subdirs:=/Depend) files.
69845 (all-subdirs): Remove nss.
69846 * sysdeps/unix/inet/Subdirs: Add it here instead.
69847 * hesiod/Depend: New file.
69848
69849 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
69850 instead of calling alloca.
69851
69852 * io/lseek.c (__lseek): Rename to __libc_lseek.
69853 Define __lseek as an alias.
69854
69855 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
69856
69857 2013-02-04 Carlos O'Donell <carlos@redhat.com>
69858
69859 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
69860 else clause and remove check for non-standard endianness.
69861
69862 2013-02-04 David S. Miller <davem@davemloft.net>
69863
69864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69865
69866 2013-02-04 Joseph Myers <joseph@codesourcery.com>
69867
69868 [BZ #13550]
69869 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
69870 (__ubp_memchr): Remove prototype.
69871 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
69872 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69873 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
69874 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69875 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
69876 Remove alias.
69877 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
69878 (__ubp_memchr): Likewise.
69879 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
69880 (__ubp_memchr): Likewise.
69881 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
69882 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
69883 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
69884 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
69885 CHECK_STRING.
69886 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
69887 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
69888 (__getcwd): Do not use CHECK_STRING.
69889 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69890 <bp-checks.h>.
69891 (__real_chown): Do not use CHECK_STRING.
69892 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
69893 <bp-checks.h>.
69894 (fchownat): Do not use CHECK_STRING.
69895 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
69896 CHECK_STRING.
69897 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69898 <bp-checks.h>.
69899 (__lchown): Do not use CHECK_STRING.
69900 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69901 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69902 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69903 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
69904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69905 include <bp-checks.h>.
69906 (truncate64): Do not use CHECK_STRING.
69907 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69908 <bp-checks.h>.
69909 (__real_chown): Do not use CHECK_STRING.
69910 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69911 <bp-checks.h>.
69912 (__lchown): Do not use CHECK_STRING.
69913 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69914 <bp-checks.h>.
69915 (__chown): Do not use CHECK_STRING.
69916 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
69917 <bp-checks.h>.
69918 (truncate64): Do not use CHECK_STRING.
69919 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
69920 Likewise.
69921 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
69922 (__xmknod): Do not use CHECK_STRING.
69923 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
69924 <bp-checks.h>.
69925 (__xmknodat): Do not use CHECK_STRING.
69926 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69927 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
69928
69929 2013-02-04 Andreas Schwab <schwab@suse.de>
69930
69931 [BZ #14142]
69932 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
69933 * include/netdb.h: Likewise for h_errno.
69934 * elf/tst-stackguard1.c: Include <tls.h>.
69935
69936 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
69937
69938 * elf/link.h (struct link_map): Extend the l_addr comment.
69939 * include/link.h (struct link_map): Likewise.
69940
69941 2013-02-01 Joseph Myers <joseph@codesourcery.com>
69942
69943 [BZ #13550]
69944 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
69945 (BOUNDED_1): Remove macro.
69946 * debug/backtrace.c: Don't include <bp-checks.h>.
69947 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
69948 (__backtrace): Likewise.
69949 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
69950 <bp-checks.h>.
69951 (__backtrace): Don't use BOUNDED_1.
69952 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
69953 <bp-checks.h>.
69954 (__backtrace): Don't use BOUNDED_1.
69955 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
69956 (__backtrace): Don't use BOUNDED_1.
69957 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
69958 (shmat): Don't use BOUNDED_N.
69959
69960 2013-01-31 Joseph Myers <joseph@codesourcery.com>
69961
69962 [BZ #13550]
69963 * sysdeps/generic/bp-start.h: Remove file.
69964 * csu/libc-start.c: Don't include <bp-start.h>.
69965 (LIBC_START_MAIN): Set up __environ directly instead of using
69966 INIT_ARGV_and_ENVIRON.
69967 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
69968 <bp-start.h>.
69969
69970 [BZ #13550]
69971 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
69972 definitions.
69973 (CHECK_FCNTL): Likewise.
69974 (CHECK_N_PAGES): Likewise.
69975
69976 [BZ #13550]
69977 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
69978 definitions.
69979 (CHECK_SIGSET_NULL_OK): Likewise.
69980 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
69981 <bp-checks.h>.
69982 (sigpending): Don't use CHECK_SIGSET.
69983 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
69984 <bp-checks.h>.
69985 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69986 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
69987 <bp-checks.h>.
69988 (do_sigsuspend): Don't use CHECK_SIGSET.
69989 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
69990 use CHECK_SIGSET.
69991 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
69992 (do_sigwait): Don't use CHECK_SIGSET.
69993 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
69994 use CHECK_SIGSET.
69995 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
69996 include <bp-checks.h>.
69997 (sigpending): Don't use CHECK_SIGSET.
69998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
69999 include <bp-checks.h>.
70000 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70001 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70002 <bp-checks.h>.
70003 (sigpending): Don't use CHECK_SIGSET.
70004 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70005 <bp-checks.h>.
70006 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70007
70008 [BZ #13550]
70009 * sysdeps/generic/bp-semctl.h: Remove file.
70010 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70011 <bp-checks.h> and <bp-semctl.h>.
70012 (__old_semctl): Don't use CHECK_SEMCTL.
70013 (__new_semctl): Likewise.
70014 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70015 and <bp-semctl.h>.
70016 (__old_semctl): Don't use CHECK_SEMCTL.
70017 (__new_semctl): Likewise.
70018 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70019 <bp-checks.h> and <bp-semctl.h>.
70020 (__old_semctl): Don't use CHECK_SEMCTL.
70021 (__new_semctl): Likewise.
70022 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70023 <bp-checks.h> and <bp-semctl.h>.
70024 (semctl): Don't use CHECK_SEMCTL.
70025
70026 [BZ #13550]
70027 * Makerules (elide-bp-thunks): Remove variable.
70028 (elide-routines.oS): Don't use $(elide-bp-thunks).
70029 (elide-routines.os): Likewise.
70030 (elide-routines.o): Likewise.
70031 (elide-routines.op): Likewise.
70032 (elide-routines.og): Likewise.
70033 (objects): Don't use $(bp-thunks).
70034 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70035 include.
70036 (common-generated): Do not add s-proto-bp.d.
70037 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70038 (int): Likewise.
70039 (typ): Likewise.
70040 Do not generate makefile rules for bounded-pointer thunks.
70041 * sysdeps/generic/bp-thunks.h: Remove file.
70042 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70043 * sysdeps/unix/s-proto-bp.S: Likewise.
70044
70045 [BZ #15062]
70046 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70047 parts of result separately when argument is not close to line from
70048 -i to i and one part of argument is small.
70049 * math/k_casinhf.c (__kernel_casinhf): Likewise.
70050 * math/k_casinhl.c (__kernel_casinhl): Likewise.
70051 * math/libm-test.inc (cacos_test): Add more tests.
70052 (casin_test): Likewise.
70053 (casinh_test): Likewise.
70054 * sysdeps/i386/fpu/libm-test-ulps: Update.
70055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70056
70057 2013-01-31 David S. Miller <davem@davemloft.net>
70058
70059 * po/de.po: Update from translation team.
70060
70061 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
70062
70063 * time/tzfile.c: Include stdint.h for SIZE_MAX.
70064
70065 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
70066
70067 * configure.in (_AC_PROG_CC_C89): New definition.
70068 * configure: Regenerate.
70069
70070 * configure.in (AC_PROG_CPP): New definition.
70071 * configure: Regenerate.
70072
70073 2013-01-23 Joseph Myers <joseph@codesourcery.com>
70074
70075 * debug/tst-backtrace.h: New file.
70076 * debug/tst-backtrace2.c: Include tst-backtrace.h.
70077 (ret): Remove variable.
70078 (x): Likewise.
70079 (FAIL): Remove macro.
70080 (NO_INLINE): Likewise.
70081 (fn1): Use match function instead of strstr.
70082 * debug/tst-backtrace3.c: Include tst-backtrace.h.
70083 (ret): Remove variable.
70084 (x): Likewise.
70085 (FAIL): Remove macro.
70086 (NO_INLINE): Likewise.
70087 (fn): Use match function instead of strstr.
70088 * debug/tst-backtrace4.c: Include tst-backtrace.h.
70089 (ret): Remove variable.
70090 (x): Likewise.
70091 (FAIL): Remove macro.
70092 (NO_INLINE): Likewise.
70093 (handle_signal): Use match function instead of strstr.
70094 * debug/tst-backtrace5.c: Include tst-backtrace.h.
70095 (ret): Remove variable.
70096 (x): Likewise.
70097 (FAIL): Remove macro.
70098 (NO_INLINE): Likewise.
70099 (handle_signal): Use match function instead of strstr.
70100
70101 2013-01-23 Roland McGrath <roland@hack.frob.com>
70102
70103 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70104
70105 2013-01-23 David S. Miller <davem@davemloft.net>
70106
70107 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70108 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70109 argument of CAS if possible.
70110 * sysdeps/sparc/sparc64/bits/atomic.h
70111 (__arch_compare_and_exchange_val_32_acq): Likewise.
70112 (__arch_compare_and_exchange_val_64_acq): Likewise.
70113
70114 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
70115
70116 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70117 * sysdeps/posix/ulimit.c: ... this.
70118 Include <limits.h>.
70119 * sysdeps/unix/bsd/ulimit.c: Remove file.
70120
70121 2013-01-23 Adam Conrad <adconrad@0c3.net>
70122
70123 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70124 (LDFLAGS-tst-array5): Likewise.
70125
70126 2013-01-23 Joseph Myers <joseph@codesourcery.com>
70127
70128 [BZ #15036]
70129 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70130 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70131 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70132 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70133
70134 2013-01-21 David S. Miller <davem@davemloft.net>
70135
70136 * sysdeps/sparc/backtrace.c: New file.
70137 * sysdeps/sparc/sparc32/backtrace.h: New file.
70138 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70139 * sysdeps/sparc/sparc64/backtrace.h: New file.
70140 * sysdeps/sparc/sparc64/backtrace.c: Delete.
70141 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70142 -funwind-tables.
70143
70144 2013-01-21 Andreas Schwab <schwab@suse.de>
70145
70146 [BZ #15020]
70147 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70148 closed its stdout.
70149
70150 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
70151
70152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70153 "mpa2.h".
70154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70155
70156 2013-01-18 Joseph Myers <joseph@codesourcery.com>
70157 Mark Mitchell <mark@codesourcery.com>
70158 Tom de Vries <tom@codesourcery.com>
70159 Paul Pluzhnikov <ppluzhnikov@google.com>
70160
70161 * debug/tst-backtrace2.c: New file.
70162 * debug/tst-backtrace3.c: Likewise.
70163 * debug/tst-backtrace4.c: Likewise.
70164 * debug/tst-backtrace5.c: Likewise.
70165 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70166 (CFLAGS-tst-backtrace3.c): Likewise.
70167 (CFLAGS-tst-backtrace4.c): Likewise.
70168 (CFLAGS-tst-backtrace5.c): Likewise.
70169 (LDFLAGS-tst-backtrace2): Likewise.
70170 (LDFLAGS-tst-backtrace3): Likewise.
70171 (LDFLAGS-tst-backtrace4): Likewise.
70172 (LDFLAGS-tst-backtrace5): Likewise.
70173 (tests): Add new tests tst-backtrace2, tst-backtrace3,
70174 tst-backtrace4 and tst-backtrace5.
70175
70176 2013-01-18 Anton Blanchard <anton@samba.org>
70177 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
70178
70179 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70180 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70181 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70182 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70184 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70185 "+r" and remove output regs list as redundant. Add explicit inline
70186 asm to specify register of return val to work around compiler codegen
70187 bug. Remove (int) cast on return value. Add return type parameter to
70188 use in macro so that this macro does not truncate return value for
70189 64-bit values.
70190 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70191 pass to INTERNAL_VSYSCALL_NCS.
70192 (INLINE_VSYSCALL): Add 'long int' as return type to
70193 INTERNAL_VSYSCALL_NCS macro invocation.
70194 (INTERNAL_VSYSCALL): Add 'long int' as return type to
70195 INTERNAL_VSYSCALL_NCS macro invocation.
70196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70197
70198 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70199
70200 [BZ #14496]
70201 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70202 Fix application of SIMD FP exception mask.
70203
70204 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70205 mp_no from a power of two.
70206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70207 __mpexp_twomm1. Use __pow_mp.
70208
70209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70210 multiplication.
70211
70212 2013-01-17 David S. Miller <davem@davemloft.net>
70213
70214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70215
70216 2013-01-17 Joseph Myers <joseph@codesourcery.com>
70217
70218 [BZ #15023]
70219 * include/complex.h: Condition contents on [!_COMPLEX_H].
70220 (__kernel_casinhf): New prototype.
70221 (__kernel_casinh): Likewise.
70222 (__kernel_casinhl): Likewise.
70223 * math/Makefile (libm_calls): Add k_casinh.
70224 * math/k_casinh.c: New file.
70225 * math/k_casinhf.c: Likewise.
70226 * math/k_casinhl.c: Likewise.
70227 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70228 finite nonzero arguments.
70229 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70230 finite nonzero arguments.
70231 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70232 finite nonzero arguments.
70233 * math/s_casinh.c: Do not include <float.h>.
70234 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70235 * math/s_casinhf.c: Do not include <float.h>.
70236 (__casinhf): Move code for finite nonzero arguments to
70237 k_casinhf.c.
70238 * math/s_casinhl.c: Do not include <float.h>.
70239 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70240 redefine.
70241 (__casinhl): Move code for finite nonzero arguments to
70242 k_casinhl.c.
70243 * math/libm-test.inc (cacos_test): Add more tests.
70244 * sysdeps/i386/fpu/libm-test-ulps: Update.
70245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70246
70247 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
70248
70249 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70250 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70251 [!HAVE_MREMAP]: Remove [defined linux] case.
70252 * malloc/arena.c: Do not include <malloc-sysdep.h>.
70253
70254 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
70255
70256 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70257
70258 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
70259
70260 * elf/elf.h (R_386_SIZE32): New relocation.
70261 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70262 R_386_SIZE32.
70263 (elf_machine_rela): Likewise.
70264 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70265 R_X86_64_SIZE64 and R_X86_64_SIZE32.
70266
70267 2013-01-17 Joseph Myers <joseph@codesourcery.com>
70268
70269 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70270 (FP_FAST_FMA): Do not define.
70271 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70272 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70273 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70274 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70275 !_SOFT_FLOAT]: Likewise.
70276 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70277 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70278 value.
70279 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70280 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70281 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70282 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70283 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70284 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70285 file.
70286
70287 2013-01-16 Andreas Schwab <schwab@suse.de>
70288
70289 [BZ #14327]
70290 * include/stdlib.h (__mktemp): Add declaration.
70291 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70292 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70293
70294 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
70295
70296 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70297 definitions.
70298 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70299 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70300 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70301 definitions here.
70302 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70303 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70304 definitions.
70305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70306 and ONE.
70307 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70308 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70309 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70310 definitions.
70311 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70312 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70313 definitions.
70314 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70315
70316 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70317
70318 2013-01-15 David S. Miller <davem@davemloft.net>
70319
70320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70321 trunc{,f} to libm-sysdep_routes.
70322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70324 file.
70325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70327 file.
70328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70329 file.
70330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70332 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70333 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70334 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70335 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70336 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70337 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70338
70339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70340 nearbyint{,f} to libm-sysdep_routes.
70341 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70343 New file.
70344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70345 file.
70346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70347 New file.
70348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70349 file.
70350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70352 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70353 file.
70354 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70355 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70356 file.
70357 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70358 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70359 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70360
70361 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70362 libc_feholdexcept and libc_fesetenv.
70363
70364 2013-01-15 Mike Frysinger <vapier@gentoo.org>
70365
70366 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70367
70368 2013-01-14 David S. Miller <davem@davemloft.net>
70369
70370 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70371 (SPARC_ASM_VIS2_IFUNC): Likewise.
70372 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70374 use of 'siam' instruction.
70375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70376 Likewise.
70377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70378 Likewise.
70379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70380 Likewise.
70381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70386 file.
70387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70388 file.
70389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70390 file.
70391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70392 file.
70393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70398 new VIS2 routines.
70399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70402 Likewise.
70403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70408 routines to libm-sysdep_routines.
70409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70410
70411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70412 fdim/fdimf to libm-sysdep_routines.
70413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70414 file.
70415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70417 file.
70418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70421 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70422 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70423 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70424 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70425
70426 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
70427
70428 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70429 to optimize copies.
70430
70431 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70434
70435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70436 local variable MPTWO.
70437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70438 Likewise.
70439
70440 2013-01-13 Mike Frysinger <vapier@gentoo.org>
70441
70442 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70443 GLOB_NOESCAPE.
70444
70445 2013-01-13 Mike Frysinger <vapier@gentoo.org>
70446
70447 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70448
70449 2013-01-13 Mike Frysinger <vapier@gentoo.org>
70450
70451 * manual/pattern.texi (glob_t): Document gl_flags.
70452 (glob64_t): Likewise.
70453
70454 2013-01-11 David S. Miller <davem@davemloft.net>
70455
70456 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70457 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70458 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
70459 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70460 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70461 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70462 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70463 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70464 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70465 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70466 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70467 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70468 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70469
70470 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70471 sparc V9 rather than using V8 code.
70472 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70473 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70474
70475 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70476 Move to...
70477 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70478 Here.
70479
70480 2013-01-11 Roland McGrath <roland@hack.frob.com>
70481
70482 [BZ #14941]
70483 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70484 not in the main loop.
70485 * configure: Regenerated.
70486
70487 2013-01-11 Joseph Myers <joseph@codesourcery.com>
70488
70489 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70490 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70491 to just #else.
70492 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
70493 [!__GLIBC_HAVE_LONG_LONG] case.
70494 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70495 condition to just #else.
70496 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70497 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70498 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70499 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70500 unconditional.
70501 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70502 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70503 #elif condition to just #else.
70504 * sysdeps/unix/sysv/linux/sys/sysmacros.h
70505 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70506 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70507 #elif condition to just #else.
70508
70509 2013-01-11 Steve Ellcey <sellcey@mips.com>
70510
70511 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70512 (EF_MIPS_ARCH_64): Fix value.
70513 (EF_MIPS_ARCH_32R2): New.
70514 (EF_MIPS_ARCH_64R2): New.
70515
70516 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
70517
70518 * Makeconfig (+link-pie-before-libc): New.
70519 (+link-pie-after-libc): Likewise.
70520 (+link-pie-tests): Likewise.
70521 (+link-pie): Rewritten.
70522 (link-before-libc): Remove $(config-LDFLAGS).
70523 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70524 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70525 (config-LDFLAGS): Renamed to ...
70526 (rtld-LDFLAGS): This.
70527 (rtld-tests-LDFLAGS): New macro.
70528 (link-libc-rpath-link): Likewise.
70529 (link-libc-tests-rpath-link): Likewise.
70530 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70531 (link-libc): Prepand $(link-libc-rpath-link).
70532 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70533 (test-program-prefix): New macro.
70534 (test-via-rtld-prefix): Likewise.
70535 (test-program-cmd): Likewise.
70536 (host-test-program-cmd): Likewise.
70537 * Makefile ($(common-objpfx)testrun.sh): Replace
70538 $(run-program-prefix) with $(test-program-prefix).
70539 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70540 $(rtld-LDFLAGS).
70541 ($(common-objpfx)shlib.lds): Likewise.
70542 (build-module-helper): Likewise.
70543 ($(common-objpfx)format.lds): Likewise.
70544 * Rules (binaries-pie-tests): New.
70545 (binaries-pie-notests): Likewise.
70546 (binaries-pie): Rewritten.
70547 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70548 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70549 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70550 (make-test-out): Replace $(host-built-program-cmd) with
70551 $(host-test-program-cmd).
70552 * config.make.in (build-hardcoded-path-in-tests): New variable.
70553 * configure.in (--enable-hardcoded-path-in-tests): New configure
70554 option.
70555 (hardcoded_path_in_tests): New AC_SUBST.
70556 * configure: Regenerated.
70557 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70558 $(built-program-cmd) with $(test-program-cmd).
70559 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70560 (test_program_cmd): This.
70561 * elf/Makefile ($(objpfx)order.out): Run test with
70562 $(test-program-prefix).
70563 ($(objpfx)order2.out): Likewise.
70564 ($(objpfx)tst-initorder.out): Likewise.
70565 ($(objpfx)tst-initorder2.out): Likewise.
70566 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70567 $(test-program-cmd).
70568 ($(objpfx)tst-array1-static.out): Likewise.
70569 ($(objpfx)tst-array2.out): Likewise.
70570 ($(objpfx)tst-array3.out): Likewise.
70571 ($(objpfx)tst-array4.out): Likewise.
70572 ($(objpfx)tst-array5.out): Likewise.
70573 ($(objpfx)tst-array5-static.out): Likewise.
70574 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70575 $(test-program-cmd).
70576 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70577 $(run-program-prefix) with $(test-program-prefix).
70578 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70579 (test_program_prefix): This.
70580 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70581 $(run-program-prefix) with $(test-program-prefix).
70582 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70583 (test_program_prefix): This.
70584 * iconvdata/tst-tables.sh: Likewise.
70585 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70586 $(run-program-prefix) with $(test-program-prefix).
70587 ($(objpfx)tst-translit.out): Likewise.
70588 ($(objpfx)tst-gettext2.out): Likewise.
70589 ($(objpfx)tst-gettext4.out): Likewise.
70590 ($(objpfx)tst-gettext6.out): Likewise.
70591 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70592 (test_program_prefix): This.
70593 * intl/tst-gettext2.sh: Likewise.
70594 * intl/tst-gettext4.sh Likewise.
70595 * intl/tst-gettext6.sh: Likewise.
70596 * intl/tst-translit.sh: Likewise.
70597 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70598 with $(test-program-cmd).
70599 * libio/Makefile ($(objpfx)test-freopen.out): Replace
70600 $(run-program-prefix) with $(test-program-prefix).
70601 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70602 (test_program_prefix): This.
70603 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70604 $(run-program-prefix) with $(test-program-prefix).
70605 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70606 (test_program_prefix): This.
70607 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70608 * posix/Makefile ($(objpfx)globtest.out): Replace
70609 $(run-via-rtld-prefix) and $(test-wrapper) with
70610 $(test-program-prefix) and $(test-via-rtld-prefix).
70611 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70612 $(test-program-prefix).
70613 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70614 $(host-test-program-cmd).
70615 (tst-spawn-ARGS): Likewise.
70616 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70617 $(test-program-prefix).
70618 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70619 (test_via_rtld_prefix): This.
70620 (test_wrapper): Renamed to ...
70621 (test_program_prefix): This.
70622 (run_program_prefix): Replaced by test_program_prefix.
70623 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70624 (test_program_prefix): This.
70625 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70626 with $(host-test-program-cmd).
70627 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70628 $(run-program-prefix) with $(test-program-prefix).
70629 ($(objpfx)tst-printf.out): Likewise.
70630 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70631 $(test-program-cmd).
70632 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70633 (test_program_prefix): This.
70634 * stdio-common/tst-unbputc.sh: Likewise.
70635 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70636 $(run-program-prefix) with $(test-program-prefix).
70637 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70638 (test_program_prefix): This.
70639 * string/Makefile ($(objpfx)tst-svc.out): Replace
70640 $(built-program-cmd) with $(test-program-cmd).
70641
70642 2013-01-11 Andreas Jaeger <aj@suse.de>
70643
70644 [BZ #15003]
70645 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70646 value. Sync with Linux 3.7.
70647
70648 2013-01-10 David S. Miller <davem@davemloft.net>
70649
70650 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70651 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70652 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70653
70654 2013-01-10 Roland McGrath <roland@hack.frob.com>
70655
70656 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70657 never set.
70658 * configure: Regenerated.
70659
70660 2013-01-10 David S. Miller <davem@davemloft.net>
70661
70662 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70663 sparc V9 rather than using V8 code.
70664 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70665 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70666
70667 2013-01-10 Roland McGrath <roland@hack.frob.com>
70668
70669 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70670 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70671 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70672 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70673 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70674 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70675 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70676 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70677 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70678 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70679 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70680 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70681 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70682 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70683 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70684 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70685 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70686 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70687 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70688 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70689 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70690 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70691 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70692 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70693 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70694 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70695 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70696
70697 2013-01-10 David S. Miller <davem@davemloft.net>
70698
70699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70700
70701 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
70702
70703 * posix/Makefile (tests-static): New variable.
70704 (tests): Add $(tests-static).
70705 (tst-exec-static-ARGS): New variable.
70706 (tst-spawn-static-ARGS): Likewise.
70707 * posix/tst-exec-static.c: New file.
70708 * posix/tst-spawn-static.c: Likewise.
70709 * posix/tst-exec.c: Support run directly.
70710 * posix/tst-spawn.c: Likewise.
70711
70712 2013-01-10 Joseph Myers <joseph@codesourcery.com>
70713
70714 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70715 long.
70716 * math/bits/mathcalls.h (llrint): Likewise.
70717 (llround): Likewise.
70718 * stdlib/stdlib.h (struct drand48_data): Likewise.
70719 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
70720 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
70721 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
70722 Likewise.
70723 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
70724 Likewise.
70725 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
70726 (elf_greg_t): Likewise.
70727 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
70728 (__jmp_buf): Likewise.
70729 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
70730 definitions.
70731 (llrint): Likewise, for all definitions.
70732 (llrintl): Likewise.
70733
70734 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
70735 Remove [__GNUC__] condition.
70736 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
70737 condition to just [__USE_ISOC99].
70738 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
70739
70740 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
70741
70742 [BZ #14200]
70743 * sysdeps/unix/sysv/linux/x86/bits/environments.h
70744 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
70745 defined.
70746 (_POSIX_V6_ILP32_OFF32): Likewise.
70747 (_XBS5_ILP32_OFF32): Likewise.
70748 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
70749 (__ILP32_OFFBIG_LDFLAGS): Likewise.
70750
70751 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
70752
70753 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
70754
70755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
70756 doubles __mpexp_twomm1. Adjust usage.
70757 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
70758 Remove.
70759
70760 2013-01-10 Andreas Schwab <schwab@suse.de>
70761
70762 [BZ #14964]
70763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
70764 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
70765
70766 2013-01-09 David S. Miller <davem@davemloft.net>
70767
70768 [BZ #15003]
70769 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
70770 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
70771 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
70772 (TCP_FASTOPEN): Define.
70773 (tcp_repair_opt): New structure.
70774 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
70775 enum values.
70776 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
70777 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
70778 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
70779 (tcp_cookie_transactions): New structure.
70780
70781 2013-01-09 Anton Blanchard <anton@samba.org>
70782
70783 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
70784 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
70785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
70786 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
70787
70788 2013-01-09 Joseph Myers <joseph@codesourcery.com>
70789
70790 * include/features.h (__USE_ANSI): Remove.
70791
70792 2013-01-09 Roland McGrath <roland@hack.frob.com>
70793
70794 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
70795
70796 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
70797
70798 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
70799
70800 * sysdeps/s390/fpu/libm-test-ulps: Update.
70801
70802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70803
70804 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
70805 (__acr): Likewise.
70806 (__cpy): Likewise.
70807 (norm): Likewise.
70808 (denorm): Likewise.
70809 (__mp_dbl): Likewise.
70810 (__dbl_mp): Likewise.
70811 (add_magnitudes): Likewise.
70812 (sub_magnitudes): Likewise.
70813 (__add): Likewise.
70814 (__sub): Likewise.
70815 (__mul): Likewise.
70816 (__inv): Likewise.
70817 (__dvd): Likewise.
70818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
70819 (__acr): Likewise.
70820 (__cpy): Likewise.
70821 (norm): Likewise.
70822 (denorm): Likewise.
70823 (__mp_dbl): Likewise.
70824 (__dbl_mp): Likewise.
70825 (add_magnitudes): Likewise.
70826 (sub_magnitudes): Likewise.
70827 (__add): Likewise.
70828 (__sub): Likewise.
70829 (__mul): Likewise.
70830 (__inv): Likewise.
70831 (__dvd): Likewise.
70832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
70833 (__acr): Likewise.
70834 (__cpy): Likewise.
70835 (norm): Likewise.
70836 (denorm): Likewise.
70837 (__mp_dbl): Likewise.
70838 (__dbl_mp): Likewise.
70839 (add_magnitudes): Likewise.
70840 (sub_magnitudes): Likewise.
70841 (__add): Likewise.
70842 (__sub): Likewise.
70843 (__mul): Likewise.
70844 (__inv): Likewise.
70845 (__dvd): Likewise.
70846
70847 2013-01-08 Joseph Myers <joseph@codesourcery.com>
70848
70849 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
70850 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
70851 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
70852 2 && __USE_EXTERN_INLINES]: Likewise.
70853
70854 2013-01-08 Andreas Jaeger <aj@suse.de>
70855
70856 [BZ #14985]
70857 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
70858 Remove.
70859 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70860 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70861
70862 2013-01-07 Anton Blanchard <anton@samba.org>
70863
70864 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
70865 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
70866 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
70867 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
70868 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
70869 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70870 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
70871 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70873 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70874 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70875 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70876 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70877 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
70878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
70879 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70880 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
70882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
70883 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
70884 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
70885 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
70886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70887 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
70888 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
70889 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
70890 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70891 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
70892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
70893 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70894 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
70895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70897 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
70898 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
70899 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
70901 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70902 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
70903 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
70904 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
70905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70906 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
70907
70908 2013-01-07 Joseph Myers <joseph@codesourcery.com>
70909
70910 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
70911 (__MALLOC_PMT): Likewise.
70912 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
70913 [__GNUC__], only on [_LIBC].
70914 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70915 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
70916 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70917 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
70918 forward declaration.
70919 (realloc_hook_ini): Likewise.
70920 (memalign_hook_ini): Likewise.
70921 (__libc_memalign): Do not use __MALLOC_PMT in variable
70922 declaration.
70923 (__libc_valloc): Likewise.
70924 (__libc_pvalloc): Likewise.
70925 (__libc_calloc): Likewise.
70926 (__posix_memalign): Likewise.
70927
70928 [BZ #14996]
70929 * math/s_casinh.c: Include <float.h>.
70930 (__casinh): Do not do computation with squaring and square root
70931 for large arguments.
70932 * math/s_casinhf.c: Include <float.h>.
70933 (__casinhf): Do not do computation with squaring and square root
70934 for large arguments.
70935 * math/s_casinhl.c: Include <float.h>.
70936 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
70937 (__casinhl): Do not do computation with squaring and square root
70938 for large arguments.
70939 * math/libm-test.inc (casin_test): Add more tests.
70940 (casinh_test): Likewise.
70941 * sysdeps/i386/fpu/libm-test-ulps: Update.
70942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70943
70944 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
70945
70946 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
70947 (__x86_64_raw_data_cache_size): Likewise.
70948 (__x86_64_data_cache_size_half): Likewise.
70949 (__x86_64_raw_data_cache_size_half): Likewise.
70950 (__x86_64_shared_cache_size): Likewise.
70951 (__x86_64_raw_shared_cache_size): Likewise.
70952 (__x86_64_shared_cache_size_half): Likewise.
70953 (__x86_64_raw_shared_cache_size_half): Likewise.
70954 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
70955 to ...
70956 (__x86_data_cache_size): This.
70957 (__x86_64_raw_data_cache_size): Renamed to ...
70958 (__x86_raw_data_cache_size): This.
70959 (__x86_64_data_cache_size_half): Renamed to ...
70960 (__x86_data_cache_size_half): This.
70961 (__x86_64_raw_data_cache_size_half): Renamed to ...
70962 (__x86_raw_data_cache_size_half): This.
70963 (__x86_64_shared_cache_size): Renamed to ...
70964 (__x86_shared_cache_size): This.
70965 (__x86_64_raw_shared_cache_size): Renamed to ...
70966 (__x86_raw_shared_cache_size): This.
70967 (__x86_64_shared_cache_size_half): Renamed to ...
70968 (__x86_shared_cache_size_half): This.
70969 (__x86_64_raw_shared_cache_size_half): Renamed to ...
70970 (__x86_raw_shared_cache_size_half): This.
70971 * sysdeps/x86_64/memcpy.S: Updated.
70972 * sysdeps/x86_64/memset.S: Likewise.
70973 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
70974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70975 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70976
70977 2013-01-04 David S. Miller <davem@davemloft.net>
70978
70979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70980
70981 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
70982
70983 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
70984 1 to avoid redefinition warning.
70985 (__USE_GNU): Don't define.
70986 (init_signaling_nan): Protoize.
70987
70988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70989
70990 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
70991
70992 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
70993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
70994 (__cpymn): Likewise.
70995 (norm): Remove commented code.
70996 (denorm): Likewise.
70997 (__mp_dbl): Likewise.
70998 (__inv): Likewise.
70999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71000 (__cpymn): Likewise.
71001 (norm): Remove commented code.
71002 (denorm): Likewise.
71003 (__mp_dbl): Likewise.
71004 (__inv): Likewise.
71005
71006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71007 mp_no value for 1.0 and 2.0.
71008 (norm): Use RADIXI instead of radixi.d.
71009 (denorm): Likewise.
71010 (__mul): Use 0.0 instead of zero.d.
71011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
71012 mp_no value for 1.0 and 2.0.
71013 (norm): Use RADIXI instead of radixi.d.
71014 (denorm): Likewise.
71015 (__mul): Use 0.0 instead of zero.d.
71016
71017 2013-01-04 Joseph Myers <joseph@codesourcery.com>
71018
71019 [BZ #14994]
71020 * math/s_casinh.c (__casinh): Reduce finite argument to first
71021 quadrant then set signs of results at the end.
71022 * math/s_casinhf.c (__casinhf): Likewise.
71023 * math/s_casinhl.c (__casinhl): Likewise.
71024 * math/libm-test.inc (casin_test): Add more tests.
71025 (casinh_test): Likewise.
71026 * sysdeps/i386/fpu/libm-test-ulps: Update.
71027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71028
71029 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
71030
71031 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71032
71033 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71034
71035 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71036 declarations.
71037 (denorm): Likewise.
71038 (__mp_dbl): Likewise.
71039 (__inv): Likewise.
71040
71041 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71042 and adjust the header comment.
71043
71044 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71045 variable name from declaration.
71046
71047 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
71048
71049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71050 Initialize COMMON_CPUID_INDEX_7 element.
71051 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71052 (CPUID_RTM): Likewise.
71053 (HAS_RTM): Likewise.
71054 (COMMON_CPUID_INDEX_7): New enum.
71055
71056 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
71057
71058 [BZ #14981]
71059 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71060 size is zero, record memory as freed.
71061
71062 2013-01-03 Andreas Jaeger <aj@suse.de>
71063
71064 * po/ia.po: Add new Interlingua translation.
71065
71066 2012-01-03 Allan McRae <allan@archlinux.org>
71067
71068 * locale/programs/localedef.c: Fix description of '--posix' flag.
71069
71070 2013-01-02 Joseph Myers <joseph@codesourcery.com>
71071
71072 * NEWS: Update dates in second copyright notice.
71073 * README: Update copyright dates in example.
71074 * manual/libc.texinfo: Update copyright dates.
71075 * scripts/test-installation.pl: Update copyright date in --version
71076 output.
71077
71078 * hurd/ctty-input.c: Fix copyright notice formatting.
71079 * hurd/ctty-output.c: Likewise.
71080 * hurd/dtable.c: Likewise.
71081 * hurd/hurd-raise.c: Likewise.
71082 * hurd/hurdprio.c: Likewise.
71083 * hurd/msgportdemux.c: Likewise.
71084 * misc/sys/file.h: Likewise.
71085 * misc/sys/ioctl.h: Likewise.
71086 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71087 * sysdeps/mach/hurd/chdir.c: Likewise.
71088 * sysdeps/mach/hurd/fchdir.c: Likewise.
71089 * sysdeps/mach/hurd/rename.c: Likewise.
71090 * sysdeps/mach/hurd/rmdir.c: Likewise.
71091 * sysdeps/mach/hurd/seekdir.c: Likewise.
71092 * sysdeps/mach/hurd/setsid.c: Likewise.
71093 * sysdeps/posix/wait3.c: Likewise.
71094
71095 * All files with FSF copyright notices: Update copyright dates
71096 using scripts/update-copyrights.
71097 * intl/plural.c: Regenerated.
71098 * locale/programs/charmap-kw.h: Likewise.
71099 * locale/programs/locfile-kw.h: Likewise.
71100
71101 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
71102
71103 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71104 four values.
71105
71106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71107 calculation loop and add branch prediction.
71108
71109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71110 check access beyond bounds of m1np.
71111
71112 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71113 MPTWO.
71114 (__inv): Remove local variable MPTWO to use the global
71115 constant.
71116 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71118 variable MPTWO.
71119 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71120 MP3HALFS static const.
71121
71122 2013-01-01 David S. Miller <davem@davemloft.net>
71123
71124 * po/ca.po: Update from translation team.
71125
71126 2013-01-01 Joseph Myers <joseph@codesourcery.com>
71127
71128 * scripts/update-copyrights: New file.
71129 * Makeconfig: Reformat copyright notice.
71130 * ctype/ctype.h: Likewise.
71131 * debug/swprintf_chk.c: Likewise.
71132 * elf/dl-cache.c: Likewise.
71133 * elf/dl-debug.c: Likewise.
71134 * elf/dl-object.c: Likewise.
71135 * grp/initgroups.c: Likewise.
71136 * hurd/Makefile: Likewise.
71137 * hurd/hurd/signal.h: Likewise.
71138 * hurd/hurdfault.c: Likewise.
71139 * hurd/hurdioctl.c: Likewise.
71140 * hurd/hurdlookup.c: Likewise.
71141 * hurd/intr-msg.c: Likewise.
71142 * iconv/gconv_open.c: Likewise.
71143 * libio/swprintf.c: Likewise.
71144 * locale/lc-ctype.c: Likewise.
71145 * locale/nl_langinfo.c: Likewise.
71146 * mach/Machrules: Likewise.
71147 * mach/Makefile: Likewise.
71148 * malloc/obstack.h: Likewise.
71149 * manual/Makefile: Likewise.
71150 * manual/tsort.awk: Likewise.
71151 * misc/bits/stab.def: Likewise.
71152 * nis/nis_print_group_entry.c: Likewise.
71153 * nis/nis_table.c: Likewise.
71154 * nis/nss_compat/compat-pwd.c: Likewise.
71155 * nis/nss_compat/compat-spwd.c: Likewise.
71156 * po/Makefile: Likewise.
71157 * posix/fnmatch.c: Likewise.
71158 * posix/regex.h: Likewise.
71159 * resolv/Makefile: Likewise.
71160 * resolv/nss_dns/dns-network.c: Likewise.
71161 * resolv/res_hconf.c: Likewise.
71162 * scripts/gen-sorted.awk: Likewise.
71163 * soft-fp/soft-fp.h: Likewise.
71164 * stdio-common/printf.h: Likewise.
71165 * stdlib/monetary.h: Likewise.
71166 * stdlib/random.c: Likewise.
71167 * stdlib/random_r.c: Likewise.
71168 * sysdeps/generic/Makefile: Likewise.
71169 * sysdeps/gnu/Makefile: Likewise.
71170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71177 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71178 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71180 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71181 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71184 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71186 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71193 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71194 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71195 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71196 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71197 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71198 * sysdeps/mach/hurd/errnos.awk: Likewise.
71199 * sysdeps/mach/hurd/fork.c: Likewise.
71200 * sysdeps/mach/hurd/getcwd.c: Likewise.
71201 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71202 * sysdeps/mach/hurd/mmap.c: Likewise.
71203 * sysdeps/mach/hurd/utimes.c: Likewise.
71204 * sysdeps/mach/hurd/xmknod.c: Likewise.
71205 * sysdeps/posix/profil.c: Likewise.
71206 * sysdeps/posix/readdir_r.c: Likewise.
71207 * sysdeps/powerpc/bits/mathdef.h: Likewise.
71208 * sysdeps/powerpc/bits/setjmp.h: Likewise.
71209 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71210 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71212 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71213 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71214 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71216 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71217 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71218 * sysdeps/pthread/lio_listio.c: Likewise.
71219 * sysdeps/sparc/dl-procinfo.h: Likewise.
71220 * sysdeps/unix/i386/sysdep.S: Likewise.
71221 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71222 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71223 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71224 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71226 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71227 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71228 * sysdeps/unix/sysv/linux/speed.c: Likewise.
71229 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71230 * sysdeps/wordsize-32/divdi3.c: Likewise.
71231 * time/sys/time.h: Likewise.
71232 * wcsmbs/Makefile: Likewise.
71233
71234 2013-01-01 David S. Miller <davem@davemloft.net>
71235
71236 * po/fr.po: Update from translation team.
71237
71238 * catgets/gencat.c: Update copyright year.
71239 * csu/version.c: Likewise.
71240 * debug/catchsegv.sh: Likewise.
71241 * debug/pcprofiledump.c: Likewise.
71242 * debug/xtrace.sh: Likewise.
71243 * elf/ldconfig.c: Likewise.
71244 * elf/ldd.bash.in: Likewise.
71245 * elf/pldd.c: Likewise.
71246 * elf/sotruss.ksh: Likewise.
71247 * elf/sprof.c: Likewise.
71248 * iconv/iconv_prog.c: Likewise.
71249 * iconv/iconvconfig.c: Likewise.
71250 * locale/programs/locale.c: Likewise.
71251 * locale/programs/localedef.c: Likewise.
71252 * login/programs/pt_chown.c: Likewise.
71253 * malloc/memusage.sh: Likewise.
71254 * malloc/memusagestat.c: Likewise.
71255 * malloc/mtrace.pl: Likewise.
71256 * nscd/nscd.c: Likewise.
71257 * nss/getent.c: Likewise.
71258 * nss/makedb.c: Likewise.
71259 * posix/getconf.c: Likewise.
71260
71261 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
71262
71263 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71264 numbers.
71265
71266 2012-12-30 Mike Frysinger <vapier@gentoo.org>
71267
71268 * math/bits/mathcalls.h (modf): Use __nonnull.
71269
71270 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
71271
71272 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71273 (split): Use macro CN instead of the bare value.
71274 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71275 could be used.
71276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71277 instead of the bare value.
71278 (power1): Likewise.
71279
71280 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
71281
71282 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71283 __ATAN_TWOM.
71284 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71285
71286 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71287 their values.
71288 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71289 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71290 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71291 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71292
71293 2012-12-28 Andreas Jaeger <aj@suse.de>
71294
71295 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
71296 values are from Linux 3.7.
71297
71298 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71299 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
71300
71301 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
71302
71303 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71304 TRUE case.
71305
71306 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71307 (norm): Likewise.
71308 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71309 variables with preprocessor constants.
71310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71311 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71312 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71313
71314 2012-12-27 Bruno Haible <bruno@clisp.org>
71315
71316 [BZ #14317]
71317 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71318 only if needed.
71319
71320 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
71321
71322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71323 and use variable directly.
71324 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71325
71326 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71327 MPONE.
71328 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71330 variable MPONE.
71331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71333 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71334 include directive. Remove local variable MPONE.
71335 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71336 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71337 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71338
71339 2012-12-25 David S. Miller <davem@davemloft.net>
71340
71341 * version.h (RELEASE): Set to "development".
71342 (VERSION): Set to "2.17.90".
71343 * NEWS: Add 2.18 section.
71344
71345 2012-12-21 David S. Miller <davem@davemloft.net>
71346
71347 * po/hr.po: Update from translation team.
71348
71349 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71350
71351 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71352
71353 2012-12-19 Steve Ellcey <sellcey@mips.com>
71354
71355 * NEWS: Mention new memcpy for MIPS.
71356
71357 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
71358
71359 * manual/contrib.texi (Contributors): Spelling correction.
71360
71361 2012-12-15 David S. Miller <davem@davemloft.net>
71362
71363 * po/ru.po: Update from translation team.
71364
71365 2012-12-13 David S. Miller <davem@davemloft.net>
71366
71367 * NEWS: Mention IFUNC testsuite enhancements.
71368
71369 * po/pl.po: Update from translation team.
71370 * po/bg.po: Likewise.
71371
71372 * manual/contrib.texi (Contributors): Update entries for Hongjiu
71373 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
71374
71375 2012-12-11 David S. Miller <davem@davemloft.net>
71376
71377 * po/sv.po: Update from translation team.
71378
71379 * po/vi.po: Update from translation team.
71380
71381 * po/cs.po: Update from translation team.
71382
71383 * po/de.po: Update from translation team.
71384 * po/eo.po: Likewise.
71385 * po/nl.po: Likewise.
71386
71387 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
71388
71389 [BZ #14246]
71390 * manual/argp.texi (Argp Helper Functions): Move node to follow
71391 Argp Parsing State.
71392
71393 [BZ #14872]
71394 * manual/conf.texi (Limits on File System Capacity): Mention if
71395 terminating null is included in the max size.
71396
71397 2012-12-10 Andreas Jaeger <aj@suse.de>
71398
71399 * po/cs.po: Update from translation team.
71400
71401 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
71402
71403 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71404 void pointer and cast to uintptr_t.
71405 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71406 path.
71407 * sysdeps/s390/s390-64/memcpy.S: Likewise.
71408 * sysdeps/s390/s390-64/memset.S: Likewise.
71409
71410 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
71411
71412 [BZ #14833]
71413 * menual/message.texi (Message Translation): Fix typos.
71414 (Helper programs for gettext): Likewise.
71415
71416 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
71417
71418 [BZ #14898]
71419 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71420 Change to -1.
71421
71422 2012-12-07 David S. Miller <davem@davemloft.net>
71423
71424 * po/libc.pot: Update.
71425
71426 2012-12-07 Richard Henderson <rth@redhat.com>
71427
71428 [BZ #10114]
71429 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71430 normal/normal case to before the switch.
71431 (_FP_DIV): Likewise.
71432
71433 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
71434 Mike Frysinger <vapier@gentoo.org>
71435
71436 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71437 check for __NR_fadvise64_64.
71438
71439 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
71440
71441 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71442 0, not just to plain "0" as a statement.
71443 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71444 with cw.
71445
71446 2012-12-06 Joseph Myers <joseph@codesourcery.com>
71447
71448 * NEWS: Use sourceware.org in Bugzilla URL.
71449
71450 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
71451
71452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71453 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71454
71455 * stdio-common/tst-put-error.c (do_test): Add newline to the
71456 padded test to ensure flush.
71457
71458 2012-12-05 Jeff Law <law@redhat.com>
71459
71460 * sunrpc/etc.rpc (fedfs_admin): Add entry.
71461
71462 2012-12-05 Joseph Myers <joseph@codesourcery.com>
71463
71464 * README: Don't refer to ports add-on as distributed separately.
71465 Mention AArch64 in list of systems supported in the ports add-on.
71466
71467 * LICENSES: Add more non-FSF copyright and license notices.
71468
71469 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71470 ((unused)).
71471
71472 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71473
71474 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71475 10000 as width of padded output.
71476
71477 2012-12-04 Joseph Myers <joseph@codesourcery.com>
71478
71479 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71480
71481 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71482 variable LX with __attribute__ ((unused)).
71483 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71484 Likewise.
71485 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71486 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71487 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71488 with __attribute__ ((unused)).
71489
71490 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
71491
71492 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71493
71494 2012-12-04 Joseph Myers <joseph@codesourcery.com>
71495
71496 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71497 (CFLAGS-nldbl-acos.c): New variable.
71498 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71499 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71500 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71501 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71502 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71503 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71504 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71505 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71506 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71507 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71508 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71509 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71510 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71511 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71512 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71513 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71514 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71515 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71516 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71517 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71518 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71519 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71520 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71521 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71522 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71523 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71524 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71525 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71526 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71527 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71528 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71529 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71530 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71531 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71532 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71533 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71534 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71535 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71536 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71537 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71538 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71539 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71540 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71541 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71542 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71543 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71544 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71545 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71546 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71547 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71548 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71549 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71550 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71551 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71552 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71553 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71554 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71555 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71556 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71557 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71558 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71559 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71560 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71561 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71562 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71563 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71564 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71565 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71566 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71567 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71568 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71569 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71570 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71571 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71572 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71573 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71574 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71575 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71576 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71577 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71578 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71579 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71580 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71581 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71582 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71583 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71584 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71585 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71586 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71587 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71588 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71589 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71590 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71591 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71592 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71593 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71594 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71595
71596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71597 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71598
71599 [BZ #14914]
71600 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71601 whole low double instead of just low 47 bits when splitting values
71602 into two parts.
71603
71604 2012-12-03 Allan McRae <allan@archlinux.org>
71605
71606 * manual/stdio.texi (Predefined Printf Handlers): Remove
71607 @hsep and @vsep usage.
71608
71609 2012-12-03 Mike Frysinger <vapier@gentoo.org>
71610
71611 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71612 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71613
71614 2012-12-03 Jeff Law <law@redhat.com>
71615
71616 * time/sys/time.h (settimeofday): Do not mark TV argument
71617 as __nonnull.
71618
71619 2012-12-01 Mike Frysinger <vapier@gentoo.org>
71620
71621 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71622 when currently writing and seek to current position when not.
71623 * libio/Makefile (tests): Remove bug-fclose1.
71624 * libio/bug-fclose1.c: Delete.
71625
71626 2012-12-01 Joseph Myers <joseph@codesourcery.com>
71627
71628 * manual/arith.texi (feenableexcept): Fix typo.
71629 (fedisableexcept): Likewise.
71630
71631 2012-11-30 Roland McGrath <roland@hack.frob.com>
71632
71633 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71634 second, differently-typed declaration, rather than a cast.
71635
71636 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
71637
71638 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71639 * include/rpc/svc.h: ... here.
71640
71641 2012-11-30 Aurelien Jarno <aurel32@debian.org>
71642
71643 [BZ #13013]
71644 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71645 depending n and resplen2 to catch cases where answer
71646 equals answerp2.
71647
71648 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
71649
71650 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71651 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71652
71653 2012-11-29 Mike Frysinger <vapier@gentoo.org>
71654
71655 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71656
71657 2012-11-29 Roland McGrath <roland@hack.frob.com>
71658
71659 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71660
71661 2012-11-28 Jeff Law <law@redhat.com>
71662
71663 [BZ #13761]
71664 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71665 dataset_temporary. Track alloca usage into alloca_used.
71666 If dataset is large allocate and release it via malloc/free.
71667
71668 2012-06-04 Florian Weimer <fweimer@redhat.com>
71669
71670 [BZ #14197]
71671 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71672
71673 2012-11-28 David S. Miller <davem@davemloft.net>
71674
71675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71676
71677 2012-11-28 Joseph Myers <joseph@codesourcery.com>
71678
71679 [BZ #14803]
71680 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71681 of pi/2 rounded to nearest to 64 bits.
71682 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71683 nearest to 64 bits.
71684 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71685 bits.
71686
71687 2012-11-28 Jeff Law <law@redhat.com>
71688 Martin Osvald <mosvald@redhat.com>
71689
71690 [BZ #14889]
71691 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71692 * sunrpc/svc.c: Include time.h.
71693 (__svc_accept_failed): New function.
71694 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71695 any reason other than EINTR, call __svc_accept_failed.
71696 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71697 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71698
71699 2012-11-28 Andreas Schwab <schwab@suse.de>
71700
71701 * scripts/abilist.awk: Also handle indirect functions in .opd
71702 section.
71703
71704 2012-11-28 Joseph Myers <joseph@codesourcery.com>
71705
71706 [BZ #13881]
71707 * sysdeps/x86/fpu/powl_helper.c: New file.
71708 * sysdeps/x86/fpu/Makefile: Likewise.
71709 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71710 (p3): New object.
71711 (__ieee754_powl): Use __powl_helper for finite arguments except
71712 integer exponents below 8.
71713 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71714 (p3): New object.
71715 (__ieee754_powl): Use __powl_helper for finite arguments except
71716 integer exponents below 8.
71717 * math/libm-test.inc (pow_test): Add more tests and enable some
71718 previously disabled tests.
71719 * sysdeps/i386/fpu/libm-test-ulps: Update.
71720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71721
71722 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
71723 Carlos O'Donell <carlos_odonell@mentor.com>
71724
71725 * nss/makedb.c (is_prime): Assert that input is odd and greater
71726 than 4. Note that fact in a comment too.
71727 (next_prime): Add 4 to input.
71728
71729 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
71730
71731 [BZ #11741]
71732 * libio/Makefile (tests): Add test case tst-fwrite-error.
71733 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
71734 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
71735 * libio/tst-fwrite-error.c: New test case.
71736
71737 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
71738
71739 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
71740 before casting to void *.
71741 * include/libc-internal.h (__pointer_type): New macro.
71742 (__integer_if_pointer_type_sub): Likewise.
71743 (__integer_if_pointer_type): Likewise.
71744 (cast_to_integer): Likewise.
71745 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
71746 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
71747 before casting to atomic64_t.
71748 (atomic_exchange_acq): Likewise.
71749 (__arch_exchange_and_add_body): Likewise.
71750 (__arch_add_body): Likewise.
71751 (atomic_add_negative): Likewise.
71752 (atomic_add_zero): Likewise.
71753
71754 2012-11-26 Joseph Myers <joseph@codesourcery.com>
71755
71756 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
71757 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
71758 (add_fdes): Likewise.
71759 (linear_search_fdes): Likewise.
71760 (binary_search_unencoded_fdes): Likewise.
71761
71762 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
71763
71764 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
71765
71766 2012-11-24 Adam Conrad <adconrad@0c3.net>
71767
71768 * configure.in: Autodetect C++ header directories.
71769 * configure: Regenerated.
71770
71771 2012-11-23 Mike Frysinger <vapier@gentoo.org>
71772
71773 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
71774
71775 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
71776
71777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71778
71779 2012-11-22 Joseph Myers <joseph@codesourcery.com>
71780
71781 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
71782 LDBL_MANT_DIG == 106]: Disable some tests.
71783 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71784 Likewise.
71785 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71786 Likewise.
71787
71788 [BZ #14871]
71789 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
71790 input for small inputs. Return +/- pi/2 for large inputs.
71791 * math/libm-test.inc (atan_test): Add more tests.
71792
71793 * sysdeps/generic/unwind-dw2-fde-glibc.c
71794 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
71795 __attribute__ ((unused)).
71796
71797 [BZ #14645]
71798 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
71799 x * y if x and y are nonzero and z is zero.
71800
71801 [BZ #14811]
71802 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
71803 nonzero exponents with absolute value below 0x1p-117 to +/-
71804 0x1p-117.
71805
71806 [BZ #14869]
71807 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
71808 up arguments below 2**-450, not just those below 2**-500.
71809 * math/libm-test.inc (hypot_test): Add another test.
71810
71811 [BZ #14868]
71812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
71813 Return a+b for ratio over 2**120, not 2**60.
71814 * math/libm-test.inc (hypot_test): Add another test.
71815
71816 * math/libm-test.inc (clog_test): Use
71817 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
71818 (clog10_test): Likewise.
71819
71820 [BZ #6778]
71821 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
71822
71823 2012-11-22 Andreas Schwab <schwab@suse.de>
71824
71825 * sysdeps/i386/fpu/libm-test-ulps: Update.
71826
71827 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
71828
71829 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
71830 printf output with newline.
71831
71832 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
71833
71834 [BZ #14865]
71835 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
71836 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
71837 -z nodlopen, -z initfirst and -z execstack support.
71838 * configure: Regenerated.
71839
71840 * elf/elf.h (DF_1_NODIRECT): New macro.
71841 (DF_1_IGNMULDEF): Likewise.
71842 (DF_1_NOKSYMS): Likewise.
71843 (DF_1_NOHDR): Likewise.
71844 (DF_1_EDITED): Likewise.
71845 (DF_1_NORELOC): Likewise.
71846 (DF_1_SYMINTPOSE): Likewise.
71847 (DF_1_GLOBAUDIT): Likewise.
71848 (DF_1_SINGLETON): Likewise.
71849 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
71850 DT_1_SUPPORTED_MASK bits.
71851 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
71852
71853 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
71854
71855 * sysdeps/unix/make-syscalls.sh: Document prefixes.
71856
71857 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
71858
71859 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
71860 macro.
71861
71862 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
71863 (sendmmsg): Move declarations...
71864 * socket/sys/socket.h: ... here.
71865 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
71866 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
71867 include it from...
71868 * socket/recvmmsg.c: ... this new file.
71869 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
71870 (sendmmsg): Rename to __sendmmsg, create weak alias and make
71871 definition of __sendmmsg hidden.
71872 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
71873 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
71874 Move ENOSYS stub into and include it from...
71875 * socket/sendmmsg.c: ... this new file.
71876 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
71877 (sysdep_routines): Move recvmmsg and sendmmsg...
71878 * socket/Makefile (routines): ... here.
71879 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
71880 (GLIBC_PRIVATE): Add __sendmmsg.
71881 * include/sys/socket.h (__sendmmsg): Add declarations.
71882 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
71883 sendmmsg.
71884
71885 2012-11-20 Joseph Myers <joseph@codesourcery.com>
71886
71887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
71888 variable I1 with __attribute__ ((unused)).
71889 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71890
71891 2012-11-19 Joseph Myers <joseph@codesourcery.com>
71892
71893 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
71894 DUMMY variables with __attribute__ ((unused)).
71895
71896 * bits/byteswap.h: Include <bits/types.h>.
71897 (__bswap_64): Use __uint64_t instead of unsigned long long int.
71898
71899 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
71900
71901 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
71902 string_t. Do not manually set errno.
71903 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
71904 length with __strnlen. Make sure to both set errno and return it on
71905 failure.
71906
71907 2012-11-19 David S. Miller <davem@davemloft.net>
71908
71909 With help from Joseph Myers.
71910 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
71911 very large arguments properly.
71912 * math/libm-test.inc (atan_test): New tests.
71913 (atan2_test): New tests.
71914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71916
71917 2012-11-19 Joseph Myers <joseph@codesourcery.com>
71918
71919 [BZ #14856]
71920 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
71921 Define to 3.
71922
71923 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
71924 [POSIX] (EADDRNOTAVAIL): Likewise.
71925 [POSIX] (EAFNOSUPPORT): Likewise.
71926 [POSIX] (EALREADY): Likewise.
71927 [POSIX] (ECONNABORTED): Likewise.
71928 [POSIX] (ECONNREFUSED): Likewise.
71929 [POSIX] (ECONNRESET): Likewise.
71930 [POSIX] (EDESTADDRREQ): Likewise.
71931 [POSIX] (EDQUOT): Likewise.
71932 [POSIX] (EHOSTUNREACH): Likewise.
71933 [POSIX] (EIDRM): Likewise.
71934 [POSIX] (EISCONN): Likewise.
71935 [POSIX] (ELOOP): Likewise.
71936 [POSIX] (EMULTIHOP): Likewise.
71937 [POSIX] (ENETDOWN): Likewise.
71938 [POSIX] (ENETUNREACH): Likewise.
71939 [POSIX] (ENOBUFS): Likewise.
71940 [POSIX] (ENODATA): Likewise.
71941 [POSIX] (ENOLINK): Likewise.
71942 [POSIX] (ENOMSG): Likewise.
71943 [POSIX] (ENOPROTOOPT): Likewise.
71944 [POSIX] (ENOSR): Likewise.
71945 [POSIX] (ENOSTR): Likewise.
71946 [POSIX] (ENOTCONN): Likewise.
71947 [POSIX] (ENOTSOCK): Likewise.
71948 [POSIX] (EOPNOTSUPP): Likewise.
71949 [POSIX] (EOVERFLOW): Likewise.
71950 [POSIX] (EPROTO): Likewise.
71951 [POSIX] (EPROTONOSUPPORT): Likewise.
71952 [POSIX] (EPROTOTYPE): Likewise.
71953 [POSIX] (ESTALE): Likewise.
71954 [POSIX] (ETIME): Likewise.
71955 [POSIX] (ETXTBSY): Likewise.
71956 [POSIX] (EWOULDBLOCK): Likewise.
71957 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
71958 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
71959 [POSIX] (SEEK_CUR): Likewise.
71960 [POSIX] (SEEK_END): Likewise.
71961 [POSIX || UNIX98] (mode_t): Do not require.
71962 [POSIX] (off_t): Likewise.
71963 [POSIX] (pid_t): Likewise.
71964 [POSIX] (sys/stat.h): Do not allow header.
71965 [POSIX] (unistd.h): Likewise.
71966 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
71967 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
71968 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
71969 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
71970 require.
71971 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
71972 sigevent): Specify elements.
71973 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
71974 entry.
71975 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
71976 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
71977
71978 * conform/data/cpio.h-data [POSIX]: Disable whole file.
71979 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
71980 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
71981 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
71982 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
71983 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
71984 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
71985 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
71986 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
71987 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
71988 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
71989 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
71990 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
71991 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
71992 Likewise.
71993 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
71994 Likewise.
71995 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
71996 Likewise.
71997 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
71998 Likewise.
71999 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72000 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72001 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72002 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72003 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72004 Specify lower bound on value.
72005 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72006 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72007 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72008 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72009 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72010 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72011 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72012 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72013 value.
72014 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72015 as optional.
72016 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72017 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72018 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72019 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72020 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72021 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72022 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72023 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72024 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72025 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72026 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72027 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72028 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72029 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72030 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72031 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72032 entry.
72033 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72034 optional.
72035 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72036 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72037 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72038 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72039 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72040 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72041 Likewise.
72042 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72043 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72044 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72045 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72046 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
72047 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72048 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72049 as optional.
72050 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72051 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72052 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72053 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72054 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72055 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72056 specify as optional.
72057 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72058 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72059 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72060 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72061 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72062 [XPG3] (NL_LANGMAX): Likewise.
72063 [POSIX || XPG3] (NL_MSGMAX): Likewise.
72064 [POSIX || XPG3] (NL_NMAX): Likewise.
72065 [POSIX || XPG3] (NL_SETMAX): Likewise.
72066 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72067 [XPG3] (NZERO): Likewise.
72068 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72069 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72070 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72071 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72072 (REG_ERANGE): Expect.
72073 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72074 optional-constant.
72075 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72076 Use (void) in prototype.
72077 [POSIX] (*_t): Allow.
72078 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72079 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72080 (WRDE_BADVAL): Expect.
72081
72082 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72083 expect.
72084 [XPG3 || XPG4] (O_RSYNC): Likewise.
72085 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72086 Likewise.
72087 [XPG3 || XPG4] (pthread_sigmask): Likewise.
72088 [XPG3 || XPG4] (sigqueue): Likewise.
72089 [XPG3 || XPG4] (sigtimedwait): Likewise.
72090 [XPG3 || XPG4] (sigwaitinfo): Likewise.
72091 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72092 [XPG3 || XPG4] (vsnprintf): Likewise.
72093 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72094 Likewise.
72095 [XPG3 || XPG4] (blksize_t): Likewise.
72096 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72097 Likewise.
72098 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72099 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72100 [XPG3 || XPG4] (struct itimerspec): Likewise.
72101 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72102 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72103 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72104 [XPG3 || XPG4] (clockid_t): Likewise.
72105 [XPG3 || XPG4] (timer_t): Likewise.
72106 [XPG3 || XPG4] (clock_getres): Likewise.
72107 [XPG3 || XPG4] (clock_gettime): Likewise.
72108 [XPG3 || XPG4] (clock_settime): Likewise.
72109 [XPG3 || XPG4] (nanosleep): Likewise.
72110 [XPG3 || XPG4] (timer_create): Likewise.
72111 [XPG3 || XPG4] (timer_delete): Likewise.
72112 [XPG3 || XPG4] (timer_gettime): Likewise.
72113 [XPG3 || XPG4] (timer_getoverrun): Likewise.
72114 [XPG3 || XPG4] (timer_settime): Likewise.
72115 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72116 [XPG3 || XPG4] (getlogin_r): Likewise.
72117 [XPG3 || XPG4] (pread): Likewise.
72118 [XPG3 || XPG4] (pthread_atfork): Likewise.
72119 [XPG3 || XPG4] (pwrite): Likewise.
72120
72121 [BZ #14835]
72122 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72123 <bits/siginfo.h>.
72124
72125 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
72126
72127 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72128 finalizing MALLSTREAM.
72129
72130 * sysdeps/mach/hurd/syncfs.c: New file.
72131
72132 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
72133
72134 [BZ #14719]
72135 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72136 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72137 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72138 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72139 (_nss_dns_gethostbyname4_r): Likewise.
72140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72141 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72142
72143 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
72144
72145 [BZ #13763]
72146 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72147
72148 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
72149
72150 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72151 * elf/cache.c (print_entry): Print ",AArch64" for
72152 FLAG_AARCH64_LIB64
72153
72154 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72155 * elf/cache.c (print_entry): Print ",hard-float" for
72156 FLAG_ARM_LIBHF.
72157
72158 2012-11-18 David S. Miller <davem@davemloft.net>
72159
72160 With help from Joseph Myers.
72161 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72162 cutoff to 2**-13.
72163 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72164 cutoff to 2**-25.
72165 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72166 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72167 small.
72168 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72169 * math/libm-test.inc (y0_test): New tests.
72170 (y1_test): New tests.
72171 * sysdeps/i386/fpu/libm-test-ulps: Update.
72172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72174
72175 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
72176
72177 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72178 64-bit targets.
72179 * configure: Regenerated.
72180
72181 2012-11-17 David S. Miller <davem@davemloft.net>
72182
72183 [BZ #14811]
72184 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72185 nonzero exponents with absolute value below 0x1p-128 to +/-
72186 0x1p-128.
72187
72188 2012-11-17 Joseph Myers <joseph@codesourcery.com>
72189
72190 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72191
72192 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72193
72194 * posix/getconf-speclist.c: New file.
72195 * posix/posix-envs.def: Likewise.
72196 * posix/confstr.c (START_ENV_GROUP): New macro.
72197 (END_ENV_GROUP): Likewise.
72198 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72199 (KNOWN_PRESENT_ENV_STRING): Likewise.
72200 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72201 (UNKNOWN_ENVIRONMENT): Likewise.
72202 (confstr): Include posix-envs.def instead of handling
72203 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72204 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72205 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72206 (END_ENV_GROUP): Likewise.
72207 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72208 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72209 (UNKNOWN_ENVIRONMENT): Likewise.
72210 (__sysconf): Include posix-envs.def instead of handling associated
72211 cases directly here.
72212 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72213 preprocessing getconf-speclist.c rather than running getconf or
72214 generating empty file.
72215
72216 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
72217
72218 * scripts/check-local-headers.sh: Ignore 'mach' headers.
72219
72220 2012-11-16 Andrej Lajovic <natrij@gmail.com>
72221
72222 [BZ #14672]
72223 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72224
72225 2012-11-16 David S. Miller <davem@davemloft.net>
72226
72227 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72228 smaller than LDBL_EPSILON/2.0L, just return xm1.
72229
72230 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
72231
72232 * elf/tst-array1.c (init): Set constructor priority to 1000.
72233 (fini): Set destructor priority to 1000.
72234 * elf/tst-array2dep.c: Likewise.
72235
72236 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72237
72238 [BZ #11741]
72239 * libio/fileops.c (_IO_new_file_write): Correctly return error.
72240 (_IO_new_file_xsputn): Also return EOF if none of the input
72241 data was written when overflow failed.
72242 * libio/iopadn.c (_IO_padn): Likewise.
72243 * libio/iowpadn.c (_IO_wpadn): Likewise.
72244 * stdio-common/tst-put-error.c: Add copyright notice.
72245 (do_test): Add case for printing padded string.
72246 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72247 _IO_padn returned error.
72248 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72249 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72250 return EOF.
72251
72252 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72253
72254 * libio/libioP.h: Add comment note that the references to C++
72255 bits are now obsolete.
72256
72257 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72258
72259 * math/libm-test.inc (check_complex): Use asprintf.
72260
72261 2012-11-14 Joseph Myers <joseph@codesourcery.com>
72262
72263 * debug/pcprofiledump.c (print_version): Update copyright year.
72264 * malloc/memusagestat.c (print_version): Likewise.
72265
72266 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
72267
72268 [BZ #14831]
72269 * elf/Makefile (tests): Add tst-audit8.
72270 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72271 ($(objpfx)tst-audit8.out): New target.
72272 (tst-audit8-ENV): New variable.
72273 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72274 audit if l_reloc_result is NULL.
72275 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72276 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72277 * elf/tst-audit8.c: New file.
72278
72279 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72280
72281 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72282 * misc/Makefile (CFLAGS-select.c): Define.
72283 * posix/Makefile (CFLAGS-pause.c): Define.
72284
72285 2012-11-13 David S. Miller <davem@davemloft.net>
72286
72287 * crypt/Makefile: Move test targets after toplevel Rules
72288 inclusion. Grab any necessary sysdep routines when linking.
72289 * crypt/md5.c (md5_process_block): Remove define, we will always
72290 name it __md5_process_block.
72291 (md5_finish_ctx): Update md5_process_block call.
72292 (md5_stream): Likewise.
72293 (md5_process_bytes): Likewise.
72294 (md5_process_block): Rename to __md5_process_block and move to ...
72295 * crypt/md5-block.c: ... here.
72296 * crypt/sha256.c (sha256_process_block): Move to ...
72297 * crypt/sha256-block.c: ... here.
72298 * crypt/sha512.c (sha512_process_block): Move to ...
72299 * crypt/sha512-block.c: ... here.
72300 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72301 path.
72302 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72303 * sysdeps/sparc/sparc64/multiarch/Makefile
72304 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72305 crypt subdir.
72306 (localedef-aux): Add md5 crypto assembler when in locale subdir.
72307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72308 multiarch changes.
72309 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72310 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72311 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72312 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72313 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72314 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72315 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72316 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72317 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72318 file.
72319 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72320 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72321 file.
72322 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72323
72324 2012-11-13 Joseph Myers <joseph@codesourcery.com>
72325
72326 * timezone/tzselect.ksh: Update from tzcode git revision
72327 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72328 * timezone/zdump.c: Likewise.
72329 * timezone/zic.c: Likewise.
72330 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72331 in TZVERSION setting, not $(PKGVERSION).
72332 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
72333 REPORT_BUGS_TO settings.
72334
72335 [BZ #14838]
72336 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72337 macro.
72338
72339 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72340
72341 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72342 detection to immediately after _FP_ROUND().
72343 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72344 bits are 0.
72345
72346 2012-11-11 David S. Miller <davem@davemloft.net>
72347
72348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72349 inttypes.h
72350 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72351 __close rather than their public counterparts.
72352
72353 2012-11-10 Joseph Myers <joseph@codesourcery.com>
72354
72355 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72356 file.
72357 [UNIX98] (sem_timedwait): Do not expect.
72358 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72359 [XPG4 || UNIX98] (sockatmark): Do not expect.
72360 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72361 (clock_getcpuclockid): Do not expect.
72362 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72363 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72364 Do not expect.
72365 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72366 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72367 [UNIX98] (vwscanf): Likewise.
72368 [UNIX98] (vswscanf): Likewise.
72369
72370 2012-11-09 Joseph Myers <joseph@codesourcery.com>
72371
72372 * timezone/version.h: Remove file.
72373 * timezone/README: Do not refer to version.h.
72374 * timezone/Makefile ($(objpfx)zic.o): New dependency on
72375 $(objpfx)version.h.
72376 ($(objpfx)zdump.o): Likewise.
72377 ($(objpfx)version.h): New target.
72378
72379 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72380 2012i.
72381 * timezone/README: Don't mention modification to tzselect.ksh.
72382 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72383 work on unmodified tzselect.ksh. Substitute version numbers in
72384 tzselect.ksh.
72385
72386 * Makefile (format-me): Remove.
72387 (INSTALL): Adjust indentation. Use commands directly instead of
72388 using $(format-me).
72389
72390 * aclocal.m4 (ACX_PKGVERSION): New macro.
72391 (ACX_BUGURL): Likewise.
72392 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72393 (PKGVERSION): New AC_DEFINE_UNQUOTED.
72394 (REPORT_BUGS_TO): Likewise.
72395 * configure: Regenerated.
72396 * config.h.in (PKGVERSION): New macro.
72397 (REPORT_BUGS_TO): Likewise.
72398 * config.make.in (PKGVERSION): New variable.
72399 (PKGVERSION_TEXI): Likewise.
72400 (REPORT_BUGS_TO): Likewise.
72401 (REPORT_BUGS_TEXI): Likewise.
72402 * Makefile (format-me): Use -I$(common-objpfx)manual.
72403 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72404 ($(common-objpfx)manual/%): New target.
72405 (manual/%): Remove target.
72406 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72407 (print_version): Use PKGVERSION.
72408 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72409 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72410 and REPORT_BUGS_TO.
72411 ($(objpfx)xtrace): Likewise.
72412 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72413 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72414 (print_version): Use PKGVERSION.
72415 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72416 (do_version): Use PKGVERSION.
72417 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72418 REPORT_BUGS_TO.
72419 (common-ldd-rewrite): Likewise.
72420 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72421 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72422 (print_version): Use PKGVERSION.
72423 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72424 * elf/pldd.c (argp_program_bug_address): Remove variable.
72425 (more_help): New function.
72426 (argp): Use more_help.
72427 (print_version): Use PKGVERSION.
72428 * elf/sln.c (main): Use PKGVERSION.
72429 (usage): Use REPORT_BUGS_TO.
72430 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72431 (top level): Use PKGVERSION.
72432 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72433 (print_version): Use PKGVERSION.
72434 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72435 (print_version): Use PKGVERSION.
72436 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72437 (print_version): Use PKGVERSION.
72438 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72439 (print_version): Use PKGVERSION.
72440 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72441 (print_version): Use PKGVERSION.
72442 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72443 (print_version): Use PKGVERSION.
72444 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72445 and BUGURL.
72446 ($(objpfx)memusage): Likewise.
72447 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72448 (do_version): Use PKGVERSION.
72449 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72450 (print_version): Use PKGVERSION.
72451 * malloc/mtrace.pl ($PACKAGE): Remove variable.
72452 ($PKGVERSION): New variable.
72453 ($REPORT_BUGS_TO): Likewise.
72454 (usage): Use $REPORT_BUGS_TO.
72455 (top level): Use $PKGVERSION.
72456 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72457 ($(objpfx)pkgvers.texi): New rule.
72458 ($(objpfx)stamp-pkgvers): Likewise.
72459 * manual/install.texi: Include pkgvers.texi.
72460 (--with-pkgversion): Document new configure option.
72461 (--with-bugurl): Likewise.
72462 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72463 than necessarily for this particular distribution. Use
72464 REPORT_BUGS_TO for where to report bugs.
72465 * INSTALL: Regenerated.
72466 * manual/libc.texinfo: Include pkgvers.texi.
72467 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72468 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72469 (print_version): Use PKGVERSION.
72470 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72471 (print_version): Use PKGVERSION.
72472 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72473 (print_version): Use PKGVERSION.
72474 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72475 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72476 macro.
72477 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72478 (print_version): Use PKGVERSION.
72479 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72480 (print_version): Use PKGVERSION.
72481 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72482 and PKGVERSION.
72483
72484 * timezone/checktab.awk: Update from tzcode 2012i.
72485 * timezone/ialloc.c: Likewise.
72486 * timezone/private.h: Likewise.
72487 * timezone/scheck.c: Likewise.
72488 * timezone/tzfile.h: Likewise.
72489 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72490 (TZVERSION): Hardcode tzcode version number.
72491 * timezone/zdump.c: Update from tzcode 2012i.
72492 * timezone/zic.c: Likewise.
72493 * timezone/version.h: New file.
72494 * timezone/README: Describe version.h. Update upstream location.
72495
72496 [BZ #14824]
72497 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72498 (mktemp): Enable declaration.
72499 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72501 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72503 Likewise.
72504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72505 Likewise.
72506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72507 Likewise.
72508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72509 Likewise.
72510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72511 Likewise.
72512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72513 Likewise.
72514
72515 [BZ #14821]
72516 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72517 offset in buffer as u_int32_t not u_long. Consistently use memcpy
72518 for copies of such integer values.
72519 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72520 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72521
72522 2012-11-09 Andreas Jaeger <aj@suse.de>
72523
72524 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72525 definitions and declarations that are provided by
72526 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72527
72528 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72529
72530 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72531 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72532 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72533 definition.
72534
72535 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72536
72537 * elf/elf.h: Update comment before AArch64 relocations.
72538
72539 2012-11-07 David S. Miller <davem@davemloft.net>
72540
72541 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72542 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72543 (__start_context): Declare.
72544 (__makecontext_ret): Delete.
72545 (__makecontext): Hook up __start_context instead of
72546 __makecontext_ret.
72547 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72548 (sysdep_routines): Add __start_context when in stdlib.
72549
72550 2012-11-07 Joseph Myers <joseph@codesourcery.com>
72551
72552 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72553 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72554 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
72555 hardcoded "nm".
72556 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
72557 (READELF): New variable. Use it instead of hardcoded "readelf".
72558
72559 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
72560
72561 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72562 * sysdeps/x86/Makefile: Here.
72563 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72564 * sysdeps/x86/tst-xmmymm.sh: This.
72565
72566 2012-11-07 Joseph Myers <joseph@codesourcery.com>
72567
72568 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72569 expectations.
72570 [UNIX98] (pthread_barrier_t): Do not expect.
72571 [UNIX98] (pthread_barrierattr_t): Likewise.
72572 [UNIX98] (pthread_spinlock_t): Likewise.
72573 [UNIX98] (pthread_barrier_destroy): Likewise.
72574 [UNIX98] (pthread_barrier_init): Likewise.
72575 [UNIX98] (pthread_barrier_wait): Likewise.
72576 [UNIX98] (pthread_barrierattr_destroy): Likewise.
72577 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72578 [UNIX98] (pthread_barrierattr_init): Likewise.
72579 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72580 [UNIX98] (pthread_getcpuclockid): Likewise.
72581 [UNIX98] (pthread_mutex_timedlock): Likewise.
72582 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72583 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72584 [UNIX98] (pthread_sigmask): Likewise.
72585 [UNIX98] (pthread_spin_destroy): Likewise.
72586 [UNIX98] (pthread_spin_init): Likewise.
72587 [UNIX98] (pthread_spin_lock): Likewise.
72588 [UNIX98] (pthread_spin_trylock): Likewise.
72589 [UNIX98] (pthread_spin_unlock): Likewise.
72590 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72591 Do not expect.
72592 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72593 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72594 [XPG3 || XPG4] (pthread_cond_t): Likewise.
72595 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72596 [XPG3 || XPG4] (pthread_key_t): Likewise.
72597 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72598 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72599 [XPG3 || XPG4] (pthread_once_t): Likewise.
72600 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72601 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72602 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72603 [XPG3 || XPG4] (pthread_t): Likewise.
72604
72605 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72606 not expect.
72607 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72608
72609 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72610 Change function return type to int.
72611
72612 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72613 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72614 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72615 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72616 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72617 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72618 [!POSIX] (posix_madvise): Likewise.
72619 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72620 && !UNIX98].
72621 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72622 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72623 (mode_t): Likewise.
72624 (posix_mem_offset): Likewise.
72625 (posix_typed_mem_get_info): Likewise.
72626 (posix_typed_mem_open): Likewise.
72627
72628 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72629 Change condition to [XOPEN2K8].
72630
72631 * conform/conformtest.pl: Preprocess allow-header data with -x c
72632 instead of from stdin.
72633 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72634 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72635 [C99-based standards] (cerfc): Likewise.
72636 [C99-based standards] (cexp2): Likewise.
72637 [C99-based standards] (cexpm1): Likewise.
72638 [C99-based standards] (clog10): Likewise.
72639 [C99-based standards] (clog1p): Likewise.
72640 [C99-based standards] (clog2): Likewise.
72641 [C99-based standards] (clgamma): Likewise.
72642 [C99-based standards] (ctgamma): Likewise.
72643 [C99-based standards] (cerff): Likewise.
72644 [C99-based standards] (cerfcf): Likewise.
72645 [C99-based standards] (cexp2f): Likewise.
72646 [C99-based standards] (cexpm1f): Likewise.
72647 [C99-based standards] (clog10f): Likewise.
72648 [C99-based standards] (clog1pf): Likewise.
72649 [C99-based standards] (clog2f): Likewise.
72650 [C99-based standards] (clgammaf): Likewise.
72651 [C99-based standards] (ctgammaf): Likewise.
72652 [C99-based standards] (cerfl): Likewise.
72653 [C99-based standards] (cerfcl): Likewise.
72654 [C99-based standards] (cexp2l): Likewise.
72655 [C99-based standards] (cexpm1l): Likewise.
72656 [C99-based standards] (clog10l): Likewise.
72657 [C99-based standards] (clog1pl): Likewise.
72658 [C99-based standards] (clog2l): Likewise.
72659 [C99-based standards] (clgammal): Likewise.
72660 [C99-based standards] (ctgammal): Likewise.
72661 * conform/data/inttypes.h-data [C99-based standards]: Include
72662 stdint.h-data. Remove all expectations for stdint.h contents.
72663 [C99-based standards] (PRI*): Do not allow.
72664 [C99-based standards] (SCN*): Likewise.
72665 [C99-based standards] (*_t): Likewise.
72666 [C99-based-standards] (PRId8): Expect macro.
72667 [C99-based-standards] (PRIi8): Likewise.
72668 [C99-based-standards] (PRIo8): Likewise.
72669 [C99-based-standards] (PRIu8): Likewise.
72670 [C99-based-standards] (PRIx8): Likewise.
72671 [C99-based-standards] (PRIX8): Likewise.
72672 [C99-based-standards] (SCNd8): Likewise.
72673 [C99-based-standards] (SCNi8): Likewise.
72674 [C99-based-standards] (SCNo8): Likewise.
72675 [C99-based-standards] (SCNu8): Likewise.
72676 [C99-based-standards] (SCNx8): Likewise.
72677 [C99-based-standards] (PRIdLEAST8): Likewise.
72678 [C99-based-standards] (PRIiLEAST8): Likewise.
72679 [C99-based-standards] (PRIoLEAST8): Likewise.
72680 [C99-based-standards] (PRIuLEAST8): Likewise.
72681 [C99-based-standards] (PRIxLEAST8): Likewise.
72682 [C99-based-standards] (PRIXLEAST8): Likewise.
72683 [C99-based-standards] (SCNdLEAST8): Likewise.
72684 [C99-based-standards] (SCNiLEAST8): Likewise.
72685 [C99-based-standards] (SCNoLEAST8): Likewise.
72686 [C99-based-standards] (SCNuLEAST8): Likewise.
72687 [C99-based-standards] (SCNxLEAST8): Likewise.
72688 [C99-based-standards] (PRIdFAST8): Likewise.
72689 [C99-based-standards] (PRIiFAST8): Likewise.
72690 [C99-based-standards] (PRIoFAST8): Likewise.
72691 [C99-based-standards] (PRIuFAST8): Likewise.
72692 [C99-based-standards] (PRIxFAST8): Likewise.
72693 [C99-based-standards] (PRIXFAST8): Likewise.
72694 [C99-based-standards] (SCNdFAST8): Likewise.
72695 [C99-based-standards] (SCNiFAST8): Likewise.
72696 [C99-based-standards] (SCNoFAST8): Likewise.
72697 [C99-based-standards] (SCNuFAST8): Likewise.
72698 [C99-based-standards] (SCNxFAST8): Likewise.
72699 [C99-based-standards] (PRId16): Likewise.
72700 [C99-based-standards] (PRIi16): Likewise.
72701 [C99-based-standards] (PRIo16): Likewise.
72702 [C99-based-standards] (PRIu16): Likewise.
72703 [C99-based-standards] (PRIx16): Likewise.
72704 [C99-based-standards] (PRIX16): Likewise.
72705 [C99-based-standards] (SCNd16): Likewise.
72706 [C99-based-standards] (SCNi16): Likewise.
72707 [C99-based-standards] (SCNo16): Likewise.
72708 [C99-based-standards] (SCNu16): Likewise.
72709 [C99-based-standards] (SCNx16): Likewise.
72710 [C99-based-standards] (PRIdLEAST16): Likewise.
72711 [C99-based-standards] (PRIiLEAST16): Likewise.
72712 [C99-based-standards] (PRIoLEAST16): Likewise.
72713 [C99-based-standards] (PRIuLEAST16): Likewise.
72714 [C99-based-standards] (PRIxLEAST16): Likewise.
72715 [C99-based-standards] (PRIXLEAST16): Likewise.
72716 [C99-based-standards] (SCNdLEAST16): Likewise.
72717 [C99-based-standards] (SCNiLEAST16): Likewise.
72718 [C99-based-standards] (SCNoLEAST16): Likewise.
72719 [C99-based-standards] (SCNuLEAST16): Likewise.
72720 [C99-based-standards] (SCNxLEAST16): Likewise.
72721 [C99-based-standards] (PRIdFAST16): Likewise.
72722 [C99-based-standards] (PRIiFAST16): Likewise.
72723 [C99-based-standards] (PRIoFAST16): Likewise.
72724 [C99-based-standards] (PRIuFAST16): Likewise.
72725 [C99-based-standards] (PRIxFAST16): Likewise.
72726 [C99-based-standards] (PRIXFAST16): Likewise.
72727 [C99-based-standards] (SCNdFAST16): Likewise.
72728 [C99-based-standards] (SCNiFAST16): Likewise.
72729 [C99-based-standards] (SCNoFAST16): Likewise.
72730 [C99-based-standards] (SCNuFAST16): Likewise.
72731 [C99-based-standards] (SCNxFAST16): Likewise.
72732 [C99-based-standards] (PRId32): Likewise.
72733 [C99-based-standards] (PRIi32): Likewise.
72734 [C99-based-standards] (PRIo32): Likewise.
72735 [C99-based-standards] (PRIu32): Likewise.
72736 [C99-based-standards] (PRIx32): Likewise.
72737 [C99-based-standards] (PRIX32): Likewise.
72738 [C99-based-standards] (SCNd32): Likewise.
72739 [C99-based-standards] (SCNi32): Likewise.
72740 [C99-based-standards] (SCNo32): Likewise.
72741 [C99-based-standards] (SCNu32): Likewise.
72742 [C99-based-standards] (SCNx32): Likewise.
72743 [C99-based-standards] (PRIdLEAST32): Likewise.
72744 [C99-based-standards] (PRIiLEAST32): Likewise.
72745 [C99-based-standards] (PRIoLEAST32): Likewise.
72746 [C99-based-standards] (PRIuLEAST32): Likewise.
72747 [C99-based-standards] (PRIxLEAST32): Likewise.
72748 [C99-based-standards] (PRIXLEAST32): Likewise.
72749 [C99-based-standards] (SCNdLEAST32): Likewise.
72750 [C99-based-standards] (SCNiLEAST32): Likewise.
72751 [C99-based-standards] (SCNoLEAST32): Likewise.
72752 [C99-based-standards] (SCNuLEAST32): Likewise.
72753 [C99-based-standards] (SCNxLEAST32): Likewise.
72754 [C99-based-standards] (PRIdFAST32): Likewise.
72755 [C99-based-standards] (PRIiFAST32): Likewise.
72756 [C99-based-standards] (PRIoFAST32): Likewise.
72757 [C99-based-standards] (PRIuFAST32): Likewise.
72758 [C99-based-standards] (PRIxFAST32): Likewise.
72759 [C99-based-standards] (PRIXFAST32): Likewise.
72760 [C99-based-standards] (SCNdFAST32): Likewise.
72761 [C99-based-standards] (SCNiFAST32): Likewise.
72762 [C99-based-standards] (SCNoFAST32): Likewise.
72763 [C99-based-standards] (SCNuFAST32): Likewise.
72764 [C99-based-standards] (SCNxFAST32): Likewise.
72765 [C99-based-standards] (PRId64): Likewise.
72766 [C99-based-standards] (PRIi64): Likewise.
72767 [C99-based-standards] (PRIo64): Likewise.
72768 [C99-based-standards] (PRIu64): Likewise.
72769 [C99-based-standards] (PRIx64): Likewise.
72770 [C99-based-standards] (PRIX64): Likewise.
72771 [C99-based-standards] (SCNd64): Likewise.
72772 [C99-based-standards] (SCNi64): Likewise.
72773 [C99-based-standards] (SCNo64): Likewise.
72774 [C99-based-standards] (SCNu64): Likewise.
72775 [C99-based-standards] (SCNx64): Likewise.
72776 [C99-based-standards] (PRIdLEAST64): Likewise.
72777 [C99-based-standards] (PRIiLEAST64): Likewise.
72778 [C99-based-standards] (PRIoLEAST64): Likewise.
72779 [C99-based-standards] (PRIuLEAST64): Likewise.
72780 [C99-based-standards] (PRIxLEAST64): Likewise.
72781 [C99-based-standards] (PRIXLEAST64): Likewise.
72782 [C99-based-standards] (SCNdLEAST64): Likewise.
72783 [C99-based-standards] (SCNiLEAST64): Likewise.
72784 [C99-based-standards] (SCNoLEAST64): Likewise.
72785 [C99-based-standards] (SCNuLEAST64): Likewise.
72786 [C99-based-standards] (SCNxLEAST64): Likewise.
72787 [C99-based-standards] (PRIdFAST64): Likewise.
72788 [C99-based-standards] (PRIiFAST64): Likewise.
72789 [C99-based-standards] (PRIoFAST64): Likewise.
72790 [C99-based-standards] (PRIuFAST64): Likewise.
72791 [C99-based-standards] (PRIxFAST64): Likewise.
72792 [C99-based-standards] (PRIXFAST64): Likewise.
72793 [C99-based-standards] (SCNdFAST64): Likewise.
72794 [C99-based-standards] (SCNiFAST64): Likewise.
72795 [C99-based-standards] (SCNoFAST64): Likewise.
72796 [C99-based-standards] (SCNuFAST64): Likewise.
72797 [C99-based-standards] (SCNxFAST64): Likewise.
72798 [C99-based-standards] (PRIdMAX): Likewise.
72799 [C99-based-standards] (PRIiMAX): Likewise.
72800 [C99-based-standards] (PRIoMAX): Likewise.
72801 [C99-based-standards] (PRIuMAX): Likewise.
72802 [C99-based-standards] (PRIxMAX): Likewise.
72803 [C99-based-standards] (PRIXMAX): Likewise.
72804 [C99-based-standards] (SCNdMAX): Likewise.
72805 [C99-based-standards] (SCNiMAX): Likewise.
72806 [C99-based-standards] (SCNoMAX): Likewise.
72807 [C99-based-standards] (SCNuMAX): Likewise.
72808 [C99-based-standards] (SCNxMAX): Likewise.
72809 [C99-based-standards] (PRIdPTR): Likewise.
72810 [C99-based-standards] (PRIiPTR): Likewise.
72811 [C99-based-standards] (PRIoPTR): Likewise.
72812 [C99-based-standards] (PRIuPTR): Likewise.
72813 [C99-based-standards] (PRIxPTR): Likewise.
72814 [C99-based-standards] (PRIXPTR): Likewise.
72815 [C99-based-standards] (SCNdPTR): Likewise.
72816 [C99-based-standards] (SCNiPTR): Likewise.
72817 [C99-based-standards] (SCNoPTR): Likewise.
72818 [C99-based-standards] (SCNuPTR): Likewise.
72819 [C99-based-standards] (SCNxPTR): Likewise.
72820 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
72821 allow.
72822 * conform/data/stdint.h-data: Update comments to clarify
72823 requirements.
72824 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
72825 type.
72826 [C99-based standards] (INT8_MAX): Likewise.
72827 [C99-based standards] (INT16_MIN): Likewise.
72828 [C99-based standards] (INT16_MAX): Likewise.
72829 [C99-based standards] (INT32_MIN): Likewise.
72830 [C99-based standards] (INT32_MAX): Likewise.
72831 [C99-based standards] (INT64_MIN): Likewise.
72832 [C99-based standards] (INT64_MAX): Likewise.
72833 [C99-based standards] (UINT8_MAX): Likewise.
72834 [C99-based standards] (UINT16_MAX): Likewise.
72835 [C99-based standards] (UINT32_MAX): Likewise.
72836 [C99-based standards] (UINT64_MAX): Likewise.
72837 [C99-based standards] (INT_LEAST8_MIN): Likewise.
72838 [C99-based standards] (INT_LEAST8_MAX): Likewise.
72839 [C99-based standards] (INT_LEAST16_MIN): Likewise.
72840 [C99-based standards] (INT_LEAST16_MAX): Likewise.
72841 [C99-based standards] (INT_LEAST32_MIN): Likewise.
72842 [C99-based standards] (INT_LEAST32_MAX): Likewise.
72843 [C99-based standards] (INT_LEAST64_MIN): Likewise.
72844 [C99-based standards] (INT_LEAST64_MAX): Likewise.
72845 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
72846 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
72847 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
72848 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
72849 [C99-based standards] (INT_FAST8_MIN): Likewise.
72850 [C99-based standards] (INT_FAST8_MAX): Likewise.
72851 [C99-based standards] (INT_FAST16_MIN): Likewise.
72852 [C99-based standards] (INT_FAST16_MAX): Likewise.
72853 [C99-based standards] (INT_FAST32_MIN): Likewise.
72854 [C99-based standards] (INT_FAST32_MAX): Likewise.
72855 [C99-based standards] (INT_FAST64_MIN): Likewise.
72856 [C99-based standards] (INT_FAST64_MAX): Likewise.
72857 [C99-based standards] (UINT_FAST8_MAX): Likewise.
72858 [C99-based standards] (UINT_FAST16_MAX): Likewise.
72859 [C99-based standards] (UINT_FAST32_MAX): Likewise.
72860 [C99-based standards] (UINT_FAST64_MAX): Likewise.
72861 [C99-based standards] (INTPTR_MIN): Likewise.
72862 [C99-based standards] (INTPTR_MAX): Likewise.
72863 [C99-based standards] (UINTPTR_MAX): Likewise.
72864 [C99-based standards] (INTMAX_MIN): Likewise.
72865 [C99-based standards] (INTMAX_MAX): Likewise.
72866 [C99-based standards] (UINTMAX_MAX): Likewise.
72867 [C99-based standards] (PTRDIFF_MIN): Likewise.
72868 [C99-based standards] (PTRDIFF_MAX): Likewise.
72869 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
72870 [C99-based standards] (SIZE_MAX): Likewise.
72871 [C99-based standards] (WCHAR_MAX): Likewise.
72872 [C99-based standards] (WINT_MAX): Likewise.
72873 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
72874 constraint on value.
72875 [C99-based standards] (WCHAR_MIN): Likewise.
72876 [C99-based standards] (WINT_MIN): Likewise.
72877 [C99-based standards] (*_t): Allow.
72878 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
72879 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
72880 Include math.h-data and complex.h-data. Remove all expectations
72881 of math.h and complex.h contents.
72882 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
72883 at end of line.
72884 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
72885 (struct tm): Expect tag.
72886 [C99-based-standards] (wcstof): Expect function.
72887 [C99-based-standards] (wcstold): Likewise.
72888 [C99-based-standards] (wcstoll): Likewise.
72889 [C99-based-standards] (wcstoull): Likewise.
72890 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
72891 macro-int-constant. Specify type.
72892 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
72893 constraint on value.
72894 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72895 Specify type.
72896 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
72897 Specify value.
72898 [ISO C standards]: Do not allow headers.
72899 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
72900 wcs[abcdefghijklmnopqrstuvwxyz]*.
72901 [ISO C standards] (*_t): Do not allow.
72902 * conform/data/wctype.h-data [C99-based standards] (iswblank):
72903 Expect function.
72904 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
72905 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72906 Specify type.
72907 [ISO C standards]: Do not allow headers.
72908 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
72909 is[abcdefghijklmnopqrstuvwxyz]*.
72910 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
72911 to[abcdefghijklmnopqrstuvwxyz]*.
72912 [ISO C standards] (*_t): Do not allow.
72913 * conform/data/stdalign.h-data: New file.
72914 * conform/data/stdbool.h-data: Likewise.
72915 * conform/data/stdnoreturn.h-data: Likewise.
72916
72917 2012-11-07 Roland McGrath <roland@hack.frob.com>
72918
72919 [BZ #14815]
72920 * manual/filesys.texi (Directory Entries): Typo fix.
72921 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
72922
72923 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72924
72925 * elf/elf.h (EM_AARCH64): New macro.
72926 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
72927 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
72928 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
72929 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
72930 (R_AARCH64_TLSDESC): Likewise.
72931 (NT_ARM_TLS): Likewise.
72932 (NT_ARM_HW_BREAK): Likewise.
72933 (NT_ARM_HW_WATCH): Likewise.
72934
72935 2012-11-07 Joseph Myers <joseph@codesourcery.com>
72936
72937 [BZ #14811]
72938 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
72939 (__ieee754_powl): Saturate nonzero exponents with absolute value
72940 below 0x1p-79 to +/- 0x1p-79.
72941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
72942 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
72943 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
72944 nonzero exponents with absolute value below 0x1p-32 to +/-
72945 0x1p-32.
72946 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
72947 (__ieee754_powl): Saturate nonzero exponents with absolute value
72948 below 0x1p-79 to +/- 0x1p-79.
72949 * math/libm-test.inc (pow_test): Add more tests.
72950
72951 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72952
72953 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
72954 _dl_s390_cap_flags with kernel. Increase string length.
72955 (_dl_s390_platforms): Add z196 and zEC12.
72956
72957 2012-11-07 Joseph Myers <joseph@codesourcery.com>
72958
72959 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
72960 Change XOPEN21K to XOPEN2K.
72961
72962 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
72963
72964 * string/memmove.c: Use memcpy when possible.
72965
72966 2012-11-06 Andreas Jaeger <aj@suse.de>
72967
72968 * po/eo.po: Update from translation team.
72969
72970 2012-11-06 Joseph Myers <joseph@codesourcery.com>
72971
72972 [BZ #14793]
72973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
72974 exponent and small x and y exponents, scale x or y up. Increase
72975 by 2 the exponent used in scaling up.
72976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72978 * math/libm-test.inc (fma_test): Add more tests.
72979 (fma_test_towardzero): Likewise.
72980 (fma_test_downward): Likewise.
72981 (fma_test_upward): Likewise.
72982
72983 2012-11-05 Joseph Myers <joseph@codesourcery.com>
72984
72985 [BZ #14805]
72986 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
72987 fenv_t *.
72988
72989 [BZ #14801]
72990 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
72991 namespace for names of struct fields.
72992 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
72993 fenv_t fields.
72994 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
72995 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
72996
72997 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
72998
72999 [BZ #3665]
73000 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73001
73002 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
73003
73004 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73005 PTR_DEMANGLE.
73006
73007 [BZ #5246]
73008 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73009 PTR_DEMANGLE.
73010
73011 2012-11-04 Joseph Myers <joseph@codesourcery.com>
73012
73013 [BZ #14797]
73014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73015 definitely overflow as x * y not x * y + z.
73016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73018 * math/libm-test.inc (fma_test): Add more tests.
73019 (fma_test_towardzero): Likewise.
73020 (fma_test_downward): Likewise.
73021 (fma_test_upward): Likewise.
73022
73023 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
73024
73025 [BZ #157]
73026
73027 * include/stub-tag.h: Remove file.
73028 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73029 '#include' of it.
73030 * manual/maint.texi (Porting): Don't reference it.
73031 * Makerules ($(objpfx)stubs): Likewise.
73032 * dirent/closedir.c: Don't include <stub-tag.h>.
73033 * dirent/dirfd.c: Likewise.
73034 * dirent/fdopendir.c: Likewise.
73035 * dirent/getdents.c: Likewise.
73036 * dirent/getdents64.c: Likewise.
73037 * dirent/opendir.c: Likewise.
73038 * dirent/readdir.c: Likewise.
73039 * dirent/readdir64.c: Likewise.
73040 * dirent/readdir64_r.c: Likewise.
73041 * dirent/readdir_r.c: Likewise.
73042 * dirent/rewinddir.c: Likewise.
73043 * dirent/seekdir.c: Likewise.
73044 * dirent/telldir.c: Likewise.
73045 * gmon/profil.c: Likewise.
73046 * grp/setgroups.c: Likewise.
73047 * inet/if_index.c: Likewise.
73048 * io/access.c: Likewise.
73049 * io/chdir.c: Likewise.
73050 * io/chmod.c: Likewise.
73051 * io/chown.c: Likewise.
73052 * io/close.c: Likewise.
73053 * io/dup.c: Likewise.
73054 * io/dup2.c: Likewise.
73055 * io/dup3.c: Likewise.
73056 * io/euidaccess.c: Likewise.
73057 * io/faccessat.c: Likewise.
73058 * io/fchdir.c: Likewise.
73059 * io/fchmod.c: Likewise.
73060 * io/fchmodat.c: Likewise.
73061 * io/fchown.c: Likewise.
73062 * io/fchownat.c: Likewise.
73063 * io/fcntl.c: Likewise.
73064 * io/flock.c: Likewise.
73065 * io/fstatfs.c: Likewise.
73066 * io/fstatfs64.c: Likewise.
73067 * io/fstatvfs.c: Likewise.
73068 * io/fstatvfs64.c: Likewise.
73069 * io/futimens.c: Likewise.
73070 * io/fxstat.c: Likewise.
73071 * io/fxstat64.c: Likewise.
73072 * io/fxstatat.c: Likewise.
73073 * io/fxstatat64.c: Likewise.
73074 * io/getcwd.c: Likewise.
73075 * io/isatty.c: Likewise.
73076 * io/lchmod.c: Likewise.
73077 * io/lchown.c: Likewise.
73078 * io/link.c: Likewise.
73079 * io/linkat.c: Likewise.
73080 * io/lseek.c: Likewise.
73081 * io/lseek64.c: Likewise.
73082 * io/lxstat64.c: Likewise.
73083 * io/mkdir.c: Likewise.
73084 * io/mkdirat.c: Likewise.
73085 * io/mkfifo.c: Likewise.
73086 * io/mkfifoat.c: Likewise.
73087 * io/open.c: Likewise.
73088 * io/open64.c: Likewise.
73089 * io/openat.c: Likewise.
73090 * io/openat64.c: Likewise.
73091 * io/pipe.c: Likewise.
73092 * io/pipe2.c: Likewise.
73093 * io/poll.c: Likewise.
73094 * io/posix_fadvise.c: Likewise.
73095 * io/posix_fadvise64.c: Likewise.
73096 * io/posix_fallocate.c: Likewise.
73097 * io/posix_fallocate64.c: Likewise.
73098 * io/read.c: Likewise.
73099 * io/readlink.c: Likewise.
73100 * io/readlinkat.c: Likewise.
73101 * io/rmdir.c: Likewise.
73102 * io/sendfile.c: Likewise.
73103 * io/sendfile64.c: Likewise.
73104 * io/statfs.c: Likewise.
73105 * io/statfs64.c: Likewise.
73106 * io/statvfs.c: Likewise.
73107 * io/statvfs64.c: Likewise.
73108 * io/symlink.c: Likewise.
73109 * io/symlinkat.c: Likewise.
73110 * io/ttyname.c: Likewise.
73111 * io/ttyname_r.c: Likewise.
73112 * io/umask.c: Likewise.
73113 * io/unlink.c: Likewise.
73114 * io/unlinkat.c: Likewise.
73115 * io/utime.c: Likewise.
73116 * io/utimensat.c: Likewise.
73117 * io/write.c: Likewise.
73118 * io/xmknod.c: Likewise.
73119 * io/xmknodat.c: Likewise.
73120 * io/xstat.c: Likewise.
73121 * io/xstat64.c: Likewise.
73122 * login/getpt.c: Likewise.
73123 * login/grantpt.c: Likewise.
73124 * login/unlockpt.c: Likewise.
73125 * math/e_acoshl.c: Likewise.
73126 * math/e_acosl.c: Likewise.
73127 * math/e_asinl.c: Likewise.
73128 * math/e_atan2l.c: Likewise.
73129 * math/e_atanhl.c: Likewise.
73130 * math/e_coshl.c: Likewise.
73131 * math/e_expl.c: Likewise.
73132 * math/e_fmodl.c: Likewise.
73133 * math/e_gammal_r.c: Likewise.
73134 * math/e_hypotl.c: Likewise.
73135 * math/e_j0l.c: Likewise.
73136 * math/e_j1l.c: Likewise.
73137 * math/e_jnl.c: Likewise.
73138 * math/e_lgammal_r.c: Likewise.
73139 * math/e_log10l.c: Likewise.
73140 * math/e_log2l.c: Likewise.
73141 * math/e_logl.c: Likewise.
73142 * math/e_powl.c: Likewise.
73143 * math/e_rem_pio2l.c: Likewise.
73144 * math/e_sinhl.c: Likewise.
73145 * math/e_sqrtl.c: Likewise.
73146 * math/fclrexcpt.c: Likewise.
73147 * math/fedisblxcpt.c: Likewise.
73148 * math/feenablxcpt.c: Likewise.
73149 * math/fegetenv.c: Likewise.
73150 * math/fegetexcept.c: Likewise.
73151 * math/fegetround.c: Likewise.
73152 * math/feholdexcpt.c: Likewise.
73153 * math/fesetenv.c: Likewise.
73154 * math/fesetround.c: Likewise.
73155 * math/feupdateenv.c: Likewise.
73156 * math/fgetexcptflg.c: Likewise.
73157 * math/fraiseexcpt.c: Likewise.
73158 * math/fsetexcptflg.c: Likewise.
73159 * math/ftestexcept.c: Likewise.
73160 * math/k_cosl.c: Likewise.
73161 * math/k_rem_pio2l.c: Likewise.
73162 * math/k_sinl.c: Likewise.
73163 * math/k_tanl.c: Likewise.
73164 * math/s_asinhl.c: Likewise.
73165 * math/s_atanl.c: Likewise.
73166 * math/s_cbrtl.c: Likewise.
73167 * math/s_erfl.c: Likewise.
73168 * math/s_expm1l.c: Likewise.
73169 * math/s_log1pl.c: Likewise.
73170 * math/s_tanhl.c: Likewise.
73171 * misc/acct.c: Likewise.
73172 * misc/brk.c: Likewise.
73173 * misc/chflags.c: Likewise.
73174 * misc/chroot.c: Likewise.
73175 * misc/fchflags.c: Likewise.
73176 * misc/fgetxattr.c: Likewise.
73177 * misc/flistxattr.c: Likewise.
73178 * misc/fremovexattr.c: Likewise.
73179 * misc/fsetxattr.c: Likewise.
73180 * misc/fsync.c: Likewise.
73181 * misc/ftruncate.c: Likewise.
73182 * misc/futimes.c: Likewise.
73183 * misc/futimesat.c: Likewise.
73184 * misc/getdomain.c: Likewise.
73185 * misc/getdtsz.c: Likewise.
73186 * misc/gethostid.c: Likewise.
73187 * misc/gethostname.c: Likewise.
73188 * misc/getloadavg.c: Likewise.
73189 * misc/getpagesize.c: Likewise.
73190 * misc/getsysstats.c: Likewise.
73191 * misc/getxattr.c: Likewise.
73192 * misc/gtty.c: Likewise.
73193 * misc/ioctl.c: Likewise.
73194 * misc/lgetxattr.c: Likewise.
73195 * misc/listxattr.c: Likewise.
73196 * misc/llistxattr.c: Likewise.
73197 * misc/lremovexattr.c: Likewise.
73198 * misc/lsetxattr.c: Likewise.
73199 * misc/lutimes.c: Likewise.
73200 * misc/madvise.c: Likewise.
73201 * misc/mincore.c: Likewise.
73202 * misc/mlock.c: Likewise.
73203 * misc/mlockall.c: Likewise.
73204 * misc/mmap.c: Likewise.
73205 * misc/mprotect.c: Likewise.
73206 * misc/msync.c: Likewise.
73207 * misc/munlock.c: Likewise.
73208 * misc/munlockall.c: Likewise.
73209 * misc/munmap.c: Likewise.
73210 * misc/preadv.c: Likewise.
73211 * misc/preadv64.c: Likewise.
73212 * misc/ptrace.c: Likewise.
73213 * misc/pwritev.c: Likewise.
73214 * misc/pwritev64.c: Likewise.
73215 * misc/readv.c: Likewise.
73216 * misc/reboot.c: Likewise.
73217 * misc/remap_file_pages.c: Likewise.
73218 * misc/removexattr.c: Likewise.
73219 * misc/revoke.c: Likewise.
73220 * misc/select.c: Likewise.
73221 * misc/setdomain.c: Likewise.
73222 * misc/setegid.c: Likewise.
73223 * misc/seteuid.c: Likewise.
73224 * misc/sethostid.c: Likewise.
73225 * misc/sethostname.c: Likewise.
73226 * misc/setregid.c: Likewise.
73227 * misc/setreuid.c: Likewise.
73228 * misc/setxattr.c: Likewise.
73229 * misc/sstk.c: Likewise.
73230 * misc/stty.c: Likewise.
73231 * misc/swapoff.c: Likewise.
73232 * misc/swapon.c: Likewise.
73233 * misc/sync.c: Likewise.
73234 * misc/syncfs.c: Likewise.
73235 * misc/syscall.c: Likewise.
73236 * misc/truncate.c: Likewise.
73237 * misc/ualarm.c: Likewise.
73238 * misc/usleep.c: Likewise.
73239 * misc/ustat.c: Likewise.
73240 * misc/utimes.c: Likewise.
73241 * misc/vhangup.c: Likewise.
73242 * misc/writev.c: Likewise.
73243 * posix/_exit.c: Likewise.
73244 * posix/alarm.c: Likewise.
73245 * posix/execve.c: Likewise.
73246 * posix/fexecve.c: Likewise.
73247 * posix/fork.c: Likewise.
73248 * posix/fpathconf.c: Likewise.
73249 * posix/getaddrinfo.c: Likewise.
73250 * posix/getegid.c: Likewise.
73251 * posix/geteuid.c: Likewise.
73252 * posix/getgid.c: Likewise.
73253 * posix/getgroups.c: Likewise.
73254 * posix/getlogin.c: Likewise.
73255 * posix/getlogin_r.c: Likewise.
73256 * posix/getpgid.c: Likewise.
73257 * posix/getpid.c: Likewise.
73258 * posix/getppid.c: Likewise.
73259 * posix/getresgid.c: Likewise.
73260 * posix/getresuid.c: Likewise.
73261 * posix/getsid.c: Likewise.
73262 * posix/getuid.c: Likewise.
73263 * posix/glob64.c: Likewise.
73264 * posix/nanosleep.c: Likewise.
73265 * posix/pathconf.c: Likewise.
73266 * posix/pause.c: Likewise.
73267 * posix/posix_madvise.c: Likewise.
73268 * posix/pread.c: Likewise.
73269 * posix/pread64.c: Likewise.
73270 * posix/pwrite.c: Likewise.
73271 * posix/pwrite64.c: Likewise.
73272 * posix/sched_getaffinity.c: Likewise.
73273 * posix/sched_getp.c: Likewise.
73274 * posix/sched_gets.c: Likewise.
73275 * posix/sched_primax.c: Likewise.
73276 * posix/sched_primin.c: Likewise.
73277 * posix/sched_rr_gi.c: Likewise.
73278 * posix/sched_setaffinity.c: Likewise.
73279 * posix/sched_setp.c: Likewise.
73280 * posix/sched_sets.c: Likewise.
73281 * posix/sched_yield.c: Likewise.
73282 * posix/setgid.c: Likewise.
73283 * posix/setlogin.c: Likewise.
73284 * posix/setpgid.c: Likewise.
73285 * posix/setresgid.c: Likewise.
73286 * posix/setresuid.c: Likewise.
73287 * posix/setsid.c: Likewise.
73288 * posix/setuid.c: Likewise.
73289 * posix/sleep.c: Likewise.
73290 * posix/spawni.c: Likewise.
73291 * posix/sysconf.c: Likewise.
73292 * posix/times.c: Likewise.
73293 * posix/wait.c: Likewise.
73294 * posix/wait3.c: Likewise.
73295 * posix/wait4.c: Likewise.
73296 * posix/waitpid.c: Likewise.
73297 * resolv/gai_sigqueue.c: Likewise.
73298 * resource/getpriority.c: Likewise.
73299 * resource/getrlimit.c: Likewise.
73300 * resource/getrusage.c: Likewise.
73301 * resource/nice.c: Likewise.
73302 * resource/setpriority.c: Likewise.
73303 * resource/setrlimit.c: Likewise.
73304 * resource/ulimit.c: Likewise.
73305 * rt/aio_cancel.c: Likewise.
73306 * rt/aio_fsync.c: Likewise.
73307 * rt/aio_read.c: Likewise.
73308 * rt/aio_sigqueue.c: Likewise.
73309 * rt/aio_suspend.c: Likewise.
73310 * rt/aio_write.c: Likewise.
73311 * rt/clock_getres.c: Likewise.
73312 * rt/clock_gettime.c: Likewise.
73313 * rt/clock_nanosleep.c: Likewise.
73314 * rt/clock_settime.c: Likewise.
73315 * rt/lio_listio.c: Likewise.
73316 * rt/mq_close.c: Likewise.
73317 * rt/mq_getattr.c: Likewise.
73318 * rt/mq_notify.c: Likewise.
73319 * rt/mq_open.c: Likewise.
73320 * rt/mq_receive.c: Likewise.
73321 * rt/mq_send.c: Likewise.
73322 * rt/mq_setattr.c: Likewise.
73323 * rt/mq_timedreceive.c: Likewise.
73324 * rt/mq_timedsend.c: Likewise.
73325 * rt/mq_unlink.c: Likewise.
73326 * rt/shm_open.c: Likewise.
73327 * rt/shm_unlink.c: Likewise.
73328 * rt/timer_create.c: Likewise.
73329 * rt/timer_delete.c: Likewise.
73330 * rt/timer_getoverr.c: Likewise.
73331 * rt/timer_gettime.c: Likewise.
73332 * rt/timer_settime.c: Likewise.
73333 * setjmp/__longjmp.c: Likewise.
73334 * setjmp/setjmp.c: Likewise.
73335 * signal/kill.c: Likewise.
73336 * signal/killpg.c: Likewise.
73337 * signal/raise.c: Likewise.
73338 * signal/sigaction.c: Likewise.
73339 * signal/sigaltstack.c: Likewise.
73340 * signal/sigblock.c: Likewise.
73341 * signal/sigignore.c: Likewise.
73342 * signal/sigintr.c: Likewise.
73343 * signal/signal.c: Likewise.
73344 * signal/sigpause.c: Likewise.
73345 * signal/sigpending.c: Likewise.
73346 * signal/sigqueue.c: Likewise.
73347 * signal/sigreturn.c: Likewise.
73348 * signal/sigset.c: Likewise.
73349 * signal/sigsetmask.c: Likewise.
73350 * signal/sigstack.c: Likewise.
73351 * signal/sigsuspend.c: Likewise.
73352 * signal/sigtimedwait.c: Likewise.
73353 * signal/sigvec.c: Likewise.
73354 * signal/sigwait.c: Likewise.
73355 * signal/sigwaitinfo.c: Likewise.
73356 * signal/sysv_signal.c: Likewise.
73357 * socket/accept.c: Likewise.
73358 * socket/accept4.c: Likewise.
73359 * socket/bind.c: Likewise.
73360 * socket/connect.c: Likewise.
73361 * socket/getpeername.c: Likewise.
73362 * socket/getsockname.c: Likewise.
73363 * socket/getsockopt.c: Likewise.
73364 * socket/isfdtype.c: Likewise.
73365 * socket/listen.c: Likewise.
73366 * socket/recv.c: Likewise.
73367 * socket/recvfrom.c: Likewise.
73368 * socket/recvmsg.c: Likewise.
73369 * socket/send.c: Likewise.
73370 * socket/sendmsg.c: Likewise.
73371 * socket/sendto.c: Likewise.
73372 * socket/setsockopt.c: Likewise.
73373 * socket/shutdown.c: Likewise.
73374 * socket/sockatmark.c: Likewise.
73375 * socket/socket.c: Likewise.
73376 * socket/socketpair.c: Likewise.
73377 * stdio-common/ctermid.c: Likewise.
73378 * stdio-common/cuserid.c: Likewise.
73379 * stdio-common/remove.c: Likewise.
73380 * stdio-common/rename.c: Likewise.
73381 * stdio-common/renameat.c: Likewise.
73382 * stdio-common/tempname.c: Likewise.
73383 * stdlib/getcontext.c: Likewise.
73384 * stdlib/makecontext.c: Likewise.
73385 * stdlib/setcontext.c: Likewise.
73386 * stdlib/swapcontext.c: Likewise.
73387 * stdlib/system.c: Likewise.
73388 * streams/fattach.c: Likewise.
73389 * streams/fdetach.c: Likewise.
73390 * streams/getmsg.c: Likewise.
73391 * streams/getpmsg.c: Likewise.
73392 * streams/putmsg.c: Likewise.
73393 * streams/putpmsg.c: Likewise.
73394 * sysdeps/unix/bsd/getpt.c: Likewise.
73395 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73396 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73397 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73399 Likewise.
73400 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73401 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73402 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73403 * sysvipc/msgctl.c: Likewise.
73404 * sysvipc/msgget.c: Likewise.
73405 * sysvipc/msgrcv.c: Likewise.
73406 * sysvipc/msgsnd.c: Likewise.
73407 * sysvipc/semctl.c: Likewise.
73408 * sysvipc/semget.c: Likewise.
73409 * sysvipc/semop.c: Likewise.
73410 * sysvipc/semtimedop.c: Likewise.
73411 * sysvipc/shmat.c: Likewise.
73412 * sysvipc/shmctl.c: Likewise.
73413 * sysvipc/shmdt.c: Likewise.
73414 * sysvipc/shmget.c: Likewise.
73415 * termios/tcdrain.c: Likewise.
73416 * termios/tcflow.c: Likewise.
73417 * termios/tcflush.c: Likewise.
73418 * termios/tcgetattr.c: Likewise.
73419 * termios/tcgetpgrp.c: Likewise.
73420 * termios/tcsendbrk.c: Likewise.
73421 * termios/tcsetattr.c: Likewise.
73422 * termios/tcsetpgrp.c: Likewise.
73423 * time/adjtime.c: Likewise.
73424 * time/clock.c: Likewise.
73425 * time/getitimer.c: Likewise.
73426 * time/gettimeofday.c: Likewise.
73427 * time/setitimer.c: Likewise.
73428 * time/settimeofday.c: Likewise.
73429 * time/stime.c: Likewise.
73430 * time/time.c: Likewise.
73431
73432 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
73433
73434 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73435 /usr/old/bin.
73436
73437 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73438 instead of spaces.
73439 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73440
73441 2012-11-03 Joseph Myers <joseph@codesourcery.com>
73442
73443 [BZ #14796]
73444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73445 FE_TONEAREST before applying Dekker multiplication and Knuth
73446 addition. Clear inexact exceptions and check for exact zero
73447 results afterwards.
73448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73449 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73451 * math/libm-test.inc (fma_test): Add more tests.
73452 (fma_test_towardzero): Likewise.
73453 (fma_test_downward): Likewise.
73454 (fma_test_upward): Likewise.
73455 * sysdeps/generic/math_private.h (default_libc_fesetround): New
73456 function.
73457 (libc_fesetround): New macro.
73458 (libc_fesetroundf): Likewise.
73459 (libc_fesetroundl): Likewise.
73460 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73461 function.
73462 (libc_fesetround_387): Likewise.
73463 (libc_fesetroundf): New macro.
73464 (libc_fesetround): Likewise.
73465 (libc_fesetroundl): Likewise.
73466 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73467 function.
73468 (libc_fesetroundf): New macro.
73469 (libc_fesetround): Likewise.
73470 (libc_fesetroundl): Likewise.
73471 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73472 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73473 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73474 libm_hidden_ver.
73475 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73476 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73477 libm_hidden_def.
73478 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73479 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73480 libm_hidden_ver.
73481 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73482 libm_hidden_def.
73483
73484 [BZ #3439]
73485 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73486 integer constant usable in #if and use that to give value to enum
73487 constant.
73488 (FE_DIVBYZERO): Likewise.
73489 (FE_UNDERFLOW): Likewise.
73490 (FE_OVERFLOW): Likewise.
73491 (FE_INVALID): Likewise.
73492 (FE_INVALID_SNAN): Likewise.
73493 (FE_INVALID_ISI): Likewise.
73494 (FE_INVALID_IDI): Likewise.
73495 (FE_INVALID_ZDZ): Likewise.
73496 (FE_INVALID_IMZ): Likewise.
73497 (FE_INVALID_COMPARE): Likewise.
73498 (FE_INVALID_SOFTWARE): Likewise.
73499 (FE_INVALID_SQRT): Likewise.
73500 (FE_INVALID_INTEGER_CONVERSION): Likewise.
73501 (FE_TONEAREST): Likewise.
73502 (FE_TOWARDZERO): Likewise.
73503 (FE_UPWARD): Likewise.
73504 (FE_DOWNWARD): Likewise.
73505 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73506 (FE_DIVBYZERO): Likewise.
73507 (FE_OVERFLOW): Likewise.
73508 (FE_UNDERFLOW): Likewise.
73509 (FE_INEXACT): Likewise.
73510 (FE_TONEAREST): Likewise.
73511 (FE_DOWNWARD): Likewise.
73512 (FE_UPWARD): Likewise.
73513 (FE_TOWARDZERO): Likewise.
73514 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73515 (FE_UNDERFLOW): Likewise.
73516 (FE_OVERFLOW): Likewise.
73517 (FE_DIVBYZERO): Likewise.
73518 (FE_INVALID): Likewise.
73519 (FE_TONEAREST): Likewise.
73520 (FE_TOWARDZERO): Likewise.
73521 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73522 (FE_OVERFLOW): Likewise.
73523 (FE_UNDERFLOW): Likewise.
73524 (FE_DIVBYZERO): Likewise.
73525 (FE_INEXACT): Likewise.
73526 (FE_TONEAREST): Likewise.
73527 (FE_TOWARDZERO): Likewise.
73528 (FE_UPWARD): Likewise.
73529 (FE_DOWNWARD): Likewise.
73530 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73531 (FE_DIVBYZERO): Likewise.
73532 (FE_OVERFLOW): Likewise.
73533 (FE_UNDERFLOW): Likewise.
73534 (FE_INEXACT): Likewise.
73535 (FE_TONEAREST): Likewise.
73536 (FE_DOWNWARD): Likewise.
73537 (FE_UPWARD): Likewise.
73538 (FE_TOWARDZERO): Likewise.
73539
73540 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
73541
73542 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73543
73544 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
73545
73546 * scripts/cross-test-ssh.sh (command): Use newlines to separate
73547 commands. Quote $PWD.
73548 (blacklist_exports): Don't use remove_newlines. Replace "declare
73549 -x" by "export".
73550 (remove_newlines): Remove.
73551
73552 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
73553
73554 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73555 * stdlib/stdlib.h (atof): Moved to ...
73556 * include/bits/stdlib-float.h: Here. New file.
73557 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73558 * stdlib/bits/stdlib-float.h: New file.
73559 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73560 -mno-sse -mno-mmx.
73561 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73562 <xmmintrin.h>.
73563
73564 2012-11-02 Joseph Myers <joseph@codesourcery.com>
73565
73566 * conform/conformtest.pl (@headers): Add fenv.h.
73567 * conform/data/fenv.h-data: New file.
73568 * include/fenv.h [_ISOMAC]: Disable all contents of file except
73569 include of <math/fenv.h>.
73570
73571 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73572 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73573 && !UNIX98]. Enables tests for XOPEN2K8.
73574 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73575 POSIX2008]: Likewise.
73576
73577 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73578 (struct rusage): Do not expect type or its members.
73579
73580 [BZ #3439]
73581 * math/math.h (FP_NAN): Define macro to integer constant usable in
73582 #if and use that to give value to enum constant.
73583 (FP_INFINITE): Likewise.
73584 (FP_ZERO): Likewise.
73585 (FP_SUBNORMAL): Likewise.
73586 (FP_NORMAL): Likewise.
73587
73588 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
73589
73590 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73591 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73592 arguments.
73593
73594 2012-11-02 Roland McGrath <roland@hack.frob.com>
73595
73596 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73597 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73598 autoconf-time if not.
73599 * configure.in: Remove AC_PREREQ.
73600
73601 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73602
73603 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73604 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73605 of the internal implementation.
73606
73607 2012-11-02 Joseph Myers <joseph@codesourcery.com>
73608
73609 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73610 except include of <misc/sys/syslog.h>.
73611
73612 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
73613
73614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73615 function returns with a NULL context exit with zero.
73616
73617 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73618
73619 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73620
73621 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
73622
73623 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73624 (run_program_cmd): This.
73625 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73626 (tst_langinfo): New variable. Use it.
73627
73628 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
73629
73630 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73631 floating point opcodes.
73632
73633 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
73634
73635 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73636 variable.
73637
73638 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73639
73640 * sysdeps/mach/hurd/powerpc: Remove directory.
73641 * sysdeps/mach/powerpc: Likewise.
73642
73643 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
73644
73645 * scripts/check-local-headers.sh: Ignore c++ headers.
73646
73647 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
73648
73649 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73650 __libc_cleanup_region_start argument.
73651
73652 2012-11-01 Joseph Myers <joseph@codesourcery.com>
73653
73654 [BZ #14784]
73655 [BZ #14785]
73656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73657 x * y using scaling, not as x * y + z.
73658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73660 * math/libm-test.inc (fma_test): Add more tests.
73661 (fma_test_towardzero): Likewise.
73662 (fma_test_downward): Likewise.
73663 (fma_test_upward): Likewise.
73664
73665 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
73666
73667 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73668
73669 2012-10-31 Joseph Myers <joseph@codesourcery.com>
73670
73671 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73672 New variable.
73673
73674 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
73675
73676 * rt/tst-shm.c (worker): Correct checking for mmap failure.
73677
73678 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
73679
73680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73681 Fix sort order.
73682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73683 Likewise.
73684
73685 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73686
73687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73688 Fix the order of the list for glibc 2.17.
73689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73690 Likewise.
73691
73692 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
73693
73694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73695
73696 2012-10-31 Joseph Myers <joseph@codesourcery.com>
73697
73698 [BZ #14610]
73699 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73700 for low part of x being zero before using __atanl (y).
73701 * math/libm-test.inc (atan2_test): Add another test.
73702
73703 * manual/install.texi (Configuring and compiling): Document
73704 general use of test-wrapper and test-wrapper-env.
73705 * INSTALL: Regenerated.
73706
73707 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73708 (__fma): Do not extract and scale down low bits on after-rounding
73709 systems when result rounded to normal precision would have normal
73710 exponent.
73711 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73712 (__fmal): Do not extract and scale down low bits on after-rounding
73713 systems when result rounded to normal precision would have normal
73714 exponent.
73715 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73716 (__fmal): Do not extract and scale down low bits on after-rounding
73717 systems when result rounded to normal precision would have normal
73718 exponent.
73719 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
73720 macro.
73721 (fma_test): Add more tests.
73722 (fma_test_towardzero): Likewise.
73723 (fma_test_downward): Likewise.
73724 (fma_test_upward): Likewise.
73725
73726 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
73727
73728 * sysdeps/i386/tininess.h: Renamed to ...
73729 * sysdeps/x86/tininess.h: This.
73730 * sysdeps/x86_64/tininess.h: Removed.
73731
73732 2012-10-30 Joseph Myers <joseph@codesourcery.com>
73733
73734 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
73735 input. Use $(build-program-cmd).
73736 ($(objpfx)tst-array1-static.out): Likewise.
73737 ($(objpfx)tst-array2.out): Likewise.
73738 ($(objpfx)tst-array3.out): Likewise.
73739 ($(objpfx)tst-array4.out): Likewise.
73740 ($(objpfx)tst-array5.out): Likewise.
73741 ($(objpfx)tst-array5-static.out): Likewise.
73742
73743 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
73744
73745 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
73746 if defined.
73747
73748 * nss/nsswitch.h (nss_interface_function): Provide new
73749 macro for use with NSS functions.
73750 * grp/initgroups.c: Use new macro.
73751 * nss/getXXbyYY.c: Likewise.
73752 * nss/getXXbyYY_r.c: Likewise.
73753 * nss/getXXent.c: Likewise.
73754 * nss/getXXent_r.c: Likewise.
73755 * sysdeps/posix/getaddrinfo.c: Likewise.
73756
73757 2012-10-30 Andreas Jaeger <aj@suse.de>
73758
73759 * po/ru.po: Update Russion translation from translation project.
73760
73761 2012-10-30 Joseph Myers <joseph@codesourcery.com>
73762
73763 [BZ #14152]
73764 [BZ #14783]
73765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
73766 result and shift together with sticky bit instead of replicating
73767 round-to-nearest rounding.
73768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73770 * math/libm-test.inc (fma_test): Add more tests. Do not permit
73771 missing underflow exceptions.
73772 (fma_test_towardzero): Add more tests.
73773 (fma_test_downward): Likewise.
73774 (fma_test_upward): Likewise.
73775
73776 [BZ #14047]
73777 * sysdeps/generic/tininess.h: New file.
73778 * sysdeps/i386/tininess.h: Likewise.
73779 * sysdeps/sh/tininess.h: Likewise.
73780 * sysdeps/x86_64/tininess.h: Likewise.
73781 * stdlib/tst-strtod-underflow.c: Likewise.
73782 * stdlib/tst-tininess.c: Likewise.
73783 * stdlib/strtod_l.c: Include <tininess.h>.
73784 (round_and_return): Do not set errno for exact underflow cases.
73785 Force an underflow exception when setting errno for underflow.
73786 Determine underflow based on rounding to normal precision if
73787 TININESS_AFTER_ROUNDING.
73788 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
73789 ERANGE for exact underflow cases.
73790 * stdlib/Makefile (tests): Add tst-tininess and
73791 tst-strtod-underflow.
73792 ($(objpfx)tst-tininess): Use $(link-libm).
73793 ($(objpfx)tst-strtod-underflow): Likewise.
73794
73795 2012-10-30 Andreas Jaeger <aj@suse.de>
73796
73797 [BZ #14767]
73798 * elf/Makefile (tests): Remove conditional for have-initfini-array
73799 since this is now always required and the variable does not exist
73800 anymore.
73801 (tests-static): Likewise.
73802 (modules-names): Likewise.
73803
73804 * po/eo.po: Add Esperanto translation from translation project.
73805
73806 * elf/tst-array1.c (fini_array): Make writeable so that it can be
73807 merged with constructor/destructor.
73808 (init_array): Likewise.
73809 * elf/tst-array2dep.c (fini_array): Likewise.
73810 (init_array): Likewise.
73811
73812 2012-10-29 Mike Frysinger <vapier@gentoo.org>
73813
73814 * manual/message.texi: Delete @cartouche tags.
73815
73816 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
73817
73818 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
73819 EOPNOTSUPP.
73820 * sysdeps/mach/hurd/fsync.c: Likewise.
73821
73822 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
73823 [_POSIX_REALTIME_SIGNALS]: Change condition to
73824 [_POSIX_REALTIME_SIGNALS > 0].
73825
73826 2012-10-27 Andreas Jaeger <aj@suse.de>
73827
73828 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
73829 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
73830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
73831 [__WORDSIZE != 64]: Likewise.
73832
73833 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
73834
73835 * iconvdata/tst-table.sh: Remove ${SHELL}.
73836 * iconvdata/tst-tables.sh: Likewise.
73837
73838 2012-10-25 David S. Miller <davem@davemloft.net>
73839
73840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73841 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
73842 of strtoull.
73843
73844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
73845 ifunc-impl-list.c
73846 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73847 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
73848 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
73849 file.
73850
73851 2012-10-25 Roland McGrath <roland@hack.frob.com>
73852
73853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73854 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
73855 __getdirentries.
73856
73857 2012-10-25 Joseph Myers <joseph@codesourcery.com>
73858 Jim Blandy <jimb@codesourcery.com>
73859
73860 * scripts/cross-test-ssh.sh: New file.
73861 * manual/install.texi (Configuring and compiling): Document use of
73862 cross-test-ssh.sh.
73863 * INSTALL: Regenerated.
73864
73865 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
73866
73867 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
73868 EOPNOTSUPP.
73869
73870 2012-10-25 Joseph Myers <joseph@codesourcery.com>
73871
73872 * Makeconfig (run-program-prefix): Fix comment.
73873
73874 2012-10-24 Joseph Myers <joseph@codesourcery.com>
73875 Jim Blandy <jimb@codesourcery.com>
73876
73877 * Makeconfig (test-wrapper): New variable,
73878 (test-wrapper-env): Likewise.
73879 [$(cross-compiling) = yes && $(test-wrapper) != ""]
73880 (run-built-tests): Define to yes.
73881 (run-program-prefix): Use $(test-wrapper).
73882 (built-program-cmd): Likewise.
73883 * Rules (make-test-out): Use $(test-wrapper-env) and
73884 $(host-built-program-cmd).
73885 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
73886 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
73887 tst-pathopt.sh.
73888 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
73889 $(test-wrapper-env) to tst-rtld-load-self.sh.
73890 ($(objpfx)order2.out): Use $(test-wrapper).
73891 ($(objpfx)tst-initorder.out): Likewise.
73892 ($(objpfx)tst-initorder2.out): Likewise.
73893 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
73894 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
73895 (test_wrapper_env): New variable. Use it to run ld.so.
73896 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
73897 Use it to run ld.so.
73898 (test_wrapper_env): Likewise.
73899 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
73900 $(test-wrapper) to run-iconv-test.sh.
73901 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
73902 (ICONV): Use $test_wrapper.
73903 * posix/Makefile ($(objpfx)globtest.out): Pass
73904 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73905 globtest.sh, not $(run-program-prefix).
73906 * posix/globtest.sh (run_via_rtld_prefix): New variable.
73907 (test_wrapper): Likewise.
73908 (test_wrapper_env): Likewise. Use it to run globtest with HOME
73909 set together with run_via_rtld_prefix.
73910 (run_program_prefix): Define in terms of test_wrapper and
73911 run_via_rtld_prefix.
73912
73913 2012-10-24 Roland McGrath <roland@hack.frob.com>
73914
73915 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
73916 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
73917 Targets removed.
73918
73919 [BZ #14743]
73920 * include/time.h: Remove librt_hidden_proto (clock_gettime).
73921 Declare __clock_getres, __clock_gettime, __clock_settime,
73922 __clock_nanosleep, and __clock_getcpuclockid.
73923 * rt/clock_gettime.c: Define __clock_gettime as an alias.
73924 Remove librt_hidden_def (clock_gettime).
73925 * sysdeps/unix/clock_gettime.c: Likewise.
73926 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
73927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
73928 * rt/clock_getres.c: Define __clock_getres as an alias.
73929 * sysdeps/posix/clock_getres.c: Likewise.
73930 * rt/clock_settime.c: Define __clock_settime as an alias.
73931 * sysdeps/unix/clock_settime.c: Likewise.
73932 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
73933 * sysdeps/unix/clock_nanosleep.c: Likewise.
73934 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
73935 * rt/clock-compat.c: New file.
73936 * rt/Makefile (librt-routines): Add clock-compat and move
73937 $(clock-routines) to ...
73938 (routines): ... here, new variable.
73939 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
73940 Don't add get_clockfreq here.
73941 * rt/Versions (libc: GLIBC_2.17): New version set.
73942 Add clock_* symbols here.
73943 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
73944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
73945 (GLIBC_2.17): Add clock_* symbols.
73946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73950 Likewise.
73951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73952 Likewise.
73953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73957 * NEWS: Mention the move.
73958
73959 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
73960 Use __open, __read, __close rather than their public counterparts.
73961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73962 (__get_clockfreq_via_cpuinfo): Likewise.
73963 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
73964 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
73965
73966 * config.h.in (HAVE_IFUNC): New #undef.
73967 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
73968 was successful.
73969 * configure: Regenerated.
73970
73971 2012-10-24 Mike Frysinger <vapier@gentoo.org>
73972
73973 * configure.in: Move READELF check to start of file.
73974 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
73975 libc_cv_asm_gnu_indirect_function in the process.
73976 * configure: Regenerated.
73977
73978 2012-10-24 Mike Frysinger <vapier@gentoo.org>
73979
73980 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
73981 send the output to /dev/null.
73982 (libc_cv_cc_with_libunwind): Likewise.
73983 (libc_cv_as_noexecstack): Likewise.
73984 * configure: Regenerate.
73985
73986 2012-10-24 Joseph Myers <joseph@codesourcery.com>
73987
73988 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
73989
73990 * posix/globtest.sh (TMPDIR): Do not set.
73991 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
73992 (testout): Likewise.
73993
73994 2012-10-24 Andreas Jaeger <aj@suse.de>
73995
73996 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
73997 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
73998 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
73999 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74000 posix_fadvise64, posix_fallocate64.
74001
74002 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74003 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74004 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74005 Likewise.
74006 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74007 Likewise.
74008 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74009
74010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74011 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74012 <bits/fcntl-linux.h>.
74013 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74014
74015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74016 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74017 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74018 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74019 [__WORDSIZE != 64]: Likewise.
74020
74021 2012-10-23 Joseph Myers <joseph@codesourcery.com>
74022
74023 * Makeconfig (run-built-tests): New variable.
74024 * Rules [$(cross-compiling) = yes]: Change condition to
74025 [$(run-built-tests) = no].
74026 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74027 to [$(run-built-tests) = yes].
74028 * elf/Makefile [$(cross-compiling) = no]: Likewise.
74029 * grp/Makefile [$(cross-compiling) = no]: Likewise.
74030 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74031 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74032 * intl/Makefile [$(cross-compiling) = no]: Likewise.
74033 * io/Makefile [$(cross-compiling) = no]: Likewise.
74034 * libio/Makefile [$(cross-compiling) = no]: Likewise.
74035 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74036 * misc/Makefile [$(cross-compiling) = no]: Likewise.
74037 * posix/Makefile [$(cross-compiling) = no]: Likewise.
74038 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74039 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74040 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74041 * string/Makefile [$(cross-compiling) = no]: Likewise.
74042
74043 * posix/Makefile ($(objpfx)globtest.out): Pass
74044 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74045 $(rtld-installed-name).
74046 * posix/globtest.sh (elf_objpfx): Remove variable.
74047 (rtld_installed_name): Likewise.
74048 (library_path): Likewise.
74049 (run_program_prefix): New variable. Use for running globtest
74050 binary.
74051
74052 2012-10-23 Jim Blandy <jimb@codesourcery.com>
74053 Joseph Myers <joseph@codesourcery.com>
74054
74055 * Makeconfig (host-built-program-cmd): New variable.
74056 * elf/Makefile (tst-stackguard1-ARGS): Use
74057 $(host-built-program-cmd).
74058 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74059 (tst-spawn-ARGS): Likewise.
74060 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74061
74062 2012-10-23 Joseph Myers <joseph@codesourcery.com>
74063 Jim Blandy <jimb@codesourcery.com>
74064
74065 * Makeconfig (run-via-rtld-prefix): New variable.
74066 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74067 (built-program-cmd): Likewise.
74068
74069 2012-10-22 Andreas Jaeger <aj@suse.de>
74070
74071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74072 __O_RSYNC if it exists, otherwise to O_SYNC.
74073
74074 2012-10-22 Jim Blandy <jimb@codesourcery.com>
74075 Joseph Myers <joseph@codesourcery.com>
74076
74077 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74078 /dev/null.
74079 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74080 from /dev/null
74081 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74082 /dev/null.
74083
74084 2012-10-22 Andreas Jaeger <aj@suse.de>
74085
74086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74087 Define always.
74088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74089
74090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74091 bits/fcntl-linux.h.
74092
74093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74094 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74095
74096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74097 to __O_LARGEFILE.
74098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74099 to __O_LARGEFILE.
74100
74101 2012-10-21 Jim Blandy <jimb@codesourcery.com>
74102 Joseph Myers <joseph@codesourcery.com>
74103
74104 * config.make.in (NM): New variable.
74105
74106 2012-10-21 Andreas Jaeger <aj@suse.de>
74107
74108 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74109 definitions and declarations that are provided by
74110 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74111
74112 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
74113
74114 [BZ #14683]
74115 * elf/Makefile (tests-static): Add tst-leaks1-static.
74116 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74117 ($(objpfx)tst-leaks1-static): New rule.
74118 ($(objpfx)tst-leaks1-static-mem): Likewise.
74119 (tst-leaks1-static-ENV): New macro.
74120 * elf/dl-open.c (dl_open_worker): Check the main application
74121 only if SHARED is defined.
74122 * elf/tst-leaks1-static.c: New file.
74123
74124 2012-10-20 Andreas Jaeger <aj@suse.de>
74125
74126 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74127 generic values for Linux.
74128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74129 and declarations that are provided by <bits/fcntl-linux.h> and
74130 include <bits/fcntl-linux.h>.
74131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74133
74134 2012-10-20 Roland McGrath <roland@hack.frob.com>
74135
74136 * io/fcntl.h: Move include of <bits/types.h> to the top and
74137 include it unconditionally.
74138
74139 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
74140
74141 * wcsmbs/Makefile (tests-ifunc): New variable.
74142 (tests): Add $(tests-ifunc).
74143 * wcsmbs/test-wcschr-ifunc.c: New file.
74144 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74145 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74146 * wcsmbs/test-wcslen-ifunc.c: Likewise.
74147 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74148 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74149
74150 * string/Makefile (tests-ifunc): New variable.
74151 (tests): Add $(tests-ifunc).
74152 * string/test-memccpy.c (TEST_NAME): New macro.
74153 * string/test-memchr.c (TEST_NAME): Likewise.
74154 * string/test-memcmp.c (TEST_NAME): Likewise.
74155 * string/test-memcpy.c (TEST_NAME): Likewise.
74156 * string/test-memmem.c (TEST_NAME): Likewise.
74157 * string/test-memmove.c (TEST_NAME): Likewise.
74158 * string/test-memset.c (TEST_NAME): Likewise.
74159 * string/test-rawmemchr.c (TEST_NAME): Likewise.
74160 * string/test-stpcpy.c (TEST_NAME): Likewise.
74161 * string/test-stpncpy.c (TEST_NAME): Likewise.
74162 * string/test-strcasecmp.c (TEST_NAME): Likewise.
74163 * string/test-strcasestr.c (TEST_NAME): Likewise.
74164 * string/test-strcat.c (TEST_NAME): Likewise.
74165 * string/test-strchr.c (TEST_NAME): Likewise.
74166 * string/test-strcmp.c(TEST_NAME): Likewise.
74167 * string/test-strcpy.c (TEST_NAME): Likewise.
74168 * string/test-strcspn.c (TEST_NAME): Likewise.
74169 * string/test-strlen.c (TEST_NAME): Likewise.
74170 * string/test-strncasecmp.c (TEST_NAME): Likewise.
74171 * string/test-strncmp.c (TEST_NAME): Likewise.
74172 * string/test-strncpy.c (TEST_NAME): Likewise.
74173 * string/test-strnlen.c (TEST_NAME): Likewise.
74174 * string/test-strpbrk.c (TEST_NAME): Likewise.
74175 * string/test-strrchr.c (TEST_NAME): Likewise.
74176 * string/test-strspn.c (TEST_NAME): Likewise.
74177 * string/test-strstr.c (TEST_NAME): Likewise.
74178 * string/test-bcopy-ifunc.c: New file.
74179 * string/test-bzero-ifunc.c: Likewise.
74180 * string/test-memccpy-ifunc.c: Likewise.
74181 * string/test-memchr-ifunc.c: Likewise.
74182 * string/test-memcmp-ifunc.c: Likewise.
74183 * string/test-memcpy-ifunc.c: Likewise.
74184 * string/test-memmem-ifunc.c: Likewise.
74185 * string/test-memmove-ifunc.c: Likewise.
74186 * string/test-mempcpy-ifunc.c: Likewise.
74187 * string/test-memset-ifunc.c: Likewise.
74188 * string/test-rawmemchr-ifunc.c: Likewise.
74189 * string/test-stpcpy-ifunc.c: Likewise.
74190 * string/test-stpncpy-ifunc.c: Likewise.
74191 * string/test-strcasecmp-ifunc.c: Likewise.
74192 * string/test-strcasestr-ifunc.c: Likewise.
74193 * string/test-strcat-ifunc.c: Likewise.
74194 * string/test-strchr-ifunc.c: Likewise.
74195 * string/test-strchrnul-ifunc.c: Likewise.
74196 * string/test-strcmp-ifunc.c: Likewise.
74197 * string/test-strcpy-ifunc.c: Likewise.
74198 * string/test-strcspn-ifunc.c: Likewise.
74199 * string/test-strlen-ifunc.c: Likewise.
74200 * string/test-strncasecmp-ifunc.c: Likewise.
74201 * string/test-strncat-ifunc.c: Likewise.
74202 * string/test-strncmp-ifunc.c: Likewise.
74203 * string/test-strncpy-ifunc.c: Likewise.
74204 * string/test-strnlen-ifunc.c: Likewise.
74205 * string/test-strpbrk-ifunc.c: Likewise.
74206 * string/test-strrchr-ifunc.c: Likewise.
74207 * string/test-strspn-ifunc.c: Likewise.
74208 * string/test-strstr-ifunc.c: Likewise.
74209
74210 * debug/Makefile (tests-ifunc): New variable.
74211 (tests): Add $(tests-ifunc).
74212 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74213 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74214 * debug/test-stpcpy_chk-ifunc.c: New file.
74215 * debug/test-strcpy_chk-ifunc.c: Likewise.
74216
74217 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
74218
74219 [BZ #13601]
74220 * elf/dl-load.c (open_verify): Retry read if the entire ELF
74221 header is not read in.
74222
74223 2012-10-19 Joseph Myers <joseph@codesourcery.com>
74224
74225 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
74226 script to $(SHELL) as $<. Pass $(common-objpfx) to script
74227 directly. Pass built executable to script as
74228 $(built-program-cmd).
74229 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
74230 $testprogram without using LD_LIBRARY_PATH and $ldso.
74231
74232 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74233 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74234 $(rtld-installed-name).
74235 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74236 (rtld_installed_name): Likewise.
74237 (library_path): Likewise.
74238 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
74239 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74240 $(run-program-prefix) to tst-tables.sh.
74241 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
74242 it to run tst-table-from and tst-table-to.
74243 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74244 Pass it to tst-table.sh.
74245 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74246 $(run-program-prefix) to tst-gettext.sh.
74247 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74248 tst-translit.sh.
74249 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74250 tst-gettext2.sh.
74251 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
74252 to run tst-gettext.
74253 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
74254 to run tst-gettext2.
74255 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
74256 to run tst-translit.
74257 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74258 $(run-program-prefix) to tst-mtrace.sh.
74259 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
74260 to run tst-mtrace.
74261 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74262 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74263 $(rtld-installed-name).
74264 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74265 (rtld_installed_name): Likewise.
74266 (run_program_prefix): New variable. Use it to run wordexp-test.
74267
74268 * Makeconfig (ARCH): Remove all definitions.
74269 (machine): Likewise.
74270 [ARCH]: Remove conditional code.
74271 [!objdir]: Give error.
74272 [!objdir] (objpfx): Remove.
74273 [!objdir] (common-objpfx): Likewise.
74274 [!objdir] (common-objdir): Likewise.
74275 * configure.in (config_makefile): Remove. Hardcode Makefile in
74276 AC_CONFIG_FILES call.
74277 * configure: Regenerated.
74278
74279 [BZ #13888]
74280 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74281 or TMPDIR.
74282 (testout): Likewise.
74283
74284 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74285 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74286 $(rtld-installed-name).
74287 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74288 (rtld_installed_name): Likewise.
74289 (runit): Remove function.
74290 (run_getconf): New variable, Use it for running getconf binary.
74291
74292 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
74293
74294 [BZ #14716]
74295 * string/test-memmem.c (check_result): New function.
74296 (do_one_test): Use it.
74297 (check1): New function.
74298 (test_main): Use it.
74299
74300 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
74301
74302 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74303
74304 2012-10-18 Joseph Myers <joseph@codesourcery.com>
74305
74306 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74307 (_G_LSEEK64): Likewise.
74308 (_G_MMAP64): Likewise.
74309 (_G_FSTAT64): Likewise.
74310 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74311 (_G_LSEEK64): Likewise.
74312 (_G_MMAP64): Likewise.
74313 (_G_FSTAT64): Likewise.
74314 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74315 unconditional. Call __mmap64 directly.
74316 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74317 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
74318 __lseek64 directly.
74319 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74320 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
74321 __mmap64 directly.
74322 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74323 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
74324 __lseek64 directly.
74325 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74326 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
74327 __lseek64 directly.
74328 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74329 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
74330 __lseek64 directly.
74331 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74332 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
74333 __fxstat64 directly.
74334 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74335 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74336 unconditional.
74337 (freopen64) [!_G_OPEN64]: Remove conditional code.
74338 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74339 unconditional.
74340 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74341 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74342 unconditional.
74343 (ftello64) [!_G_LSEEK64]: Remove conditional code.
74344 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74345 unconditional.
74346 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74347 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74348 unconditional.
74349 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74350 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74351 unconditional.
74352 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74353 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74354 unconditional.
74355 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74356 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74357 unconditional.
74358 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74359
74360 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
74361
74362 [BZ #12140]
74363 * manual/memory.texi (Malloc Tunable Parameters): Add note
74364 about free list pointers overwriting some perturb bytes.
74365 Wording suggested by Roland McGrath.
74366
74367 2012-10-17 Joseph Myers <joseph@codesourcery.com>
74368
74369 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74370 (lgamma_test): Likewise.
74371 (tgamma_test): Likewise.
74372
74373 2012-10-16 Florian Weimer <fweimer@redhat.com>
74374
74375 [BZ #14700]
74376 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74377 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74378
74379 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
74380
74381 * NEWS: Mention BZ #14716.
74382 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74383 when removing AVAILABLE1_USES_J macro.
74384
74385 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
74386
74387 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74388 (__bswap_64): __uint64_t for unsigned 64-bit int.
74389
74390 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
74391
74392 * include/string.h (memmem): Declare libc hidden alias.
74393 * string/memmem.c (memmem): Define libc hidden alias.
74394 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74395 __read, __close instead of open, read, close.
74396
74397 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
74398
74399 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74400 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74401 global and hidden.
74402 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74403 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74404 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74405 Likewise.
74406 (__rawmemchr_sse2): Likewise.
74407 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74408 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74409 (__strchr_sse2): Likewise.
74410 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74411 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74412 (__strcasecmp_sse2): Likewise.
74413 (__strncasecmp_sse2): Likewise.
74414 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74415 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74416 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74417 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74418 (__strrchr_sse2): Likewise.
74419 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74420 ifunc-impl-list.c.
74421 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74422 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74423 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74424 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74425 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74426 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74427 * sysdeps/x86_64/multiarch/memset.S: Likewise.
74428 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74429 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74430 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74431 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74432 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74433 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74434 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74435 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74436 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74437 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74438 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74439 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74440 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74441 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74442 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74443 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74444 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74445 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74446 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74447 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74448 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74449 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74450 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74451
74452 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74453 global and hidden.
74454 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74455 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74456 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74457 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74458 Likewise.
74459 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74460 Likewise.
74461 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74462 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74463 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74464 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74465 ifunc-impl-list.c.
74466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74468 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74469 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74470 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74471 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74472 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74473 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74474 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74475 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74476 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74477 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74478 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74479 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74480 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74481 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74482 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74483 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74484 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74485 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74486 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74487 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74488 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74489 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74490 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74491 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74492 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74493 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74494 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74495 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74496 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74499 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74500 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74501 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74502 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74504 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74505 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74506 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74507
74508 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74509 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74510 * include/ifunc-impl-list.h: New file.
74511 * misc/ifunc-impl-list.c: Likewise.
74512 * misc/Makefile (routines): Add ifunc-impl-list.
74513 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74514 * string/test-string.h: Include <ifunc-impl-list.h>.
74515 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74516 TEST_NAME]: New variables.
74517 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74518 are defined.
74519 (test_init): Call __libc_ifunc_impl_list to initialize
74520 func_list if TEST_IFUNC and TEST_NAME are defined.
74521
74522 * string/Makefile (strop-tests): Add bcopy and bzero.
74523 * string/test-bcopy.c: New file.
74524 * string/test-bzero.c: Likewise.
74525 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74526 defined.
74527 * string/test-memset.c: Support bzero test if TEST_BZERO is
74528 defined.
74529 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74530 __libc_memmove.
74531 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74532 __libc_memset.
74533 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74534 of memset.
74535
74536 2012-10-10 Joseph Myers <joseph@codesourcery.com>
74537
74538 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74539 * configure: Regenerated.
74540
74541 * Makeconfig (+link-static-before-libc): Don't include
74542 $(link-static-libc).
74543
74544 * libio/libio.h (_IO_pos_t): Remove.
74545
74546 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
74547
74548 * NEWS: Add note about FIPS mode. Wording suggested by Roland
74549 McGrath.
74550
74551 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
74552
74553 * crypt/crypt-entry.c: Include fips-private.h.
74554 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74555 * crypt/md5c-test.c (main): Tolerate disabled MD5.
74556 * sysdeps/unix/sysv/linux/fips-private.h: New file.
74557 * sysdeps/generic/fips-private.h: New file, dummy fallback.
74558
74559 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
74560
74561 * crypt/crypt-private.h: Include stdbool.h.
74562 (_ufc_setup_salt_r): Return bool.
74563 * crypt/crypt-entry.c: Include errno.h.
74564 (__crypt_r): Return NULL with EINVAL for bad salt.
74565 * crypt/crypt_util.c (bad_for_salt): New.
74566 (_ufc_setup_salt_r): Check that salt is long enough and within
74567 the specified alphabet.
74568 * crypt/badsalttest.c: New file.
74569 * crypt/Makefile (tests): Add it.
74570 ($(objpfx)badsalttest): New.
74571
74572 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
74573
74574 * NEWS: Add entry for BZ #14602.
74575
74576 2012-10-09 Joseph Myers <joseph@codesourcery.com>
74577
74578 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74579 type-generic.
74580 * math/libm-test.inc: Update comment listing what functions and
74581 macros are tested.
74582 (isgreater_test): New function.
74583 (isgreaterequal_test): Likewise.
74584 (isless_test): Likewise.
74585 (islessequal_test): Likewise.
74586 (islessgreater_test): Likewise.
74587 (isunordered_test): Likewise.
74588 (main): Call the new functions.
74589
74590 2012-10-09 Roland McGrath <roland@hack.frob.com>
74591
74592 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74593 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74594 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74595 * sysdeps/i386/configure: Regenerated.
74596 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74597 * sysdeps/mach/configure: Regenerated.
74598 * sysdeps/mach/hurd/configure: Regenerated.
74599 * sysdeps/powerpc/configure: Regenerated.
74600 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74601 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74602 * sysdeps/s390/s390-32/configure: Regenerated.
74603 * sysdeps/s390/s390-64/configure: Regenerated.
74604 * sysdeps/sh/configure: Regenerated.
74605 * sysdeps/sparc/configure: Regenerated.
74606 * sysdeps/unix/sysv/linux/configure: Regenerated.
74607 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74608 * sysdeps/x86_64/configure: Regenerated.
74609
74610 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74611 defined. Don't check if MAP is NULL.
74612
74613 2012-10-09 Joseph Myers <joseph@codesourcery.com>
74614
74615 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74616 (_G_stat64): Likewise.
74617 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74618 (_G_stat64): Likewise.
74619 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74620 instead of struct _G_stat64.
74621 * libio/fileops.c (mmap_remap_check): Likewise.
74622 (decide_maybe_mmap): Likewise.
74623 (_IO_new_file_seekoff): Likewise.
74624 (_IO_file_stat): Likewise.
74625 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74626 _G_off64_t.
74627 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74628 instead of struct _G_stat64.
74629 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74630
74631 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
74632
74633 [BZ #14602]
74634 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74635 Replace with ...
74636 (CHECK_EOL): New macro.
74637 (two_way_short_needle): Check beginning of haystack for EOL. Use
74638 CHECK_EOL.
74639 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74640 Replace with CHECK_EOL.
74641 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74642 Replace with CHECK_EOL.
74643
74644 2012-10-08 Joseph Myers <joseph@codesourcery.com>
74645
74646 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74647 type-generic.
74648 * math/libm-test.inc: Update comment listing what functions and
74649 macros are tested.
74650 (finite_test): New function.
74651 (isinf_test): Likewise.
74652 (isnan_test): Likewise.
74653 (fpclassify_test): Test subnormal input.
74654 (isfinite_test): Likewise.
74655 (isnormal_test): Likewise.
74656 (main): Call the new functions.
74657
74658 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
74659
74660 [BZ #14660]
74661 * Makerules (%.dynsym): Force C locale when running
74662 $(OBJDUMP) --dynamic-syms.
74663
74664 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
74665
74666 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74667 <stdint.h>.
74668
74669 2012-10-06 David S. Miller <davem@davemloft.net>
74670
74671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74672 upper 32-bits of the length value in %o2 since we use branch-on-register
74673 tests which consider the entire 64-bit register.
74674
74675 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
74676
74677 * string/test-strstr.c (check2): Add a test for page boundary.
74678
74679 2012-10-05 David S. Miller <davem@davemloft.net>
74680
74681 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74682 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74683 file.
74684 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74685 sysdep_routines.
74686 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74687 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74688 and bzero when HWCAP_SPARC_CRYPTO is present.
74689
74690 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
74691
74692 [BZ #14602]
74693 * string/test-strstr.c (check2): New function.
74694 (test_main): Call check2.
74695
74696 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74697 and bug-strchr1.
74698 * string/bug-strcasestr1.c (do_test): Moved to ...
74699 * string/test-strcasestr.c (check1): Here. New function.
74700 (do_one_test): Break out result checking code into ...
74701 (check_result): This. New function.
74702 (do_one_test): Call check_result.
74703 (test_main): Call check1.
74704 * string/bug-strchr1.c (do_test): Moved to ...
74705 * string/test-strchr.c (check1): Here. New function.
74706 (do_one_test): Break out result checking code into ...
74707 (check_result): This. New function.
74708 (do_one_test): Call check_result.
74709 (test_main): Call check1.
74710 * string/bug-strstr1.c (main): Moved to ...
74711 * string/test-strstr.c (check1): Here. New function.
74712 (do_one_test): Break out result checking code into ...
74713 (check_result): This. New function.
74714 (do_one_test): Call check_result.
74715 (test_main): Call check1.
74716 * string/bug-strcasestr1.c: Removed.
74717 * string/bug-strchr1.c: Likewise.
74718 * string/bug-strstr1.c: Likewise.
74719
74720 * elf/Makefile (dl-routines): Add hwcaps.
74721 * elf/dl-support.c (_dl_important_hwcaps): Removed.
74722 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
74723 (_dl_important_hwcaps): Moved to ...
74724 * elf/dl-hwcaps.c: Here. New file.
74725 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
74726
74727 [BZ #14557]
74728 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
74729 if IS_IN_rtld isn't defined.
74730
74731 * elf/dl-support.c (_dl_sysinfo_map): New.
74732 Include "get-dynamic-info.h" and "setup-vdso.h".
74733 (_dl_non_dynamic_init): Call setup_vdso.
74734 * elf/dynamic-link.h: Don't include <assert.h>.
74735 (elf_get_dynamic_info): Moved to ...
74736 * elf/get-dynamic-info.h: Here. New file.
74737 * elf/dynamic-link.h: Include "get-dynamic-info.h".
74738 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
74739 * elf/setup-vdso.h: Here. New file.
74740 * elf/rtld.c: Include "setup-vdso.h".
74741 (dl_main): Call setup_vdso.
74742
74743 2012-10-05 Joseph Myers <joseph@codesourcery.com>
74744
74745 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
74746 creal in comment listing functions tested. List finite, isinf,
74747 isnan, isless, islessequal, isgreater, isgreaterequal,
74748 islessgreater, isunordered, lgamma_r and pow10 as functions and
74749 macros not tested. Mention which functions not tested are aliases
74750 for other functions. Fix typo. Note that signs of NaNs are not
74751 tested.
74752
74753 * scripts/config.guess: Update from config.git.
74754 * scripts/config.sub: Likewise.
74755
74756 2012-10-04 Roland McGrath <roland@hack.frob.com>
74757
74758 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
74759 * misc/madvise.c (madvise): Renamed to __madvise.
74760 Make madvise a weak alias.
74761 * include/sys/mman.h: Declare __madvise.
74762 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
74763 * sysdeps/unix/syscalls.list
74764 (madvise): Make __madvise the strong name, and madvise a weak alias.
74765 * sysdeps/unix/sysv/linux/syscalls.list
74766 (madvise, mmap): Remove redundant entries.
74767 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
74768 * malloc/malloc.c (mtrim): Likewise.
74769 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
74770
74771 2012-10-03 Roland McGrath <roland@hack.frob.com>
74772
74773 * sysdeps/mach/hurd/dl-cache.c: File removed.
74774 * config.h.in (USE_LDCONFIG): New #undef.
74775 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
74776 * configure: Regenerated.
74777 * elf/Makefile (dl-routines): Add dl-cache only under
74778 [$(use-ldconfig) = yes].
74779 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
74780 cache on [USE_LDCONFIG].
74781 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
74782 [USE_LDCONFIG].
74783 * elf/rtld.c (dl_main): Likewise.
74784
74785 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
74786
74787 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
74788 _SC_LEVEL4_CACHE_LINESIZE.
74789
74790 2012-10-03 Roland McGrath <roland@hack.frob.com>
74791
74792 * sysdeps/unix/bsd/confstr.h: File removed.
74793
74794 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
74795
74796 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
74797 sys/sdt-config.h.
74798
74799 2012-10-02 Roland McGrath <roland@hack.frob.com>
74800
74801 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
74802 Make 'mapoff' field ElfW(Off) rather than off_t.
74803
74804 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
74805
74806 * nscd/Makefile: Remove nscd-cflags and all its users.
74807 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
74808 (CFLAGS-nonlib): Add compiler flags for nscd modules.
74809
74810 [BZ #10631]
74811 * malloc.c (malloc_printerr): Clarify error message.
74812
74813 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
74814
74815 [BZ #14648]
74816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74817 Set bit_FMA_Usable if FMA is supported.
74818 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
74819 macro.
74820 (bit_FMA4_Usable): Updated.
74821 (index_FMA_Usable): New macro.
74822 (CPUID_FMA): Likewise.
74823 (HAS_FMA): Defined with bit_FMA_Usable.
74824
74825 2012-10-01 Roland McGrath <roland@hack.frob.com>
74826
74827 * bits/types.h (__swblk_t): Type removed.
74828 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
74829 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
74830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74831 (__SWBLK_T_TYPE): Likewise.
74832 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74833 (__SWBLK_T_TYPE): Likewise.
74834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74835 (__SWBLK_T_TYPE): Likewise.
74836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74837 (__SWBLK_T_TYPE): Likewise.
74838
74839 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
74840 Honza Horak <hhorak@redhat.com>
74841
74842 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
74843 (xdr_mapname): Use YPMAXMAP as maxsize.
74844 (xdr_peername): Use YPMAXPEER as maxsize.
74845 (xdr_keydat): Use YPAXRECORD as maxsize.
74846 (xdr_valdat): Use YPMAXRECORD as maxsize.
74847
74848 2012-10-01 Roland McGrath <roland@hack.frob.com>
74849
74850 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
74851
74852 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
74853 * csu/init-first.c: ... here.
74854 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
74855 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
74856 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
74857 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
74858 * sysdeps/i386/init-first.c: File removed.
74859 * sysdeps/sh/init-first.c: File removed.
74860
74861 2012-10-01 Joseph Myers <joseph@codesourcery.com>
74862
74863 [BZ #14645]
74864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
74865 if x * y might underflow to zero and z is zero.
74866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74868 * math/libm-test.inc (min_subnorm_value): New variable.
74869 (fma_test): Add more tests.
74870 (fma_test_towardzero): Likewise.
74871 (fma_test_downward): Likewise.
74872 (fma_test_upward): Likewise.
74873 (initialize): Set min_subnorm_value.
74874
74875 2012-09-29 Joseph Myers <joseph@codesourcery.com>
74876
74877 [BZ #14638]
74878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
74879 0 + 0.
74880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
74881 mode for addition resulting in exact zero.
74882 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
74883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
74884 exact 0 + 0.
74885 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74887 * math/libm-test.inc (fma_test): Add more tests.
74888 (fma_test_towardzero): New function.
74889 (fma_test_downward): Likewise.
74890 (fma_test_upward): Likewise.
74891 (main): Call the new functions.
74892
74893 2012-09-28 David S. Miller <davem@davemloft.net>
74894
74895 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
74896
74897 2012-09-28 Roland McGrath <roland@hack.frob.com>
74898
74899 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
74900 instead of SIGALRM.
74901
74902 * sysdeps/gnu/_G_config.h: Moved to ...
74903 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
74904 * sysdeps/mach/hurd/_G_config.h: Moved to ...
74905 * sysdeps/generic/_G_config.h: ... here.
74906
74907 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
74908
74909 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
74910
74911 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
74912 Conditionalize target on [libnss_test1.so-version].
74913
74914 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
74915
74916 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
74917 (elfobjdir): Move out of conditionals.
74918
74919 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
74920 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
74921 (__nss_lookup_function): Conditionalize label remove_from_tree on
74922 [!DO_STATIC_NSS || SHARED], matching its only use.
74923
74924 2012-09-28 David S. Miller <davem@davemloft.net>
74925
74926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
74927 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
74928 file.
74929 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74930 sysdep_routines.
74931 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
74933 when HWCAP_SPARC_CRYPTO is present.
74934
74935 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
74936
74937 * io/tst-mknodat.c: Create a FIFO instead of a socket.
74938
74939 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
74940
74941 [BZ #6530]
74942 * stdio-common/vfprintf.c (process_string_arg): Revert
74943 2000-07-22 change.
74944
74945 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
74946
74947 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
74948 for testcase.
74949 * stdio-common/tst-sprintf.c: Include <locale.h>
74950 (main): Test sprintf's handling of incomplete multibyte
74951 characters.
74952
74953 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
74954
74955 * elf/dl-runtime.c (VERSYMIDX): Removed.
74956 * elf/dl-version.c (VERSYMIDX): Likewise.
74957 * elf/do-rel.h (VERSYMIDX): Likewise.
74958 (VALIDX): Likewise.
74959 * elf/dynamic-link.h (VERSYMIDX): Likewise.
74960 * elf/rtld.c (VALIDX): Likewise.
74961 (ADDRIDX): Likewise.
74962 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
74963 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
74964 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
74965 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
74966 (VALIDX): Likewise.
74967 (ADDRIDX): Likewise.
74968
74969 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
74970
74971 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
74972
74973 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
74974
74975 [BZ #11438]
74976 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
74977 to global scope.
74978 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
74979 addresses are in the same scope as 192.0.2/24.
74980 * posix/gai.conf: Document new scope table defaults.
74981
74982 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74983
74984 [BZ #5298]
74985 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
74986 for ftell. Compute offsets from write pointers instead.
74987 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74988
74989 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74990
74991 [BZ #14543]
74992 * libio/Makefile (tests): New test case tst-fseek.
74993 * libio/tst-fseek.c: New test case to verify that fseek/ftell
74994 combination works in wide mode.
74995 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
74996 state when the external buffer state changes.
74997
74998 2012-09-27 David S. Miller <davem@davemloft.net>
74999
75000 [BZ #14376]
75001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75002 pass reloc->r_addend in as the 'high' argument to
75003 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75004
75005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75006
75007 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
75008
75009 * rt/tst-aio2.c: Include <pthread.h>.
75010 * rt/tst-aio3.c: Likewise.
75011
75012 2012-09-27 Steve Ellcey <sellcey@mips.com>
75013
75014 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75015
75016 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
75017
75018 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75019 contents on [SHARED].
75020
75021 2012-09-26 Marek Polacek <polacek@redhat.com>
75022
75023 [BZ #14530]
75024 [BZ #13741]
75025 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75026 for C++ and GCC <4.3 as well as for non GCC compilers.
75027
75028 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
75029
75030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75031
75032 2012-09-25 Roland McGrath <roland@hack.frob.com>
75033
75034 * Makefile.in (all, install): Declare with .PHONY.
75035 Reported by Michael Hope <michael.hope@linaro.org>.
75036
75037 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75038
75039 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75040 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75041 system header.
75042 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75043 Likewise.
75044 (sydep_routines): Add the new and the internal functions.
75045 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75046 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75048 (GLIBC_2.17): Add the new function.
75049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75050 (GLIBC_2.17): Likewise.
75051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75052 (GLIBC_2.17): Likewise.
75053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75054 (GLIBC_2.17): Likewise.
75055 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75056
75057 2012-09-25 Alan Modra <amodra@gmail.com>
75058
75059 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75060 Add release barrier before setting once_control to say
75061 initialisation is done. Add hints on lwarx. Use macro in
75062 place of isync.
75063 (clear_once_control): Add release barrier.
75064
75065 2012-09-25 Joseph Myers <joseph@codesourcery.com>
75066
75067 [BZ #13629]
75068 * math/s_clog.c (__clog): Handle more values close to |z| = 1
75069 specially.
75070 * math/s_clog10.c (__clog10): Likewise.
75071 * math/s_clog10f.c (__clog10f): Likewise.
75072 * math/s_clog10l.c (__clog10l): Likewise.
75073 * math/s_clogf.c (__clogf): Likewise.
75074 * math/s_clogl.c (__clogl): Likewise.
75075 * math/Makefile (libm-calls): Add x2y2m1.
75076 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75077 (__x2y2m1): Likewise.
75078 (__x2y2m1l): Likewise.
75079 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75080 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75081 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75082 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75083 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75084 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75085 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75086 * sysdeps/i386/fpu/libm-test-ulps: Update.
75087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75088
75089 [BZ #14621]
75090 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75091 int as type of variable DEPTH.
75092 (glob): Use size_t instead of int as type of variables NEWCOUNT
75093 and OLD_PATHC.
75094
75095 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75096
75097 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75098 Add s_sincosf-sse2.
75099 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75100 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75101 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75102 macros for using routine as __sincosf_ia32.
75103 Use macro for function declaration and weak_alias.
75104 * sysdeps/i386/fpu/libm-test-ulps: Update.
75105
75106 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75108
75109 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75110 subnormal argument.
75111 * math/s_cexpf.c (__cexpf): Likewise.
75112 * math/s_csinf.c (__csinf): Likewise.
75113 * math/s_csinhf.c (__csinhf): Likewise.
75114 * math/s_ctanf.c (__ctanf): Likewise.
75115 * math/s_ctanhf.c (__ctanhf): Likewise.
75116 * math/s_ccosh.c (__ccoshf): Likewise.
75117 * math/s_cexp.c (__cexpl): Likewise.
75118 * math/s_csin.c (__csin): Likewise.
75119 * math/s_csinh.c (__csinh): Likewise.
75120 * math/s_ctan.c (__ctan): Likewise.
75121 * math/s_ctanh.c (ctanh): Likewise.
75122 * math/s_ccoshl.c (__ccoshl): Likewise.
75123 * math/s_cexpl.c (__cexpl): Likewise.
75124 * math/s_csinl.c (__csinl): Likewise.
75125 * math/s_csinhl.c (__csinhl): Likewise.
75126 * math/s_ctanl.c (__ctanl): Likewise.
75127 * math/s_ctanhl.c (__ctanhl): Likewise.
75128
75129 2012-09-25 Joseph Myers <joseph@codesourcery.com>
75130
75131 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75132 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75133 (_IO_off_t): Define to __off_t, not _G_off_t.
75134 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75135 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75136 (_IO_wint_t): Define to wint_t, not _G_wint_t.
75137 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75138 type of __dummy and __dummy2 fields.
75139 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75140 (_G_ssize_t): Likewise.
75141 (_G_off_t): Likewise.
75142 (_G_pid_t): Likewise.
75143 (_G_uid_t): Likewise.
75144 (_G_wchar_t): Likewise.
75145 (_G_wint_t): Likewise.
75146 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75147 (_G_ssize_t): Likewise.
75148 (_G_off_t): Likewise.
75149 (_G_pid_t): Likewise.
75150 (_G_uid_t): Likewise.
75151 (_G_wchar_t): Likewise.
75152 (_G_wint_t): Likewise.
75153 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75154 (_G_ssize_t): Likewise.
75155 (_G_off_t): Likewise.
75156 (_G_pid_t): Likewise.
75157 (_G_uid_t): Likewise.
75158 (_G_wchar_t): Likewise.
75159 (_G_wint_t): Likewise.
75160
75161 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
75162
75163 * malloc/arena.c: Include malloc-sysdep.h.
75164 (shrink_heap): Use check_may_shrink_heap to decide if madvise
75165 is sufficient to shrink the heap or an unmap is needed.
75166 * sysdeps/generic/malloc-sysdep.h: New file. Define
75167 new function check_may_shrink_heap.
75168 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
75169 new function check_may_shrink_heap.
75170
75171 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
75172
75173 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75174 comments.
75175
75176 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
75177
75178 * catgets/test-gencat.sh: Add "set -e".
75179 * elf/tst-pathopt.sh: Likewise.
75180 * grp/tst_fgetgrent.sh: Likewise.
75181 * iconvdata/run-iconv-test.sh: Likewise.
75182 * intl/tst-gettext.sh: Likewise.
75183 * intl/tst-gettext2.sh: Likewise.
75184 * intl/tst-gettext4.sh: Likewise.
75185 * intl/tst-gettext6.sh: Likewise.
75186 * intl/tst-translit.sh: Likewise.
75187 * io/ftwtest-sh: Likewise.
75188 * libio/test-freopen.sh: Likewise.
75189 * malloc/tst-mtrace.sh: Likewise.
75190 * posix/globtest.sh: Likewise.
75191 * posix/tst-getconf.sh: Likewise.
75192 * posix/wordexp-tst.sh: Likewise.
75193 * stdio-common/tst-printf.sh: Likewise.
75194 * stdio-common/tst-unbputc.sh: Likewise.
75195 * stdlib/tst-fmtmsg.sh: Likewise.
75196 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75197 * catgets/Makefile: Do not specify -e option when running
75198 testsuite shell scripts.
75199 * elf/Makefile: Likewise.
75200 * grp/Makefile: Likewise.
75201 * iconvdata/Makefile: Likewise.
75202 * intl/Makefile: Likewise.
75203 * io/Makefile: Likewise.
75204 * libio/Makefile: Likewise.
75205 * malloc/Makefile: Likewise.
75206 * posix/Makefile: Likewise.
75207 * stdio-common/Makefile: Likewise.
75208 * stdlib/Makefile: Likewise.
75209 * sysdeps/x86_64/Makefile: Likewise.
75210
75211 * io/ftwtest-sh: Add copyright header.
75212 * posix/globtest.sh: Likewise.
75213 * posix/tst-getconf.sh: Likewise.
75214 * posix/wordexp-tst.sh: Likewise.
75215 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75216
75217 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
75218
75219 [BZ #13679]
75220 * Makeconfig (+link): Defined as $(+link-static) if
75221 $(build-shared) isn't yes.
75222 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75223 isn't yes.
75224 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75225
75226 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75227
75228 [BZ #14562]
75229 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75230 new chunk size with MALLOC_ALIGN_MASK.
75231
75232 2012-09-24 Joseph Myers <joseph@codesourcery.com>
75233
75234 [BZ #5044]
75235 * stdio-common/printf_fphex.c: Include <stdbool.h> and
75236 <rounding-mode.h>.
75237 (__printf_fphex): Determine rounding using get_rounding_mode and
75238 round_away.
75239 * stdio-common/tst-printf-round.c (struct hex_test): New
75240 structure.
75241 (hex_tests): New variable.
75242 (test_hex_in_one_mode): New function.
75243 (do_test): Also run tests for hex float output.
75244
75245 2012-09-21 Joseph Myers <joseph@codesourcery.com>
75246
75247 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75248 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75249 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75250 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75251 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75252 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75253 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75254 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75255
75256 2012-09-20 Joseph Myers <joseph@codesourcery.com>
75257
75258 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75259 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75260 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75261 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75262
75263 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
75264
75265 [BZ #14579]
75266 * elf/rtld.c (dl_main): Limit the check for self loading to normal
75267 mode only.
75268 * elf/tst-rtld-load-self.sh: New test.
75269 * elf/Makefile: Run it.
75270
75271 2012-09-18 Joseph Myers <joseph@codesourcery.com>
75272
75273 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75274 (tst-writev-ENV): Remove.
75275 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75276
75277 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
75278
75279 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75280
75281 2012-09-17 Joseph Myers <joseph@codesourcery.com>
75282
75283 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75284 unconditional.
75285 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75286 Likewise.
75287 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75288 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75289 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75290 Likewise.
75291
75292 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
75293
75294 [BZ #14587]
75295 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75296 * config.make.in (have-cpp-asm-debuginfo): Removed.
75297 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75298 * configure: Regenerated.
75299
75300 2012-09-14 Joseph Myers <joseph@codesourcery.com>
75301
75302 [BZ #5044]
75303 * stdio-common/printf_fp.c: Include <stdbool.h> and
75304 <rounding-mode.h>.
75305 (___printf_fp): Determine rounding using get_rounding_mode and
75306 round_away.
75307 * stdio-common/tst-printf-round.c: New file.
75308 * stdio-common/Makefile (tests): Add tst-printf-round.
75309 (link-libm): New variable.
75310 ($(objpfx)tst-printf-round): Depend in $(link-libm).
75311
75312 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
75313
75314 [BZ #14576]
75315 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75316 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75317 Likewise.
75318 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75319 Likewise.
75320
75321 2012-09-13 Joseph Myers <joseph@codesourcery.com>
75322
75323 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75324 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75325 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75326 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75327
75328 2012-09-12 Joseph Myers <joseph@codesourcery.com>
75329
75330 [BZ #14518]
75331 * include/rounding-mode.h: New file.
75332 * sysdeps/generic/get-rounding-mode.h: Likewise.
75333 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75334 * stdlib/strtod_l.c: Include <rounding-mode.h>.
75335 (MAX_VALUE): New macro.
75336 (MIN_VALUE): Likewise.
75337 (overflow_value): New function.
75338 (underflow_value): Likewise.
75339 (round_and_return): Use overflow_value and underflow_value to
75340 determine return values in overflow and underflow cases. Use
75341 round_away to determine rounding depending on rounding mode.
75342 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75343 determine return values in overflow and underflow cases.
75344 * stdlib/tst-strtod-round.c: Include <fenv.h>.
75345 (struct test_results): New structure.
75346 (struct test): Use struct test_results to store expected results
75347 for all rounding modes.
75348 (TEST): Include expected results for all rounding modes.
75349 (test_in_one_mode): New function.
75350 (do_test): Use test_in_one_mode to compute and check results.
75351 Check results for all rounding modes.
75352 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75353 $(link-libm).
75354
75355 2012-12-09 Allan McRae <allan@archlinux.org>
75356
75357 * sysdeps/i386/fpu/libm-test-ulps: Update
75358
75359 2012-09-11 Joseph Myers <joseph@codesourcery.com>
75360
75361 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75362 (_G_int32_t): Likewise.
75363 (_G_uint16_t): Likewise.
75364 (_G_uint32_t): Likewise.
75365 (_G_HAVE_BOOL): Likewise.
75366 (_G_HAVE_ATEXIT): Likewise.
75367 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75368 (_G_HAVE_IO_FILE_OPEN): Likewise.
75369 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75370 (_G_int32_t): Likewise.
75371 (_G_uint16_t): Likewise.
75372 (_G_uint32_t): Likewise.
75373 (_G_HAVE_BOOL): Likewise.
75374 (_G_HAVE_ATEXIT): Likewise.
75375 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75376 (_G_HAVE_IO_FILE_OPEN): Likewise.
75377 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75378 (_G_int32_t): Likewise.
75379 (_G_uint16_t): Likewise.
75380 (_G_uint32_t): Likewise.
75381 (_G_HAVE_BOOL): Likewise.
75382 (_G_HAVE_ATEXIT): Likewise.
75383 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75384 (_G_HAVE_IO_FILE_OPEN): Likewise.
75385
75386 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
75387
75388 * csu/libc-tls.c: Update copyright years.
75389
75390 2012-09-10 Joseph Myers <joseph@codesourcery.com>
75391
75392 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75393 [!_G_USING_THUNKS]: Remove conditional code.
75394 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75395 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75396
75397 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75398 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75399 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75400 (_G_VTABLE_LABEL_PREFIX): Likewise.
75401 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75402 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75403 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75404 (_G_VTABLE_LABEL_PREFIX): Likewise.
75405 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75406 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75407 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75408 (_G_VTABLE_LABEL_PREFIX): Likewise.
75409 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75410
75411 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
75412
75413 * libio/Makefile: Include ../Makeconfig before tests.
75414 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75415 only if $(build-shared) is yes.
75416
75417 * iconv/gconv_db.c: Update copyright years.
75418
75419 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75420
75421 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75422 unwind info if defined PIC. Fix special cases description.
75423 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75424
75425 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75426 DP_HI_MASK entry.
75427 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75428
75429 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
75430
75431 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75432
75433 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75434 is NULL.
75435
75436 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75437 (LDLIBS-tst-chk4): This.
75438 (LDFLAGS-tst-chk5): Renamed to ...
75439 (LDLIBS-tst-chk5): This.
75440 (LDFLAGS-tst-chk6): Renamed to ...
75441 (LDLIBS-tst-chk6): This.
75442 (LDFLAGS-tst-lfschk4): Renamed to ...
75443 (LDLIBS-tst-lfschk4): This.
75444 (LDFLAGS-tst-lfschk5): Renamed to ...
75445 (LDLIBS-tst-lfschk5): This.
75446 (LDFLAGS-tst-lfschk6): Renamed to ...
75447 (LDLIBS-tst-lfschk6): This.
75448
75449 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75450 on $(common-objpfx)soversions.mk.
75451
75452 2012-09-07 Joseph Myers <joseph@codesourcery.com>
75453
75454 [BZ #10014]
75455 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75456 example host name.
75457
75458 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
75459
75460 * malloc/arena.c (arena_get_retry): New function that gets
75461 another arena for the caller to try its request on.
75462 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75463 current arena cannot fulfill the request.
75464 (__libc_memalign): Likewise.
75465 (__libc_memalign): Likewise.
75466 (__libc_pvalloc): Likewise.
75467 (__libc_calloc): Likewise.
75468
75469 2012-09-05 John Tobey <john.tobey@gmail.com>
75470
75471 [BZ #13542]
75472 * manual/arith.texi (Operations on Complex): Fix description
75473 of carg branch cut.
75474
75475 2012-09-06 Joseph Myers <joseph@codesourcery.com>
75476
75477 [BZ #10014]
75478 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75479 host name.
75480
75481 [BZ #10038]
75482 * manual/memory.texi (Memory): Make order of menu items match
75483 order of sections.
75484
75485 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
75486
75487 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75488 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
75489 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75490
75491 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
75492
75493 * csu/libc-tls.c (static_dtv): Renamed to ...
75494 (_dl_static_dtv): This. Make it global.
75495 (_dl_initial_dtv): Removed.
75496 (__libc_setup_tls): Updated.
75497 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75498 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75499 DL_INITIAL_DTV.
75500
75501 2012-09-06 Petr Machata <pmachata@redhat.com>
75502
75503 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75504 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75505 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75506 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75507
75508 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
75509
75510 [BZ #14545]
75511 * csu/libc-tls.c (_dl_initial_dtv): New variable.
75512 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75513 freeing dtv[-1].
75514
75515 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
75516
75517 [BZ #14544]
75518 * Makeconfig (link-static-before-libc): Replace $(+prector)
75519 with $(+prectorT).
75520 (link-static-after-libc): Replace $(+postctor) with
75521 $(+postctorT).
75522 (link-bounded): Replace $(+prector)/$(+postctor) with
75523 $(+prectorT)/$(+postctorT).
75524 (+prectorT): New macro.
75525 (+postctorT): Likewise.
75526
75527 2012-09-06 Joseph Myers <joseph@codesourcery.com>
75528
75529 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75530 (round_str): Handle values above the maximum for IBM long double
75531 as inexact.
75532 * stdlib/tst-strtod-round.c (tests): Regenerated.
75533
75534 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75535
75536 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75537 assembler flag.
75538 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75539 zarch_nohighgprs around the zarch optimized routines.
75540 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75541 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75542 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75543 for zarch.
75544
75545 2012-09-05 David S. Miller <davem@davemloft.net>
75546
75547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75548
75549 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75550 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75551 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75552 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75553 entries.
75554
75555 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75556
75557 * malloc/arena.c: Fold copyright years.
75558 * malloc/mcheck.c, malloc/memusage.c: Likewise.
75559
75560 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75561
75562 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75563
75564 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75565
75566 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
75567
75568 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75569
75570 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75571 change internal state upon failure.
75572
75573 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
75574
75575 * malloc/mcheck.c (mcheck_check_all): Fix typo.
75576 * malloc/memusage.c (mmap): Likewise.
75577 (mmap64, mremap): Likewise. Adjust name in comment.
75578
75579 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
75580
75581 * libio/fileops.c: Fix typos in comments.
75582 * libio/oldfileops.c: Likewise.
75583 * libio/wfileops.c: Likewise.
75584
75585 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
75586
75587 [BZ #1349]
75588 * malloc/Makefile (tests): Add tst-malloc-usable test case.
75589 (tst-malloc-usable-ENV): Set environment for test case.
75590 * malloc/hooks.c (malloc_check_get_size): New function to get
75591 requested size.
75592 * malloc/malloc.c (musable): Use malloc_check_get_size.
75593 * malloc/tst-malloc-usable.c: New test case.
75594
75595 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
75596
75597 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75598
75599 2012-09-05 Allan McRae <allan@archlinux.org>
75600
75601 [BZ #13966]
75602 * configure.in (CXX_SYSINCLUDES): Use compiler output to
75603 determine header location.
75604 * configure: Regenerated.
75605
75606 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
75607
75608 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75609 float format.
75610 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75611 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75612 format.
75613 (test): Regenerate.
75614
75615 2012-09-04 David S. Miller <davem@davemloft.net>
75616
75617 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75618 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75619 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75620
75621 2012-09-04 Florian Weimer <fweimer@redhat.com>
75622
75623 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75624 failures.
75625
75626 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75627
75628 2012-09-04 Joseph Myers <joseph@codesourcery.com>
75629
75630 [BZ #9914]
75631 * libio/iogetdelim.c: Include <limits.h>.
75632 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75633 + len + 1 would overflow.
75634
75635 2012-09-03 Andreas Jaeger <aj@suse.de>
75636
75637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75638 * sysdeps/i386/fpu/libm-test-ulps: Update.
75639
75640 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75641
75642 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75643 Add s_sinf-sse2, s_conf-sse2.
75644
75645 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75646 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75647 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75648 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75649
75650 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75651 for using routine as __sinf_ia32.
75652 Use macro for function declaration and weak_alias.
75653 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75654 for using routine as __cosf_ia32.
75655 Use macro for function declaration and weak_alias.
75656
75657 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75658 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75659
75660 * sysdeps/x86_64/fpu/s_sinf.S: New file.
75661 * sysdeps/x86_64/fpu/s_cosf.S: New file.
75662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75663
75664 * math/libm-test.inc (cos_test): Add more test cases.
75665 (sin_test): Likewise.
75666 (sincos_test): Likewise.
75667
75668 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75669
75670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75671 (IFUNC_RESOLVE): Make pointers to the specialized implementations
75672 hidden.
75673 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75674
75675 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
75676
75677 [BZ #14538]
75678 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75679 first element of the GOT.
75680 (elf_machine_load_address): Return the difference between
75681 the runtime address of _DYNAMIC and elf_machine_dynamic ().
75682
75683 2012-09-01 Allan McRae <allan@archlinux.org>
75684
75685 [BZ #13412]
75686 * configure.in (AWK): Require gawk version 3.0 or later.
75687 * configure: Regenerated.
75688
75689 2012-09-01 Joseph Myers <joseph@codesourcery.com>
75690
75691 * sysdeps/unix/sysv/linux/kernel-features.h
75692 (__ASSUME_POSIX_CPU_TIMERS): Remove.
75693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75694 [__NR_clock_getres]: Make code unconditional.
75695 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75696 (clock_getcpuclockid): Remove code left unreachable by removal of
75697 conditionals.
75698 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75699 code unconditional.
75700 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75701 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75702 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75703 Make code unconditional.
75704 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75705 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75706 * sysdeps/unix/sysv/linux/clock_settime.c
75707 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75708 conditional code.
75709 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75710 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75711
75712 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
75713
75714 [BZ #14476]
75715 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75716 scripts/test-installation.pl.
75717
75718 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
75719 and $ld_so_version if it is set.
75720
75721 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
75722
75723 [BZ #14516]
75724 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
75725 failure if reading from procfs failed.
75726 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
75727
75728 2012-08-27 Joseph Myers <joseph@codesourcery.com>
75729
75730 * sysdeps/unix/sysv/linux/kernel-features.h
75731 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
75732 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75733 Remove conditional code.
75734 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75735 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
75736 Remove conditional code.
75737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75738 * sysdeps/unix/sysv/linux/i386/fxstat.c
75739 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75740 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75741 * sysdeps/unix/sysv/linux/i386/fxstatat.c
75742 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75743 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75744 * sysdeps/unix/sysv/linux/i386/lxstat.c
75745 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75747 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
75748 Remove conditional code.
75749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75750 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75751 Remove conditional code.
75752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75753 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
75754 <kernel-features.h>.
75755 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
75756 Remove.
75757 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
75758 Remove conditional code.
75759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75760 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
75761 Remove conditional.
75762
75763 2012-08-27 Mike Frysinger <vapier@gentoo.org>
75764
75765 [BZ #5400]
75766 * NEWS: Add fixed bug number.
75767
75768 2012-08-27 Joseph Myers <joseph@codesourcery.com>
75769
75770 [BZ #14519]
75771 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
75772 underflowing exponent in case of negative sign.
75773 * stdlib/tst-strtod-round-data: Add more tests.
75774 * stdlib/tst-strtod-round.c (tests): Regenerated.
75775
75776 [BZ #3479]
75777 * stdlib/strtod_l.c (NDIG): Remove.
75778 (HEXNDIG): Likewise.
75779 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
75780 smallest representable value.
75781 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
75782 lie within an exact representation of 1/2 ulp of the result.
75783 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
75784 unconditionally.
75785 (TENS_P9_IDX): Define unconditionally.
75786 (TENS_P9_SIZE): Likewise.
75787 (TENS_P10_IDX): Likewise.
75788 (TENS_P10_SIZE): Likewise.
75789 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
75790 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
75791 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
75792 entries for 10^2^13 and 10^2^14.
75793 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
75794 (TENS_P13_IDX): Define.
75795 (TENS_P13_SIZE): Likewise.
75796 (TENS_P14_IDX): Likewise.
75797 (TENS_P14_SIZE): Likewise.
75798 (_fpioconst_pow10): Change array size to
75799 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
75800 unconditional.
75801 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
75802 1024]: Add entries for 10^2^13 and 10^2^14.
75803 [LAST_POW10 > _LAST_POW10]: Remove #error.
75804 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
75805 (_fpioconst_pow10): Change array size to
75806 FPIOCONST_POW10_ARRAY_SIZE.
75807 * stdlib/gen-fpioconst.c: New file.
75808 * stdlib/gen-tst-strtod-round.c: Likewise.
75809 * stdlib/tst-strtod-round-data: Likewise.
75810 * stdlib/tst-strtod-round.c: Likewise.
75811 * stdlib/Makefile (tests): Add tst-strtod-round.
75812
75813 [BZ #14459]
75814 * stdlib/strtod_l.c: Include <stdint.h>.
75815 (NDEBUG): Do not define.
75816 (round_and_return): Change EXPONENT parameter to type intmax_t.
75817 Rearrange calculations to avoid internal overflow possibilities.
75818 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
75819 Rearrange calculations to avoid internal overflow possibilities.
75820 Assert that number fits inside MPNSIZE limbs.
75821 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
75822 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
75823 calculations and add assertions to avoid internal overflow
75824 possibilities. Add casts to avoid signed/unsigned operations.
75825 * stdlib/tst-strtod-overflow.c: New file.
75826 * stdlib/Makefile (tests): Add tst-strtod-overflow.
75827
75828 2012-08-25 Marek Polacek <polacek@redhat.com>
75829
75830 * time/time.h: Fix some typos in comments.
75831
75832 2012-08-23 Roland McGrath <roland@hack.frob.com>
75833
75834 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
75835 * posix/tst-rfc3484-2.c: Likewise.
75836 * posix/tst-rfc3484-3.c: Likewise.
75837
75838 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
75839
75840 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
75841 (EF_ARM_ABI_FLOAT_HARD): Likewise.
75842
75843 2012-08-23 Joseph Myers <joseph@codesourcery.com>
75844
75845 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
75846 #include of fxstatat64.c.
75847
75848 2012-08-22 Roland McGrath <roland@hack.frob.com>
75849
75850 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
75851 * shadow/getspent_r.c: Likewise.
75852 * shadow/getspnam.c: Likewise.
75853 * shadow/getspnam_r.c: Likewise.
75854 * gshadow/getsgent.c: Likewise.
75855 * gshadow/getsgent_r.c: Likewise.
75856 * gshadow/getsgnam.c: Likewise.
75857 * gshadow/getsgnam_r.c: Likewise.
75858 * inet/getnetbyad.c: Likewise.
75859 * inet/getnetbyad_r.c: Likewise.
75860 * inet/getnetbynm.c: Likewise.
75861 * inet/getnetbynm_r.c: Likewise.
75862 * inet/getnetent.c: Likewise.
75863 * inet/getnetent_r.c: Likewise.
75864 * inet/getproto.c: Likewise.
75865 * inet/getproto_r.c: Likewise.
75866 * inet/getprtent.c: Likewise.
75867 * inet/getprtent_r.c: Likewise.
75868 * inet/getprtname.c: Likewise.
75869 * inet/getprtname_r.c: Likewise.
75870 * inet/getrpcbyname.c: Likewise.
75871 * inet/getrpcbyname_r.c: Likewise.
75872 * inet/getrpcbynumber.c: Likewise.
75873 * inet/getrpcbynumber_r.c: Likewise.
75874 * inet/getrpcent.c: Likewise.
75875 * inet/getrpcent_r.c: Likewise.
75876 * inet/getaliasent.c: Likewise.
75877 * inet/getaliasent_r.c: Likewise.
75878 * inet/getaliasname.c: Likewise.
75879 * inet/getaliasname_r.c: Likewise.
75880 * nscd/getgrgid_r.c: Likewise.
75881 * nscd/getgrnam_r.c: Likewise.
75882 * nscd/gethstbyad_r.c: Likewise.
75883 * nscd/gethstbynm3_r.c: Likewise.
75884 * nscd/getpwnam_r.c: Likewise.
75885 * nscd/getpwuid_r.c: Likewise.
75886 * nscd/getsrvbynm_r.c: Likewise.
75887 * nscd/getsrvbypt_r.c: Likewise.
75888 * nscd/gai.c: Likewise.
75889
75890 * configure.in (build_nscd): New substituted variable, set
75891 by --disable-build-nscd and defaults to $use_nscd.
75892 * configure: Regenerated.
75893 * config.make.in (build-nscd): New substituted variable.
75894 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
75895 Change conditional to require [$(build-nscd) = yes] as well.
75896 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
75897
75898 [BZ #13696]
75899 * configure.in (use_nscd): New substituted variable, set by
75900 --disable-nscd. If enabled, define USE_NSCD.
75901 * configure: Regenerated.
75902 * config.h.in: Add USE_NSCD.
75903 * config.make.in (use-nscd): New substituted variable.
75904 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
75905 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
75906 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
75907 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
75908 (CFLAGS-getgrnam_r.c): Likewise.
75909 (CFLAGS-initgroups.c): Likewise.
75910 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
75911 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
75912 Variables removed.
75913 * inet/getnetgrent_r.c
75914 (nscd_setnetgrent): New function, broken out of ...
75915 (setnetgrent): ... here. Call it.
75916 (innetgr): Conditionalize nscd bits on [USE_NSCD].
75917 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
75918 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
75919 * nscd/Makefile (routines, aux): Move definitions after include of
75920 Makeconfig. Conditionalize on [$(use-nscd) != no].
75921 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
75922 Conditionalize on [USE_NSCD].
75923 (is_nscd, nscd_init_cb): Likewise.
75924 (nss_load_library): Conditionalize init callback on [USE_NSCD].
75925 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
75926 * nss/nss_db/db-init.c: Likewise.
75927 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
75928 [USE_NSCD].
75929 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
75930 (make_request): Use it.
75931 (cache_valid_p): New function.
75932 (__check_pf): Use it.
75933 * NEWS: Add item for --disable-nscd.
75934
75935 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
75936
75937 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
75938 to support sed >= 4.2.1-20-ga9bf076.
75939 * configure: Regenerated.
75940
75941 2012-08-22 Roland McGrath <roland@hack.frob.com>
75942
75943 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
75944 Conditionalize whole body on [IREL].
75945
75946 2012-08-22 Jeff Law <law@redhat.com>
75947
75948 [BZ #14505]
75949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
75950 if the family is PF_UNSPEC.
75951
75952 2012-08-22 Mike Frysinger <vapier@gentoo.org>
75953
75954 * Makerules (lib-version): Rename from V.
75955 (install-lib-nosubdir): Change V to lib-version.
75956
75957 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
75958
75959 [BZ #14252]
75960 * powerpc32/power6/wcschr.c: New file.
75961 * powerpc32/power6/wcscpy.c: New file.
75962 * powerpc32/power6/wcsrchr.c: New file.
75963 * powerpc64/power6/wcschr.c: New file.
75964 * powerpc64/power6/wcscpy.c: New file.
75965 * powerpc64/power6/wcsrchr.c: New file.
75966
75967 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
75968
75969 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
75970 (two_way_short_needle): Use it.
75971 * string/strstr.c (AVAILABLE1_USES_J): Define.
75972 * string/strcasestr.c: Likewise.
75973
75974 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
75975 array references.
75976 * string/strcasestr.c (TOLOWER): Make side-effect safe.
75977
75978 [BZ #11607]
75979 * NEWS: Add an entry.
75980 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
75981 define their defaults.
75982 (two_way_short_needle): Detect end-of-string on-the-fly.
75983 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
75984 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
75985 * string/bug-strcasestr1.c: New test.
75986 * string/Makefile: Run it.
75987
75988 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
75989
75990 [BZ #11607]
75991 * string/str-two-way.h (two_way_short_needle): Optimize matching of
75992 the first character.
75993
75994 2012-08-21 Roland McGrath <roland@hack.frob.com>
75995
75996 * csu/elf-init.c (__libc_csu_irel): Function removed.
75997 * csu/libc-start.c (apply_irel): New function.
75998 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
75999
76000 2012-08-21 Joseph Myers <joseph@codesourcery.com>
76001
76002 * sysdeps/unix/sysv/linux/kernel-features.h
76003 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76004 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76005 <kernel-features.h>.
76006 [__NR_fadvise64_64]: Make code unconditional.
76007 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76008 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76009 !__NR_fadvise64_64)]: Likewise.
76010 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76011 !__NR_fadvise64_64))]: Likewise.
76012 [__NR_fadvise64]: Make code unconditional.
76013 [!__NR_fadvise64]: Remove conditional code.
76014 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76015 <kernel-features.h>.
76016 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76017 unconditional.
76018 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76019 conditional code.
76020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76021 not include <kernel-features.h>.
76022 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76023 unconditional.
76024 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76025 conditional code.
76026 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76027 include <kernel-features.h>.
76028 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76029 unconditional.
76030 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76031 conditional code.
76032
76033 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
76034
76035 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76036 slight instruction rearrangements per scrollpipe analysis.
76037 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76038
76039 2012-08-20 Roland McGrath <roland@hack.frob.com>
76040
76041 * manual/syslog.texi (syslog; vsyslog, closelog):
76042 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76043 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76044
76045 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76046 DSOCAPS to match condition on defining it.
76047
76048 2012-08-20 Joseph Myers <joseph@codesourcery.com>
76049
76050 * sysdeps/unix/sysv/linux/kernel-features.h
76051 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76053 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76054 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76056 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76057 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76059 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76060 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76061
76062 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76063 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76064
76065 * sysdeps/unix/sysv/linux/kernel-features.h
76066 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76067 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76068 unconditional.
76069 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76070 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76071 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76072 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76073 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76074 Make code unconditional.
76075 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76076 (__mmap64) [!__NR_mmap2]: Likewise.
76077 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76078 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76079 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76080 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76081 [__NR_mmap2]: Make code unconditional.
76082 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76083 (__mmap64) [!__NR_mmap2]: Likewise.
76084
76085 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76086
76087 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76088
76089 2012-08-18 Andreas Jaeger <aj@suse.de>
76090
76091 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76092
76093 2012-08-18 Mike Frysinger <vapier@gentoo.org>
76094
76095 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76096 * include/unistd.h (__have_sock_cloexec): Likewise.
76097 (__have_pipe2): Likewise.
76098 (__have_dup3): Likewise.
76099
76100 2012-08-18 Mike Frysinger <vapier@gentoo.org>
76101
76102 [BZ #9685]
76103 * include/unistd.h (__have_pipe2): Change define into an extern int.
76104 (__have_dup3): Likewise.
76105 * socket/have_sock_cloexec.c: Include fcntl.h.
76106 (__have_pipe2): New variable.
76107 (__have_dup3): Likewise.
76108
76109 2012-08-17 Mike Frysinger <vapier@gentoo.org>
76110
76111 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76112
76113 2012-08-17 Marek Polacek <polacek@redhat.com>
76114
76115 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76116 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76117
76118 2012-08-17 Roland McGrath <roland@hack.frob.com>
76119
76120 * configure.in: Add AC_SUBST for sysheaders.
76121 * configure: Regenerated.
76122 * config.make.in (sysheaders): New substituted variable.
76123
76124 * sysdeps/unix/mkfifo.c: Moved ...
76125 * sysdeps/posix/mkfifo.c: ... here.
76126 * sysdeps/unix/mkfifoat.c: Moved ...
76127 * sysdeps/posix/mkfifoat.c: ... here.
76128
76129 * sysdeps/unix/utime.c: Moved ...
76130 * sysdeps/posix/utime.c: ... here.
76131
76132 * sysdeps/unix/time.c: Moved ...
76133 * sysdeps/posix/time.c: ... here.
76134 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76135 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76136
76137 * sysdeps/unix/nice.c: Moved ...
76138 * sysdeps/posix/nice.c: ... here.
76139
76140 * sysdeps/unix/alarm.c: Moved ...
76141 * sysdeps/posix/alarm.c: ... here.
76142
76143 * intl/Makefile ($(codeset_mo)): Depend on the input file.
76144
76145 2012-08-17 Jeff Law <law@redhat.com>
76146
76147 * intl/Makefile (codeset_mo): New variable.
76148 ($(codeset_mo)): New target.
76149 (tst-codeset.out): Depend on that. Remove explicit rule.
76150 (tst-gettext3.out, tst-gettext5.out): Likewise.
76151 (LOCPATH-ENV, tst-codeset-ENV): New variables.
76152 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76153 * intl/tst-codeset.sh: Remove.
76154 * intl/tst-gettext3.sh: Likewise.
76155 * intl/tst-gettext5.sh: Likewise.
76156
76157 2012-08-17 Roland McGrath <roland@hack.frob.com>
76158
76159 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
76160 * sysdeps/unix/syscalls.list: ... here.
76161
76162 * sysdeps/posix/getaddrinfo.c
76163 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76164 (gaiconf_init, gaiconf_reload): Use them.
76165 [!_STATBUF_ST_NSEC]
76166 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76167 Define using time_t rather than struct timespec.
76168
76169 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76170 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76171 Macros removed.
76172 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76173 [!NO_THREADS].
76174 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76175 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76176 Likewise.
76177
76178 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76179 __libc_cleanup_push argument.
76180
76181 * bits/param.h: New file.
76182 * misc/sys/param.h: New file.
76183 * include/sys/param.h: New file.
76184 * misc/Makefile (headers): Add bits/param.h.
76185 * sysdeps/generic/sys/param.h: File removed.
76186 * sysdeps/unix/sysv/linux/bits/param.h: New file.
76187 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76188 * sysdeps/mach/hurd/bits/param.h: New file.
76189 * sysdeps/mach/hurd/sys/param.h: File removed.
76190
76191 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76192 last change.
76193
76194 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76195 [_IO_MTSAFE_IO].
76196 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76197 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76198 New macros.
76199
76200 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76201 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76202 rather than -D_IO_MTSAFE_IO conditionally.
76203 * stdio-common/Makefile (CPPFLAGS): Likewise.
76204 * wcsmbs/Makefile (CPPFLAGS): Likewise.
76205 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76206 Use $(libio-mtsafe).
76207 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76208 of -D_IO_MTSAFE_IO.
76209 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76210 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76211 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76212 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76213 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76214 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76215 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76216 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76217 (CFLAGS-fread_u_chk.c): Likewise.
76218 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76219 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76220 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76221 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76222 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76223 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76224 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76225 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76226 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76227
76228 * libio/Makefile: Test [$(libc-reentrant) = yes]
76229 instead of [$(filter %REENTRANT, $(defines)) nonempty].
76230
76231 * Makeconfig
76232 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76233 * sysdeps/pthread/configure: File removed.
76234 * sysdeps/pthread/Makeconfig: New file.
76235 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76236 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76237
76238 2012-08-16 Gary Benson <gbenson@redhat.com>
76239
76240 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76241 unmapping the first object in a namespace.
76242
76243 2012-08-16 Roland McGrath <roland@hack.frob.com>
76244
76245 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76246 (__internal_setnetgrent): ... this. Add internal_function to
76247 definition. Add libc_hidden_def.
76248 (setnetgrent): Update caller.
76249 (internal_endnetgrent): Renamed to ...
76250 (__internal_endnetgrent): ... this. Add internal_function to
76251 definition. Add libc_hidden_def.
76252 (endnetgrent): Update caller.
76253 (internal_getnetgrent_r): Renamed to ...
76254 (__internal_getnetgrent_r): ... this. Add internal_function to
76255 definition. Add libc_hidden_def.
76256 (__getnetgrent_r): Update caller.
76257 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
76258
76259 2012-08-16 Joseph Myers <joseph@codesourcery.com>
76260
76261 * stdlib/longlong.h: Update from GCC.
76262
76263 2012-08-16 Roland McGrath <roland@hack.frob.com>
76264
76265 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76266 on _QL, which is set by umul_ppmm but never used.
76267 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76268 variables, which are set by GMP macros but never used.
76269 * stdio-common/_itowa.c (_itowa): Likewise.
76270 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76271 * stdlib/mod_1.c (mpn_mod_1): Likewise.
76272
76273 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
76274
76275 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76276 struct La_sh_regs is not constant.
76277 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76278 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76279 and struct La_sparc64_regs are not constant.
76280
76281 2012-08-16 Joseph Myers <joseph@codesourcery.com>
76282
76283 * sysdeps/unix/sysv/linux/kernel-features.h
76284 (__ASSUME_POSIX_TIMERS): Remove.
76285 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76286 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76287 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76288 Make code unconditional.
76289 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76290 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76291 Make code unconditional.
76292 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76293 * sysdeps/unix/sysv/linux/clock_nanosleep.c
76294 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76295 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76296 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76297 Make code unconditional.
76298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76299 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76300 (__libc_missing_posix_timers): Remove.
76301
76302 2012-08-15 Roland McGrath <roland@hack.frob.com>
76303
76304 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76305 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76306
76307 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76308
76309 * elf/dl-sym.c: Include <stdlib.h>.
76310
76311 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76312 constants, which avoids warnings in 32-bit builds.
76313
76314 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76315 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76316
76317 * misc/lseek.c: File moved to ...
76318 * io/lseek.c: ... here.
76319
76320 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76321
76322 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76323 shifting LEN more than 31 bits at once.
76324
76325 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76326
76327 [BZ #14195]
76328 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76329 segmentation fault for a case of two empty input strings.
76330 * string/test-strncasecmp.c (check1): Renamed to...
76331 (bz12205): ...this.
76332 (bz14195): Add new testcase for two empty input strings and N > 0.
76333 (test_main): Call new testcase, adapt for renamed function.
76334
76335 2012-08-15 Andreas Jaeger <aj@suse.de>
76336
76337 [BZ #14090]
76338 * crypt/md5test2.c: New test, based on test supplied by Serge
76339 Belyshev <belyshev@depni.sinp.msu.ru>.
76340 * crypt/Makefile (xtests): Add md5test-giant..
76341 * crypt/Makefile ($(objpfx)md5test-giant): Add.
76342
76343 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
76344
76345 [BZ #14090]
76346 * crypt/md5.c (md5_process_block): Don't assume the buffer
76347 length is less than 2**32.
76348 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76349 length is less than 2**64.
76350
76351 2012-08-15 Roland McGrath <roland@hack.frob.com>
76352
76353 * string/str-two-way.h: Include <sys/param.h>.
76354 (MAX): Macro removed.
76355
76356 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76357 Move #define and #undef of memmove to just before and after
76358 including <string.h>.
76359
76360 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76361 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76362 and after including <string.h>. Move declarations of
76363 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76364 to before #include "string/memmove.c".
76365
76366 * include/dirent.h: Declare __getdirentries.
76367
76368 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76369 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76370
76371 2012-08-14 Mike Frysinger <vapier@gentoo.org>
76372
76373 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76374 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76375 * sysdeps/i386/configure: Regenerated.
76376 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76377 STABS_CURRENT_FILE, and STABS_FUN.
76378 (END): Remove call to STABS_FUN_END.
76379 (STABS_CURRENT_FILE1): Delete.
76380 (STABS_CURRENT_FILE): Likewise.
76381 (STABS_FUN): Likewise.
76382 (STABS_FUN_END): Likewise.
76383 (STABS_FUN2): Likewise.
76384 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76385 * sysdeps/x86_64/configure: Regenerated.
76386
76387 2012-08-14 Roland McGrath <roland@hack.frob.com>
76388
76389 * elf/dl-open.c: Include <atomic.h>.
76390 * elf/dl-lookup.c: Likewise.
76391
76392 2012-08-14 Joseph Myers <joseph@codesourcery.com>
76393
76394 * sysdeps/unix/sysv/linux/kernel-features.h
76395 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76396 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76397 unconditionally.
76398 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76399 unconditionally.
76400 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76401 condition on __ASSUME_CLONE_THREAD_FLAGS.
76402
76403 2012-08-14 Andreas Jaeger <aj@suse.de>
76404
76405 * sysdeps/i386/fpu/libm-test-ulps: Update.
76406
76407 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
76408
76409 * include/atomic.h (atomic_exchange_and_add): Split into ...
76410 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76411 New atomic macros.
76412
76413 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
76414
76415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76416
76417 2012-08-13 Jeff Law <law@redhat.com>
76418
76419 * manual/stdio.texi (snprintf): Clarify handling of the trailing
76420 null byte in the output string.
76421
76422 2012-08-10 Joseph Myers <joseph@codesourcery.com>
76423
76424 * sysdeps/unix/sysv/linux/kernel-features.h
76425 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76426 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76427 (__ASSUME_ARG_MAX_STACK_BASED): Define.
76428 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76429 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76430 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
76431 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76432
76433 2012-08-09 Jeff Law <law@redhat.com>
76434
76435 [BZ #13939]
76436 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76437 When avoid_arena is set, don't retry in the that arena. Pick the
76438 next one, whatever it might be.
76439 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76440 (arena_lock): Pass in new parameter to arena_get2.
76441 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76442 arena_get2.
76443 (__libc_malloc): Unify retrying after main arena failure with
76444 __libc_memalign version.
76445 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76446
76447 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
76448
76449 [BZ #14166]
76450 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76451 to __redirect_strstr.
76452 (__strstr_sse42): Use typeof __redirect_strstr.
76453 (__strstr_ia32): Likewise.
76454 (__libc_strstr): New prototype.
76455 (strstr): Renamed to ...
76456 (__libc_strstr): This.
76457 (strstr): New strong alias of __libc_strstr.
76458 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76459 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76460 __redirect_time.
76461 Include <time.h>.
76462 (__libc_time): New prototype.
76463 (time_ifunc): Replace time with __libc_time.
76464 (time): New strong alias and hidden definition of __libc_time.
76465 (__GI_time): Remove strong alias.
76466 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76467 Include <stddef.h>.
76468 (memmove): Redefined to __redirect_memmove.
76469 (__memmove_sse2): Use typeof __redirect_memmove.
76470 (__memmove_ssse3): Likewise.
76471 (__memmove_ssse3_back): Likewise.
76472 (__libc_memmove): New prototype.
76473 (memmove): Renamed to ...
76474 (__libc_memmove): This.
76475 (memmove): New strong alias of __libc_memmove.
76476
76477 2012-08-08 Mark Salter <msalter@redhat.com>
76478
76479 * elf/elf.h
76480 (R_MN10300_TLS_GD): Define.
76481 (R_MN10300_TLS_LD): Likewise.
76482 (R_MN10300_TLS_LDO): Likewise.
76483 (R_MN10300_TLS_GOTIE): Likewise.
76484 (R_MN10300_TLS_IE): Likewise.
76485 (R_MN10300_TLS_LE): Likewise.
76486 (R_MN10300_TLS_DTPMOD): Likewise.
76487 (R_MN10300_TLS_DTPOFF): Likewise.
76488 (R_MN10300_TLS_TPOFF): Likewise.
76489 (R_MN10300_SYM_DIFF): Likewise.
76490 (R_MN10300_ALIGN): Likewise.
76491 (R_MN10300_NUM): Update.
76492
76493 2012-08-08 Joseph Myers <joseph@codesourcery.com>
76494
76495 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76496 Remove.
76497
76498 2012-08-08 Roland McGrath <roland@hack.frob.com>
76499
76500 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76501
76502 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76503 sysdeps/unix -> sysdeps/posix move.
76504 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76505
76506 2012-08-07 Allan McRae <allan@archlinux.org>
76507
76508 [BZ #14303]
76509 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76510 (SUNOS_CPP): Likewise.
76511 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76512 not found.
76513 (open_input): Call CPP using execvp.
76514
76515 2012-08-07 Joseph Myers <joseph@codesourcery.com>
76516
76517 * sysdeps/unix/sysv/linux/kernel-features.h
76518 (__ASSUME_PROT_GROWSUPDOWN): Remove.
76519 (__ASSUME_NO_CLONE_DETACHED): Likewise.
76520 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76521 (__ASSUME_WAITID_SYSCALL): Likewise.
76522 * sysdeps/unix/sysv/linux/dl-execstack.c
76523 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76524 code unconditional.
76525 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76526 conditional code.
76527 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76528 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76529 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76530 code.
76531 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76532 unconditional.
76533 [__ASSUME_WAITID_SYSCALL]: Likewise.
76534 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76535
76536 2012-08-07 Roland McGrath <roland@hack.frob.com>
76537
76538 * sysdeps/unix/closedir.c: Renamed to ...
76539 * sysdeps/posix/closedir.c: ... here.
76540 * sysdeps/unix/dirfd.c: Renamed to ...
76541 * sysdeps/posix/dirfd.c: ... here.
76542 * sysdeps/unix/dirstream.h: Renamed to ...
76543 * sysdeps/posix/dirstream.h: ... here.
76544 * sysdeps/unix/fdopendir.c: Renamed to ...
76545 * sysdeps/posix/fdopendir.c: ... here.
76546 * sysdeps/unix/opendir.c: Renamed to ...
76547 * sysdeps/posix/opendir.c: ... here.
76548 * sysdeps/unix/readdir.c: Renamed to ...
76549 * sysdeps/posix/readdir.c: ... here.
76550 * sysdeps/unix/readdir_r.c: Renamed to ...
76551 * sysdeps/posix/readdir_r.c: ... here.
76552 * sysdeps/unix/rewinddir.c: Renamed to ...
76553 * sysdeps/posix/rewinddir.c: ... here.
76554 * sysdeps/unix/seekdir.c: Renamed to ...
76555 * sysdeps/posix/seekdir.c: ... here.
76556 * sysdeps/unix/telldir.c: Renamed to ...
76557 * sysdeps/posix/telldir.c: ... here.
76558 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76559 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76560 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76561 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76562
76563 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76564 * bits/fcntl.h: ... here.
76565
76566 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76567 not 0.
76568 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76569 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76570 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76571 (struct flock): Move l_start, l_len to the beginning.
76572 Use __pid_t for l_pid.
76573 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76574 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76575 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76576 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76577 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76578 [__USE_LARGEFILE64] (struct flock64): New type.
76579 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76580
76581 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76582 * bits/dirent.h: ... here.
76583
76584 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76585 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76586
76587 2012-08-07 Joseph Myers <joseph@codesourcery.com>
76588
76589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76590 Change from 2.6.0 to 2.6.16.
76591 * sysdeps/unix/sysv/linux/configure: Regenerated.
76592 * sysdeps/unix/sysv/linux/kernel-features.h
76593 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76594 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76595 version.
76596 (__ASSUME_UTIMES): Likewise.
76597 (__ASSUME_CLONE_STOPPED): Remove.
76598 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76599 architectures, not kernel version.
76600 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76601 (__ASSUME_NO_CLONE_DETACHED): Likewise.
76602 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76603 (__ASSUME_WAITID_SYSCALL): Likewise.
76604 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76605 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76606 * README: State 2.6.16 as minimum Linux kernel version. Do not
76607 refer to older versions.
76608
76609 2012-08-06 Roland McGrath <roland@hack.frob.com>
76610
76611 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76612 Define alphasort64 as an alias.
76613 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76614 Define versionsort64 as an alias.
76615 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76616 Define scandir64 as an alias.
76617 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76618 Define scandirat64 as an alias.
76619 * dirent/alphasort64.c (alphasort64):
76620 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76621 * dirent/versionsort64.c: Likewise.
76622 * dirent/scandir64.c: Likewise.
76623 * dirent/scandirat64.c: Likewise.
76624 * sysdeps/wordsize-64/alphasort.c: File removed.
76625 * sysdeps/wordsize-64/alphasort64.c: File removed.
76626 * sysdeps/wordsize-64/scandir.c: File removed.
76627 * sysdeps/wordsize-64/scandir64.c: File removed.
76628 * sysdeps/wordsize-64/scandirat.c: File removed.
76629 * sysdeps/wordsize-64/scandirat64.c: File removed.
76630 * sysdeps/wordsize-64/versionsort.c: File removed.
76631 * sysdeps/wordsize-64/versionsort64.c: File removed.
76632 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76634 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76636 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76638 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76640
76641 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76643 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76645 [defined __arch64__ || defined __sparcv9]
76646 (__INO_T_MATCHES_INO64_T): New macro.
76647 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76648 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76649 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76650 * sysdeps/unix/sysv/linux/bits/dirent.h
76651 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76652 (_DIRENT_MATCHES_DIRENT64): New macro.
76653
76654 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76655 Define lockf64 as an alias.
76656 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76657 Define fseeko64 as an alias.
76658 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76659 Define ftello64 as an alias.
76660 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76661 Define _IO_fgetpos64 and fgetpos64 as aliases.
76662 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76663 Define _IO_fsetpos64 and fsetpos64 as aliases.
76664 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76665 Conditionalize body on this.
76666 * libio/fseeko64.c: Likewise.
76667 * libio/ftello64.c: Likewise.
76668 * libio/iofgetpos64.c: Likewise.
76669 * libio/iofsetpos64.c: Likewise.
76670 * sysdeps/wordsize-64/lockf.c: File removed.
76671 * sysdeps/wordsize-64/lockf64.c: File removed.
76672 * sysdeps/wordsize-64/fseeko.c: File removed.
76673 * sysdeps/wordsize-64/fseeko64.c: File removed.
76674 * sysdeps/wordsize-64/ftello.c: File removed.
76675 * sysdeps/wordsize-64/ftello64.c: File removed.
76676 * sysdeps/wordsize-64/iofgetpos.c: File removed.
76677 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76678 * sysdeps/wordsize-64/iofsetpos.c: File removed.
76679 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76680 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76681 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76682 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76684 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76686 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76688 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76690
76691 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76693 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76695 [defined __arch64__ || defined __sparcv9]
76696 (__OFF_T_MATCHES_OFF64_T): New macro.
76697 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76698 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76700 (__OFF_T_MATCHES_OFF64_T): New macro.
76701
76702 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
76703
76704 * stdlib/secure-getenv.c (__secure_getenv): Replace
76705 GLIBC_2_16 with GLIBC_2_17.
76706
76707 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
76708
76709 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76710 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76711
76712 2012-08-03 David S. Miller <davem@davemloft.net>
76713
76714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76715
76716 2012-08-03 Joseph Myers <joseph@codesourcery.com>
76717
76718 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
76719 Remove.
76720 (__ASSUME_CORRECT_SI_PID): Likewise.
76721 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
76722 (__ASSUME_TMPFS_NAME): Likewise.
76723 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
76724 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
76725 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
76726 (HAVE_AUX_SECURE): Make definition unconditional.
76727 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
76728 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
76729
76730 2012-08-03 Roland McGrath <roland@hack.frob.com>
76731
76732 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
76733 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
76734 * sysdeps/mach/hurd/eloop-threshold.h: New file.
76735 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76736 __eloop_threshold instead of SYMLOOP_MAX.
76737
76738 * sysdeps/generic/eloop-threshold.h: New file.
76739 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
76740 of MAXSYMLINKS.
76741 * elf/chroot_canon.c (chroot_canon): Likewise.
76742
76743 2012-08-03 Joseph Myers <joseph@codesourcery.com>
76744
76745 [BZ #13717]
76746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76747 Change to 2.6.0 everywhere.
76748 * sysdeps/unix/sysv/linux/configure: Regenerated.
76749 * sysdeps/unix/sysv/linux/kernel-features.h
76750 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
76751 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
76752 kernel versions.
76753 (__ASSUME_POSIX_TIMERS): Define unconditionally.
76754 (__ASSUME_FUTEX_REQUEUE): Remove.
76755 (__ASSUME_STATFS64): Define unconditionally.
76756 (__ASSUME_AT_SECURE): Likewise.
76757 (__ASSUME_CORRECT_SI_PID): Likewise.
76758 (__ASSUME_TGKILL): Define without depending on kernel version for
76759 i386.
76760 (__ASSUME_UTIMES): Likewise.
76761 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
76762 kernel version.
76763 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
76764 (__ASSUME_TMPFS_NAME): Likewise.
76765 * README: Update reference to Linux kernel versions.
76766
76767 2012-08-02 Marek Polacek <polacek@redhat.com>
76768
76769 [BZ #14150]
76770 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
76771 libc_cv_asm_type_prefix with %.
76772 * configure: Regenerated.
76773 * include/libc-symbols.h: Remove comment about
76774 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76775 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
76776 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76777 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
76778 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
76779 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76780 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
76781 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76782 * elf/tst-unique2mod1.c: Likewise.
76783 * elf/tst-unique1mod2.c: Likewise.
76784 * elf/tst-unique1mod1.c: Likewise.
76785 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
76786 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
76787 Replace ASM_TYPE_DIRECTIVE with .type.
76788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
76789 * sysdeps/i386/sysdep.h: Likewise.
76790 * sysdeps/x86_64/sysdep.h: Likewise.
76791 * sysdeps/sh/sysdep.h: Likewise.
76792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76793 Do not define ASM_TYPE_DIRECTIVE.
76794 * sysdeps/powerpc/sysdep.h: Likewise.
76795 * sysdeps/powerpc/powerpc32/sysdep.h:
76796 Replace ASM_TYPE_DIRECTIVE with .type.
76797 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76798 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76799 * sysdeps/i386/fpu/e_powf.S: Likewise.
76800 * sysdeps/i386/fpu/e_expl.S: Likewise.
76801 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76802 * sysdeps/i386/fpu/e_acosh.S: Likewise.
76803 * sysdeps/i386/fpu/e_pow.S: Likewise.
76804 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76805 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76806 * sysdeps/i386/fpu/s_expm1.S: Likewise.
76807 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76808 * sysdeps/i386/fpu/e_log2.S: Likewise.
76809 * sysdeps/i386/fpu/e_log2l.S: Likewise.
76810 * sysdeps/i386/fpu/e_scalb.S: Likewise.
76811 * sysdeps/i386/fpu/e_powl.S: Likewise.
76812 * sysdeps/i386/fpu/e_log10f.S: Likewise.
76813 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76814 * sysdeps/i386/fpu/e_logl.S: Likewise.
76815 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76816 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76817 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
76819 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76820 * sysdeps/i386/fpu/e_log.S: Likewise.
76821 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76822 * sysdeps/i386/fpu/e_logf.S: Likewise.
76823 * sysdeps/i386/fpu/e_log10l.S: Likewise.
76824 * sysdeps/i386/fpu/e_atanh.S: Likewise.
76825 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76826 * sysdeps/i386/fpu/e_log10.S: Likewise.
76827 * sysdeps/i386/fpu/s_frexp.S: Likewise.
76828 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76829 * sysdeps/i386/fpu/s_asinh.S: Likewise.
76830 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76831 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76832 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
76833 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76834 * sysdeps/i386/i686/strtok.S: Likewise.
76835 * sysdeps/i386/i386-mcount.S: Likewise.
76836 * sysdeps/i386/strtok.S: Likewise.
76837 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
76838 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76839 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76840 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76841 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76842 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76843 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76844 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76845 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76846 * sysdeps/x86_64/_mcount.S: Likewise.
76847 * sysdeps/x86_64/strtok.S: Likewise.
76848 * sysdeps/sh/_mcount.S: Likewise.
76849
76850 2012-08-01 Roland McGrath <roland@hack.frob.com>
76851
76852 * libio/iofopen.c: Include <fcntl.h>.
76853 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
76854 (_IO_fopen64, fopen64): Define as aliases.
76855 * libio/iofopen64.c: Include <fcntl.h>.
76856 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
76857 Conditionalize body on this.
76858 * sysdeps/wordsize-64/iofopen.c: File removed.
76859 * sysdeps/wordsize-64/iofopen64.c: File removed.
76860
76861 2012-08-01 Marek Polacek <polacek@redhat.com>
76862
76863 * libc/Makeconfig: Use elf in place of binfmt-subdir.
76864 Use dlfcn directly instead of a variable.
76865 (binfmt-subdir): Do not define.
76866 (dlfcn): Likewise.
76867
76868 2012-08-01 Joseph Myers <joseph@codesourcery.com>
76869
76870 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
76871 Remove all definitions.
76872 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
76873 <kernel-features.h>.
76874 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76875 (miss_F_GETOWN_EX): Remove all definitions.
76876 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
76877 macro definition.
76878 [!__ASSUME_FCNTL64]: Remove conditional code.
76879 [__ASSUME_FCNTL64]: Make code unconditional.
76880 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
76881 <kernel-features.h>.
76882 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76883 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
76884 (lockf64) [__NR_fcntl64]: Make code unconditional.
76885 (lockf64) [__ASSUME_FCNTL64]: Likewise.
76886
76887 * sysdeps/unix/sysv/linux/kernel-features.h
76888 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
76889 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
76890 Make code unconditional.
76891 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76892 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
76894 [__NR_vfork]: Make code unconditional.
76895 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76896 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
76898 [__NR_vfork]: Make code unconditional.
76899 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76900 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76901
76902 2012-08-01 Roland McGrath <roland@hack.frob.com>
76903
76904 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
76905 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
76906
76907 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76908 Define mkstemp64 as an alias.
76909 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76910 Define mkstemps64 as an alias.
76911 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76912 Define mkostemp64 as an alias.
76913 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76914 Define mkostemps64 as an alias.
76915 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
76916 Conditionalize body on this.
76917 * misc/mkostemp64.c: Likewise.
76918 * misc/mkostemps64.c: Likewise.
76919 * misc/mkstemps64.c: Likewise.
76920 * sysdeps/wordsize-64/mkstemp64.c: File removed.
76921 * sysdeps/wordsize-64/mkostemp64.c: File removed.
76922 * sysdeps/wordsize-64/mkostemp.c: File removed.
76923 * sysdeps/wordsize-64/mkstemp.c: File removed.
76924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
76925 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
76926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
76927 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
76928
76929 [BZ #14138]
76930 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
76931 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
76932 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
76933 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
76934
76935 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
76936 compat_symbol macros from <shlib-compat.h> rather than the underlying
76937 default_symbol_version and symbol_version macros, so that DEFAULT
76938 lines in shlib-versions are respected.
76939 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
76940
76941 2012-08-01 Florian Weimer <fweimer@redhat.com>
76942
76943 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
76944 Declare with warn_unused_result.
76945 (setgid, setregid, setegid, setresgid): Likewise.
76946 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
76947 Likewise.
76948 * WUR-REPORT: Remove set*id functions.
76949
76950 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
76951
76952 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
76953
76954 2012-07-31 Roland McGrath <roland@hack.frob.com>
76955
76956 [BZ #10191]
76957 * include/sys/socket.h (__libc_accept, __libc_accept4):
76958 Add attribute_hidden.
76959 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
76960
76961 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
76962 use of PTR_MANGLE.
76963 * inet/getnetgrent_r.c (setup): Likewise.
76964
76965 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
76966
76967 2012-07-31 David S. Miller <davem@davemloft.net>
76968
76969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76970
76971 2012-07-31 Joseph Myers <joseph@codesourcery.com>
76972
76973 [BZ #13629]
76974 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
76975 value between 1.0 and 2.0 and smaller part has absolute value less
76976 than 1.0.
76977 * math/s_clog10.c (__clog10): Likewise.
76978 * math/s_clog10f.c (__clog10f): Likewise.
76979 * math/s_clog10l.c (__clog10l): Likewise.
76980 * math/s_clogf.c (__clogf): Likewise.
76981 * math/s_clogl.c (__clogl): Likewise.
76982 * math/libm-test.inc (clog_test): Add more tests.
76983 (clog10_test): Likewise.
76984 * sysdeps/i386/fpu/libm-test-ulps: Update.
76985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76986
76987 2012-07-31 Florian Weimer <fweimer@redhat.com>
76988
76989 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
76990 Exit with zero in case no suitable GID is found, and write a
76991 message to standard error.
76992
76993 2012-07-30 Roland McGrath <roland@hack.frob.com>
76994
76995 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
76996 rather than to 1.
76997 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
76998 (MAXPATHLEN): Removed.
76999 (NOGROUP, NODEV): New macros.
77000 (setbit, clrbit, isset, isclr): New macros.
77001 (howmany, roundup, powerof2): New macros.
77002 (DEV_BSIZE): New macro.
77003
77004 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77005 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77006
77007 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77008 definition on [!__NO_LONG_DOUBLE_MATH].
77009
77010 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77011 PTR_MANGLE and PTR_DEMANGLE.
77012
77013 * socket/accept4.c (accept4): Rename to __libc_accept4.
77014 Define accept4 as a weak alias.
77015
77016 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77017 on [_DIRENT_HAVE_D_TYPE].
77018 * io/ftw.c (ftw_dir): Likewise.
77019
77020 * io/xmknod.c (__xmknod): Don't check PATH for being null.
77021
77022 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77023
77024 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77025 Use the BSD numbers rather than the arbitrary ones we had.
77026 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77027 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77028 (SIGXCPU, SIGXFSZ): New macros.
77029 (_NSIG): Now 32.
77030
77031 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77032 initializer on [_LIBC_REENTRANT].
77033
77034 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77035 definitions inside [_POSIX_MAPPED_FILES].
77036
77037 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77038
77039 * dirent/opendir.c: Include <fcntl.h>.
77040
77041 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77042 (__libc_getspecific): Likewise.
77043 (__libc_key_create): Likewise.
77044
77045 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77046 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77047 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77048 (tmpfile64): Define as alias.
77049 * sysdeps/wordsize-64/tmpfile.c: File removed.
77050 * sysdeps/wordsize-64/tmpfile64.c: File removed.
77051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77053
77054 * stdio-common/vfscanf.c: Include <stdbool.h>.
77055 * nss/makedb.c: Likewise.
77056 * stdio-common/_i18n_number.h: Likewise.
77057 * argp/argp-help.c: Likewise.
77058 * posix/wordexp.c: Likewise.
77059 * sysdeps/posix/spawni.c: Likewise.
77060 * nss/nss_files/files-initgroups.c: Likewise.
77061 * stdio-common/reg-modifier.c: Include <stdlib.h>.
77062 * nss/nss_files/files-initgroups.c: Likewise.
77063 * nss/nss_db/db-netgrp.c: Likewise.
77064 * nss/nss_db/db-initgroups.c: Likewise.
77065 * io/fchmodat.c: Include <sys/stat.h>.
77066
77067 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77068 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77069
77070 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77071 [HAVE_MMAP].
77072
77073 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77074 Add multiple inclusion protection.
77075
77076 2012-07-27 David S. Miller <davem@davemloft.net>
77077
77078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77079
77080 2012-07-27 Gary Benson <gbenson@redhat.com>
77081
77082 [BZ #14298]
77083 * elf/rtld.c: Include <stap-probe.h>.
77084 (dl_main): Added static probes "init_start" and "init_complete".
77085 * elf/dl-load.c: Include <stap-probe.h>.
77086 (lose): Take new parameter "nsid".
77087 Added static probe "map_failed".
77088 (_dl_map_object_from_fd): Pass namespace id to lose.
77089 Added static probe "map_start".
77090 (open_verify): Pass namespace id to lose.
77091 * elf/dl-open.c: Include <stap-probe.h>.
77092 (dl_open_worker) Added static probes "map_complete", "reloc_start"
77093 and "reloc_complete".
77094 * elf/dl-close.c: Include <stap-probe.h>.
77095 (_dl_close_worker): Added static probes "unmap_start" and
77096 "unmap_complete".
77097 * elf/rtld-debugger-interface.txt: New file documenting the above.
77098
77099 2012-07-26 Roland McGrath <roland@hack.frob.com>
77100
77101 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77102 rather than a string variable.
77103 * sunrpc/rpc_main.c (h_output): Likewise.
77104 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77105
77106 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
77107
77108 * inet/check_native.c: New file.
77109
77110 2012-07-26 Joseph Myers <joseph@codesourcery.com>
77111
77112 [BZ #13629]
77113 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77114 if larger part has absolute value 1.0.
77115 * math/s_clog10.c (__clog10): Likewise.
77116 * math/s_clog10f.c (__clog10f): Likewise.
77117 * math/s_clog10l.c (__clog10l): Likewise.
77118 * math/s_clogf.c (__clogf): Likewise.
77119 * math/s_clogl.c (__clogl): Likewise.
77120 * math/libm-test.inc (clog_test): Add more tests.
77121 (clog10_test): Likewise.
77122 * sysdeps/i386/fpu/libm-test-ulps: Update.
77123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77124
77125 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77126 (pltexit): Likewise.
77127 (La_regs): Likewise.
77128 (La_retval): Likewise.
77129 (int_retval): Likewise.
77130 Update #error for removed macros to refer only to definitions in
77131 tst-audit.h.
77132 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77133 macro.
77134 (pltexit): Likewise.
77135 (La_regs): Likewise.
77136 (La_retval): Likewise.
77137 (int_retval): Likewise.
77138 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77139 macro.
77140 (pltexit): Likewise.
77141 (La_regs): Likewise.
77142 (La_retval): Likewise.
77143 (int_retval): Likewise.
77144 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77145 macro.
77146 (pltexit): Likewise.
77147 (La_regs): Likewise.
77148 (La_retval): Likewise.
77149 (int_retval): Likewise.
77150 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77151 macro.
77152 (pltexit): Likewise.
77153 (La_regs): Likewise.
77154 (La_retval): Likewise.
77155 (int_retval): Likewise.
77156 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77157 macro.
77158 (pltexit): Likewise.
77159 (La_regs): Likewise.
77160 (La_retval): Likewise.
77161 (int_retval): Likewise.
77162 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77163 macro.
77164 (pltexit): Likewise.
77165 (La_regs): Likewise.
77166 (La_retval): Likewise.
77167 (int_retval): Likewise.
77168 * sysdeps/generic/tst-audit.h: Update comment to refer only to
77169 macro definitions in tst-audit.h.
77170 * sysdeps/i386/tst-audit.h: New file.
77171 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77172 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77173 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77174 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77175 * sysdeps/sh/tst-audit.h: Likewise.
77176 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77177 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77178 * sysdeps/x86_64/tst-audit.h: Likewise.
77179
77180 2012-07-26 Andreas Jaeger <aj@suse.de>
77181
77182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77183 ptrace.
77184
77185 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77186 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77187 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77188 PTRACE_O_MASK.
77189 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77190 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77191 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77192
77193 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77194 value.
77195
77196 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77197 _sigsys.
77198 (si_call_addr, si_syscall, si_arch): Define new macro.
77199 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77200 _sigsys.
77201 (si_call_addr, si_syscall, si_arch): Define new marcro.
77202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77203 _sigsys.
77204 (si_call_addr, si_syscall, si_arch): Define new macro.
77205 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77206 _sigsys.
77207 (si_call_addr, si_syscall, si_arch): Define new macro.
77208
77209 2012-07-25 Joseph Myers <joseph@codesourcery.com>
77210
77211 [BZ #13717]
77212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77213 Change to 2.4.21 where previously 2.4.1.
77214 * sysdeps/unix/sysv/linux/configure: Regenerated.
77215 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77216 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77217 Linux kernel version.
77218 (__ASSUME_STD_AUXV): Remove.
77219 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77220 kernel version.
77221 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77222 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77223 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77224 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77225 (__ASSUME_NETLINK_SUPPORT): Likewise.
77226 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77227 (__no_netlink_support): Remove conditional definition.
77228 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77229 Remove.
77230 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77231 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77232 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77233 (if_nameindex_ioctl): Remove.
77234 (if_nameindex_netlink): Do not handle __no_netlink_support.
77235 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77236 code.
77237 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77238 Remove conditional code.
77239 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77240 code.
77241 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77242 unconditional.
77243 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77244 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77245 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77246 Remove.
77247 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77248 [!__ASSUME_STD_AUXV]: Remove conditional code.
77249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77250 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77251 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77253 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77254 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77255 code.
77256 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77258 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77259 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77260 conditional code.
77261 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77263 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77264 code.
77265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77266 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77267 conditional code.
77268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77269 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77270 code unconditional.
77271 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77272 conditional code.
77273 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77274 unconditional.
77275 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77276 conditional code.
77277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77278 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77279 unconditional.
77280 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77281 conditional code.
77282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77283 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77284 code unconditional.
77285 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77286 conditional code.
77287 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77288 unconditional.
77289 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77290 conditional code.
77291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77292 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77293 code unconditional.
77294 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77295 conditional code.
77296 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77297 unconditional.
77298 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77299 conditional code.
77300
77301 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
77302
77303 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77304 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77305 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77306 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77307 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77308 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77309 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77310 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77311 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77312 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77313 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77314 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77315 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77316 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77317 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77318 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77319 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77321 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77323 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77324 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77326
77327 2012-07-25 Florian Weimer <fweimer@redhat.com>
77328
77329 * Versions.def: Add GLIBC_2.17.
77330 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77331 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77332 Introduce __libc_secure_getenv.
77333 * stdlib/Versions (2.17): Add secure_getenv
77334 (GLIBC_PRIVATE): Add __libc_secure_getenv.
77335 * stdlib/secure-getenv.c: Rename __secure_getenv to
77336 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
77337 symbol __secure_getenv for GLIBC_2.0.
77338 * stdlib/tst-secure-getenv.c: New.
77339 * stdlib/Makefile (tests): Add testcase.
77340 * manual/startup.texi (Environment Access): Document
77341 secure_getenv.
77342 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77343 __libc_secure_getenv.
77344 * inet/ruserpass.c (ruserpass): Likewise.
77345 * malloc/mtrace.c (mtrace): Likewise.
77346 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77347 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77348 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77349 * sysdeps/posix/tempname.c: Likewise. Evaluate
77350 HAVE_SECURE_GETENV.
77351 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77352 __secure_getenv to __libc_secure_getenv.
77353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77355 Likewise.
77356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77357 Likewise.
77358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77365
77366 2012-07-25 Joseph Myers <joseph@codesourcery.com>
77367
77368 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77369 (struct La_i86_retval): Likewise.
77370 (struct La_x86_64_regs): Likewise.
77371 (struct La_x86_64_retval): Likewise.
77372 (struct La_x32_regs): Likewise.
77373 (struct La_x32_retval): Likewise.
77374 (struct La_ppc32_regs): Likewise.
77375 (struct La_ppc32_retval): Likewise.
77376 (struct La_ppc64_regs): Likewise.
77377 (struct La_ppc64_retval): Likewise.
77378 (struct La_sh_regs): Likewise.
77379 (struct La_sh_retval): Likewise.
77380 (struct La_s390_32_regs): Likewise.
77381 (struct La_s390_32_retval): Likewise.
77382 (struct La_s390_64_regs): Likewise.
77383 (struct La_s390_64_retval): Likewise.
77384 (struct La_sparc32_regs): Likewise.
77385 (struct La_sparc32_retval): Likewise.
77386 (struct La_sparc64_regs): Likewise.
77387 (struct La_sparc64_retval): Likewise.
77388 (struct audit_ifaces): Remove architecture-specific pltenter and
77389 pltexit members.
77390 * sysdeps/i386/ldsodefs.h: New file.
77391 * sysdeps/powerpc/ldsodefs.h: Likewise.
77392 * sysdeps/s390/ldsodefs.h: Likewise.
77393 * sysdeps/sh/ldsodefs.h: Likewise.
77394 * sysdeps/sparc/ldsodefs.h: Likewise.
77395 * sysdeps/x86_64/ldsodefs.h: Likewise.
77396
77397 2012-07-25 Marek Polacek <polacek@redhat.com>
77398
77399 [BZ #6808]
77400 * math/libm-test.inc (yn_test): Add another test.
77401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77402 to ERANGE when the result is +-Inf.
77403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77404 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77405 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77407
77408 2012-07-24 Joseph Myers <joseph@codesourcery.com>
77409
77410 * conform/data/time.h-data (NULL): Use macro-constant. Require
77411 equal to 0.
77412 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
77413 clock_t.
77414 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
77415
77416 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
77417
77418 * configure.in <sysdeps resolving>: Correct printing
77419 Implies_before.
77420 * configure: Regenerate.
77421
77422 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
77423
77424 * math/w_ilogb.c: Include <limits.h>.
77425 * math/w_ilogbl.c: Likewise.
77426
77427 2012-07-20 Joseph Myers <joseph@codesourcery.com>
77428
77429 * manual/lang.texi (__va_copy): Document primarily as ISO C99
77430 va_copy. Document allowing for unavailable va_copy only as
77431 pre-C99 compatibility.
77432 * manual/string.texi (Copying and Concatenation): Use va_copy
77433 instead of __va_copy in concat example.
77434
77435 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
77436
77437 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77438 (__sendto): Use create_address_port. Initialize APORT and deallocate
77439 it if not null.
77440
77441 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77442 with O_NOLINK passed to __file_name_lookup.
77443
77444 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77445 with O_NOLINK passed to __file_name_lookup.
77446
77447 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77448 negative N or less than NGIDS.
77449
77450 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77451 type to string_t. Set ERANGE as errno and return it if NAME is not big
77452 enough. Use memcpy instead of strncpy.
77453
77454 2012-07-20 Joseph Myers <joseph@codesourcery.com>
77455
77456 * elf/Makefile (check-data): Remove.
77457 (localplt.data): New vpath directive.
77458 ($(objpfx)check-localplt.out): Use localplt.data from vpath
77459 instead of $(check-data).
77460 * scripts/data/localplt-generic.data: Move to ...
77461 * sysdeps/generic/localplt.data: ... here.
77462 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77463 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77464 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77466 ... here.
77467 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77469 ... here.
77470 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77472 ... here.
77473 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77475 ... here.
77476 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77478 ... here.
77479 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77481 ... here.
77482
77483 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77484
77485 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77486 PPC32 and PPC64 files.
77487 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77488 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77489
77490 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77491
77492 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77493 __makecontext_ret to ...
77494 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77495 ... here and call exit if uc_link is NULL. New file.
77496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77497 __makecontext_ret.S.
77498 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77499 __makecontext_ret to ...
77500 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77501 ... here and call exit if uc_link is NULL. New file.
77502 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77503 __makecontext_ret.S.
77504
77505 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77506
77507 * elf/elf.h (R_390_IRELATIVE): New definition.
77508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77509 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
77510 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77512 (elf_machine_lazy_rel): Likewise.
77513 * sysdeps/s390/dl-irel.h: New file.
77514 * sysdeps/s390/s390-64/memcpy.S: New asm code.
77515 * sysdeps/s390/s390-64/memset.S: New asm code.
77516 * sysdeps/s390/s390-64/memcmp.S: New asm code.
77517 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77519 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77520 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77521 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77523 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77524 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77525 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77526 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77527 * sysdeps/s390/s390-32/memcpy.S: New asm code.
77528 * sysdeps/s390/s390-32/memset.S: New asm code.
77529 * sysdeps/s390/s390-32/memcmp.S: New asm code.
77530
77531 2012-07-17 Marek Polacek <polacek@redhat.com>
77532
77533 [BZ #14349]
77534 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77535 * sysdeps/s390/s390-64/configure.in: Likewise.
77536 * sysdeps/sparc/configure.in: Likewise.
77537 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77538 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77539 * sysdeps/i386/configure.in: Likewise.
77540 * sysdeps/x86_64/configure.in: Likewise.
77541 * sysdeps/sh/configure.in: Likewise.
77542 * sysdeps/s390/s390-32/configure: Regenerated.
77543 * sysdeps/s390/s390-64/configure: Likewise.
77544 * sysdeps/x86_64/configure: Likewise.
77545 * sysdeps/sh/configure: Likewise.
77546 * sysdeps/powerpc/powerpc64/configure: Likewise.
77547 * sysdeps/powerpc/powerpc32/configure: Likewise.
77548 * sysdeps/sparc/configure: Likewise.
77549 * sysdeps/i386/configure: Likewise.
77550
77551 * elf/dl-open.c: Comment fixes.
77552
77553 2012-07-17 Joseph Myers <joseph@codesourcery.com>
77554
77555 * Makefile [CXX] (check-data): Remove.
77556 [CXX] (c++-types.data): New vpath directive.
77557 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77558 vpath. Do not allow for C++ type data being missing.
77559 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77560 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77561 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77562 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77563 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77564 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77565 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77567 ... here.
77568 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77570 ... here.
77571 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77573 ... here.
77574 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77576 ... here.
77577 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77579 ... here.
77580 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77582 ... here.
77583 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77585 ... here.
77586 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77588
77589 * elf/tls-macros.h (TLS_LE): Move architecture-specific
77590 definitions to architecture-specific files.
77591 (TLS_IE): Likewise.
77592 (TLS_LD): Likewise.
77593 (TLS_GD): Likewise.
77594 * sysdeps/i386/tls-macros.h: New file.
77595 * sysdeps/powerpc/tls-macros.h: Likewise.
77596 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77597 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77598 * sysdeps/sh/tls-macros.h: Likewise.
77599 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77600 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77601 * sysdeps/x86_64/tls-macros.h: Likewise.
77602
77603 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
77604
77605 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77606 zero value for regular exit case.
77607
77608 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77609 (__start_context): Preserve zero value for regular exit case.
77610
77611 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
77612 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77613
77614 * manual/setjmp.texi (setcontext): Clarify normal process
77615 termination when uc_link is the null pointer.
77616 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77617 exit call.
77618
77619 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
77620
77621 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77622 preprocessor. Test for each exception mask separately.
77623
77624 2012-07-16 Andreas Jaeger <aj@suse.de>
77625
77626 * po/ru.po: Update from translation team.
77627
77628 2012-07-15 Joseph Myers <joseph@codesourcery.com>
77629
77630 * conform/data/string.h-data (NULL): Use macro-constant. Require
77631 equal to 0.
77632 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77633 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77634 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77635 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
77637
77638 2012-07-13 Andreas Jaeger <aj@suse.de>
77639
77640 * po/fr.po: Update from translation team.
77641
77642 2012-07-12 Marek Polacek <polacek@redhat.com>
77643
77644 [BZ #14173]
77645 * math/libm-test.inc (yn_test): Add test for BZ #14173.
77646 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77647 loop condition.
77648
77649 2012-07-12 Joseph Myers <joseph@codesourcery.com>
77650
77651 [BZ #13717]
77652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77653 Change to 2.4.1 where previously 2.4.0.
77654 * sysdeps/unix/sysv/linux/configure: Regenerated.
77655 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77656 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77657 version.
77658 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77659 (__ASSUME_AT_CLKTCK): Remove.
77660 (__ASSUME_AT_PAGESIZE): Likewise.
77661 (__ASSUME_AT_XID): Likewise.
77662 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77663 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77664 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77665 unconditionally.
77666 (HAVE_AUX_PAGESIZE): Likewise.
77667 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77668 [__ASSUME_AT_CLKTCK]: Make code unconditional.
77669 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77670
77671 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
77672
77673 [BZ #14307]
77674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77675 the temporary buffer used to invoke __gethostbyname2_r,
77676 __gethostbyaddr_r and gethostbyname4_r to make room for struct
77677 host_data / struct gaih_addrtuple.
77678 * resolv/nss_dns/dns-host.c (global scope): Move definition of
77679 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77680 header file nss/nsswitch.h.
77681 * nss/nsswitch.h (global scope): Add definition of implementation
77682 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77683 resolv/nss_dns/dns-host.c).
77684
77685 2012-07-11 Andreas Jaeger <aj@suse.de>
77686
77687 * po/fr.po: Update from translation team.
77688
77689 * po/sv.po: Update from translation team
77690 * po/fr.po: Another update from translation team.
77691
77692 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77693
77694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77695 for subnormals or multiply small sinh result by itself.
77696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77698
77699 2012-07-11 David S. Miller <davem@davemloft.net>
77700
77701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77702
77703 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
77704
77705 [BZ #14347]
77706 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77707 (INTERNAL_MARK): Shift it here.
77708
77709 2012-07-10 Marek Polacek <polacek@redhat.com>
77710
77711 [BZ #14151]
77712 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
77713 libc_cv_asm_global_directive with .globl.
77714 * configure: Regenerated.
77715 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77716 with .globl.
77717 * sysdeps/i386/configure: Regenerated.
77718 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
77719 with .globl.
77720 * sysdeps/x86_64/configure: Regenerated.
77721 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
77722 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
77723 * elf/tst-unique2mod2.c: Likewise.
77724 * elf/tst-unique2mod1.c: Likewise.
77725 * elf/tst-unique1mod2.c: Likewise.
77726 * elf/tst-unique1mod1.c: Likewise.
77727 * sysdeps/s390/s390-32/sysdep.h: Likewise.
77728 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
77730 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77731 * sysdeps/mach/sysdep.h: Likewise.
77732 * sysdeps/i386/sysdep.h: Likewise.
77733 * sysdeps/i386/i386-mcount.S: Likewise.
77734 * sysdeps/x86_64/_mcount.S: Likewise.
77735 * sysdeps/x86_64/sysdep.h: Likewise.
77736 * sysdeps/sh/_mcount.S: Likewise.
77737 * sysdeps/sh/sysdep.h: Likewise.
77738 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
77739 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
77740 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
77741 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77742 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
77743 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
77744 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
77745 * locale/localeinfo.h: Likewise.
77746 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
77747 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
77748
77749 2012-07-09 Roland McGrath <roland@hack.frob.com>
77750
77751 [BZ #14336]
77752 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
77753 system".
77754 * manual/message.texi (The Uniforum approach): Likewise.
77755 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
77756 (glibc iconv Implementation): Likewise.
77757
77758 2012-07-09 Joseph Myers <joseph@codesourcery.com>
77759
77760 [BZ #14337]
77761 * math/s_clog.c (__clog): Avoid scaling a value down where that
77762 could result in underflow.
77763 * math/s_clog10.c (__clog10): Likewise.
77764 * math/s_clog10f.c (__clog10f): Likewise.
77765 * math/s_clog10l.c (__clog10l): Likewise.
77766 * math/s_clogf.c (__clogf): Likewise.
77767 * math/s_clogl.c (__clogl): Likewise.
77768 * math/libm-test.inc (clog_test): Add more tests.
77769 (clog10_test): Likewise.
77770 * sysdeps/i386/fpu/libm-test-ulps: Update.
77771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77772
77773 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
77774
77775 [BZ #14283]
77776 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
77777 by 7 not 8 to examine high bit of fractional part.
77778
77779 [BZ #14042]
77780 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
77781 for call to __mcount_internal.
77782 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
77783 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
77784 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
77785
77786 2012-07-06 Joseph Myers <joseph@codesourcery.com>
77787
77788 [BZ #14154]
77789 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
77790 approximation for values within 0x1p-13f of an odd multiple of
77791 pi/4.
77792 * math/libm-test.inc (tan_test): Do not allow spurious underflow
77793 exception. Add more tests.
77794 * sysdeps/i386/fpu/libm-test-ulps: Update.
77795
77796 [BZ #6778]
77797 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
77798 inputs and return -1 for them. Do not check for +Inf in case not
77799 reachable for +Inf.
77800 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
77801 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
77802 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77803 and return -1 for them. Do not check for +Inf in case not
77804 reachable for +Inf.
77805 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
77806 define.
77807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77808 and return -1 for them. Do not check for +Inf in case not
77809 reachable for +Inf.
77810 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
77811 spurious underflow.
77812 * sysdeps/i386/fpu/libm-test-ulps: Update.
77813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77814
77815 2012-07-06 Mike Frysinger <vapier@gentoo.org>
77816
77817 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
77818
77819 2012-07-05 Joseph Myers <joseph@codesourcery.com>
77820
77821 [BZ #14157]
77822 [BZ #14331]
77823 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
77824 could result in spurious underflow. Scale down values above
77825 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
77826 * math/s_csqrtf.c (__csqrtf): Likewise.
77827 * math/s_csqrtl.c (__csqrtl): Likewise.
77828 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
77829 spurious underflow.
77830 * sysdeps/i386/fpu/libm-test-ulps: Update.
77831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77832
77833 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
77834
77835 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
77836 xopen-msg.sed.
77837 * catgets/xopen-msg.awk: New file.
77838 * catgets/xopen-msg.sed: Removed.
77839
77840 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
77841 po2text.sed.
77842 * intl/po2test.awk: New file.
77843 * intl/po2test.sed: Removed.
77844
77845 2012-07-04 Joseph Myers <joseph@codesourcery.com>
77846
77847 [BZ #14328]
77848 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
77849 or multiply small sinh result by itself.
77850 * math/s_ctanf.c (__ctanf): Likewise.
77851 * math/s_ctanh.c (__ctanh): Likewise.
77852 * math/s_ctanhf.c (__ctanhf): Likewise.
77853 * math/s_ctanhl.c (__ctanhl): Likewise.
77854 * math/s_ctanl.c (__ctanl): Likewise.
77855 * math/libm-test.inc (ctan_test_tonearest): New function.
77856 (ctan_test_towardzero): Likewise.
77857 (ctan_test_downward): Likewise.
77858 (ctan_test_upward): Likewise.
77859 (ctanh_test_tonearest): Likewise.
77860 (ctanh_test_towardzero): Likewise.
77861 (ctanh_test_downward): Likewise.
77862 (ctanh_test_upward): Likewise.
77863 (main): Call these new functions.
77864 * sysdeps/i386/fpu/libm-test-ulps: Update.
77865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77866
77867 2012-07-03 Mike Frysinger <vapier@gentoo.org>
77868
77869 * .gitignore: Delete /ports entry.
77870
77871 2012-07-03 Andreas Jaeger <aj@suse.de>
77872
77873 * po/bg.po: Update from translation team.
77874 * po/cs.po: Likewise.
77875 * po/de.po: Likewise.
77876 * po/hr.po: Likewise.
77877 * po/nl.pl: Likewise.
77878 * po/pl.po: Likewise.
77879 * po/vi.po: Likewise.
77880
77881 2012-07-03 Joseph Myers <joseph@codesourcery.com>
77882
77883 * Makeconfig [!+link] (+link-before-libc): New variable.
77884 [!+link] (+link-after-libc): Likewise.
77885 [!+link] (+link-tests): Likewise.
77886 [!+link] (+link): Define in terms of $(+link-before-libc) and
77887 $(+link-after-libc).
77888 [!+link-static] (+link-static-before-libc): New variable.
77889 [!+link-static] (+link-static-after-libc): Likewise.
77890 [!+link-static] (+link-static-tests): Likewise.
77891 [!+link-static] (+link-static): Define in terms of
77892 $(+link-static-before-libc) and $(+link-static-after-libc).
77893 [build-shared] (link-libc-before-gnulib): New variable.
77894 [build-shared] (link-libc-tests): Likewise.
77895 [build-shared] (link-libc): Define in terms of
77896 $(link-libc-before-gnulib).
77897 [!build-shared] (link-libc-tests): New variable.
77898 (link-libc-static-tests): New variable.
77899 [!gnulib] (gnulib-arch): New variable.
77900 [!gnulib] (gnulib-tests): Likewise.
77901 [!gnulib] (static-gnulib-arch): Likewise.
77902 [!gnulib] (static-gnulib-tests): Likewise.
77903 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
77904 Define with "=" instead of ":=".
77905 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
77906 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
77907 * Rules (binaries-all-notests): New variable.
77908 (binaries-all-tests): Likewise.
77909 (binaries-static-notests): Likewise.
77910 (binaries-static-tests): Likewise.
77911 (binaries-all): Define using $(binaries-all-notests) and
77912 $(binaries-all-tests).
77913 (binaries-static): Define using $(binaries-static-notests) and
77914 $(binaries-static-tests).
77915 (binaries-shared-tests): New variable.
77916 (binaries-shared-notests): Likewise.
77917 (binaries-shared): Remove variable.
77918 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
77919 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
77920 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
77921 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
77922 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
77923 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
77924 * elf/Makefile (sln-modules): New variable.
77925 (extra-objs): Add $(sln-modules:=.o).
77926 (ldconfig-modules): Add static-stubs.
77927 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
77928 * elf/static-stubs.c: New file.
77929
77930 [BZ #14283]
77931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
77932 by 7 not 8 to examine high bit of fractional part. Use volatile
77933 variables when splitting into final array of floats if
77934 __FLT_EVAL_METHOD__ != 0.
77935 * math/libm-test.inc (cos_test): Add another test.
77936 (sin_test): Likewise.
77937 * sysdeps/i386/fpu/libm-test-ulps: Update.
77938
77939 [BZ #14273]
77940 * math/libm-test.inc (cosh_test): Add more tests.
77941
77942 * version.h (RELEASE): Set to "development".
77943 (VERSION): Set to "2.16.90".
77944
77945 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
77946
77947 * NEWS: Update copyright. Remove last-updated date.
77948 Mention math library bug fixes and timezone data changes.
77949 * README: Mention GNU/Hurd, x32, and HPPA support status.
77950
77951 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
77952
77953 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
77954
77955 2012-06-27 Andreas Jaeger <aj@suse.de>
77956
77957 * manual/contrib.texi (Contributors): Add Samuel Thibault.
77958
77959 2012-06-25 Andreas Jaeger <aj@suse.de>
77960
77961 * sysdeps/s390/fpu/libm-test-ulps: Update.
77962
77963 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
77964 Thomas Schwinge <thomas@codesourcery.com>
77965
77966 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
77967 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
77968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
77969 fanotify_mark.
77970
77971 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
77972
77973 * sysdeps/mach/start.c: Remove file.
77974 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
77975 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
77976 * sysdeps/sh/init-first.c: Likewise.
77977
77978 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
77979 registers for frame unwinding purposes, add CFI directives.
77980 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77981 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
77982 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
77983 Likewise.
77984
77985 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
77986 __fortify_fail returning.
77987 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77988
77989 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
77990 sysdeps/sh/____longjmp_chk.S.
77991 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
77992 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
77993 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
77994 (gen-as-const-headers): Append sigaltstack-offsets.sym.
77995
77996 * sysdeps/sh/abort-instr.h: New file.
77997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
77998 process in case exit returns.
77999
78000 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78001 initialize the GOT register before use.
78002
78003 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78004 calculation of ARGC > 4.
78005
78006 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78007 meaningful names to some local labels.
78008
78009 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
78010 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78011
78012 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78013 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78014 (__arch_compare_and_exchange_val_16_acq): Likewise.
78015 (__arch_compare_and_exchange_val_32_acq): Likewise.
78016 (atomic_exchange_and_add): Fix gUSA sequence.
78017 (atomic_add): Likewise.
78018 (atomic_add_negative): Likewise.
78019 (atomic_add_zero): Likewise.
78020 (atomic_bit_test_set): Likewise.
78021
78022 2012-06-22 Andreas Schwab <schwab@redhat.com>
78023
78024 [BZ #13579]
78025 * include/link.h (struct link_map): Add l_free_initfini.
78026 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78027 l_initfini.
78028 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78029 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78030 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78031 set.
78032
78033 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
78034
78035 * configure.in: Use AC_LANG_SOURCE.
78036 * configure: Regenerate.
78037
78038 2012-06-22 Roland McGrath <roland@hack.frob.com>
78039
78040 * configure.in (libc_cv_localstatedir): New substituted variable.
78041 * configure: Regenerated.
78042 * config.make.in (localstatedir): New variable, substituted from
78043 libc_cv_localstatedir.
78044 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78045 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78046 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78047 * sysdeps/gnu/configure: Regenerated.
78048
78049 2012-06-21 Jeff Law <law@redhat.com>
78050
78051 [BZ #14277]
78052 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78053 free. Simplify list management for _LIBC case.
78054
78055 2012-06-21 Joseph Myers <joseph@codesourcery.com>
78056
78057 [BZ #14273]
78058 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78059 Clear sign bit of 64-bit integer value before comparing against
78060 overflow value.
78061
78062 * sysdeps/mach/configure: Regenerated.
78063
78064 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
78065
78066 [BZ #14278]
78067 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78068
78069 2012-06-21 Jeff Law <law@redhat.com>
78070
78071 [BZ #13882]
78072 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
78073 uint16_t for elements in the "seen" array to avoid char overflows.
78074 * elf/dl-fini.c (_dl_sort_fini): Likewise.
78075 * elf/dl-open.c (dl_open_worker): Likewise.
78076
78077 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
78078
78079 * scripts/list-sources.sh: Scan PORTS for translations.
78080 * po/libc.pot: Regenerated.
78081
78082 2012-06-21 Andreas Jaeger <aj@suse.de>
78083
78084 [BZ #12194]
78085 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78086 warning.
78087 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78088 * bits/byteswap-16.h (__bswap_16): Likewise.
78089 * bits/byteswap.h (__bswap_constant_16): Likewise.
78090
78091 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
78092
78093 [BZ #14117]
78094 * sysdeps/i386/fpu_control.h: Removed.
78095 * sysdeps/x86_64/fpu_control.h: Moved to ...
78096 * sysdeps/x86/fpu_control.h: Here.
78097
78098 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78099 (_FPU_SETCW): Likewise.
78100
78101 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
78102
78103 [BZ #14117]
78104 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78105 * sysdeps/x86/fpu/bits/mathinline.h: This.
78106 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78107
78108 [BZ #14050]
78109 [BZ #14117]
78110 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78111 functions if __x86_64__ is defined.
78112
78113 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
78114
78115 * string/endian.h: Add !__ASSEMBLER__ condition for including
78116 conversion interfaces.
78117
78118 2012-06-15 Joseph Myers <joseph@codesourcery.com>
78119
78120 [BZ #14241]
78121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78122 of ABS(x) in calculating zero to negative powers other than odd
78123 integers.
78124 * math/libm-test.inc (pow_test): Add more tests.
78125
78126 2012-06-15 Andreas Jaeger <aj@suse.de>
78127
78128 * manual/contrib.texi (Contributors): Update entry of Liubov
78129 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78130 Machado Filho.
78131
78132 2012-06-15 Cyril Hrubis <metan@ucw.cz>
78133
78134 * string/string.h: Add __wur to GNU version of strerror_r.
78135
78136 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
78137
78138 [BZ #14229]
78139 * string/Makefile (tests): Add tst-strtok_r.
78140 * string/tst-strtok_r.c: New file.
78141 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78142 RAX_LP/RDX_LP on SAVE_PTR.
78143
78144 2012-06-14 Roland McGrath <roland@hack.frob.com>
78145
78146 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78147
78148 2012-06-14 Joseph Myers <joseph@codesourcery.com>
78149
78150 * libm_test.inc (csqrt_test): Allow more spurious underflow
78151 exceptions.
78152 (j0_test): Likewise.
78153 (j1_test): Likewise.
78154 (y0_test): Likewise.
78155 (y1_test): Likewise.
78156
78157 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
78158
78159 * po/Makefile (libc.pot): Use UTF-8 charset.
78160
78161 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
78162
78163 [BZ #14210]
78164 Suppress sign-conversion warning from FD_SET.
78165 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78166 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78167 not unsigned long int.
78168 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78169
78170 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
78171
78172 [BZ #14050]
78173 [BZ #14117]
78174 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78175 __extern_always_inline instead of __extern_inline.
78176 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78177 (__signbit): Likewise.
78178 (__signbitl): Support C++ namespace.
78179 (lrintf): New inline function.
78180 (lrint): Likewise.
78181 (llrintf): Likewise.
78182 (llrint): Likewise.
78183 (fmaxf): Likewise.
78184 (fmax): Likewise.
78185 (fminf): Likewise.
78186 (fmin): Likewise.
78187 (rint): Likewise.
78188 (rintf): Likewise.
78189 (ceil): Likewise.
78190 (ceilf): Likewise.
78191 (floor): Likewise.
78192 (floorf): Likewise.
78193 (nearbyint): Likewise.
78194 (nearbyintf): Likewise.
78195
78196 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
78197
78198 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78199 non-default versions.
78200
78201 2012-06-11 Roland McGrath <roland@hack.frob.com>
78202
78203 [BZ #14218]
78204 * manual/argp.texi (Argp): Reword argp_parse description slightly.
78205
78206 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
78207
78208 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78209 (FE_UPWARD, FE_DOWNWARD): Don't define.
78210 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78212
78213 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78214 reading it.
78215 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78217
78218 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78219
78220 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78223 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78224
78225 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
78226
78227 [BZ #14117]
78228 * sysdeps/i386/fpu/bits/fenv.h: Removed.
78229 * sysdeps/i386/fpu/Implies: New file.
78230 * sysdeps/x86_64/fpu/Implies: Likewise.
78231 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78232 * sysdeps/x86/fpu/bits/fenv.h: This.
78233
78234 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78235 __SSE_MATH__.
78236
78237 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
78238
78239 [BZ #14134]
78240 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78241 character 0xffff that matches the last element of the
78242 conversion table.
78243
78244 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78245
78246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78247 fmodl commit.
78248
78249 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78250
78251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78252 values higher than 25.6283.
78253
78254 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78255
78256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78257 subnormal exponent extraction and add some __builtin_expect.
78258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78259 Fix for subnormal mantissa calculation.
78260
78261 2012-06-04 Mike Frysinger <vapier@gentoo.org>
78262
78263 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78264 cpu2 is -1 and errno is not ENOSYS.
78265
78266 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
78267
78268 [BZ #14117]
78269 * sysdeps/i386/i486/bits/string.h: Renamed to ...
78270 * sysdeps/x86/bits/string.h: This.
78271 * sysdeps/x86_64/bits/string.h: Removed.
78272
78273 * sysdeps/i386/i486/bits/string.h: Define inline functions only
78274 if not compiling for x86-64, but compiling for >= i486.
78275
78276 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78277 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78278
78279 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78280 New macro from Linux kernel 3.4.0.
78281 (FP_XSTATE_MAGIC2): Likewise.
78282 (FP_XSTATE_MAGIC2_SIZE): Likewise.
78283 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78284 (struct _fpx_sw_bytes): New struct.
78285 (struct _xsave_hdr): Likewise.
78286 (struct _ymmh_state): Likewise.
78287 (struct _xstate): Likewise.
78288
78289 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78290 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78292 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78293 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78294 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78295
78296 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78297 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78298 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78299 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78300 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78301 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78302
78303 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78304
78305 [BZ #13743]
78306 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78307 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78308 (sysdep_headers): Include sys/platform/ppc.h.
78309 * sysdeps/powerpc/test-gettimebase.c: Test for
78310 __ppc_get_timebase() to catch future ISA opcode/insn changes.
78311 * manual/Makefile (appendices): Include platform.texi.
78312 * manual/contrib.texi (Contributors): Update @node pointers.
78313 * manual/maint.texi (Maintenance): Likewise.
78314 (Platform): New node.
78315 * manual/platform.texi: New file. Document the new features.
78316
78317 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
78318 Jakub Jelinek <jakub@redhat.com>
78319
78320 [BZ #14188]
78321 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78322 where __builtin_expect is unavailable.
78323
78324 2012-06-03 David S. Miller <davem@davemloft.net>
78325
78326 * stdlib/longlong.h: Updated from GCC.
78327
78328 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
78329
78330 [BZ #14042]
78331 * sysdeps/powerpc/powerpc32/mcount.c: New file.
78332 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78333 __mcount_internal.
78334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78335 (GLIBC_2.16): Likewise.
78336
78337 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
78338
78339 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78340
78341 2012-06-01 Joseph Myers <joseph@codesourcery.com>
78342
78343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78344 (default-abi): New variable.
78345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78347 variable.
78348 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78349 Likewise.
78350 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78351 Likewise.
78352 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78353 Likewise.
78354
78355 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78356 definition. Document in comment.
78357
78358 2012-06-01 David S. Miller <davem@davemloft.net>
78359
78360 * stdlib/longlong.h: Updated from GCC.
78361
78362 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
78363
78364 [BZ #14117]
78365 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78366 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78367 sys/debugreg.h sys/io.h here.
78368 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78369 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78370 sys/io.h.
78371 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78372 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78373 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78374 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78375 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78376 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78377
78378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78379 Define only if __x86_64__ is defined.
78380
78381 2012-06-01 Joseph Myers <joseph@codesourcery.com>
78382
78383 [BZ #14048]
78384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78385 Use int64_t for variable i.
78386 * math/libm-test.inc (fmod_test): Add more tests.
78387
78388 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78389 z computation is not scheduled after fetestexcept.
78390 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78391 Use math_force_eval instead of asm to ensure calculation scheduled
78392 before exception test.
78393 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78394 Ensure a1 + u.d computation is not scheduled after fetestexcept.
78395
78396 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
78397
78398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78399 computation is not scheduled after fetestexcept.
78400
78401 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
78402
78403 [BZ #14117]
78404 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78405 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78406
78407 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78408
78409 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78410 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78411
78412 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
78413
78414 [BZ #14117]
78415 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78416 <bits/wordsize.h>.
78417 (__WCHAR_MIN): Support __WORDSIZE == 64.
78418 (__WCHAR_MAX): Likewise.
78419
78420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78422
78423 [BZ #14183]
78424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78425 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78426
78427 [BZ #14117]
78428 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78429 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78430
78431 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78432 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78433
78434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78435 Defined to 1 if __x86_64__ isn't defined.
78436 (_STAT_VER_LINUX_OLD): New.
78437 (st_atime): Remove duplicate.
78438 (st_mtime): Likewise.
78439 (st_ctime): Likewise.
78440
78441 2012-05-31 David S. Miller <davem@davemloft.net>
78442
78443 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78444 entries.
78445
78446 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
78447
78448 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78449 gen-libm-test.pl.
78450
78451 [BZ #14132]
78452 * elf/dl-reloc.c: Include <_itoa.h>.
78453 (_dl_reloc_bad_type): Remove use of INTUSE.
78454 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78455 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78456 * stdio-common/psiginfo.c (psiginfo): Likewise.
78457 * stdio-common/psignal.c (psignal): Likewise.
78458 * string/strsignal.c (strsignal): Likewise.
78459 * include/signal.h (_sys_siglist): Declare hidden proto.
78460 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
78461 INTVARDEF with libc_hidden_data_def.
78462 * stdio-common/itoa-udigits.c: Likewise.
78463 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78464 (_itoa_lower_digits_internal): Remove declaration.
78465 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78466 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78467 (_sys_sigabbrev_internal): Remove aliases.
78468 (_sys_siglist): Define hidden alias.
78469
78470 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
78471
78472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78473 bits/sysctl.h.
78474
78475 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
78476
78477 [BZ #14117]
78478 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78479 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78480
78481 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78482 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78484 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78486 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78487
78488 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78489 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78490 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78491
78492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78493 with __addr.
78494 (insw): Likewise.
78495 (insl): Likewise.
78496 (outsb): Likewise.
78497 (outsw): Likewise.
78498 (outsl): Likewise.
78499
78500 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78502 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78503
78504 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78505 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78506 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78507 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78508 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78509 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78510
78511 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78512 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78513
78514 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78515 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78516
78517 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78519 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78520
78521 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78522 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78523 to ...
78524 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78525
78526 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78527 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78528 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78529
78530 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78531 for x86-64.
78532 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78533
78534 2012-05-31 Joseph Myers <joseph@codesourcery.com>
78535
78536 * math/math.h (M_El): Use two more decimal places.
78537 (M_LOG2El): Likewise.
78538 (M_LOG10El): Likewise.
78539 (M_LN2l): Likewise.
78540 (M_LN10l): Likewise.
78541 (M_PIl): Likewise.
78542 (M_PI_2l): Likewise.
78543 (M_PI_4l): Likewise.
78544 (M_1_PIl): Likewise.
78545 (M_2_PIl): Likewise.
78546 (M_2_SQRTPIl): Likewise.
78547 (M_SQRT2l): Likewise.
78548 (M_SQRT1_2l): Likewise.
78549
78550 2012-05-31 David S. Miller <davem@davemloft.net>
78551
78552 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78553 values between float registers.
78554 * sysdeps/sparc/sparc64/memset.S: Likewise.
78555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78556
78557 2012-05-31 Mike Frysinger <vapier@gentoo.org>
78558
78559 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78560 -D_FORTIFY_SOURCE=1.
78561 (CPPFLAGS-tst-longjmp_chk.c): Define.
78562 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78563 (CPPFLAGS-tst-longjmp_chk2.c): Define.
78564 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78565 CFLAGS-tst-wchar-h.c.
78566
78567 2012-05-31 Marek Polacek <polacek@redhat.com>
78568
78569 [BZ #14132]
78570 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78571 __endmntent_internal): Remove declaration.
78572 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78573 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78574 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78575
78576 2012-05-30 David S. Miller <davem@davemloft.net>
78577
78578 * sysdeps/sparc/sparc32/soft-fp/q_util.c
78579 (___Q_simulate_exceptions): Use real FP ops rather than writing
78580 into the %fsr.
78581 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78582 Likewise.
78583
78584 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78585
78586 [BZ #14117]
78587 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78588 * sysdeps/x86/bits/xtitypes.h: This.
78589
78590 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78591 * sysdeps/x86/bits/wordsize.h: This.
78592
78593 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78594 * sysdeps/x86/bits/huge_vall.h: This.
78595
78596 * sysdeps/i386/bits/select.h: Removed.
78597 * sysdeps/x86_64/bits/select.h: Renamed to ...
78598 * sysdeps/x86/bits/select.h: This.
78599
78600 * sysdeps/i386/bits/setjmp.h: Removed.
78601 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78602 * sysdeps/x86/bits/setjmp.h: This.
78603
78604 * sysdeps/i386/bits/mathdef.h: Removed.
78605 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78606 * sysdeps/x86/bits/mathdef.h: This.
78607
78608 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
78609
78610 [BZ #14132]
78611 * include/sys/socket.h (__connect_internal)
78612 (__libc_sa_len_internal): Remove declaration.
78613 (__connect, __libc_sa_len): Declare hidden_proto.
78614 (SA_LEN): Remove use of INTUSE.
78615 * socket/connect.c: Add libc_hidden_def.
78616 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78617 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78618 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78619 alias.
78620 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78621 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78622 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78623 of adding _internal alias.
78624
78625 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78626
78627 [BZ #14117]
78628 * sysdeps/i386/bits/link.h: Removed.
78629 * sysdeps/i386/bits/linkmap.h: Likewise.
78630 * sysdeps/x86_64/bits/link.h: Renamed to ...
78631 * sysdeps/x86/bits/link.h: This.
78632 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78633 * sysdeps/x86/bits/linkmap.h: This.
78634
78635 * sysdeps/i386/bits/endian.h: Removed.
78636 * sysdeps/x86_64/bits/endian.h: Renamed to ...
78637 * sysdeps/x86/bits/endian.h: This.
78638
78639 * sysdeps/i386/bits/byteswap.h: Removed.
78640 * sysdeps/i386/bits/byteswap-16.h: Likewise.
78641 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78642 * sysdeps/x86/bits/byteswap.h: This.
78643 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78644 * sysdeps/x86/bits/byteswap-16.h: This.
78645 * sysdeps/i386/Implies: Add x86.
78646 * sysdeps/x86_64/Implies: Likewise.
78647
78648 2012-05-30 David S. Miller <davem@davemloft.net>
78649
78650 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78651 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78653 (FP_TRAPPING_EXCEPTIONS): Define.
78654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78655 (FP_TRAPPING_EXCEPTIONS): Define.
78656 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78657 subnormals only when inexact has been signalled or underflow
78658 exceptions are enabled.
78659 (_FP_PACK_CANONICAL): Likewise.
78660
78661 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78662
78663 [BZ #14183]
78664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78665 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78666
78667 2012-05-30 Richard Henderson <rth@twiddle.net>
78668
78669 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78670 with #ifndef NOT_IN_libc.
78671
78672 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
78673 marked to avoid plt entry.
78674
78675 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
78676
78677 [BZ #14112]
78678 * Makeconfig (default-abi): New macro.
78679 (abi-includes): Likewise.
78680 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
78681 $(abi-$(default-abi)-lib-soname) for soname if defined.
78682 ($(common-objpfx)gnu/lib-names.stmp): Generate from
78683 abi-variants.
78684 * Makefile (installed-stubs): Likewise.
78685 * include/stubs-biarch.h: Removed.
78686 * scripts/lib-names.awk: Only handle one library at a time.
78687 * scripts/soversions.awk: Remove WORDSIZE support.
78688 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78689 entries.
78690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78691 Removed.
78692 (syscall-list-default-condition): Likewise.
78693 (syscall-list-default-condition): Likewise.
78694 (syscall-list-includes): Likewise.
78695 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78696 syscall-list-* with abi-*. Handle undefined abi-variants.
78697 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78698 * sysdeps/unix/sysv/linux/i386/Implies: New file.
78699 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78700 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78701 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78702 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78703 Removed.
78704 (syscall-list-32-options): Likewise.
78705 (syscall-list-32-condition): Likewise.
78706 (syscall-list-64-options): Likewise.
78707 (syscall-list-64-condition): Likewise.
78708 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78709 macro.
78710 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78711 Renamed to ...
78712 (abi-*): This.
78713 (abi-64-ld-soname): New macro.
78714 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78715 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78716 Renamed to ...
78717 (abi-*): This.
78718 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
78719 * sysdeps/x86_64/x32/shlib-versions: Likewise.
78720
78721 2012-05-30 Joseph Myers <joseph@codesourcery.com>
78722
78723 * sysdeps/unix/sysv/linux/kernel-features.h
78724 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
78725 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
78726 include <kernel-features.h>.
78727 [!__NR_ftruncate64]: Remove conditional code.
78728 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78729 [__NR_ftruncate64]: Make code unconditional.
78730 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78731 * sysdeps/unix/sysv/linux/truncate64.c: Do not
78732 include <kernel-features.h>.
78733 [!__NR_ftruncate64]: Remove conditional code.
78734 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78735 [__NR_ftruncate64]: Make code unconditional.
78736 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
78738 include <kernel-features.h>.
78739 [!__NR_ftruncate64]: Remove conditional code.
78740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78741 [__NR_ftruncate64]: Make code unconditional.
78742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78744 include <kernel-features.h>.
78745 [!__NR_ftruncate64]: Remove conditional code.
78746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78747 [__NR_ftruncate64]: Make code unconditional.
78748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78749
78750 * configure.in (libc_cv_fpie): Weaken to a compile test using
78751 LIBC_TRY_CC_OPTION.
78752 * configure: Regenerated.
78753
78754 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78755
78756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
78757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
78758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
78759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78760 Refreshed.
78761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
78762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
78763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
78764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
78765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
78766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78767 Refreshed.
78768
78769 2012-05-27 David S. Miller <davem@davemloft.net>
78770
78771 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
78772 (___Q_zero): New.
78773 (__Q_simulate_exceptions): Return void. Change to simulate
78774 exceptions by writing into the %fsr.
78775 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
78776 (__Qp_handle_exceptions): Likewise.
78777 (numbers): Delete.
78778 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
78779 __Qp_handle_exceptions.
78780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
78781 __Qp_handle_exceptions.
78782 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78783 as unused and give dummy FP_RND_NEAREST initializer.
78784 (FP_INHIBIT_RESULTS): Define.
78785 (___Q_simulate_exceptions): Update declaration.
78786 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
78787 formatting.
78788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78789 as unused and give dummy FP_RND_NEAREST initializer.
78790 (__Qp_handle_exceptions): Update declaration.
78791 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
78792 formatting.
78793
78794 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
78795
78796 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
78797 the temporary FPU control word.
78798 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
78799 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
78800 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
78801 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78802 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
78803 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
78804 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
78805 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78806 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
78807 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
78808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78809
78810 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78811
78812 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
78813 fields.
78814
78815 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
78816
78817 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
78818 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
78819 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
78820 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
78821 Likewise.
78822 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
78823 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
78824 Likewise.
78825
78826 2012-05-27 Ulrich Drepper <drepper@gmail.com>
78827
78828 * po/h.po: Update from translation team.
78829
78830 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
78831
78832 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
78833
78834 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
78835 handling of denormals.
78836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78837 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
78838 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78839 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
78842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
78843 Likewise.
78844
78845 2012-05-26 Marek Polacek <polacek@redhat.com>
78846
78847 [BZ #14152]
78848 * math/libm-test.inc (fma_test): Don't always expect underflow
78849 exception.
78850
78851 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
78852
78853 [BZ #12416]
78854 * elf/tst-execstack.c: Include stackinfo.h.
78855 (do_test): Adjust test case to ensure that pthread_getattr_np
78856 behaviour remains the same after marking stack executable.
78857
78858 2012-05-25 Joseph Myers <joseph@codesourcery.com>
78859
78860 * sysdeps/unix/sysv/linux/kernel-features.h
78861 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
78862 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
78863 kernel-features.h.
78864 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78865 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78866 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
78867 kernel-features.h.
78868 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78869 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78870
78871 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
78872
78873 * configure.in: Define the default includes to being none.
78874 * configure: Regenerated.
78875
78876 2012-05-25 Roland McGrath <roland@hack.frob.com>
78877
78878 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
78879 * sysdeps/x86_64/setjmp.S: Likewise.
78880 * sysdeps/i386/bsd-setjmp.S: Likewise.
78881 * sysdeps/i386/bsd-_setjmp.S: Likewise.
78882 * sysdeps/i386/setjmp.S: Likewise.
78883 * sysdeps/i386/__longjmp.S: Likewise.
78884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78885 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
78886
78887 * include/stap-probe.h: New file.
78888 * configure.in: Handle --enable-systemtap.
78889 * configure: Regenerated.
78890 * config.h.in (USE_STAP_PROBE): New #undef.
78891 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
78892 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
78893 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
78894
78895 2012-05-25 Joseph Myers <joseph@codesourcery.com>
78896
78897 [BZ #13717]
78898 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78899 to 2.4.0 where earlier.
78900 * sysdeps/unix/sysv/linux/configure: Regenerated.
78901 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
78902 <kernel-features.h>.
78903 [__ASSUME_32BITUIDS]: Make code unconditional.
78904 [!__ASSUME_32BITUIDS]: Remove conditional code.
78905 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
78906 <kernel-features.h>.
78907 [__ASSUME_32BITUIDS]: Make code unconditional.
78908 [!__ASSUME_32BITUIDS]: Remove conditional code.
78909 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
78910 [__ASSUME_32BITUIDS]: Make code unconditional.
78911 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
78912 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
78913 <kernel-features.h>.
78914 [__ASSUME_32BITUIDS]: Make code unconditional.
78915 [!__ASSUME_32BITUIDS]: Remove conditional code.
78916 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
78917 <kernel-features.h>.
78918 [__ASSUME_32BITUIDS]: Make code unconditional.
78919 [!__ASSUME_32BITUIDS]: Remove conditional code.
78920 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
78921 <kernel-features.h>.
78922 [__ASSUME_32BITUIDS]: Make code unconditional.
78923 [!__ASSUME_32BITUIDS]: Remove conditional code.
78924 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
78925 <kernel-features.h>.
78926 [__ASSUME_32BITUIDS]: Make code unconditional.
78927 [!__ASSUME_32BITUIDS]: Remove conditional code.
78928 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
78929 <kernel-features.h>.
78930 [__ASSUME_32BITUIDS]: Make code unconditional.
78931 [!__ASSUME_32BITUIDS]: Remove conditional code.
78932 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
78933 <kernel-features.h>.
78934 [__ASSUME_32BITUIDS]: Make code unconditional.
78935 [!__ASSUME_32BITUIDS]: Remove conditional code.
78936 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
78937 <kernel-features.h>.
78938 [__ASSUME_32BITUIDS]: Make code unconditional.
78939 [!__ASSUME_32BITUIDS]: Remove conditional code.
78940 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
78941 <kernel-features.h>.
78942 [__ASSUME_32BITUIDS]: Make code unconditional.
78943 [!__ASSUME_32BITUIDS]: Remove conditional code.
78944 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
78945 <kernel-features.h>.
78946 [__ASSUME_32BITUIDS]: Make code unconditional.
78947 [!__ASSUME_32BITUIDS]: Remove conditional code.
78948 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
78949 <kernel-features.h>.
78950 [__ASSUME_32BITUIDS]: Make code unconditional.
78951 [!__ASSUME_32BITUIDS]: Remove conditional code.
78952 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
78953 <kernel-features.h>.
78954 [__NR_setresgid] (__setresgid): Do not declare.
78955 [__ASSUME_32BITUIDS]: Make code unconditional.
78956 [!__ASSUME_32BITUIDS]: Remove conditional code.
78957 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
78958 <kernel-features.h>.
78959 [__NR_setresuid] (__setresuid): Do not declare.
78960 [__ASSUME_32BITUIDS]: Make code unconditional.
78961 [!__ASSUME_32BITUIDS]: Remove conditional code.
78962 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
78963 <kernel-features.h>.
78964 [__ASSUME_32BITUIDS]: Make code unconditional.
78965 [!__ASSUME_32BITUIDS]: Remove conditional code.
78966 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
78967 <kernel-features.h>.
78968 [__ASSUME_32BITUIDS]: Make code unconditional.
78969 [!__ASSUME_32BITUIDS]: Remove conditional code.
78970 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
78971 <kernel-features.h>.
78972 [__ASSUME_32BITUIDS]: Make code unconditional.
78973 [!__ASSUME_32BITUIDS]: Remove conditional code.
78974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
78975 <kernel-features.h>.
78976 [__ASSUME_32BITUIDS]: Make code unconditional.
78977 [!__ASSUME_32BITUIDS]: Remove conditional code.
78978 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
78979 <kernel-features.h>.
78980 [__ASSUME_32BITUIDS]: Make code unconditional.
78981 [!__ASSUME_32BITUIDS]: Remove conditional code.
78982 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
78983 <kernel-features.h>.
78984 [__ASSUME_32BITUIDS]: Make code unconditional.
78985 [!__ASSUME_32BITUIDS]: Remove conditional code.
78986 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
78987 <kernel-features.h>.
78988 [__ASSUME_32BITUIDS]: Make code unconditional.
78989 [!__ASSUME_32BITUIDS]: Remove conditional code.
78990 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
78991 <kernel-features.h>.
78992 [__ASSUME_32BITUIDS]: Make code unconditional.
78993 [!__ASSUME_32BITUIDS]: Remove conditional code.
78994 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
78995 <kernel-features.h>.
78996 [__ASSUME_32BITUIDS]: Make code unconditional.
78997 [!__ASSUME_32BITUIDS]: Remove conditional code.
78998 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
78999 <kernel-features.h>.
79000 [__ASSUME_32BITUIDS]: Make code unconditional.
79001 [!__ASSUME_32BITUIDS]: Remove conditional code.
79002 * sysdeps/unix/sysv/linux/kernel-features.h
79003 (__ASSUME_SETRESUID_SYSCALL): Remove.
79004 (__ASSUME_SETRESGID_SYSCALL): Likewise.
79005 (__ASSUME_32BITUIDS): Likewise.
79006 (__ASSUME_LDT_WORKS): Likewise.
79007 (__ASSUME_O_DIRECTORY): Likewise.
79008 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79009 architecture but not kernel version.
79010 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79011 (__ASSUME_MMAP2_SYSCALL): Likewise.
79012 (__ASSUME_STAT64_SYSCALL): Likewise.
79013 (__ASSUME_IPC64): Likewise.
79014 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79015 <kernel-features.h>.
79016 [__ASSUME_32BITUIDS]: Make code unconditional.
79017 [!__ASSUME_32BITUIDS]: Remove conditional code.
79018 * sysdeps/unix/sysv/linux/opendir.c: Do not include
79019 <kernel-features.h>.
79020 [__ASSUME_O_DIRECTORY]: Make code unconditional.
79021 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79022 132096]: Remove conditional code.
79023 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79025 <kernel-features.h>.
79026 [__ASSUME_32BITUIDS]: Make code unconditional.
79027 [!__ASSUME_32BITUIDS]: Remove conditional code.
79028 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79029 <kernel-features.h>.
79030 [__ASSUME_32BITUIDS]: Make code unconditional.
79031 [!__ASSUME_32BITUIDS]: Remove conditional code.
79032 * sysdeps/unix/sysv/linux/setegid.c: Do not include
79033 <kernel-features.h>.
79034 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79035 unconditional.
79036 (__setresgid): Do not declare.
79037 [__ASSUME_32BITUIDS]: Make code unconditional.
79038 [!__ASSUME_32BITUIDS]: Remove conditional code.
79039 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79040 <kernel-features.h>.
79041 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79042 unconditional.
79043 (__setresuid): Do not declare.
79044 [__ASSUME_32BITUIDS]: Make code unconditional.
79045 [!__ASSUME_32BITUIDS]: Remove conditional code.
79046 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
79051 <kernel-features.h>.
79052 [__ASSUME_32BITUIDS]: Make code unconditional.
79053 [!__ASSUME_32BITUIDS]: Remove conditional code.
79054
79055 2012-05-25 Richard Henderson <rth@twiddle.net>
79056
79057 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79058 dl_hwcap to ifunc resolver.
79059 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79060 elf_ifunc_invoke.
79061 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79062 dl_hwcap to ifunc resolver.
79063 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79064
79065 2012-05-24 Joseph Myers <joseph@codesourcery.com>
79066
79067 [BZ #14153]
79068 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79069 for |x| <= 2**-26, not 2**-57.
79070 * math/libm-test.inc (acos_test): Do not allow spurious underflow
79071 exception.
79072
79073 2012-05-24 Jeff Law <law@redhat.com>
79074
79075 * stdio-common/Makefile (tests): Add bug25.
79076 * stdio-common/bug25.c: New test.
79077
79078 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
79079
79080 [BZ #13576]
79081 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79082 multiple of MALLOC_ALIGNMENT in size.
79083 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79084
79085 2012-05-24 Joseph Myers <joseph@codesourcery.com>
79086
79087 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79088 Require >= 256.
79089 (FILENAME_MAX): Use macro-int-constant.
79090 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
79091 (_IOFBF): Use macro-int-constant.
79092 (_IOLBF): Likewise.
79093 (_IONBF): Likewise.
79094 (SEEK_CUR): Likewise.
79095 (SEEK_END): Likewise.
79096 (SEEK_SET): Likewise.
79097 (TMP_MAX): Likewise.
79098 (EOF): Use macro-int-constant. Require < 0.
79099 (NULL): Use macro-constant. Require == 0.
79100 (stdin): Require type to be FILE *.
79101 (stdout): Likewise.
79102 (stderr): Likewise.
79103 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79104 macro-int-constant.
79105 (EXIT_SUCCESS): Likewise.
79106 (NULL): Use macro-constant. Require == 0.
79107 (RAND_MAX): Use macro-int-constant.
79108 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79109 [C99-based standards] (strtof): Require function.
79110 [C99-based standards] (strtold): Likewise.
79111 [C99-based standards] (strtoll): Likewise.
79112 [C99-based standards] (strtoull): Likewise.
79113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79114 [ISO || ISO99 || ISO11] (limits.h): Likewise.
79115 [ISO || ISO99 || ISO11] (math.h): Likewise.
79116 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79117 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79119
79120 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
79121
79122 [BZ #14132]
79123 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79124 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79125 * intl/dgettext.c (DCGETTEXT): Likewise.
79126 * intl/gettext.c (DCGETTEXT): Likewise.
79127 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79128 * posix/regex_internal.h (gettext): Likewise.
79129 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79130 Remove declaration.
79131 * include/argz.h (__argz_count_internal)
79132 (__argz_stringify_internal): Remove declaration.
79133 (__argz_count, __argz_stringify): Declare hidden proto.
79134 * intl/dcgettext.c: Remove use of INTDEF.
79135 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79136 * string/argz-stringify.c: Likewise.
79137 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79138 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79139 Declare hidden proto.
79140 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79141 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79142 Declare hidden proto.
79143 * include/stdio.h (__asprintf_internal): Don't declare.
79144 (__asprintf): Don't define as macro. Declare hidden proto.
79145 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79146 (__fsetlocking): Declare hidden proto.
79147 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79148 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79149 hidden proto.
79150 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79151 (_IO_setlinebuf): Remove use of INTUSE.
79152 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79153 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79154 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79155 Remove declaration.
79156 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79157 (_IO_do_flush): Remove use of INTUSE.
79158 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79159 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79160 (_IO_adjust_column, _IO_least_wmarker)
79161 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79162 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79163 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79164 (_IO_default_doallocate, _IO_wdefault_doallocate)
79165 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79166 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79167 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79168 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79169 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79170 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79171 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79172 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79173 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79174 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79175 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79176 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79177 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79178 proto.
79179 (_IO_flush_all_internal, _IO_adjust_column_internal)
79180 (_IO_default_uflow_internal, _IO_default_finish_internal)
79181 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79182 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79183 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79184 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79185 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79186 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79187 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79188 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79189 (_IO_file_close_internal, _IO_file_close_it_internal)
79190 (_IO_file_underflow_internal, _IO_file_overflow_internal)
79191 (_IO_file_init_internal, _IO_file_attach_internal)
79192 (_IO_file_fopen_internal, _IO_file_read_internal)
79193 (_IO_file_sync_internal, _IO_file_seek_internal)
79194 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79195 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79196 (_IO_str_underflow_internal, _IO_str_overflow_internal)
79197 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79198 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79199 (_IO_list_all_internal, _IO_link_in_internal)
79200 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79201 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79202 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79203 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79204 (_IO_do_write_internal, _IO_padn_internal)
79205 (_IO_getline_info_internal, _IO_getline_internal)
79206 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79207 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79208 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79209 (_IO_vfscanf_internal, _IO_vfprintf_internal)
79210 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79211 (_IO_init_internal, _IO_un_link_internal): Don't declare.
79212 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79213 with libc_hidden_ver, remove use of INTUSE.
79214 * libio/genops.c: Likewise.
79215 * libio/freopen.c: Likewise.
79216 * libio/freopen64.c: Likewise.
79217 * libio/iofclose.c: Likewise.
79218 * libio/iofdopen.c: Likewise.
79219 * libio/iofflush.c: Likewise.
79220 * libio/iofflush_u.c: Likewise.
79221 * libio/iofgets.c: Likewise.
79222 * libio/iofgets_u.c: Likewise.
79223 * libio/iofopen.c: Likewise.
79224 * libio/iofopncook.c: Likewise.
79225 * libio/iofread.c: Likewise.
79226 * libio/iofread_u.c: Likewise.
79227 * libio/ioftell.c: Likewise.
79228 * libio/iofwrite.c: Likewise.
79229 * libio/iogetline.c: Likewise.
79230 * libio/iogets.c: Likewise.
79231 * libio/iogetwline.c: Likewise.
79232 * libio/iopadn.c: Likewise.
79233 * libio/iopopen.c: Likewise.
79234 * libio/ioseekoff.c: Likewise.
79235 * libio/ioseekpos.c: Likewise.
79236 * libio/iosetbuffer.c: Likewise.
79237 * libio/iosetvbuf.c: Likewise.
79238 * libio/ioungetc.c: Likewise.
79239 * libio/ioungetwc.c: Likewise.
79240 * libio/iovdprintf.c: Likewise.
79241 * libio/iovsprintf.c: Likewise.
79242 * libio/iovsscanf.c: Likewise.
79243 * libio/memstream.c: Likewise.
79244 * libio/obprintf.c: Likewise.
79245 * libio/oldfileops.c: Likewise.
79246 * libio/oldiofclose.c: Likewise.
79247 * libio/oldiofdopen.c: Likewise.
79248 * libio/oldiofopen.c: Likewise.
79249 * libio/oldiopopen.c: Likewise.
79250 * libio/oldstdfiles.c: Likewise.
79251 * libio/putc.c: Likewise.
79252 * libio/setbuf.c: Likewise.
79253 * libio/setlinebuf.c: Likewise.
79254 * libio/stdfiles.c: Likewise.
79255 * libio/strops.c: Likewise.
79256 * libio/vasprintf.c: Likewise.
79257 * libio/vscanf.c: Likewise.
79258 * libio/vsnprintf.c: Likewise.
79259 * libio/vswprintf.c: Likewise.
79260 * libio/wfiledoalloc.c: Likewise.
79261 * libio/wfileops.c: Likewise.
79262 * libio/wgenops.c: Likewise.
79263 * libio/wmemstream.c: Likewise.
79264 * libio/wstrops.c: Likewise.
79265 * libio/__fpurge.c: Likewise.
79266 * libio/__fsetlocking.c: Likewise.
79267 * assert/assert.c: Likewise.
79268 * debug/fgets_chk.c: Likewise.
79269 * debug/fgets_u_chk.c: Likewise.
79270 * debug/fread_chk.c: Likewise.
79271 * debug/fread_u_chk.c: Likewise.
79272 * debug/gets_chk.c: Likewise.
79273 * debug/obprintf_chk.c: Likewise.
79274 * debug/vasprintf_chk.c: Likewise.
79275 * debug/vdprintf_chk.c: Likewise.
79276 * debug/vsnprintf_chk.c: Likewise.
79277 * debug/vsprintf_chk.c: Likewise.
79278 * malloc/mtrace.c: Likewise.
79279 * misc/error.c: Likewise.
79280 * misc/syslog.c: Likewise.
79281 * stdio-common/asprintf.c: Likewise.
79282 * stdio-common/fxprintf.c: Likewise.
79283 * stdio-common/getw.c: Likewise.
79284 * stdio-common/isoc99_fscanf.c: Likewise.
79285 * stdio-common/isoc99_scanf.c: Likewise.
79286 * stdio-common/isoc99_vfscanf.c: Likewise.
79287 * stdio-common/isoc99_vscanf.c: Likewise.
79288 * stdio-common/isoc99_vsscanf.c: Likewise.
79289 * stdio-common/printf-prs.c: Likewise.
79290 * stdio-common/printf_fp.c: Likewise.
79291 * stdio-common/printf_fphex.c: Likewise.
79292 * stdio-common/printf_size.c: Likewise.
79293 * stdio-common/putw.c: Likewise.
79294 * stdio-common/scanf.c: Likewise.
79295 * stdio-common/sprintf.c: Likewise.
79296 * stdio-common/tmpfile.c: Likewise.
79297 * stdio-common/vfprintf.c: Likewise.
79298 * stdio-common/vfscanf.c: Likewise.
79299 * stdlib/strfmon_l.c: Likewise.
79300 * sunrpc/openchild.c: Likewise.
79301 * sunrpc/xdr_stdio.c: Likewise.
79302 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79303 * sysdeps/mach/hurd/tmpfile.c: Likewise.
79304
79305 2012-05-24 Roland McGrath <roland@hack.frob.com>
79306
79307 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79308
79309 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79310 in the third column, to generate for the shared library an IFUNC
79311 that uses _dl_vdso_vsym.
79312 * Makerules (COMPILE.c, compile-stdin.c): New variables.
79313 * Makeconfig (object-suffixes-noshared): New variable.
79314
79315 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79316 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79317 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79318 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79319
79320 [BZ #14132]
79321 * include/sys/time.h (__gettimeofday): Remove macro.
79322 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79323 * time/gettimeofday.c (__gettimeofday): Remove #undef.
79324 Remove INTDEF.
79325 (__gettimeofday): Add libc_hidden_def.
79326 (gettimeofday): Add libc_hidden_weak.
79327 * sysdeps/mach/gettimeofday.c: Likewise.
79328 * sysdeps/posix/gettimeofday.c: Likewise.
79329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79330 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79332 (__gettimeofday_internal): Remove strong_alias.
79333 (__gettimeofday): Add libc_hidden_def.
79334 (gettimeofday): Add libc_hidden_weak.
79335 * sysdeps/unix/syscalls.list (gettimeofday):
79336 Remove __gettimeofday_internal alias.
79337
79338 2012-05-24 Daniel Jacobowitz <drow@false.org>
79339 H.J. Lu <hongjiu.lu@intel.com>
79340
79341 [BZ #12495]
79342 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79343 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79344 (largebin_index_32_big): New.
79345 (largebin_index): Use it for 16-byte alignment.
79346 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
79347 correction with front_misalign.
79348
79349 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
79350
79351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79353 Likewise.
79354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79355 Likewise.
79356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79357 Likewise.
79358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79359 Likewise.
79360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79361 Likewise.
79362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79363 Likewise.
79364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79365 Likewise.
79366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79367 Likewise.
79368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79369 Likewise.
79370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79371 Likewise.
79372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79373 Likewise.
79374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79375 Likewise.
79376
79377 * scripts/data/c++-types-x32-linux-gnu.data: New file.
79378 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79379
79380 2012-05-24 Joseph Myers <joseph@codesourcery.com>
79381
79382 [BZ #10846]
79383 [BZ #14036]
79384 * math/libm-test.inc (exp_test): Add test from bug 14036.
79385 (pow_test): Add test from bug 10846.
79386
79387 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79388 and other flags.
79389 (special_function): Do not include flags in test name.
79390 (parse_args): Likewise.
79391 * sysdeps/i386/fpu/libm-test-ulps: Update.
79392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79393 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79394 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79396
79397 * math/gen-libm-test.pl (%beautify): Add entries for underflow
79398 exceptions.
79399 * math/libm-test.inc ("Philosophy"): Update comment about
79400 exception testing.
79401 (UNDERFLOW_EXCEPTION): New macro.
79402 (UNDERFLOW_EXCEPTION_OK): Likewise.
79403 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79404 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79405 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79406 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79407 (INVALID_EXCEPTION_OK): Update value.
79408 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79409 (OVERFLOW_EXCEPTION_OK): Likewise.
79410 (IGNORE_ZERO_INF_SIGN): Likewise.
79411 (test_exceptions): Handle underflow exceptions.
79412 (acos_test): Update for underflow exception expectations.
79413 (cexp_test): Likewise.
79414 (clog_test): Likewise.
79415 (clog10_test): Likewise.
79416 (csqrt_test): Likewise.
79417 (ctan_test): Likewise.
79418 (ctanh_test): Likewise.
79419 (exp_test): Likewise.
79420 (exp10_test): Likewise.
79421 (exp2_test): Likewise.
79422 (expm1_test): Likewise.
79423 (fma_test): Likewise.
79424 (j0_test): Likewise.
79425 (jn_test): Likewise.
79426 (nexttoward_test): Likewise.
79427 (pow_test): Likewise.
79428 (scalbn_test): Likewise.
79429 (scalbln_test): Likewise.
79430 (tan_test): Likewise.
79431 (y1_test): Likewise.
79432 * sysdeps/i386/fpu/libm-test-ulps: Update.
79433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79434
79435 2012-05-23 David S. Miller <davem@davemloft.net>
79436
79437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79438 (__libc_sigaction): Remove unused local variables.
79439
79440 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
79441
79442 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79443
79444 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
79445
79446 mktime: avoid signed integer overflow
79447 * time/mktime.c (__mktime_internal): Do not mishandle the case
79448 where diff == INT_MIN.
79449
79450 mktime: simplify computation of average
79451 * time/mktime.c (ranged_convert): Use new time_t_avg function
79452 instead of rolling our own (probably-slower) code.
79453
79454 mktime: do not assume signed right shift propagates sign bit
79455 * time/mktime.c (isdst_differ): New static function.
79456 (__mktime_internal): No need to normalize tm_isdst now.
79457 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79458 tm_isdst values.
79459
79460 mktime: merge another wrapv change from gnulib
79461 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79462 from some compilers.
79463
79464 mktime: remove incorrect attempt at unusual arithmetics
79465 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79466 The code didn't really work on such machines anyway.
79467 (TYPE_MINIMUM): Assume two's complement.
79468 (twos_complement_arithmetic): Verify that long_int and time_t
79469 are two's complement (or unsigned, in the latter case).
79470
79471 mktime: check signed shifts on long_int and time_t, too
79472 * time/mktime.c (SHR): Check that shifts work as desired
79473 on the types long_int and time_t too, as SHR is used on
79474 such types.
79475
79476 mktime: do not assume 'long' is wide enough
79477 * time/mktime.c (verify): Move decl up.
79478 (long_int): New type.
79479 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79480 to remove assumption in the code that 'long' is wide enough to
79481 store year values. This assumption is not true on x32 and on
79482 some non-glibc platforms.
79483
79484 mktime: merge wrapv change from gnulib
79485 * time/mktime.c (WRAPV): New macro.
79486 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79487 (guess_time_tm, __mktime_internal): Do not assume that signed
79488 integer overflow wraps around; modern compilers generate code
79489 where this assumption is no longer valid.
79490
79491 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
79492
79493 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79494 Replace "jmp L(pseudo_end)" with "ret".
79495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79496 Likewise.
79497
79498 2012-05-23 Andreas Jaeger <aj@suse.de>
79499
79500 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79501 * sysdeps/unix/sysv/linux/poll.c: Remove file.
79502
79503 2012-05-23 Andreas Jaeger <aj@suse.de>
79504 Maximilian Attems <max@stro.at>
79505
79506 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79507 New macros.
79508
79509 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
79510
79511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79512 code so that pseudo_end is just ret and the stack pointer is
79513 correct also for static library in error case.
79514
79515 2012-05-23 Joseph Myers <joseph@codesourcery.com>
79516
79517 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79518 move to syscalls.list.
79519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79523
79524 * manual/install.texi (Running make install): Do not mention Linux
79525 kernel version for which pt_chown is not needed.
79526 (Linux): Do not mention problems with nscd with 2.0 kernels.
79527 * INSTALL: Regenerated.
79528
79529 2012-05-23 Andreas Jaeger <aj@suse.de>
79530
79531 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79532 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79533 macro.
79534 * sysdeps/unix/sysv/linux/s390/bits/mman.h
79535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79536 * sysdeps/unix/sysv/linux/sh/bits/mman.h
79537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79538 * sysdeps/unix/sysv/linux/i386/bits/mman.h
79539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79540 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79542 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79544 * sysdeps/unix/sysv/linux/bits/in.h
79545 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79546
79547 2012-05-22 Roland McGrath <roland@hack.frob.com>
79548
79549 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79550 (PREPARE_VERSION): Just use assert instead, it will be elided
79551 under [NDEBUG] anyway.
79552
79553 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
79554
79555 * sysdeps/unix/sysv/linux/Makefile: Include
79556 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79557 (sysdep_routines): Remove sysctl.
79558 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79559 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79560 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79561 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79562 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79563
79564 2012-05-22 Andreas Jaeger <aj@suse.de>
79565
79566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79567 that pseudo_end is just ret and the stack pointer is correct also
79568 for static library in error case.
79569
79570 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
79571
79572 [BZ #14122]
79573 * nss/nsswitch.c (defconfig_entries): New variable.
79574 (__nss_database_lookup): Don't leak defconfig entries.
79575 (nss_parse_service_list): Don't leak on error paths.
79576 (free_database_entries): New function.
79577 (free_defconfig): New function.
79578 (free_mem): Move common code to free_database_entries.
79579
79580 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
79581
79582 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79583 Add arch_prctl.
79584 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79585
79586 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79587 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79589 New macro.
79590 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79591 (INTERNAL_SYSCALL_TYPES): Likewise.
79592 (LOAD_ARGS_TYPES_[1-6]): Likewise.
79593 (LOAD_REGS_TYPES_[1-6]): Likewise.
79594 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79595 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79596
79597 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79598
79599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79600 copysignl for GLIBC_2_0.
79601 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79602 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79604 logbl for GLIBC_2_0.
79605 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79606 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79607
79608 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
79609
79610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
79612
79613 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79614 Use "neg %eax".
79615
79616 * time/mktime.c: Update copyright years.
79617
79618 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
79619
79620 mktime: merge comment-quoting-style change from gnulib
79621 * time/mktime.c: Quote 'like this' in comments.
79622 The GNU coding standards suggest that we no longer quote `like this',
79623 as "`" and "'" are typically rendered asymmetrically nowadays.
79624 The typical gnulib style is to quote 'like this' when quoting
79625 code, and "like this" when quoting English.
79626
79627 * time/mktime.c (compile-command): Add "-I.".
79628
79629 mktime: merge mktime-internal.h change from gnulib
79630 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79631
79632 mktime: merge time_r change from gnulib
79633 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79634
79635 mktime: merge DEBUG change from gnulib
79636 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79637 case system <time.h> has a #define.
79638
79639 mktime: merge <sys/types.h> change from gnulib
79640 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79641 since <time.t> is now guaranteed to define time_t.
79642
79643 mktime: merge HAVE_CONFIG_H change from gnulib
79644 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79645
79646 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
79647
79648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79649 Use "neg %eax".
79650
79651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79652 __rlim_t cast.
79653 (struct rusage): Use anonymous union to pad each field to
79654 __syscall_slong_t.
79655
79656 2012-05-21 David S. Miller <davem@davemloft.net>
79657
79658 * Makefules (o-iterator): Remove .s cases.
79659 (compile-command.s): Delete.
79660 (COMPILE.s): Delete.
79661 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79662
79663 2012-05-21 Joseph Myers <joseph@codesourcery.com>
79664
79665 * configure.in (libc_cv_predef_stack_protector): Only consider
79666 "foobar" and "__stack_chk_fail" lines in libc_undefs.
79667 * configure: Regenerated.
79668
79669 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
79670
79671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79672 New macro. Use R*LP on int and pointer.
79673 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79674 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79675 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79676 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79677
79678 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79679 [__WORDSIZE_TIME64_COMPAT32] instead of
79680 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79681 (struct utmp): Likewise.
79682 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79683 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79684 Renamed to ...
79685 (__WORDSIZE_TIME64_COMPAT32): This.
79686 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79687 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79688 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79689 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79690 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79691 (__WORDSIZE_TIME64_COMPAT32): New macro.
79692
79693 2012-05-21 Andreas Jaeger <aj@suse.de>
79694
79695 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79696 only if [SHARED]. Add prototype for __wcschr_ia32.
79697
79698 2012-05-21 Roland McGrath <roland@hack.frob.com>
79699
79700 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79701 of %rbp unmolested in the jmp_buf while mangling the low bits.
79702 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79703 unmolested high bits of %rbp while demangling the low bits.
79704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79705
79706 2012-05-21 Andreas Jaeger <aj@suse.de>
79707
79708 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79709 * sunrpc/svc_simple.c: Use it for registerrpc.
79710 * sunrpc/xcrypt.c: Use it for passwd2des.
79711
79712 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79713
79714 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
79715
79716 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79717 Don't define if [__SYSCALL_WORDSIZE != 32].
79718 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
79719 New macro.
79720
79721 2012-05-21 Bruno Haible <bruno@clisp.org>
79722 Andreas Jaeger <aj@suse.de>
79723
79724 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
79725 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
79726 inptr and inend for must_buffer_ch.
79727 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
79728 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
79729 * stdio-common/Makefile (tests): Remove bug15.
79730 (bug15-ENV): Remove macro.
79731 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
79732 anymore.
79733
79734 2012-05-19 Andreas Jaeger <aj@suse.de>
79735 Roland McGrath <roland@hack.frob.com>
79736
79737 * manual/contrib.texi: Completely rewritten. It contains now an
79738 alphabetical list of contributors and their contributions.
79739
79740 2012-05-21 Richard Henderson <rth@twiddle.net>
79741
79742 * misc/getauxval.c (__getauxval): Use unsigned long int.
79743 * misc/sys/auxv.h: Include <sys/cdefs.h>.
79744 (getauxval): Use unsigned long int.
79745
79746 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
79747
79748 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79749
79750 2012-05-21 Roland McGrath <roland@hack.frob.com>
79751
79752 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
79753 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
79754 __alignof__ (long double).
79755
79756 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79757
79758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79759
79760 2012-05-20 Richard Henderson <rth@twiddle.net>
79761
79762 * misc/getauxval.c: New file.
79763 * misc/sys/auxv.h: New file.
79764 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
79765 (routines): Add getauxval.
79766 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
79767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
79768 * elf/dl-sysdep.c (_dl_auxv): Remove.
79769 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
79770 * elf/dl-support.c (_dl_auxv): New variable.
79771 (_dl_aux_init): Initialize it.
79772 * manual/startup.texi (Auxiliary Vector): New node.
79773 * sysdeps/generic/bits/hwcap.h: New file.
79774 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
79775 * sysdeps/powerpc/sysdep.h: ... here. Include it.
79776 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
79777 * sysdeps/sparc/sysdep.h: ... here. Include it.
79778 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
79779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
79780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79781 Update.
79782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
79783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
79784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
79785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
79786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
79789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
79790
79791 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79792
79793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79794
79795 2012-05-19 David S. Miller <davem@davemloft.net>
79796
79797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79798
79799 2012-05-19 Joseph Myers <joseph@codesourcery.com>
79800
79801 [BZ #14123]
79802 * math/s_ccosh.c: Include <float.h>
79803 (__ccosh): Avoid internal overflow calculating sinh and cosh
79804 values before multiplying by sin and cos values.
79805 * math/s_ccoshf.c: Likewise.
79806 * math/s_ccoshl.c: Likewise.
79807 * math/s_csin.c: Likewise.
79808 * math/s_csinf.c: Likewise.
79809 * math/s_csinl.c: Likewise.
79810 * math/s_csinh.c: Likewise.
79811 * math/s_csinhf.c: Likewise.
79812 * math/s_csinhl.c: Likewise.
79813 * math/libm-test.inc (ccos_test): Add more tests.
79814 (ccosh_test): Likewise.
79815 (csin_test): Likewise.
79816 (csinh_test): Likewise.
79817 * sysdeps/i386/fpu/libm-test-ulps: Update.
79818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79819
79820 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
79821
79822 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
79823 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
79824
79825 * sysdeps/x86_64/x32/_itoa.h: Add comment.
79826
79827 2012-05-19 Joseph Myers <joseph@codesourcery.com>
79828
79829 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
79830 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
79831 * sysdeps/powerpc/soft-fp/Versions: Likewise.
79832 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
79833 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
79834 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
79835 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
79836 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
79837 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
79838 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
79839 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
79840 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
79841 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
79842 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
79843 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
79844 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
79845 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
79846 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
79847 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
79848 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
79849 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
79850 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
79851 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
79852 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
79853 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
79854 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
79855 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
79856 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
79857 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
79858 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
79859 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
79860
79861 2012-05-18 Andreas Jaeger <aj@suse.de>
79862
79863 * csu/.gitignore: Delete.
79864
79865 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
79866
79867 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
79868 (timex): Use __syscall_slong_t.
79869
79870 2012-05-18 Andreas Jaeger <aj@suse.de>
79871 Carlos O'Donell <carlos_odonell@mentor.com>
79872
79873 * manual/install.texi (Configuring and compiling): Update
79874 description about files modified in the source directory.
79875 * INSTALL: Regenerated.
79876
79877 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
79878
79879 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
79880 value. Use "or" to set return value to -1.
79881 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
79882 negate return value.
79883
79884 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79885
79886 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
79887 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
79888 failure if the compiler has Graphite support disabled.
79889 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
79890 Likewise.
79891 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
79892 (CFLAGS-memmove.c): Likewise.
79893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
79894 Likewise.
79895
79896 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
79897
79898 * sysdeps/x86_64/x32/_itoa.h: New file.
79899
79900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
79901 getdents system call only if kernel and user dirents have the
79902 same d_ino and d_off.
79903
79904 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79905 LLONG_MAX != LONG_MAX.
79906 (_itoa_word): Use _ITOA_WORD_TYPE on value.
79907 (_fitoa_word): Likewise.
79908
79909 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
79910 years.
79911 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
79912 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
79913 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
79914
79915 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
79916 include <bits/wordsize.h>. Check __x86_64__ instead of
79917 __WORDSIZE.
79918 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
79919 if __x86_64__ is defined. Use anonymous union on fpstate.
79920
79921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
79922 anonymous union.
79923
79924 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
79925
79926 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
79927 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
79928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
79929 Refer to _rtld_local_ro instead of _rtld_global_ro.
79930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
79931 Likewise.
79932 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
79933 Likewise.
79934 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
79935 Likewise.
79936 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
79937 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
79938 of _rtld_global, and rtld_progname instead of _dl_argv[0].
79939
79940 [BZ #10882]
79941 * sysdeps/powerpc/powerpc32/dl-machine.c
79942 (__elf_machine_runtime_setup) [PROF]: Don't reference
79943 _dl_prof_resolve.
79944
79945 2012-05-18 Andreas Jaeger <aj@suse.de>
79946
79947 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
79948 function only available for GCCs before 3.4 since GCC 3.4
79949 introduced a builtin.
79950 (lrint): Likewise.
79951 (llrintf): Likewise.
79952 (llrint): Likewise.
79953 (fmaxf): Likewise.
79954 (fmax): Likewise.
79955 (fminf): Likewise.
79956 (fmin): Likewise.
79957 (rint): Likewise.
79958 (rintf): Likewise.
79959 (nearbyint): Likewise.
79960 (nearbyintf): Likewise.
79961 (ceil): Likewise.
79962 (ceilf): Likewise.
79963 (floor): Likewise.
79964 (floorf): Likewise.
79965
79966 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
79967
79968 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
79969 on both fields and cast pointer to __syscall_ulong_t.
79970
79971 * bits/types.h (__fsword_t): New type.
79972 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
79973 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
79974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79975 (__FSWORD_T_TYPE): Likewise.
79976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79977 (__FSWORD_T_TYPE): Likewise.
79978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79979 (__FSWORD_T_TYPE): Likewise.
79980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
79981 (__FSWORD_T_TYPE): Likewise.
79982 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
79983 __SWORD_TYPE with __fsword_t.
79984 (statfs64): Likewise.
79985
79986 2012-05-17 David S. Miller <davem@davemloft.net>
79987
79988 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
79989
79990 2012-05-17 Andreas Jaeger <aj@suse.de>
79991
79992 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
79993 warning.
79994
79995 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
79996
79997 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
79998
79999 2012-05-17 Andreas Jaeger <aj@suse.de>
80000
80001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80002 when it is used.
80003
80004 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
80005
80006 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80007
80008 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
80009
80010 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80011 * sysdeps/x86_64/tst-mallocalign1.c: New file.
80012
80013 2012-05-17 Andreas Jaeger <aj@suse.de>
80014 Carlos O'Donell <carlos_odonell@mentor.com>
80015
80016 [BZ #14059]
80017 * sysdeps/x86_64/multiarch/init-arch.h
80018 (bit_YMM_Usable): Rename to...
80019 (bit_AVX_Usable): ... this.
80020 (bit_FMA4_Usable): New macro.
80021 (bit_XMM_state): New macro.
80022 (bit_YMM_state): New macro.
80023 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80024 [__ASSEMBLER__] (index_AVX_Usable): ... this.
80025 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80026 (CPUID_OSXSAVE): New macro.
80027 (CPUID_AVX): New macro.
80028 (CPUID_FMA4): New macro.
80029 (index_YMM_Usable): Rename to...
80030 (index_AVX_Usable): ... this.
80031 (HAS_AVX): Use HAS_ARCH_FEATURE.
80032 (HAS_FMA4): Likewise.
80033 (HAS_YMM_USABLE): Remove.
80034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80035 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80036 are present.
80037 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80038 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80039 * sysdeps/x86_64/multiarch/Makefile: Likewise.
80040 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80041 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80042
80043 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
80044
80045 * math/libm-test.c: Support platforms without multiple rounding modes.
80046 * math/bug-nextafter.c: Support platforms without FP exceptions.
80047 * math/bug-nexttoward.c: Likewise.
80048 * math/test-fenv.c: Likewise.
80049 * math/test-misc.c: Likewise.
80050 * stdlib/bug-getcontext.c: Likewise.
80051
80052 2012-05-17 Andreas Jaeger <aj@suse.de>
80053
80054 * manual/examples/search.c (critter_cmp): Change signature to
80055 avoid warnings.
80056 * manual/string.texi (Collation Functions): Likewise.
80057
80058 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80059
80060 * bits/types.h: Fold copyright years.
80061 * bits/typesizes.h: Likewise.
80062 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80066 * time/time.h: Likewise.
80067
80068 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
80069
80070 [BZ #208]
80071 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80072 in instead of returning them. Return void.
80073 (__libc_mallinfo): Accumulate over all arenas.
80074 (__malloc_stats): Adjust for change in int_mallinfo interface.
80075
80076 2012-05-16 Roland McGrath <roland@hack.frob.com>
80077
80078 [BZ #10375]
80079 * configure.in (NM): Add AC_CHECK_TOOL for it.
80080 (libc_extra_cflags): New substituted variable.
80081 Check for -fstack-protector being used implicitly.
80082 * configure: Regenerated.
80083 * config.make.in (config-extra-cflags): New variable,
80084 gets @libc_extra_cflags@.
80085 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80086
80087 [BZ #10375]
80088 * configure.in: Check for _FORTIFY_SOURCE being predefined.
80089 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80090 * configure: Regenerated.
80091 * config.make.in (CPPUNDEFS): New substituted variable.
80092 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80093 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80094 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80095
80096 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80097
80098 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80099 (mq_attr): Use __syscall_slong_t.
80100
80101 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80102
80103 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80104 Check __x86_64__ instead of __WORDSIZE.
80105 (_STAT_VER_LINUX): Likewise.
80106 (stat): Check __x86_64__ instead of __WORDSIZE. Use
80107 __syscall_ulong_t and __syscall_slong_t.
80108 (stat64): Likewise.
80109
80110 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80111
80112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80113
80114 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80115
80116 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80117
80118 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80119
80120 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80121 __syscall_ulong_t.
80122
80123 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80124 include <bits/wordsize.h>. Check __x86_64__ instead of
80125 __WORDSIZE.
80126 (greg_t): Use "__extension__ long long int" if __x86_64__ is
80127 defined.
80128 (mcontext_t): Replace "unsigned long" with "unsigned long long".
80129
80130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80131 include <bits/wordsize.h>. Check __x86_64__ instead of
80132 __WORDSIZE.
80133 (user_regs_struct): Use "__extension__ unsigned long long"
80134 instead of "unsigned long" if __x86_64__ is defined.
80135 (user): Likewise. Pad after pointer field if __ILP32__ is
80136 defined.
80137
80138 2012-05-16 Joseph Myers <joseph@codesourcery.com>
80139
80140 * configure.in (makeinfo): Require version 4.5 or later. Allow
80141 versions 5 to 9.
80142 * configure: Regenerated.
80143 * manual/install.texi (texinfo): Increase version requirement to
80144 4.5 or later.
80145 * INSTALL: Regenerated.
80146
80147 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80148
80149 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
80150
80151 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80152
80153 * sysdeps/x86_64/x32/ffs.c: New file.
80154
80155 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80156 __syscall_ulong_t.
80157 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80158 defined. Use __syscall_ulong_t.
80159 (shminfo): Use __syscall_ulong_t.
80160 (shm_info): Likewise.
80161
80162 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80163 __syscall_ulong_t.
80164
80165 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80166 <bits/wordsize.h>.
80167 (msgqnum_t): Use __syscall_ulong_t.
80168 (msglen_t): Likewise.
80169 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
80170 __syscall_ulong_t.
80171
80172 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80173 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
80174
80175 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80176
80177 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80178 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80179
80180 * sysvipc/sys/msg.h (msgbuf): Replace long int with
80181 __syscall_slong_t.
80182
80183 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80184 include <bits/wordsize.h>. Check __x86_64__ instead of
80185 __WORDSIZE.
80186
80187 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80188 "unsigned long long int" if __x86_64__ is defined.
80189 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80190
80191 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80192 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
80193 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80194
80195 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80196 <stdint.h>.
80197 (GET_PC): Cast to uintptr_t first.
80198 (GET_FRAME): Likewise.
80199 (GET_STACK): Likewise.
80200
80201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80203 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80204 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80205 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80206 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80207 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80208 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80209 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80211 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80212 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80213 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80215 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80217 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80219 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80221 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80226 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80227 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80230
80231 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
80232
80233 * Makerules (+depfiles): Also collect depfiles from .oS in
80234 $(extra-objs).
80235 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80236 .oS, $(libnldbl-routines)).
80237
80238 * Makerules (native-compile-mkdep-flags): Define.
80239 * sunrpc/Makefile (extra-objs): Add $(addprefix
80240 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80241 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80242 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
80243 calling $(make-target-directory).
80244
80245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80246
80247 * bits/types.h (__snseconds_t): Removed.
80248 * time/time.h (struct timespec): Replace __snseconds_t with
80249 __syscall_slong_t.
80250 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80251 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80252 Likewise.
80253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80254 (__SNSECONDS_T_TYPE): Likewise.
80255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80256 (__SNSECONDS_T_TYPE): Likewise.
80257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80258 (__SNSECONDS_T_TYPE): Likewise.
80259
80260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80261
80262 * sysdeps/mach/hurd/bits/typesizes.h
80263 (__SYSCALL_SLONG_TYPE): New macro.
80264 (__SYSCALL_ULONG_TYPE): Likewise.
80265
80266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80267
80268 * bits/types.h (__syscall_slong_t): New type.
80269 (__syscall_ulong_t): Likewise.
80270
80271 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80272 (__SYSCALL_ULONG_TYPE): Likewise.
80273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80274 (__SYSCALL_SLONG_TYPE): Likewise.
80275 (__SYSCALL_ULONG_TYPE): Likewise.
80276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80277 (__SYSCALL_SLONG_TYPE): Likewise.
80278 (__SYSCALL_ULONG_TYPE): Likewise.
80279 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80280 (__SYSCALL_SLONG_TYPE): Likewise.
80281 (__SYSCALL_ULONG_TYPE): Likewise.
80282
80283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80284
80285 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80286 Add sigaltstack-offsets.sym.
80287 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80288 <sigaltstack-offsets.h>.
80289 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
80290 longjmp_msg pointer.
80291 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
80292 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80293 signal stack.
80294 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80295
80296 2012-05-15 Joseph Myers <joseph@codesourcery.com>
80297
80298 * elf/stackguard-macros.h: Remove file.
80299 * sysdeps/generic/stackguard-macros.h: New file.
80300 * sysdeps/i386/stackguard-macros.h: Likewise.
80301 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80302 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80303 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80304 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80305 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80306 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80307 * sysdeps/x86_64/stackguard-macros.h: Likewise.
80308 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80309 <elf/stackguard-macros.h>.
80310
80311 [BZ #14109]
80312 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80313 __aligned__ in attribute.
80314 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80315 (gregset_t): Likewise.
80316
80317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80318
80319 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80320 * sysdeps/x86_64/64/Implies-after: Here. New file.
80321 * sysdeps/x86_64/x32/Implies-after: New file.
80322
80323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80324
80325 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80326 and access return value for _dl_profile_fixup. Use R10_LP to
80327 load frame size.
80328
80329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80330
80331 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80332
80333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80334
80335 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80336 * sysdeps/x86_64/x32/sysdep.h: New file.
80337
80338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80339
80340 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80341 * sysdeps/x86_64/setjmp.S: Likewise.
80342
80343 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80344
80345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80346 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80347 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80348 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80349 remove unused global constant.
80350
80351 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
80352
80353 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80354 include of <not-cancel.h>.
80355
80356 2012-05-15 Roland McGrath <roland@hack.frob.com>
80357
80358 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80359
80360 2012-05-15 Jeff Law <law@redhat.com>
80361 Andreas Jaeger <aj@suse.de>
80362
80363 [BZ #13594]
80364 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80365 out from...
80366 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80367 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80368 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80369 code changing __hst_map_handle.map.
80370
80371 2012-05-15 Roland McGrath <roland@hack.frob.com>
80372
80373 * configure.in (sysnames): Look for Implies-before and Implies-after
80374 files.
80375 * configure: Regenerated.
80376
80377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80378
80379 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80380 8-byte data alignment with LP_SIZE alignment.
80381
80382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80383
80384 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80385 into R10_LP.
80386
80387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80388
80389 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80390
80391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80392
80393 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80394 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80395 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80396 Likewise.
80397 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80398
80399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80400
80401 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80402 (stackinfo_sub_sp): Likewise.
80403
80404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80405
80406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80407 RAX_LP.
80408
80409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80410
80411 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80412 into R*_LP.
80413
80414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80415
80416 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80417 sizes into R*_LP.
80418
80419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80420
80421 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80422
80423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80424
80425 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80426 into R11_LP and load __x86_64_shared_cache_size_half into
80427 R8_LP.
80428
80429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
80430
80431 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80432 R8_LP.
80433
80434 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80435
80436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80437 logb for POWER7.
80438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80439 logbf for POWER7.
80440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80441 logbl for POWER7.
80442 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80443 powerpc32/power7/fpu/s_logb.c via #include.
80444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80445 powerpc32/power7/fpu/s_logbf.c via #include.
80446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80447 powerpc32/power7/fpu/s_logbl.c via #include.
80448
80449 2012-05-15 Joseph Myers <joseph@codesourcery.com>
80450
80451 * README.libm: Remove file.
80452
80453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80454
80455 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80456 count for x32. Use R*_LP and omit operand-size suffix.
80457
80458 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80459
80460 * shlib-versions: Move x86_64-.*-linux.* entries to ...
80461 * sysdeps/x86_64/64/shlib-versions: Here. New file.
80462 * sysdeps/x86_64/x32/shlib-versions: New file.
80463
80464 2012-05-14 Roland McGrath <roland@hack.frob.com>
80465
80466 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80467 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80468 Use _dl_fatal_printf instead.
80469
80470 2012-05-14 Joseph Myers <joseph@codesourcery.com>
80471
80472 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80473 set if not set by the user. Do not allow for being unset.
80474 * sysdeps/unix/sysv/linux/configure: Regenerated.
80475
80476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80477
80478 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80479 the `q' suffix from lea and replace .quad with ASM_ADDR.
80480
80481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80482
80483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80484 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
80485 instead of $17.
80486 (PTR_DEMANGLE): Likewise.
80487
80488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80489
80490 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80491 (LP_OP): Likewise.
80492 (ASM_ADDR): Likewise.
80493 (RAX_LP): Likewise.
80494 (RBP_LP): Likewise.
80495 (RBX_LP): Likewise.
80496 (RCX_LP): Likewise.
80497 (RDI_LP): Likewise.
80498 (RSI_LP): Likewise.
80499 (RSP_LP): Likewise.
80500 (R8_LP): Likewise.
80501 (R9_LP): Likewise.
80502 (R10_LP): Likewise.
80503 (R10_LP): Likewise.
80504 (R11_LP): Likewise.
80505 (R12_LP): Likewise.
80506 (R13_LP): Likewise.
80507 (R14_LP): Likewise.
80508 (R15_LP): Likewise.
80509
80510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80511
80512 * sysdeps/x86_64/x32/dl-machine.h: New file.
80513
80514 2012-05-14 Andreas Jaeger <aj@suse.de>
80515
80516 * manual/Makefile (subdir): Remove export of subdir.
80517 (all): Remove target.
80518 (.PHONY): Remove all from list.
80519 (mkinstalldirs): Remove.
80520 (.PHONY): Remove installdirs from list.
80521 ($(inst_infodir)/libc.info): Use make-target-directory.
80522 (installdirs): Remove.
80523 (subdir_%): Remove.
80524 (glibc-targets): Remove.
80525 (lib): Remove.
80526 (stubs): Remove.
80527 ($(objpfx)stubs ../po/manual.pot): Remove.
80528 ($(objpfx)stamp%): Remove.
80529 (make-target-directory): Remove.
80530 (subdir_install): Remove.
80531 (routines): Remove.
80532 (aux): Remove.
80533 (sources): Remove.
80534 (objects): Remove.
80535 (headers): Remove.
80536
80537 [BZ #13750]
80538 * manual/.gitignore: Remove, it's not needed anymore.
80539 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80540 all files in it.
80541 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80542 directory.
80543 (texis): Renamed to $(objpfx)texis.
80544 (texis-path): New, contains path to generated files.
80545 (chapters.%): Use texis-path for complete path, add extra argument
80546 libc-texinfo.sh.
80547 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80548 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80549 (summary,texi, stamp-summary): Use complete path of
80550 files. Generate files in build dir.
80551 (dir-add.texi): Build in build dir.
80552 (libm-err.texi,stamp-libm-err): Likewise.
80553 (version.texi, stamp-version): Likewise.
80554 (.%c.texi): Likewise.
80555 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80556 (mostlyclean): Remove target.
80557 (realclean): Remove target.
80558 (generated): Add new variable with contents from mostlyclean and
80559 realclean, remove entries duplicated in common-mostlyclean, add
80560 stamp-libm-err and stamp-version.
80561 (generated-dirs): Add libc directory.
80562 ($(inst_infodir)/libc.info): Install files from build dir.
80563
80564 * manual/install.texi (Configuring and compiling): Adjust since
80565 the info files are not part of the tar ball anymore.
80566
80567 2012-05-14 Andreas Jaeger <aj@suse.de>
80568
80569 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80570 variable.
80571
80572 2012-05-14 Joseph Myers <joseph@codesourcery.com>
80573
80574 [BZ #13717]
80575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80576 to 2.2.0 where earlier.
80577 * sysdeps/unix/sysv/linux/configure: Regenerated.
80578 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80579 Remove conditional code.
80580 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80581 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80582 Remove conditional code.
80583 [!__NR_lchown]: Likewise.
80584 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80585 [__NR_lchown]: Likewise.
80586 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80587 comment referencing __ASSUME_LCHOWN_SYSCALL.
80588 * sysdeps/unix/sysv/linux/i386/sigaction.c
80589 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80590 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80591 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80592 Remove conditional code.
80593 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80594 (__protocol_available): Remove #if 0 code.
80595 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80596 conditional code.
80597 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80598 * sysdeps/unix/sysv/linux/kernel-features.h
80599 (__ASSUME_GETCWD_SYSCALL): Don't define.
80600 (__ASSUME_REALTIME_SIGNALS): Likewise.
80601 (__ASSUME_PREAD_SYSCALL): Likewise.
80602 (__ASSUME_PWRITE_SYSCALL): Likewise.
80603 (__ASSUME_POLL_SYSCALL): Likewise.
80604 (__ASSUME_LCHOWN_SYSCALL): Likewise.
80605 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80606 non-SPARC.
80607 (__ASSUME_SIOCGIFNAME): Don't define.
80608 (__ASSUME_MSG_NOSIGNAL): Likewise.
80609 (__ASSUME_SENDFILE): Define unconditionally.
80610 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80611 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80612 conditional code.
80613 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80614 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80615 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80616 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80617 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80618 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80619 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80624 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80630 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80644 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80645 Remove conditional code.
80646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80647 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80648 Remove conditional code.
80649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80650 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80651 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80652 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80653 Remove conditional code.
80654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80655 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80656 Remove conditional code.
80657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80658 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80659 Remove conditional code.
80660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80661 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80662 Remove conditional code.
80663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80664 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80665 Remove conditional code.
80666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80667 * sysdeps/unix/sysv/linux/sh/pwrite64.c
80668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80670 * sysdeps/unix/sysv/linux/sigaction.c
80671 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80672 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80673 * sysdeps/unix/sysv/linux/sigpending.c
80674 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80675 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80676 * sysdeps/unix/sysv/linux/sigprocmask.c
80677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80679 * sysdeps/unix/sysv/linux/sigsuspend.c
80680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80682 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80683 (__libc_missing_rt_sigs): Remove.
80684 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80685 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80686 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80687 Remove conditional code.
80688 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80689 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80690 return 1.
80691 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80692 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80693 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80694 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80695
80696 2012-05-14 Andreas Jaeger <aj@suse.de>
80697
80698 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80699 it's not used in glibc.
80700 (__coshm1): Likewise.
80701 (__acosh1p): Likewise.
80702 (__sgn): Likewise.
80703
80704 * manual/string.texi (Copying and Concatenation): Add missing
80705 variable in concat example.
80706 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80707
80708 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80709
80710 [BZ #14103]
80711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80712 __builtin_clzl with __builtin_clzll.
80713
80714 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
80715
80716 [BZ #14104]
80717 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
80718 libc_freeres_ptr.
80719
80720 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80721
80722 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
80723 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
80724 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
80725 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
80726
80727 2012-05-14 Mike Frysinger <vapier@gentoo.org>
80728
80729 * NEWS: Update ia64 info.
80730
80731 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
80732
80733 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
80734 used as bcopy.
80735
80736 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
80737
80738 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
80739 * sysdeps/unix/syscalls.list (dup3): Likewise.
80740 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
80741 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
80742
80743 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
80744
80745 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
80746 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
80747
80748 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
80749
80750 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
80751 thread pointer.
80752 (TLS_IE): Use mov/add instead of movq/addq to load thread
80753 pointer.
80754 (TLS_GD_PREFIX): New.
80755 (TLS_GD): Use it.
80756
80757 2012-05-11 David S. Miller <davem@davemloft.net>
80758
80759 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
80760 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
80761 (_FPU_SETCW): Likewise.
80762
80763 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
80764
80765 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
80766 is 32-byte aligned.
80767
80768 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
80769
80770 [BZ #11837]
80771 * iconvdata/gb18030.c: Update tables.
80772 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
80773 characters specially.
80774 (BODY for TO_LOOP): Add encoding of missing ranges.
80775
80776 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
80777
80778 [BZ #13673]
80779 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
80780 * sysdeps/mach/hurd/dup3.c: Likewise.
80781 * sysdeps/mach/hurd/readlinkat.c: Likewise.
80782 * sysdeps/powerpc/memmove.c:: Likewise.
80783
80784 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
80785
80786 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
80787 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
80788
80789 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
80790
80791 * elf/elf.h (R_X86_64_RELATIVE64): New.
80792 (R_X86_64_NUM): Updated.
80793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
80794 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
80795 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
80796 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
80797 tst-quad1pie tst-quad2pie
80798 (modules-names): Add tst-quadmod1 tst-quadmod2.
80799 ($(objpfx)tst-quad1): New dependency.
80800 ($(objpfx)tst-quad2): Likewise.
80801 ($(objpfx)tst-quad1pie): Likewise.
80802 ($(objpfx)tst-quad2pie): Likewise.
80803 * sysdeps/x86_64/tst-quad1.c: New file.
80804 * sysdeps/x86_64/tst-quad1pie.c: New file.
80805 * sysdeps/x86_64/tst-quad2.c: Likewise.
80806 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
80807 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
80808 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
80809 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
80810 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
80811
80812 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80813
80814 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
80815 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
80816 * streams/stropts.h (t_scalar_t): Define type.
80817
80818 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
80819 (_PATH_PRESERVE): Set to "/var/lib".
80820 (_PATH_RWHODIR): Set to "/var/spool/rwho".
80821
80822 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
80823 instead of int.
80824
80825 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
80826 if __dir_mkfile succeeded.
80827
80828 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
80829 checking for _hurd_dtablesize. Unlock it right after having
80830 finished _hurd_dtable allocation.
80831
80832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80833
80834 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
80835 * sysdeps/mach/hurd/configure: Regenerated.
80836 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
80837 special-casing to...
80838 * sysdeps/gnu/configure.in: ... this new file.
80839 * sysdeps/unix/sysv/linux/configure: Regenerated.
80840 * sysdeps/gnu/configure: New generated file.
80841
80842 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
80843 for Linux: use nsec instead of usec, as well as:
80844 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
80845 members of type struct timespec.
80846 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
80847 New macros.
80848 (struct stat64): Likewise.
80849 (_STATBUF_ST_NSEC): New macro.
80850 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
80851
80852 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
80853 __strtoul_internal rather than strtoul.
80854
80855 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
80856
80857 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
80858 and reject them.
80859
80860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80861
80862 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
80863 which preserves existing values.
80864 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
80865
80866 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
80867
80868 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
80869 TIMEOUT values. Return EINVAL for NFDS values either negative or
80870 greater than FD_SETSIZE.
80871
80872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80873
80874 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
80875 allocated, call __vm_protect to finish enabling the existing space, and
80876 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
80877 allocate the remainder.
80878
80879 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
80880
80881 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
80882 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
80883
80884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80885
80886 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
80887 sysdeps/mach/hurd/readlink.c.
80888
80889 * posix/tst-sysconf.c (posix_options): Only use
80890 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
80891 _POSIX_SYNCHRONIZED_IO when they are defined
80892 * sysdeps/mach/hurd/bits/posix_opt.h:
80893 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
80894 (_XOPEN_REALTIME): Undefine macro.
80895 (_XOPEN_REALTIME_THREADS): Undefine macro.
80896 (_XOPEN_SHM): Undefine macro.
80897 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
80898 macro to -1.
80899 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
80900 macro to -1.
80901 (_POSIX_ASYNC_IO): Undefine macro.
80902 (_POSIX_PRIORITIZED_IO): Undefine macro.
80903 (_POSIX_SPIN_LOCKS): Define macro to -1.
80904
80905 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
80906 SA_NODEFER, SA_RESETHAND.
80907 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
80908 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
80909 F_DUPFD_CLOEXEC.
80910
80911 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80912
80913 * elf/Makefile (pldd-modules): Define unconditionally.
80914
80915 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80916
80917 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
80918
80919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80920
80921 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
80922 Return ENOENT when name is empty.
80923 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
80924
80925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80926
80927 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
80928
80929 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
80930
80931 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80932
80933 Fix mlock in all cases except non-readable pages.
80934 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
80935 instead of VM_PROT_ALL as parameter to __vm_wire function.
80936
80937 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
80938 (__mkdir): When path is `/', just fail with EEXIST.
80939 * sysdeps/mach/hurd/mkdirat.c: Likewise.
80940
80941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80942
80943 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
80944 <sys/uio.h> (for writev).
80945 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
80946 and <sys/param.h> (for MIN).
80947
80948 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
80949
80950 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
80951 REQUESTED_TIME. Properly set the remaining time and return EINTR
80952 if interrupted.
80953
80954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80955
80956 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
80957 Depend on against $(link-rpcuserlibs).
80958
80959 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80960
80961 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
80962 (__libc_stack_end): Do not use attribute_relro.
80963 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
80964 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
80965 to libthread-provided value.
80966 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
80967 attribute_relro.
80968
80969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
80970
80971 [BZ #3748]
80972 * bits/libc-lock.h (__libc_once_get): New macro.
80973 * sysdeps/mach/bits/libc-lock.h: Likewise.
80974 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
80975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
80976 instead of using implementation details.
80977
80978 * libio/fileops.c: Unconditionally include <kernel-features.h>.
80979 * libio/freopen.c: Likewise.
80980 * libio/freopen64.c: Likewise.
80981 * misc/syslog.c: Likewise.
80982 * nscd/connections.c: Likewise.
80983 * nscd/netgroupcache.c: Likewise.
80984 * sysdeps/posix/getcwd.c: Likewise.
80985
80986 2012-05-10 Roland McGrath <roland@hack.frob.com>
80987
80988 * math/w_ilogbf.c: Add #include <limits.h>.
80989
80990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
80991
80992 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
80993 path instead of returning without unlocking.
80994
80995 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
80996 immediate-write ioctls.
80997 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
80998
80999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
81000
81001 * sysdeps/mach/hurd/i386/init-first.c (init): Use
81002 __builtin_frame_address instead of making assumptions about the
81003 location of the return address relative to DATA. Force early load of
81004 the return address.
81005 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81006 __builtin_frame_address.
81007
81008 dup3 for GNU Hurd.
81009 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81010 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
81011 implement dup3 and do some further code clean-ups.
81012 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81013 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81014
81015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
81016
81017 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81018
81019 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81020 HURD_CRITICAL_END around holding _hurd_dtable_lock.
81021 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81022 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81023 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81024 d->port.lock.
81025
81026 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81027 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
81028 when handler == SIG_ERR, not when handler != SIG_ERR.
81029
81030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
81031
81032 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81033 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81034 definitions.
81035
81036 accept4 for GNU Hurd.
81037 * include/sys/socket.h (__libc_accept4): New prototype.
81038 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
81039 to implement __libc_accept4.
81040 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81041 __libc_accept4.
81042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81043
81044 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81045 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81046 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81047 signal-defines.sym.
81048
81049 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
81050
81051 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81052
81053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
81054
81055 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81056 assertion on O_CLOEXEC flag.
81057 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81058 * hurd/intern-fd.c: Likewise.
81059 * hurd/port2fd.c: Likewise.
81060
81061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
81062
81063 [BZ #3906]
81064 * bits/in.h (IPV6_PKTINFO): Define new macro.
81065 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81066
81067 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81068
81069 [BZ #13954]
81070 [BZ #13955]
81071 [BZ #13956]
81072 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81073 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81074 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81075 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81077 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81078 * math/libm-test.inc (logb_test) : Additional logb tests.
81079
81080 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
81081 Andreas Jaeger <aj@suse.de>
81082
81083 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81084 * configure: Regenerated.
81085 * config.h.in (LINK_OBSOLETE_RPC): New macro.
81086 * config.make.in (link-obsolete-rpc): New substituted variable.
81087 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81088 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81089 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81090 (shared-only-routines): Don't set it under [link-obsolete-rpc],
81091 so that libc.a contains the symbols.
81092 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81093 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81094 * sunrpc/auth_none.c: Likewise.
81095 * sunrpc/auth_unix.c: Likewise.
81096 * sunrpc/authdes_prot.c: Likewise.
81097 * sunrpc/authuxprot.c: Likewise.
81098 * sunrpc/clnt_gen.c: Likewise.
81099 * sunrpc/clnt_perr.c: Likewise.
81100 * sunrpc/clnt_raw.c: Likewise.
81101 * sunrpc/clnt_simp.c: Likewise.
81102 * sunrpc/clnt_tcp.c: Likewise.
81103 * sunrpc/clnt_udp.c: Likewise.
81104 * sunrpc/clnt_unix.c: Likewise.
81105 * sunrpc/des_crypt.c: Likewise.
81106 * sunrpc/des_soft.c: Likewise.
81107 * sunrpc/get_myaddr.c: Likewise.
81108 * sunrpc/key_call.c: Likewise.
81109 * sunrpc/key_prot.c: Likewise.
81110 * sunrpc/netname.c: Likewise.
81111 * sunrpc/pm_getmaps.c: Likewise.
81112 * sunrpc/pm_getport.c: Likewise.
81113 * sunrpc/pmap_clnt.c: Likewise.
81114 * sunrpc/pmap_prot.c: Likewise.
81115 * sunrpc/pmap_prot2.c: Likewise.
81116 * sunrpc/pmap_rmt.c: Likewise.
81117 * sunrpc/publickey.c: Likewise.
81118 * sunrpc/rpc_cmsg.c: Likewise.
81119 * sunrpc/rpc_common.c: Likewise.
81120 * sunrpc/rpc_dtable.c: Likewise.
81121 * sunrpc/rpc_prot.c: Likewise.
81122 * sunrpc/rpc_thread.c: Likewise.
81123 * sunrpc/rtime.c: Likewise.
81124 * sunrpc/svc.c: Likewise.
81125 * sunrpc/svc_auth.c: Likewise.
81126 * sunrpc/svc_raw.c: Likewise.
81127 * sunrpc/svc_run.c: Likewise.
81128 * sunrpc/svc_tcp.c: Likewise.
81129 * sunrpc/svc_udp.c: Likewise.
81130 * sunrpc/svc_unix.c: Likewise.
81131 * sunrpc/svcauth_des.c: Likewise.
81132 * sunrpc/xcrypt.c: Likewise.
81133 * sunrpc/xdr.c: Likewise.
81134 * sunrpc/xdr_array.c: Likewise.
81135 * sunrpc/xdr_float.c: Likewise.
81136 * sunrpc/xdr_intXX_t.c: Likewise.
81137 * sunrpc/xdr_mem.c: Likewise.
81138 * sunrpc/xdr_rec.c: Likewise.
81139 * sunrpc/xdr_ref.c: Likewise.
81140 * sunrpc/xdr_sizeof.c: Likewise.
81141 * sunrpc/xdr_stdio.c: Likewise.
81142
81143 2012-05-10 Roland McGrath <roland@hack.frob.com>
81144
81145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81146 change. Update copyright years.
81147
81148 2012-05-10 Joseph Myers <joseph@codesourcery.com>
81149
81150 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81151
81152 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
81153 Joseph Myers <joseph@codesourcery.com>
81154 Paul Pluzhnikov <ppluzhnikov@google.com>
81155
81156 [BZ #14012]
81157 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81158 requiring rpcgen.
81159 [cross-compiling] (extra-libs): Likewise.
81160 [cross-compiling] (extra-libs-others): Likewise.
81161 [cross-compiling] (librpcsvc-routines): Likewise.
81162 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81163 [cross-compiling] (omit-deps): Likewise.
81164 (sunrpc-CPPFLAGS): New variable.
81165 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81166 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81167 (cross-rpcgen-objs): New variable.
81168 (extra-objs): Append $(cross-rpcgen-objs).
81169 ($(cross-rpcgen-objs)): New rule.
81170 ($(objpfx)cross-rpcgen): Likewise.
81171 (rpcgen-cmd): Define to use $(built-program-file). Expand
81172 comment.
81173 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81174 ($(objpfx)x%.stmp): Likewise.
81175 * sunrpc/proto.h [IS_IN_build] (_): Define.
81176 [IS_IN_build] (_libc_intl_domainname): Likewise.
81177
81178 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
81179
81180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81181 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81182 and R_X86_64_TPOFF64.
81183
81184 2012-05-10 Joseph Myers <joseph@codesourcery.com>
81185
81186 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81187 sysdeps/unix/sysv/syscalls.list.
81188 (stime): Likewise.
81189 (utime): Likewise.
81190 * sysdeps/unix/sysv/syscalls.list: Remove file.
81191
81192 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
81193
81194 [BZ #3440]
81195 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81196 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81197 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81198 (__LC_IDENTIFICATION): Make these macros useful in #if
81199 expressions, as required by C99.
81200
81201 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
81202
81203 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81204 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
81205 after this.
81206
81207 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
81208
81209 * stdlib/longlong.h: Updated from GCC.
81210
81211 2012-05-09 Andreas Jaeger <aj@suse.de>
81212
81213 * nscd/nscd.c (run_modes): Make named enum, reorder so that
81214 default is first entry.
81215 (run_mode): Set type.
81216 (main): Remove informal message about syslog.
81217 (options): Fix typo.
81218
81219 [BZ #14053]
81220 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81221 to asm.
81222 (lrint): Likewise.
81223 (llrintf): Likewise.
81224 (llrint): Likewise.
81225 (rint): Likewise.
81226 (rintf): Likewise.
81227 (nearbyint): Likewise.
81228 (nearbyintf): Likewise.
81229
81230 2012-05-09 Andreas Jaeger <aj@suse.de>
81231 Pedro Alves <palves@redhat.com>
81232
81233 * nscd/nscd.c (run_mode): Use enum.
81234 (main): Cleanup coding style issue.
81235
81236 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
81237 Andreas Jaeger <aj@suse.de>
81238
81239 * nscd/nscd.c (go_background): Replaced with...
81240 (run_mode): ... this.
81241 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81242 (options): Add -F --foreground.
81243 (main): Implement it.
81244 (parse_opt): Parse it.
81245
81246 2012-05-09 Andreas Jaeger <aj@suse.de>
81247
81248 [BZ #14083]
81249 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81250 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81251 -Wconversion warning.
81252 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81253 Likewise.
81254
81255 2012-05-09 Joseph Myers <joseph@codesourcery.com>
81256
81257 * conform/data/locale.h-data (NULL): Use macro-constant. Require
81258 == 0.
81259 (LC_ALL): Use macro-int-constant.
81260 (LC_COLLATE): Likewise.
81261 (LC_CTYPE): Likewise.
81262 (LC_MESSAGES): Likewise.
81263 (LC_MONETARY): Likewise.
81264 (LC_NUMERIC): Likewise.
81265 (LC_TIME): Likewise.
81266 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81267 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81269 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81270 Specify type.
81271 [C99-based standards] (float_t): Expect type.
81272 [C99-based standards] (double_t): Expect type.
81273 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
81274 type.
81275 [C99-based standards] (HUGE_VALL): Likewise.
81276 [C99-based standards] (INFINITY): Likewise.
81277 [C99-based standards] (NAN): Likewise.
81278 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81279 [C99-based standards] (FP_NAN): Likewise.
81280 [C99-based standards] (FP_NORMAL): Likewise.
81281 [C99-based standards] (FP_SUBNORMAL): Likewise.
81282 [C99-based standards] (FP_ZERO): Likewise.
81283 [C99-based standards] (FP_FAST_FMA): Use
81284 optional-macro-int-constant. Specify type. Require == 1.
81285 [C99-based standards] (FP_FAST_FMAF): Likewise.
81286 [C99-based standards] (FP_FAST_FMAL): Likewise.
81287 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81288 [C99-based standards] (FP_ILOGBNAN): Likewise.
81289 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81290 Specify type.
81291 [C99-based standards] (MATH_ERREXCEPT): Likewise.
81292 [C99-based standards] (math_errhandling): Specify type.
81293 [ISO99 || ISO11] (signgam): Do not allow.
81294 [non-C99-based standards] (copysignf): Do not allow.
81295 [non-C99-based standards] (exp2f): Likewise.
81296 [non-C99-based standards] (log2f): Likewise.
81297 [non-C99-based standards] (modff): Allow.
81298 [non-C99-based standards] (erff): Do not allow.
81299 [non-C99-based standards] (erfcf): Likewise.
81300 [non-C99-based standards] (gammaf): Likewise.
81301 [non-C99-based standards] (hypotf): Likewise.
81302 [non-C99-based standards] (j0f): Likewise.
81303 [non-C99-based standards] (j1f): Likewise.
81304 [non-C99-based standards] (jnf): Likewise.
81305 [non-C99-based standards] (lgammaf): Likewise.
81306 [non-C99-based standards] (tgammaf): Likewise.
81307 [non-C99-based standards] (y0f): Likewise.
81308 [non-C99-based standards] (y1f): Likewise.
81309 [non-C99-based standards] (ynf): Likewise.
81310 [non-C99-based standards] (isnanf): Likewise.
81311 [non-C99-based standards] (acoshf): Likewise.
81312 [non-C99-based standards] (asinhf): Likewise.
81313 [non-C99-based standards] (atanhf): Likewise.
81314 [non-C99-based standards] (cbrtf): Likewise.
81315 [non-C99-based standards] (expm1f): Likewise.
81316 [non-C99-based standards] (ilogbf): Likewise.
81317 [non-C99-based standards] (log1pf): Likewise.
81318 [non-C99-based standards] (logbf): Likewise.
81319 [non-C99-based standards] (nextafterf): Likewise.
81320 [non-C99-based standards] (remainderf): Likewise.
81321 [non-C99-based standards] (rintf): Likewise.
81322 [non-C99-based standards] (scalbf): Likewise.
81323 [non-C99-based standards] (copysignl): Likewise.
81324 [non-C99-based standards] (exp2l): Likewise.
81325 [non-C99-based standards] (log2l): Likewise.
81326 [non-C99-based standards] (modfl): Allow.
81327 [non-C99-based standards] (erfl): Do not allow.
81328 [non-C99-based standards] (erfcl): Likewise.
81329 [non-C99-based standards] (gammal): Likewise.
81330 [non-C99-based standards] (hypotl): Likewise.
81331 [non-C99-based standards] (j0l): Likewise.
81332 [non-C99-based standards] (j1l): Likewise.
81333 [non-C99-based standards] (jnl): Likewise.
81334 [non-C99-based standards] (lgammal): Likewise.
81335 [non-C99-based standards] (tgammal): Likewise.
81336 [non-C99-based standards] (y0l): Likewise.
81337 [non-C99-based standards] (y1l): Likewise.
81338 [non-C99-based standards] (ynl): Likewise.
81339 [non-C99-based standards] (isnanl): Likewise.
81340 [non-C99-based standards] (acoshl): Likewise.
81341 [non-C99-based standards] (asinhl): Likewise.
81342 [non-C99-based standards] (atanhl): Likewise.
81343 [non-C99-based standards] (cbrtl): Likewise.
81344 [non-C99-based standards] (expm1l): Likewise.
81345 [non-C99-based standards] (ilogbl): Likewise.
81346 [non-C99-based standards] (log1pl): Likewise.
81347 [non-C99-based standards] (logbl): Likewise.
81348 [non-C99-based standards] (nextafterl): Likewise.
81349 [non-C99-based standards] (remainderl): Likewise.
81350 [non-C99-based standards] (rintl): Likewise.
81351 [non-C99-based standards] (scalbl): Likewise.
81352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81353 [non-C99-based standards] (FP_*): Do not allow.
81354 [C99-based standards] (FP_*): Change to
81355 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81356 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81357 allow.
81358 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81359 (SIG_ERR): Likewise.
81360 [X/Open-based standards] (SIG_HOLD): Likewise.
81361 (SIG_IGN): Likewise.
81362 (SIGABRT): Use macro-int-constant. Specify type. Require
81363 positive value.
81364 (SIGFPE): Likewise.
81365 (SIGILL): Likewise.
81366 (SIGINT): Likewise.
81367 (SIGSEGV): Likewise.
81368 (SIGTER): Likewise.
81369 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81370 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81371 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81372 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81373 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81374 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81375 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81376 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81377 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81378 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81379 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81380 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81381 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81382 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81383 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81384 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81385 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81386 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81387 [X/Open-based standards] (SIGTRAP): Likewise.
81388 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81389 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81390 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81391 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81392 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81393 allow.
81394
81395 2012-05-08 Ian Wienand <ianw@vmware.com>
81396
81397 [BZ #14080]
81398 * time/tzset.c (__tzset_parse_tz): Update default rules for
81399 daylight time changes in the Energy Policy Act of 2005.
81400
81401 2012-05-09 Andreas Jaeger <aj@suse.de>
81402
81403 [BZ #13983]
81404 * elf/ldconfig.c (parse_conf): Change string to make clear that
81405 ldconfig only issued a warning if ld.so.conf does not exist.
81406
81407 2012-05-08 David S. Miller <davem@davemloft.net>
81408
81409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81410 movxtod instead of popping the value on the stack.
81411
81412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81413
81414 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
81415
81416 * config.h.in: Add HAVE_ARM_PCS_VFP.
81417
81418 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
81419
81420 [BZ #13979]
81421 * include/features.h: Warn if user requests __FORTIFY_SOURCE
81422 checking but the checks are disabled for any reason.
81423
81424 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
81425
81426 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81427 and ELF64_R_TYPE with ELFW(R_TYPE).
81428
81429 2012-05-08 Joseph Myers <joseph@codesourcery.com>
81430
81431 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81432 (ulimit): Likewise.
81433
81434 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81435 (settimeofday): Likewise.
81436
81437 2012-05-08 Mike Frysinger <vapier@gentoo.org>
81438
81439 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
81440 a struct th_u2 inside the union, and move tu_block/tu_code into
81441 a new th_u3 union of tu_block/tu_code inside of that. Move
81442 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
81443 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
81444 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81445 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81446 (th_stuff): Change to th_u1.tu_stuff.
81447 (th_data): Define.
81448 (th_msg): Change to th_u1.th_u2.tu_data.
81449
81450 2012-05-07 David S. Miller <davem@davemloft.net>
81451
81452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81453
81454 [BZ #14074]
81455 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81456 (SETUP_PIC_REG): Use it.
81457 (SETUP_PIC_REG_LEAF): Use it.
81458
81459 2012-05-07 Joseph Myers <joseph@codesourcery.com>
81460
81461 [BZ #13885]
81462 [BZ #13923]
81463 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81464 USE_AS_EXPM1L.
81465 (EXPL_FINITE): Likewise.
81466 (FLDLOG): Likewise.
81467 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81468 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81469 e_expl.S.
81470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81471 USE_AS_EXPM1L.
81472 (EXPL_FINITE): Likewise.
81473 (FLDLOG): Likewise.
81474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81475 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81476 e_expl.S.
81477 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
81478 test of -max_value argument for long double.
81479 * sysdeps/i386/fpu/libm-test-ulps: Update.
81480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81481
81482 2012-05-06 David S. Miller <davem@davemloft.net>
81483
81484 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81485 quad soft-float symbols whose references which are compiler
81486 generated.
81487 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81488
81489 2012-05-06 Joseph Myers <joseph@codesourcery.com>
81490
81491 [BZ #13884]
81492 [BZ #13914]
81493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81494 USE_AS_EXP10L.
81495 (EXPL_FINITE): Likewise.
81496 (FLDLOG): Likewise.
81497 (c0): Likewise.
81498 (c1): Likewise.
81499 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
81500 Adjust comments for base varying.
81501 (__expl_finite): Change alias to EXPL_FINITE.
81502 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81503 e_expl.S.
81504 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81505 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81506 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81507 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81508 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81509 USE_AS_EXP10L.
81510 (EXPL_FINITE): Likewise.
81511 (FLDLOG): Likewise.
81512 (c0): Likewise.
81513 (c1): Likewise.
81514 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
81515 Adjust comments for base varying.
81516 (__expl_finite): Change alias to EXPL_FINITE.
81517 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
81518 tests for bugs.
81519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81520
81521 [BZ #14064]
81522 * math/libm-test.inc (check_float_internal): Correct ulp
81523 calculation for subnormal expected results.
81524
81525 2012-05-06 Andreas Jaeger <aj@suse.de>
81526
81527 * Makeconfig (+math-flags): New, set to -frounding-math.
81528 (+cflags): Add +math-flags so that all of glibc gets compiled with
81529 it.
81530
81531 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81532
81533 2012-05-05 Joseph Myers <joseph@codesourcery.com>
81534
81535 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81536 Disable one test.
81537
81538 [BZ #13787]
81539 [BZ #13922]
81540 [BZ #14036]
81541 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81542 (__ieee754_expl): Allow for and saturate large arguments.
81543 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81544 (u_threshold): Likewise.
81545 (__exp): Call __ieee754_exp before checking for overflow and
81546 underflow.
81547 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81548 (u_threshold): Likewise.
81549 (__expf): Call __ieee754_expf before checking for overflow and
81550 underflow.
81551 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81552 (u_threshold): Likewise.
81553 (__expl): Call __ieee754_expl before checking for overflow and
81554 underflow.
81555 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81556 (__ieee754_expl): Allow for and saturate large arguments.
81557 * math/libm-test.inc (exp_test): Add another test. Do not allow
81558 missing overflow exception on overflow.
81559 (expm1_test): Do not allow missing overflow exception on overflow.
81560
81561 * sysdeps/i386/fpu/e_expl.c: Move to ...
81562 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
81563 rather than using inline asm.
81564 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81565 * sysdeps/x86_64/fpu/e_expl.S: Copy from
81566 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81567
81568 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81569 (nice): Likewise.
81570 (poll): Likewise.
81571 (signal): Likewise.
81572 (time): Likewise.
81573 (times): Likewise.
81574
81575 2012-05-04 Joseph Myers <joseph@codesourcery.com>
81576
81577 * sysdeps/unix/syscalls.list (adjtime): Add entry from
81578 sysdeps/unix/common/syscalls.list.
81579 (fchmod): Likewise.
81580 (fchown): Likewise.
81581 (ftruncate): Likewise.
81582 (getrusage): Likewise.
81583 (gettimeofday): Likewise.
81584 (setpgid): Likewise.
81585 (setregid): Likewise.
81586 (setreuid): Likewise.
81587 (sigaction): Likewise.
81588 (truncate): Likewise.
81589 (vhangup): Likewise.
81590 * sysdeps/unix/common/syscalls.list: Remove file.
81591 * sysdeps/unix/bsd/Implies: Don't include unix/common.
81592 * sysdeps/unix/sysv/linux/Implies: Likewise.
81593
81594 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
81595
81596 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81598 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81599 Moved to ...
81600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81601 Here.
81602 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81603 to ...
81604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81605 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81606 to ...
81607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81608 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81609 to ...
81610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81611 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81612 to ...
81613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81614 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81615 to ...
81616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81617 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81618 to ...
81619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81620 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81621 to ...
81622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81623 Here.
81624 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81625 to ...
81626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81627 Here.
81628 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81629 to ...
81630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81631 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81632 Moved to ...
81633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81634 Here.
81635 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81636 to ...
81637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81638
81639 2012-05-04 Joseph Myers <joseph@codesourcery.com>
81640
81641 * sysdeps/unix/common/bits/dirent.h: Remove file.
81642 * sysdeps/unix/common/bits/fcntl.h: Likewise.
81643
81644 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81645 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81646 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81647 * sysdeps/unix/bsd/isatty.c: Likewise.
81648 * sysdeps/unix/bsd/tcdrain.c: Likewise.
81649 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81650 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81651
81652 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81653
81654 [BZ #13563]
81655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81656 long double comparison inaccuracies.
81657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81659
81660 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
81661
81662 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81664
81665 2012-05-04 Joseph Myers <joseph@codesourcery.com>
81666
81667 [BZ #14049]
81668 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81669 nonzero digits before rounding a hex value.
81670 * stdlib/tst-strtod.c (tests): Add another test.
81671
81672 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81673
81674 * sysdeps/s390/fpu/libm-test-ulps: Update.
81675
81676 2012-05-03 Andreas Jaeger <aj@suse.de>
81677
81678 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81679 does not get optimized out.
81680 (malloc_opt_barrier): New.
81681
81682 2012-05-03 Andreas Jaeger <aj@suse.de>
81683 Roland McGrath <roland@hack.frob.com>
81684
81685 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81686 intermediate file deletion.
81687 (generated): Add .symlist files.
81688
81689 2012-05-03 Joseph Myers <joseph@codesourcery.com>
81690
81691 [BZ #13775]
81692 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81693 Redirect under this condition.
81694 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81695 [__USE_GNU] (__dprintf_chk): Not under this condition.
81696 [__USE_GNU] (__vdprintf_chk): Likewise.
81697 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81698 under this condition.
81699 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81700 [__USE_XOPEN2K8] (dprintf): Define under this condition.
81701 [__USE_XOPEN2K8] (vdprintf): Likewise.
81702 [__USE_GNU] (__dprintf_chk): Not under this condition.
81703 [__USE_GNU] (__vdprintf_chk): Likewise.
81704 [__USE_GNU] (dprintf): Likewise.
81705 [__USE_GNU] (vdprintf): Likewise.
81706
81707 2012-05-03 Roland McGrath <roland@hack.frob.com>
81708
81709 * elf/Makefile (common-generated): Set this instead of generated for
81710 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
81711 $(all-built-dso)-derived lists.
81712
81713 2012-05-03 Andreas Jaeger <aj@suse.de>
81714
81715 * sysdeps/i386/fpu/libm-test-ulps: Update.
81716
81717 * FAQ: Removed.
81718 * FAQ.in: Likewise.
81719 * scripts/gen-FAQ.pl: Likewise.
81720 * manual/install.texi (Installation): Point to online location of
81721 FAQ.
81722 * Makefile (files-for-dist): Remove FAQ.
81723 (FAQ): Remove.
81724
81725 2012-05-02 Allan McRae <allan@archlinux.org>
81726
81727 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
81728 (LDFLAGS-reldepmod5.so): Likewise.
81729 (LDFLAGS-reldep6mod1.so): Likewise.
81730 (LDFLAGS-reldep6mod4.so): Likewise.
81731 (LDFLAGS-reldep8mod3.so): Likewise.
81732 (LDFLAGS-unload4mod1.so): Likewise.
81733 (LDFLAGS-unload4mod2.so): Likewise.
81734 (LDFLAGS-tst-initorder): Likewise.
81735 (LDFLAGS-tst-initordera2.so): Likewise.
81736 (LDFLAGS-tst-initordera3.so): Likewise.
81737 (LDFLAGS-tst-initordera4.so): Likewise.
81738 (LDFLAGS-tst-initorderb2.so): Likewise.
81739 (LDFLAGS-noload): Likewise.
81740 (LDFLAGS-next): Likewise.
81741 (LDFLAGS-order2mod1.so): Likewise.
81742 (LDFLAGS-order2mod2.so): Likewise.
81743 (LDFLAGS-tst-initorder2): Likewise.
81744 (LDFLAGS-tst-initorder2a.so): Likewise.
81745 (LDFLAGS-tst-initorder2b.so): Likewise.
81746 (LDFLAGS-tst-initorder2c.so): Likewise.
81747 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
81748
81749 2012-05-02 David S. Miller <davem@davemloft.net>
81750
81751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81752
81753 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
81754
81755 [BZ #14055]
81756 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
81757
81758 2012-05-02 Andreas Jaeger <aj@suse.de>
81759
81760 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
81761 since we manipulate rounding mode.
81762 (CPPFLAGS-test-idouble.c): Likewise.
81763 (CPPFLAGS-test-ifloat.c): Likewise.
81764 (CFLAGS-test-ldouble.c): Likewise.
81765 (CFLAGS-test-double.c): Likewise.
81766 (CFLAGS-test-float.c): Likewise.
81767 (CFLAGS-test-misc.c): Likewise.
81768 (CFLAGS-test-test-fenv.c): Likewise.
81769
81770 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81771
81772 [BZ #2550]
81773 [BZ #2570]
81774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
81775 comparisons to determine direction to adjust input.
81776
81777 2012-05-01 Roland McGrath <roland@hack.frob.com>
81778
81779 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
81780 output to the target.
81781
81782 * scripts/localplt.awk: New file.
81783 * elf/Makefile ($(objpfx)check-localplt): Target removed.
81784 (check-localplt-CFLAGS): Variable removed.
81785 ($(all-built-dso:=.jmprel)): New static pattern rule.
81786 (generated): Add those targets.
81787 (localplt-built-dso): New variable.
81788 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
81789
81790 * elf/check-localplt.c: File removed.
81791
81792 * scripts/check-execstack.awk: New file.
81793 * elf/Makefile ($(objpfx)check-execstack): Target removed.
81794 (check-execstack-CFLAGS): Variable removed.
81795 ($(objpfx)check-execstack.h): Target removed.
81796 ($(objpfx)execstack-default): New target.
81797 (generated): Add that instead of check-execstack.h.
81798 ($(all-built-dso:=.phdr)): New static pattern rule.
81799 (generated): Add those targets.
81800 * elf/check-execstack.c: File removed.
81801
81802 * scripts/check-textrel.awk: New file.
81803 * elf/Makefile ($(objpfx)check-textrel): Target removed.
81804 (check-textrel-CFLAGS): Variable removed.
81805 (all-built-dso): Use := to define.o
81806 ($(all-built-dso:=.dyn)): New static pattern rule.
81807 (generated): Add those targets.
81808 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
81809 * config.make.in (READELF): New substituted variable.
81810 * elf/check-textrel.c: File removed.
81811
81812 2012-05-01 Joseph Myers <joseph@codesourcery.com>
81813
81814 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81815 allow.
81816 * conform/data/ctype.h-data [C99-based standards] (isblank):
81817 Expect function.
81818 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
81819 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
81820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81821 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
81822 Specify type. Require positive value.
81823 (EILSEQ): Likewise.
81824 (ERANGE): Likewise.
81825 [ISO || POSIX] (EILSEQ): Do not expect.
81826 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
81827 Specify type. Require positive value.
81828 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
81829 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
81830 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
81831 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
81832 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
81833 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
81834 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
81835 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
81836 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
81837 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
81838 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
81839 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
81840 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
81841 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
81842 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
81843 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
81844 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
81845 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
81846 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
81847 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
81848 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
81849 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
81850 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
81851 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
81852 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
81853 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
81854 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
81855 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
81856 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
81857 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
81858 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
81859 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
81860 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
81861 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
81862 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
81863 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
81864 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
81865 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
81866 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
81867 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
81868 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
81869 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
81870 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
81871 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
81872 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
81873 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
81874 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
81875 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
81876 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
81877 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
81878 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
81879 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
81880 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
81881 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
81882 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
81883 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
81884 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
81885 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
81886 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
81887 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
81888 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
81889 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
81890 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
81891 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
81892 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
81893 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
81894 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
81895 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
81896 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
81897 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
81898 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
81899 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
81900 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
81901 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
81902 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
81903 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
81904 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
81905 Require >= 2.
81906 (FLT_ROUNDS): Expect as macro, not constant.
81907 (FLT_MANT_DIG): Use macro-int-constant.
81908 (DBL_MANT_DIG): Likewise.
81909 (LDBL_MANT_DIG): Likewise.
81910 (FLT_DIG): Likewise.
81911 (DBL_DIG): Likewise.
81912 (LDBL_DIG): Likewise.
81913 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
81914 (DBL_MIN_EXP): Likewise.
81915 (LDBL_MIN_EXP): Likewise.
81916 (FLT_MAX_EXP): Use macro-int-constant.
81917 (DBL_MAX_EXP): Likewise.
81918 (LDBL_MAX_EXP): Likewise.
81919 (FLT_MAX_10_EXP): Likewise.
81920 (DBL_MAX_10_EXP): Likewise.
81921 (LDBL_MAX_10_EXP): Likewise.
81922 (FLT_MAX): Use macro-constant.
81923 (DBL_MAX): Likewise.
81924 (LDBL_MAX): Likewise.
81925 (FLT_EPSILON): Use macro-constant. Give upper bound.
81926 (DBL_EPSILON): Likewise.
81927 (LDBL_EPSILON): Likewise.
81928 (FLT_MIN): Likewise.
81929 (DBL_MIN): Likewise.
81930 (LDBL_MIN): Likewise.
81931 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
81932 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
81933 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
81934 [ISO11] (FLT_HAS_SUBNORM): Likewise.
81935 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
81936 [ISO11] (DBL_DECIMAL_DIG): Likewise.
81937 [ISO11] (FLT_DECIMAL_DIG): Likewise.
81938 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
81939 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
81940 [ISO11] (FLT_TRUE_MIN): Likewise.
81941 [ISO11] (LDBL_TRUE_MIN): Likewise.
81942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81943 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
81944 (SCHAR_MIN): Use macro-int-constant. Specify type.
81945 (SCHAR_MAX): Likewise.
81946 (UCHAR_MAX): Likewise.
81947 (CHAR_MIN): Likewise.
81948 (CHAR_MAX): Likewise.
81949 (MB_LEN_MAX): Use macro-int-constant.
81950 (SHRT_MIN): Use macro-int-constant. Specify type.
81951 (SHRT_MAX): Likewise.
81952 (USHRT_MAX): Likewise.
81953 (INT_MAX): Likewise.
81954 (INT_MIN): Use macro-int-constant. Specify type. Make upper
81955 bound negative.
81956 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
81957 bound with "U".
81958 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
81959 bound with "L".
81960 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
81961 bound negative. Suffix upper bound with "L".
81962 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
81963 bound with "UL".
81964 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
81965 Specify type.
81966 [C99-based standards] (LLONG_MAX): Likewise.
81967 [C99-based standards] (ULLONG_MAX): Likewise.
81968 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
81969 == 0.
81970 [ISO11] (max_align_t): Require type.
81971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81972
81973 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
81974 from $CFLAGS, without defining away __attribute__ calls.
81975 (checknamespace): Use $CFLAGS_namespace.
81976
81977 * conform/conformtest.pl (@keywords): Only include C99 keywords
81978 for standards based on C99 or C11.
81979
81980 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
81981 Disable tests.
81982 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
81983 UNIX98]: Likewise.
81984
81985 * conform/conformtest.pl: Handle "macro-int-constant" and test for
81986 usability of symbols in #if.
81987
81988 * conform/conformtest.pl: If macro or constant types start
81989 "promoted:", expect the symbol to be of the following type
81990 promoted by the integer promotions.
81991
81992 * conform/conformtest.pl: Parse all "constant" and "macro" lines
81993 in one place. Also handle "macro-constant".
81994
81995 * conform/conformtest.pl: Only accept expected macro values with
81996 "==". Parse all "macro" lines in one place.
81997 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
81998
81999 * conform/conformtest.pl: Handle braced types on "constant" lines
82000 instead of handling "typed-constant".
82001 * conform/data/signal.h-data: Use "constant" instead of
82002 "typed-constant".
82003
82004 * conform/conformtest.pl: Handle "optional-" at start of lines in
82005 one place rather than duplicating several cases. Handle each
82006 format of "macro" line with initial "optional-".
82007
82008 * conform/conformtest.pl: Only accept expected constant or
82009 optional-constant values with "==". Parse all "constant" lines in
82010 one place. Parse all "optional-constant" lines in one place.
82011 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82012 * conform/data/fmtmsg.h-data: Likewise.
82013 * conform/data/netinet/in.h-data: Likewise.
82014 * conform/data/tar.h-data: Likewise.
82015 * conform/data/limits.h-data: Use "==" form on "constant" and
82016 "optional-constant" lines.
82017
82018 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82019 Use -std=c99 for XOPEN2K.
82020 (@knownproblems): Remove.
82021 (newtoken): Don't check %isknown.
82022
82023 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82024 Do not expect macro.
82025 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82026 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82027 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82028 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82029 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82030 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82031 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82032 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82033 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82034 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82035 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82036 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82037 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82038 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82039 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82040 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82041 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82042 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82043 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82044 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82045 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82046 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82047 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82048 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82049 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82050 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82051 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82052 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82053 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82054 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82055 [XPG3] (acosh): Likewise.
82056 [XPG3] (asinh): Likewise.
82057 [XPG3] (atanh): Likewise.
82058 [XPG3] (cbrt): Likewise.
82059 [XPG3] (expm1): Likewise.
82060 [XPG3] (ilogb): Likewise.
82061 [XPG3] (log1p): Likewise.
82062 [XPG3] (logb): Likewise.
82063 [XPG3] (nextafter): Likewise.
82064 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82065 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82066 [XPG3] (remainder): Likewise.
82067 [XPG3] (rint): Likewise.
82068 [XPG3 || XPG4 || UNIX98] (round): Likewise.
82069 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82070 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82071 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82072 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82073 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82074 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82075 [UNIX98 || XOPEN2K] (scalb): Expect.
82076 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82077 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82078 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82079 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82080 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82081 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82082 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82083 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82084 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82085 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82086 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82087 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82088 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82089 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82090 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82091 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82092 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82093 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82094 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82095 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82096 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82097 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82098 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82099 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82100 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82101 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82102 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82103 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82104 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82105 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82106 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82107 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82108 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82109 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82110 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82111 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82112 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82113 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82114 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82115 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82116 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82117 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82118 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82119 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82120 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82121 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82122 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82123 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82124 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82125 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82126 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82127 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82128 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82129 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82130 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82131 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82132 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82133 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82134 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82135 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82136 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82137 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82138 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82139 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82140 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82141 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82142 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82143 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82144 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82145 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82146 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82147 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82148 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82149 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82150 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82151 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82152 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82153 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82154 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82155 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82156 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82157 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82158 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82159 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82160 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82161 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82162 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82163 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82164 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82165 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82166 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82167 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82168 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82169 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82170 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82171 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82172 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82173 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82174 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82175 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82176 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82177 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82178 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82179 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82180 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82181 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82182 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82183 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82184 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82185 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82186 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82187 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82188 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82189 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82190 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82191 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82192 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82193 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82194 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82195 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82196 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82197 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82198 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82199 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82200 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82201 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82202 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82203 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82204 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82205 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82206 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82207 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82208 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82209 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82210 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82211 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82212 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82213
82214 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82215 _XOPEN_SOURCE_EXTENDED for XPG4.
82216
82217 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82218
82219 * Makeconfig (localtime): Remove variable.
82220 (inst_localtime-file): Likewise.
82221
82222 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
82223
82224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82225 Update.
82226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82227 Update.
82228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82229 Update.
82230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82231 Update.
82232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82233 Update.
82234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82235 Update.
82236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82237 Update.
82238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82239 Update.
82240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82241 Update.
82242
82243 2012-05-01 Joseph Myers <joseph@codesourcery.com>
82244
82245 [BZ #2550]
82246 [BZ #2570]
82247 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82248 comparisons to determine direction to adjust input.
82249 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82250 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82252 Likewise.
82253 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82254 Likewise.
82255 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82256 Likewise.
82257 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82258 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82259 Likewise.
82260 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82261 Likewise.
82262 * math/libm-test.inc (nexttoward_test): Add more tests.
82263
82264 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
82265
82266 [BZ #14040]
82267 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82268 in version GLIBC_2.1, not GLIBC_2.0.
82269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82270 Likewise.
82271
82272 2012-04-30 Joseph Myers <joseph@codesourcery.com>
82273
82274 [BZ #13942]
82275 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82276 (1 - x) * (1 + x).
82277 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82278 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82279 * math/libm-test.inc (acos_test): Add more tests.
82280 (asin_test): Likewise.
82281 * sysdeps/i386/fpu/libm-test-ulps: Update.
82282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82283
82284 [BZ #14034]
82285 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82286 of square root.
82287 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82288 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82289 * math/libm-test.inc (acos_test_tonearest): New function.
82290 (acos_test_towardzero): Likewise.
82291 (acos_test_downward): Likewise.
82292 (acos_test_upward): Likewise.
82293 (asin_test_tonearest): Likewise.
82294 (asin_test_towardzero): Likewise.
82295 (asin_test_downward): Likewise.
82296 (asin_test_upward): Likewise.
82297 (main): Call the new functions.
82298 * sysdeps/i386/fpu/libm-test-ulps: Update.
82299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82300
82301 [BZ #13884]
82302 [BZ #13924]
82303 * math/e_exp10.c: Include <float.h>.
82304 (__ieee754_exp10): Handle underflow here rather than multiplying
82305 large negative argument by M_LN10.
82306 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82307 of __ieee754_expf.
82308 * math/e_exp10l.c: Include <float.h>.
82309 (__ieee754_exp10l): Handle underflow here rather than multiplying
82310 large negative argument by M_LN10l.
82311 * math/libm-test.inc (exp10_test): Add another test. Do not allow
82312 spurious overflow exception on underflow.
82313
82314 2012-04-29 Marek Polacek <polacek@redhat.com>
82315
82316 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82317 (__fortify_function): New macro.
82318 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82319 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82320 __extern_always_inline.
82321 * libio/bits/stdio2.h: Likewise.
82322 * libio/bits/stdio.h: Likewise.
82323 * string/string.h: Likewise.
82324 * string/bits/string3.h: Likewise.
82325 * include/stdio.h: Likewise.
82326 * stdlib/bits/stdlib.h: Likewise.
82327 * stdlib/stdlib.h: Likewise.
82328 * rt/bits/mqueue2.h: Likewise.
82329 * rt/mqueue.h: Likewise.
82330 * posix/bits/unistd.h: Likewise.
82331 * posix/unistd.h: Likewise.
82332 * io/bits/poll2.h: Likewise.
82333 * io/bits/fcntl2.h: Likewise.
82334 * io/fcntl.h: Likewise.
82335 * io/sys/poll.h: Likewise.
82336 * misc/bits/syslog.h: Likewise.
82337 * misc/bits/syslog-ldbl.h: Likewise.
82338 * misc/sys/syslog.h: Likewise.
82339 * socket/bits/socket2.h: Likewise.
82340 * socket/sys/socket.h: Likewise.
82341 * debug/tst-chk1.c: Likewise.
82342 * wcsmbs/bits/wchar2.h: Likewise.
82343 * wcsmbs/bits/wchar-ldbl.h: Likewise.
82344 * wcsmbs/wchar.h: Likewise.
82345
82346 2012-04-29 Andreas Jaeger <aj@suse.de>
82347
82348 * Makerules (tests): Remove enable-check-abi protection.
82349 (check-abi-warn): Remove.
82350 (check-abi-%): Remove check-abi-warn usage.
82351
82352 * configure.in: Remove check-abi configure option.
82353 * configure: Regenerated.
82354 * config.make.in (enable-check-abi): Remove.
82355
82356 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
82357
82358 [BZ #14033]
82359 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82360 double functions to double *_finite functions.
82361
82362 [BZ #13941]
82363 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82364 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82365 LDBL_MIN_EXP.
82366 * stdio-common/Makefile (tests): Add tst-sprintf3.
82367 * stdio-common/tst-sprintf3.c: New file.
82368
82369 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82370 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82371
82372 2012-04-28 Joseph Myers <joseph@codesourcery.com>
82373
82374 * conform/conformtest.pl: Remove duplicate typed-constant
82375 handling.
82376
82377 2012-04-28 David S. Miller <davem@davemloft.net>
82378
82379 * Makerules (%.abilist): Add vpath on sysdep_dirs.
82380 (check-abi-%): Remove AWK script prerequisite and explicit
82381 abilist directory.
82382 (check-abi): Rewrite to just diff the symlist with the abilist.
82383 (config-tls, config-abi-config): Delete, no longer used.
82384 (update-abi-%): Remove AWK script and explicit abilist directory.
82385 (update-abi): Rewrite to simply compare and conditionally copy the
82386 symlist and the sysdep abilist file. Remove update-abi-config
82387 checks.
82388 * abilist/ld.abilist: Remove.
82389 * abilist/libBrokenLocale.abilist: Remove.
82390 * abilist/libanl.abilist: Remove.
82391 * abilist/libcrypt.abilist: Remove.
82392 * abilist/libdl.abilist: Remove.
82393 * abilist/librt.abilist: Remove.
82394 * abilist/libthread_db.abilist: Remove.
82395 * abilist/libutil.abilist: Remove.
82396 * scripts/extract-abilist.awk: Remove.
82397 * scripts/merge-abilist.awk: Remove.
82398 * sysdeps/generic/libcidn.abilist: New file.
82399 * sysdeps/generic/libnss_compat.abilist: New file.
82400 * sysdeps/generic/libnss_db.abilist: New file.
82401 * sysdeps/generic/libnss_dns.abilist: New file.
82402 * sysdeps/generic/libnss_files.abilist: New file.
82403 * sysdeps/generic/libnss_hesiod.abilist: New file.
82404 * sysdeps/generic/libnss_nis.abilist: New file.
82405 * sysdeps/generic/libnss_nisplus.abilist: New file.
82406 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82407 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82408 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82409 file.
82410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82411 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82412 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82413 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82414 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82415 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82416 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82417 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82418 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82419 file.
82420 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82421 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82422 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82423 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82424 file.
82425 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82426 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82427 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82428 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82429 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82430 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82431 file.
82432 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82433 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82434 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82435 file.
82436 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82438 New file.
82439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82440 New file.
82441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82442 New file.
82443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82444 New file.
82445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82446 New file.
82447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82448 New file.
82449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82450 New file.
82451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82452 New file.
82453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82454 New file.
82455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82456 New file.
82457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82458 New file.
82459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82460 New file.
82461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82462 New file.
82463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82464 file.
82465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82466 New file.
82467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82468 New file.
82469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82470 file.
82471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82472 New file.
82473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82474 New file.
82475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82476 file.
82477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82478 New file.
82479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82480 New file.
82481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82482 New file.
82483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82484 New file.
82485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82486 New file.
82487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82488 New file.
82489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82491 file.
82492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82493 New file.
82494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82495 file.
82496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82497 file.
82498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82499 file.
82500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82501 file.
82502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82503 file.
82504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82505 New file.
82506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82507 file.
82508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82509 file.
82510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82511 New file.
82512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82513 file.
82514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82516 file.
82517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82518 New file.
82519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82520 file.
82521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82522 file.
82523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82524 file.
82525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82526 file.
82527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82528 file.
82529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82530 New file.
82531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82532 file.
82533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82534 file.
82535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82536 New file.
82537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82538 file.
82539 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82540 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82541 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82542 file.
82543 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82544 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82545 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82546 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82547 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82548 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82549 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82550 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82551 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82552 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82555 file.
82556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82557 New file.
82558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82559 file.
82560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82561 file.
82562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82563 file.
82564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82565 file.
82566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82567 file.
82568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82569 New file.
82570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82571 New file.
82572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82573 file.
82574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82575 New file.
82576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82577 file.
82578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82580 file.
82581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82582 New file.
82583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82584 file.
82585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82586 file.
82587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82588 file.
82589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82590 file.
82591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82592 file.
82593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82594 New file.
82595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82596 New file.
82597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82598 file.
82599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82600 New file.
82601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82602 file.
82603
82604 2012-04-28 Joseph Myers <joseph@codesourcery.com>
82605
82606 * conform/conformtest.pl: Fix typo in handling typed-constant from
82607 allow-header.
82608
82609 2012-04-27 Joseph Myers <joseph@codesourcery.com>
82610
82611 * README: Cut down references to pre-2.6 Linux kernels and
82612 Linuxthreads. Update lists of configurations in libc and ports
82613 and sort alphabetically. Say "or newer" with Linux kernel version
82614 requirements.
82615
82616 * config.h.in [IS_IN_build]: Allow compiling without optimization.
82617
82618 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
82619
82620 [BZ #887]
82621 * math/libm-test.inc (logb_test_downward): New test to expose
82622 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82623 rounding mode.
82624
82625 2012-04-27 Joseph Myers <joseph@codesourcery.com>
82626
82627 [BZ #14027]
82628 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82629 to be done.
82630 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82631 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82632
82633 2012-04-26 Joseph Myers <joseph@codesourcery.com>
82634
82635 * sysdeps/unix/i386/brk.S: Remove file.
82636 * sysdeps/unix/i386/dl-brk.S: Likewise.
82637 * sysdeps/unix/i386/pipe.S: Likewise.
82638 * sysdeps/unix/i386/sigreturn.S: Likewise.
82639 * sysdeps/unix/i386/syscall.S: Likewise.
82640 * sysdeps/unix/i386/vfork.S: Likewise.
82641 * sysdeps/unix/i386/wait.S: Likewise.
82642
82643 * sysdeps/unix/common/tcsendbrk.c: Move to ...
82644 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82645
82646 * configure.in (arm*-none*): Do not allow without
82647 --enable-hacker-mode.
82648 (netbsd*): Remove case setting base_os.
82649 (386bsd*): Likewise.
82650 (freebsd*): Likewise.
82651 (bsdi*): Likewise.
82652 (osf*): Likewise.
82653 (sunos*): Likewise.
82654 (ultrix*): Likewise.
82655 (newsos*): Likewise.
82656 (dynix*): Likewise.
82657 (*bsd*): Likewise.
82658 (sysv*): Likewise.
82659 (isc*): Likewise.
82660 (esix*): Likewise.
82661 (sco*): Likewise.
82662 (minix*): Likewise.
82663 (irix4*): Likewise.
82664 (irix6*): Likewise.
82665 (solaris[2-9]*): Likewise.
82666 (none): Likewise.
82667 * configure: Regenerated.
82668
82669 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82670
82671 [BZ #11521]
82672 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82673 overflow or cancellation in calculating denominator.
82674 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82676 down expression to avoid unexpected rounding in newer GCCs.
82677 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82678
82679 2012-04-26 David S. Miller <davem@davemloft.net>
82680
82681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82682 long-double compat symbols.
82683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82696
82697 2012-04-25 David S. Miller <davem@davemloft.net>
82698
82699 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82700 HWCAP_* values only after the memory barriers have been defined.
82701 (atomic_full_barrier): Define.
82702 (atomic_read_barrier): Define.
82703 (atomic_write_barrier): Define.
82704
82705 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
82706
82707 * shlib-versions: Add libgcc_s version information.
82708 * sysdeps/generic/libgcc_s.h: Remove.
82709 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82710 libgcc_s.h.
82711 * sysdeps/gnu/unwind-resume.c: Likewise.
82712 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82713
82714 2012-04-25 David S. Miller <davem@davemloft.net>
82715
82716 * sysdeps/unix/sparc/brk.S: Delete.
82717 * sysdeps/unix/sparc/dl-brk.S: Delete.
82718 * sysdeps/unix/sparc/pipe.S: Delete.
82719 * sysdeps/unix/sparc/sysdep.S: Delete.
82720 * sysdeps/unix/sparc/sysdep.h: Delete.
82721 * sysdeps/unix/sparc/vfork.S: Delete.
82722 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
82723 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
82724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
82725 (ret_ERRVAL, r0, r1, MOVE): Define.
82726 (JUMPTARGET): Remove.
82727 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
82728 sysdeps/unix/sparc/sysdep.h
82729 (ENTRY, END): Remove.
82730 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82731
82732 2012-04-25 Joseph Myers <joseph@codesourcery.com>
82733
82734 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
82735 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
82736 -DIS_IN_build.
82737
82738 * timezone/README: Update upstream location and email address for
82739 tzcode and tzdata.
82740 * timezone/zdump.c: Update from tzcode 2012b.
82741 * timezone/zic.c: Likewise.
82742
82743 * configure.in (libc_cv_as_needed): Remove test.
82744 * configure: Regenerated.
82745 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
82746 conditional definition.
82747 [$(have-as-needed) != yes] (no-as-needed): Likewise.
82748 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
82749 * config.make.in (have-as-needed): Remove variable.
82750
82751 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
82752 Paul Pluzhnikov <ppluzhnikov@google.com>
82753
82754 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
82755 strings correctly.
82756
82757 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
82758
82759 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
82760 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
82761 * sysdeps/sh/strlen.S: Likewise.
82762
82763 2012-04-24 Joseph Myers <joseph@codesourcery.com>
82764
82765 * sysdeps/unix/fork.S: Remove file.
82766 * sysdeps/unix/i386/fork.S: Likewise.
82767 * sysdeps/unix/sparc/fork.S: Likewise.
82768
82769 * sysdeps/unix/system.c: Remove file.
82770 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
82771
82772 * sysdeps/unix/getegid.S: Remove file.
82773 * sysdeps/unix/geteuid.S: Likewise.
82774
82775 2012-04-24 Roland McGrath <roland@hack.frob.com>
82776
82777 * scripts/check-localplt.awk: New file.
82778 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
82779 of diff.
82780 * scripts/data/localplt-generic.data: Add a comment.
82781
82782 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
82783 NODE when __dir_mkfile failed.
82784 * sysdeps/mach/hurd/symlinkat.c: Likewise.
82785 Reported by Ludovic Courtès <ludo@gnu.org>.
82786
82787 2012-04-24 Andreas Jaeger <aj@suse.de>
82788
82789 * Makerules (common-clean): Also remove gen-as-const-headers
82790 files.
82791
82792 2012-04-24 Joseph Myers <joseph@codesourcery.com>
82793
82794 * Makerules (native-compile): Do not change working directory for
82795 build. Use $(OUTPUT_OPTION) in command.
82796 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
82797
82798 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82799
82800 [BZ #13886]
82801 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
82802 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
82803 * math/libm-test.inc (floor_test): Add more tests.
82804 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
82805
82806 2012-04-24 Joseph Myers <joseph@codesourcery.com>
82807
82808 * sysdeps/unix/getdents.c: Remove file.
82809 * sysdeps/unix/sysv/getdents.c: Likewise.
82810 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
82811
82812 * sysdeps/unix/syscalls.list (madvise): Add syscall from
82813 sysdeps/unix/mman/syscalls.list.
82814 (mmap): Likewise.
82815 (mprotect): Likewise.
82816 (msync): Likewise.
82817 (munmap): Likewise.
82818 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
82819 * sysdeps/unix/mman/syscalls.list: Remove.
82820 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
82821
82822 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
82823 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
82824 * configure: Regenerated.
82825 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
82826 $(libgcc_s_suffix).
82827 * config.make.in (libgcc_s_suffix): Remove variable.
82828
82829 2012-04-23 Joseph Myers <joseph@codesourcery.com>
82830
82831 * sysdeps/unix/sysv/gethostname.c: Move to ...
82832 * sysdeps/posix/gethostname.c: ... here.
82833
82834 * sysdeps/unix/execve.S: Remove file.
82835
82836 * sysdeps/unix/_exit.S: Remove file.
82837
82838 2012-04-23 Andreas Jaeger <aj@suse.de>
82839
82840 [BZ #13739]
82841 * manual/Makefile: Remove make dist support, there's no
82842 need for a stand-alone documentation tar ball.
82843 (TEXI2DVI): Define always, it's not in Makeconfig.
82844 (dist): Removed.
82845 (tar-it): Removed.
82846 (edition): Removed.
82847 (glibc-doc-$(edition).tar): Removed
82848 (%.Z): Removed.
82849 (%.gz): Removed.
82850 (%.uu): Removed.
82851 (ETAGS): Remove, it's in Makeconfig.
82852 (move-if-change): Remove, it's in Makeconfig.
82853
82854 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
82855
82856 [BZ #13970]
82857 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
82858 (strtod, strtof, strtold, strtol, strtoul, strtoq)
82859 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
82860 (strtod_l, strtof_l, strtold_l): Remove __wur.
82861 It is not necessarily an error to ignore strtol's return value.
82862 One can reliably look at the stored endptr to decide whether
82863 the number had valid syntax.
82864
82865 2012-04-21 Andreas Jaeger <aj@suse.de>
82866
82867 [BZ #13739]
82868 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
82869
82870 2012-04-21 Joseph Myers <joseph@codesourcery.com>
82871
82872 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
82873 * sysdeps/unix/sysv/Versions: Remove file.
82874
82875 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
82876
82877 [BZ #13927]
82878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82879
82880 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
82881
82882 [BZ #7064]
82883 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
82884 version from __vm86.
82885
82886 2012-04-20 Joseph Myers <joseph@codesourcery.com>
82887
82888 * sysdeps/unix/common/lxstat.c: Remove file.
82889 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
82890
82891 * sysdeps/unix/sysv/Makefile: Remove file.
82892
82893 * sysdeps/unix/sysv/direct.h: Remove file.
82894
82895 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
82896 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
82897 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
82898 * sysdeps/unix/sysv/bits/signum.h: Likewise.
82899 * sysdeps/unix/sysv/bits/stat.h: Likewise.
82900 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
82901 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
82902
82903 * sysdeps/unix/sysv/setrlimit.c: Remove file.
82904
82905 * sysdeps/unix/xmknod.c: Remove file.
82906 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
82907
82908 * sysdeps/unix/sysv/settimeofday.c: Remove file.
82909
82910 * sysdeps/unix/sysv/i386/time.S: Remove file.
82911
82912 * sysdeps/unix/fxstat.c: Remove file.
82913 * sysdeps/unix/xstat.c: Likewise.
82914 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
82915
82916 * sysdeps/unix/sysv/sigaction.c: Remove file.
82917
82918 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
82919 (sysdep_headers): Remove variable.
82920 [termio.h not in sysdep_headers] (generated): Likewise.
82921 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
82922 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
82923 * sysdeps/unix/sysv/tcdrain.c: Likewise.
82924 * sysdeps/unix/sysv/tcflow.c: Likewise.
82925 * sysdeps/unix/sysv/tcflush.c: Likewise.
82926 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
82927 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
82928 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
82929 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
82930 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
82931
82932 * sysdeps/unix/siglist.c: Remove file.
82933
82934 * sysdeps/unix/getppid.S: Remove file.
82935
82936 * sysdeps/unix/mkdir.c: Remove file.
82937 * sysdeps/unix/rmdir.c: Likewise.
82938
82939 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
82940
82941 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
82942 ERR_MAX value.
82943 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
82944 errlist-compat value.
82945
82946 2012-04-18 David S. Miller <davem@davemloft.net>
82947
82948 * sysdeps/generic/memcopy.h (reg_char): Delete.
82949 * debug/strcat_chk.c: Use char, not reg_char.
82950 * debug/strcpy_chk.c: Likewise.
82951 * debug/strncat_chk.c: Likewise.
82952 * debug/strncpy_chk.c: Likewise.
82953 * string/memchr.c: Likewise.
82954 * string/memrchr.c: Likewise.
82955 * string/rawmemchr.c: Likewise.
82956 * string/strcat.c: Likewise.
82957 * string/strchr.c: Likewise.
82958 * string/strchrnul.c: Likewise.
82959 * string/strcmp.c: Likewise.
82960 * string/strcpy.c: Likewise.
82961 * string/strncat.c: Likewise.
82962 * string/strncmp.c: Likewise.
82963 * string/strncpy.c: Likewise.
82964
82965 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
82966
82967 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
82968 __builtin_memcopy is called when src and dest ranges are known to not
82969 overlap.
82970
82971 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
82972
82973 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
82974 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
82975 fwd_align_merge macro call.
82976 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
82977 bwd_align_merge macro call.
82978 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82979
82980 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
82981
82982 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
82983 bwd_align_merge macros.
82984 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
82985 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
82986 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82987
82988 2012-04-18 David S. Miller <davem@davemloft.net>
82989
82990 * sysdeps/sparc/sparc64/memcopy.h: Delete.
82991
82992 2012-04-18 Andreas Jaeger <aj@suse.de>
82993
82994 [BZ #6794]
82995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
82996 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
82997 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82998
82999 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83000 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83001 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83002
83003 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83004 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83005 Adjust for changed ldbl-128 files.
83006
83007 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83008 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83009 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83010
83011 2012-04-17 David S. Miller <davem@davemloft.net>
83012
83013 * sysdeps/sparc/sparc32/memcopy.h: Delete.
83014
83015 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
83016
83017 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83018 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83019 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83020 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83021 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83022 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83023
83024 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83025
83026 [BZ #6794]
83027 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83028 * math/libm-test.inc: Add ilogb errno and exception tests.
83029 * math/w_ilogb.c: New file: ilogb wrapper.
83030 * math/w_ilogbf.c: New file: ilogbf wrapper.
83031 * math/w_ilogbl.c: New file: ilogbl wrapper.
83032 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83033 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83034 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83035 exception being thrown with 0.0 as argument.
83036 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83037 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83038 exception being thrown with 0.0 as argument.
83039 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83040 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83041 exception being thrown with 0.0 as argument.
83042 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83043 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83044 exception being thrown with 0.0 as argument.
83045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83046 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83048 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83049 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83050 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83051 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83052 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83053 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83054
83055 2012-04-17 Petr Baudis <pasky@ucw.cz>
83056
83057 * include/sys/uio.h: Change __vector to __iovec to avoid clash
83058 with altivec.
83059
83060 2012-04-16 Marek Polacek <polacek@redhat.com>
83061
83062 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83063
83064 2012-04-16 Marek Polacek <polacek@redhat.com>
83065
83066 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83067 operands of fdivp instruction.
83068
83069 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
83070
83071 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83072 * elf/tst-auditmod3b.c: Likewise.
83073 * elf/tst-auditmod4b.c: Likewise.
83074 * elf/tst-auditmod5b.c: Likewise.
83075 * elf/tst-auditmod6b.c: Likewise.
83076 * elf/tst-auditmod6c.c: Likewise.
83077 * elf/tst-auditmod7b.c: Likewise.
83078 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83079 * sysdeps/x86_64/preconfigure.in: Likewise.
83080 * sysdeps/x86_64/preconfigure: Regenerated.
83081
83082 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
83083
83084 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83085 __ILP32__.
83086
83087 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
83088
83089 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83090 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83091
83092 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
83093
83094 [BZ #13973]
83095 * locale/iso-639.def: Fix gl language name. Spotted by
83096 Yaron Shahrabani.
83097
83098 2012-04-12 Roland McGrath <roland@hack.frob.com>
83099
83100 [BZ #2074]
83101 * libio/libio.h (__io_write_fn): Update comment.
83102
83103 2012-04-12 Petr Baudis <pasky@ucw.cz>
83104
83105 [BZ #2074]
83106 * stdio.texi (Hook Functions): The user provided writer function
83107 is not allowed to return -1.
83108
83109 2012-04-11 David S. Miller <davem@davemloft.net>
83110
83111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83112
83113 2012-04-11 Mike Frysinger <vapier@gentoo.org>
83114
83115 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83116 Add a leading slash to rtkaio.
83117
83118 2012-04-11 Jim Meyering <meyering@redhat.com>
83119
83120 [BZ #11959]
83121 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83122 It is not necessarily an error to ignore fwrite's return
83123 value. One can reliably use ferror to test for errors after
83124 the fact.
83125
83126 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
83127
83128 * bits/types.h (__snseconds_t): New type.
83129 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83130
83131 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83133 (__SNSECONDS_T_TYPE): Likewise.
83134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83135 (__SNSECONDS_T_TYPE): Likewise.
83136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83137 (__SNSECONDS_T_TYPE): Likewise.
83138
83139 2012-04-10 Andreas Jaeger <aj@suse.de>
83140
83141 [BZ #2636]
83142 * manual/time.texi (Processor Time): Return type of times is
83143 elapsed real time since an arbitrary point in the past.
83144 (CPU Time): Move CLK_TCK from here...
83145 (Processor Time): ...to here. Correct description.
83146 * manual/conf.texi (Constants for Sysconf): Correct description of
83147 _SC_CLK_TCK.
83148
83149 2012-04-10 David S. Miller <davem@davemloft.net>
83150
83151 [BZ #13967]
83152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83153 where the is a gap between DT_REL(A) and DT_JMPREL.
83154
83155 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
83156
83157 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83158 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83159 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83160
83161 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
83162
83163 * elf/dl-support.c (_dl_inhibit_cache): New variable.
83164 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83165 (dl_main): Handle --inhibit-cache.
83166 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83167 _dl_inhibit_cache.
83168 * elf/dl-load.c (_dl_map_object): Use it.
83169 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83170
83171 2012-04-09 Joseph Myers <joseph@codesourcery.com>
83172
83173 [BZ #13872]
83174 * sysdeps/i386/fpu/e_powl.S (p78): New object.
83175 (__ieee754_powl): Saturate large exponents rather than testing for
83176 overflow of y*log2(x).
83177 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83178 * math/libm-test.inc (pow_test): Do not permit spurious overflow
83179 exceptions.
83180
83181 [BZ #11521]
83182 * math/s_ctan.c: Include <float.h>.
83183 (__ctan): Avoid internal overflow or cancellation in calculating
83184 denominator.
83185 * math/s_ctanf.c: Likewise.
83186 * math/s_ctanl.c: Likewise.
83187 * math/s_ctanh.c: Likewise.
83188 * math/s_ctanhf.c: Likewise.
83189 * math/s_ctanhl.c: Likewise.
83190 * math/libm-test.inc (ctan_test): Add more tests.
83191 (ctanh_test): Likewise.
83192 * sysdeps/i386/fpu/libm-test-ulps: Update.
83193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83194
83195 2012-04-09 Andreas Jaeger <aj@suse.de>
83196
83197 [BZ #6894]
83198 * manual/filesys.texi (Directory Entries): Mention that d_namlen
83199 is an optional BSD extension.
83200
83201 [BZ #10254]
83202 * manual/stdio.texi (Opening Streams): Document additional fopen
83203 parameters.
83204
83205 2012-04-09 Roland McGrath <roland@hack.frob.com>
83206
83207 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83208 %eax without telling the compiler.
83209
83210 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
83211
83212 [BZ # 13963]
83213 * manual/install.texi: Use sourceware.org.
83214
83215 2012-04-09 Joseph Myers <joseph@codesourcery.com>
83216
83217 [BZ #13873]
83218 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83219 (__ieee754_pow): Generate overflow and underflow using huge*huge
83220 and tiny*tiny rather than just returning constant infinity or zero
83221 for large exponents.
83222 * math/libm-test.inc (pow_test): Require overflow exceptions for
83223 applicable cases of large exponents.
83224
83225 [BZ #706]
83226 * sysdeps/i386/fpu/e_pow.S (p10): New object.
83227 (__ieee754_pow): Use iterative multiplication algorithm only for
83228 integer exponents with absolute value below 1024. Check for odd
83229 integer exponents when using algorithm for real exponents.
83230 * math/libm-test.inc (pow_test): Add more tests.
83231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83232
83233 2012-04-08 Joseph Myers <joseph@codesourcery.com>
83234
83235 [BZ #13705]
83236 * math/libm-test.inc (exp_test): Do not allow overflow exception
83237 on underflow test.
83238
83239 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
83240
83241 [BZ #13705]
83242 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83243 instead of __kernel_standard_f.
83244
83245 2012-04-08 Mike Frysinger <vapier@gentoo.org>
83246
83247 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83248 * sysdeps/x86_64/memset_chk.S: Likewise.
83249
83250 2012-04-08 Andreas Jaeger <aj@suse.de>
83251
83252 [BZ #10153]
83253 * manual/startup.texi (Environment Access): Describe return value
83254 for putenv and setenv.
83255
83256 [BZ #6895]
83257 * manual/filesys.texi (Directory Entries): Add description for
83258 DT_LNK.
83259
83260 [BZ #6890]
83261 * manual/filesys.texi (Directory Entries): Clarify that it's file
83262 system not operating system in the description of DT_UNKNOWN.
83263
83264 [BZ #6578]
83265 * manual/syslog.texi (closelog): Fix reference, it's openlog.
83266
83267 2012-04-08 Stephen Compall <s11@member.fsf.org>
83268
83269 [BZ #6649]
83270 * manual/llio.texi (Opening and Closing Files): Add cross
83271 reference to explain mode argument.
83272
83273 2012-04-07 Mike Frysinger <vapier@gentoo.org>
83274
83275 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83276 * sysdeps/x86_64/memset_chk.S: Likewise.
83277
83278 2012-04-07 David S. Miller <davem@davemloft.net>
83279
83280 * elf/elf.h (R_SPARC_WDISP10): Define.
83281 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83282 R_SPARC_SIZE32.
83283 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83284 R_SPARC_SIZE64 and R_SPARC_H34.
83285
83286 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
83287
83288 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83289 conditions and remove no longer applicable assertion.
83290
83291 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
83292
83293 * bits/byteswap.h: Include <features.h>.
83294 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83295 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83296
83297 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
83298
83299 * bits/byteswap.h (__bswap_16): Removed.
83300 Include <bits/byteswap-16.h> to get __bswap_16.
83301 * sysdeps/i386/bits/byteswap.h: Likewise.
83302 * sysdeps/s390/bits/byteswap.h: Likewise.
83303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
83304 * bits/byteswap-16.h: New file.
83305 * sysdeps/i386/bits/byteswap-16.h: Likewise.
83306 * sysdeps/s390/bits/byteswap-16.h: Likewise.
83307 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83308 * string/Makefile (headers): Add bits/byteswap-16.h.
83309
83310 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83311
83312 [BZ #13895]
83313 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83314 extra indirection.
83315 * nss/Makefile (tests-static, tests): Add tst-nss-static.
83316 * nss/tst-nss-static.c: New.
83317
83318 2012-04-06 Robert Millan <rmh@gnu.org>
83319
83320 [BZ #6486]
83321 * manual/llio.texi (File Position Primitive): lseek
83322 refers to WHENCE when it really means OFFSET.
83323
83324 2012-04-06 Andreas Jaeger <aj@suse.de>
83325
83326 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83327 strncmp declarations.
83328
83329 * abilist/libc.abilist: Add __poll and __ppoll.
83330
83331 2012-04-05 David S. Miller <davem@davemloft.net>
83332
83333 * scripts/check-local-headers.sh: Accept a host triplet in the
83334 path matched by the exclude regexp.
83335
83336 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83337 definition.
83338 * sysdeps/powerpc/powerpc32/dl-machine.h
83339 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83340 * sysdeps/s390/s390-32/dl-machine.h
83341 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83342 * sysdeps/sparc/sparc32/dl-machine.h
83343 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83344 * sysdeps/sparc/sparc64/dl-machine.h
83345 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83346
83347 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83348 lazy binding.
83349 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83350 undefined symbol errors.
83351
83352 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83353 DT_NEEDED entries.
83354
83355 2012-04-05 Michael Matz <matz@suse.de>
83356
83357 [BZ #13592]
83358 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83359
83360 2012-04-05 Andreas Jaeger <aj@suse.de>
83361
83362 [BZ #13908]
83363 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83364 comment.
83365
83366 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83367
83368 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83369 which ROUND is no valid rounding mode.
83370
83371 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83372
83373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83374 read again.
83375 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83376
83377 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83378
83379 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83380 an exception using FPU order intentionally.
83381
83382 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
83383
83384 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83385 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83386 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83387 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83388
83389 2012-04-05 Simon Josefsson <simon@josefsson.org>
83390
83391 [BZ #12340]
83392 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83393 EINVAL when BUFLEN is too smal.
83394
83395 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
83396
83397 [BZ #13553]
83398 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83399 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83400
83401 2012-04-03 Andreas Jaeger <aj@suse.de>
83402
83403 [BZ #13938]
83404 * manual/setjmp.texi (System V contexts): Fix sentence.
83405
83406 [BZ #13926]
83407 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83408 New macro for this case.
83409 [!__GNUC__] (__bswap_64): New inline function for this case.
83410 * sysdeps/x86_64/bits/byteswap.h: Likewise.
83411 * bits/byteswap.h: Likewise.
83412 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83413 ull, guard with __GLIBC_HAVE_LONG_LONG.
83414
83415 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83416 __GLIBC_HAVE_LONG_LONG.
83417
83418 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83419 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83420
83421 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83422
83423 [BZ #13691]
83424 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83425 inptr and inend, rather than using last_ch.
83426
83427 2012-04-02 David S. Miller <davem@davemloft.net>
83428
83429 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83430 * stdio-common/printf-parse.h (read_int): Change return type to
83431 'int', return -1 on INT_MAX overflow.
83432 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83433 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
83434 overflows INT_MAX. Check for overflow of in-format-string precision
83435 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
83436 SIZE_MAX not INT_MAX for integer overflow test.
83437 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83438 skip the construct in the format string but do not record anything.
83439 * stdio-common/bug22.c: Adjust to test both width/prevision
83440 INT_MAX overflow as well as total length INT_MAX overflow. Check
83441 explicitly for proper errno values.
83442
83443 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
83444
83445 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83446 CHAR_MAX.
83447 * string/test-strcmp.c [! WIDE]: Likewise.
83448 * time/tst-mktime2.c: Likewise for INT_MAX.
83449 * string/test-string.h: #include <sys/param.h> for MIN.
83450
83451 * csu/init-first.c (__libc_init_first): Call __ctype_init.
83452 * sysdeps/i386/init-first.c (init): Likewise.
83453 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83454 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83455 * sysdeps/sh/init-first.c (init): Likewise.
83456
83457 2012-04-01 Ulrich Drepper <drepper@gmail.com>
83458
83459 * po/ru.po: Update from translation team.
83460 * po/vi.po: Likewise.
83461
83462 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
83463
83464 * resolv/nss_dns/dns-host.c: Merge copyright years.
83465
83466 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83467
83468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83469 Optimize memcpy with prefetch if
83470 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
83471 src, dst pointers have unequal 16 byte alignments.
83472
83473 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
83474
83475 [BZ #13928]
83476 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83477 from a CNAME entry and return the minimum ttl for the query.
83478 (gaih_getanswer_slice): Likewise.
83479
83480 2012-03-30 Jeff Law <law@redhat.com>
83481
83482 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83483 due to long keys.
83484 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83485 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83486
83487 * resolv/nss_dns/dns-host.c: Update copyright year.
83488
83489 2012-03-30 Ulrich Drepper <drepper@gmail.com>
83490
83491 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83492 requests to save a system call. Fix check that all bytes are sent.
83493
83494 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83495 comments for sendmmsg.
83496
83497 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83498
83499 [BZ #13691]
83500 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83501 with only 1 character between 0x0041 and 0x01b0.
83502 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83503 * wcsmbs/tst-mbsnrtowcs.c: New file.
83504
83505 2012-03-29 David S. Miller <davem@davemloft.net>
83506
83507 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83508 small copies by hand.
83509
83510 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
83511
83512 [BZ #13761]
83513 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83514 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83515 group memberships.
83516
83517 2012-03-28 David S. Miller <davem@davemloft.net>
83518
83519 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83520 that branches into memcpy.
83521 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83524 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83526 bits.
83527 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83528 implementation too.
83529 * sysdeps/sparc/mempcpy.S: New file.
83530
83531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83532 the IFUNC routine in the libc case.
83533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83534
83535 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83536 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83537 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83538 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83539 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83540 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83541 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83542 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83543
83544 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83545 loop to 256 bytes instead of 64 bytes and fix test signedness.
83546
83547 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83548 * sysdeps/sparc/sparc32/Makefile: rather than here...
83549 * sysdeps/sparc/sparc64/Makefile: and here.
83550
83551 2012-03-28 Ulrich Drepper <drepper@gmail.com>
83552
83553 * malloc/mallocbug.c: Avoid warnings about unused variables.
83554
83555 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
83556
83557 [BZ #13760]
83558 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83559 in the right place. Discard and retry query if response is
83560 larger than input buffer size.
83561
83562 2012-03-28 Joseph Myers <joseph@codesourcery.com>
83563
83564 [BZ #369]
83565 [BZ #2678]
83566 [BZ #3866]
83567 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83568 x for large integer exponent.
83569 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83570 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
83571 sign of result as needed afterwards.
83572 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83573 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83574 result for underflowing pow the same as for overflow.
83575 (__kernel_standard_l): Handle powl overflow and underflow here
83576 rather than calling __kernel_standard.
83577 * math/libm-test.inc (pow_test): Add more tests.
83578
83579 [BZ #3868]
83580 [BZ #13879]
83581 [BZ #13910]
83582 [BZ #13911]
83583 [BZ #13912]
83584 [BZ #13913]
83585 [BZ #13915]
83586 [BZ #13916]
83587 [BZ #13917]
83588 [BZ #13918]
83589 [BZ #13919]
83590 [BZ #13920]
83591 [BZ #13921]
83592 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83593 * sysdeps/ieee754/k_standard.c: Include <float.h>.
83594 (__kernel_standard_l): New function.
83595 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83596 __kernel_standard.
83597 * math/w_acosl.c (__acosl): Likewise.
83598 * math/w_asinl.c (__asinl): Likewise.
83599 * math/w_atan2l.c (__atan2l): Likewise.
83600 * math/w_atanhl.c (__atanhl): Likewise.
83601 * math/w_coshl.c (__coshl): Likewise.
83602 * math/w_exp10l.c (__exp10l): Likewise.
83603 * math/w_exp2l.c (__exp2l): Likewise.
83604 * math/w_fmodl.c (__fmodl): Likewise.
83605 * math/w_hypotl.c (__hypotl): Likewise.
83606 * math/w_j0l.c (__j0l, __y0l): Likewise.
83607 * math/w_j1l.c (__j1l, __y1l): Likewise.
83608 * math/w_jnl.c (__jnl, __ynl): Likewise.
83609 * math/w_lgammal.c (__lgammal): Likewise.
83610 * math/w_log10l.c (__log10l): Likewise.
83611 * math/w_log2l.c (__log2l): Likewise.
83612 * math/w_logl.c (__logl): Likewise.
83613 * math/w_powl.c (__powl): Likewise.
83614 * math/w_remainderl.c (__remainderl): Likewise.
83615 * math/w_scalbl.c (sysv_scalbl): Likewise.
83616 * math/w_sinhl.c (__sinhl): Likewise.
83617 * math/w_sqrtl.c (__sqrtl): Likewise.
83618 * math/w_tgammal.c (__tgammal): Likewise.
83619 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83620 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83621 * math/libm-test.inc (acos_test): Add more tests.
83622 (acosh_test): Likewise.
83623 (asin_test): Likewise.
83624 (atanh_test): Likewise.
83625 (exp_test): Likewise.
83626 (exp10_test): Likewise.
83627 (exp2_test): Likewise.
83628 (expm1_test): Likewise.
83629 (lgamma_test): Likewise.
83630 (log_test): Likewise.
83631 (log10_test): Likewise.
83632 (log1p_test): Likewise.
83633 (log2_test): Likewise.
83634 (pow_test): Do not allow some spurious overflow exceptions.
83635 (sqrt_test): Add more tests.
83636 (tgamma_test): Likewise.
83637 (y0_test): Likewise.
83638 (y1_test): Likewise.
83639 (yn_test): Likewise.
83640
83641 2012-03-27 Anton Blanchard <anton@samba.org>
83642
83643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83644 MAP_HUGETLB.
83645 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83646 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83647 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83648
83649 2012-03-27 David S. Miller <davem@davemloft.net>
83650
83651 * conform/Makefile: Run run-conformtest.sh using $(BASH).
83652
83653 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83654 have-as-vis3 check.
83655
83656 2012-03-27 Andreas Jaeger <aj@suse.de>
83657
83658 * sysdeps/x86_64/elf/configure.in: Moved to ...
83659 * sysdeps/x86_64/configure.in: ... here.
83660 * sysdeps/x86_64/elf/start.S: Moved to ...
83661 * sysdeps/x86_64/start.S: ... here.
83662 * sysdeps/x86_64/elf/configure: Delete.
83663
83664 * sysdeps/x86_64/configure.in: Merge contents from
83665 sysdeps/i386/configure.in (without i686 check).
83666
83667 * sysdeps/i386/elf/Versions: Merge into ...
83668 * sysdeps/i386/Versions: ... this.
83669 * sysdeps/i386/elf/Versions: Delete file.
83670 * sysdeps/i386/elf/start.S: Moved to ...
83671 * sysdeps/i386/start.S: ...here.
83672 * sysdeps/i386/elf/configure.in: Merge into...
83673 * sysdeps/i386/configure.in: ...here.
83674 * sysdeps/i386/elf/configure.in: Delete file.
83675 * sysdeps/i386/elf/configure: Delete file.
83676
83677 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83678 * debug/backtracesyms.c: ... here.
83679 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83680 * debug/backtracesymsfd.c: ... here.
83681 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83682 * sysdeps/generic/ifunc-sel.h: ... here.
83683
83684 * sysdeps/unix/i386/start.c: Delete file.
83685 * sysdeps/unix/sparc/start.c: Delete file.
83686 * sysdeps/unix/start.c: Delete file.
83687
83688 * sysdeps/sh/elf/configure.in: Moved to ...
83689 * sysdeps/sh/configure.in: ... here.
83690 * sysdeps/sh/elf/start.S: Moved to ...
83691 * sysdeps/sh/start.S: ... here.
83692 * sysdeps/sh/elf/configure: Delete file.
83693
83694 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83695 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83696 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83697 * sysdeps/powerpc/powerpc64/entry.h: ... here.
83698 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83699 * sysdeps/powerpc/powerpc64/start.S: here.
83700 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83701 * sysdeps/powerpc/powerpc64/Makefile: ... this.
83702 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83703 * sysdeps/powerpc/powerpc64/configure.in: ... this.
83704 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83705
83706 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83707 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83708 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83709 * sysdeps/powerpc/powerpc32/start.S: ... here.
83710 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83711 * sysdeps/powerpc/powerpc32/configure.in: ... this.
83712 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83713
83714 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83715 * sysdeps/powerpc/ifunc-sel.h: ... here.
83716 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83717 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
83718
83719 * sysdeps/sparc/elf/configure.in: Moved to ...
83720 * sysdeps/sparc/configure.in: ... here.
83721 * sysdeps/sparc/elf/configure: Delete file.
83722 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83723 * sysdeps/sparc/sparc32/start.S: ... here.
83724 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
83725 * sysdeps/sparc/sparc64/start.S: ... here.
83726 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
83727 * sysdeps/sparc/sparc32/Makefile: ... this.
83728 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
83729 * sysdeps/sparc/sparc64/Makefile: ... this.
83730
83731 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
83732 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
83733 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
83734 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
83735 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
83736 * sysdeps/s390/s390-32/setjmp.S: ... here.
83737 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
83738 * sysdeps/s390/s390-32/configure.in: ... here.
83739 * sysdeps/s390/s390-32/elf/configure: Delete file.
83740 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
83741 * sysdeps/s390/s390-32/start.S: ... here.
83742
83743 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
83744 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
83745 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
83746 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
83747 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
83748 * sysdeps/s390/s390-64/setjmp.S: ... here.
83749 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
83750 * sysdeps/s390/s390-64/configure.in: ... here
83751 * sysdeps/s390/s390-64/elf/configure: Delete file.
83752 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
83753 * sysdeps/s390/s390-64/start.S: ... here.
83754 * sysdeps/s390/s390-64/elf/configure: Delete.
83755
83756 * configure.in: Remove support for elf directories in sysdeps.
83757
83758 * configure: Regenerated.
83759 * sysdeps/i386/configure: Regenerated.
83760 * sysdeps/powerpc/powerpc32/configure: Regenerated.
83761 * sysdeps/powerpc/powerpc64/configure: Regenerated.
83762 * sysdeps/s390/s390-32/configure: Regenerated.
83763 * sysdeps/s390/s390-64/configure: Regenerated.
83764 * sysdeps/sh/configure: Regenerated.
83765 * sysdeps/sparc/configure: Regenerated.
83766 * sysdeps/x86_64/configure: Regenerated.
83767
83768 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
83769
83770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83771
83772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
83773 denormal result into account.
83774
83775 2012-03-25 Roland McGrath <roland@hack.frob.com>
83776
83777 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
83778 Reported by Allan McRae <allan@archlinux.org>.
83779
83780 2012-03-23 Jeff Law <law@redhat.com>
83781
83782 * nss/getnssent.c (__nss_getent): Fix typo.
83783
83784 2012-03-23 David S. Miller <davem@davemloft.net>
83785
83786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83787
83788 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
83789
83790 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
83791 to pad to uint64_t for each field.
83792 (dl_tls_index): Replace unsigned long with uint64_t.
83793
83794 2012-03-23 Daniel Jacobowitz <dmj@google.com>
83795 Paul Pluzhnikov <ppluzhnikov@google.com>
83796
83797 [BZ #6528]
83798 * grp/Makefile (otherlibs): Don't set it.
83799 * inet/Makefile (otherlibs): Likewise.
83800 * login/Makefile (otherlibs): Likewise.
83801 * nscd/Makefile (otherlibs): Likewise.
83802 * posix/Makefile (otherlibs): Likewise.
83803 * pwd/Makefile (otherlibs): Likewise.
83804 * rt/Makefile (otherlibs): Likewise.
83805 * sunrpc/Makefile (otherlibs): Likewise.
83806 * nss/Makefile (otherlibs): Likewise.
83807 Add libnss_files to routines and static-only-routines.
83808 ($(objpfx)getent): Remove rule.
83809 * resolv/Makefile: Add libnss_dns and libresolv to routines and
83810 static-only-routines.
83811
83812 2012-03-22 Joseph Myers <joseph@codesourcery.com>
83813
83814 [BZ #13892]
83815 * math/s_cexp.c: Include <float.h>.
83816 (__cexp): Handle exp result overflowing not necessarily
83817 overflowing both real and imaginary parts of result.
83818 * math/s_cexpf.c: Likewise.
83819 * math/s_cexpl.c: Likewise.
83820 * math/libm-test.inc (cexp_test): Add more tests.
83821 * sysdeps/i386/fpu/libm-test-ulps: Update.
83822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83823
83824 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
83825
83826 * include/link.h (ELFW): New macro.
83827 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
83828 Replace ELF64_R_TYPE with ELFW(R_TYPE).
83829
83830 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
83831
83832 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
83833 with uint64_t.
83834
83835 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
83836
83837 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
83838 declaration.
83839 (struct La_x32_retval): Likewise.
83840
83841 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
83842
83843 * sysdeps/x86_64/preconfigure.in: New file.
83844 * sysdeps/x86_64/preconfigure: New generated file.
83845
83846 2012-03-22 Joseph Myers <joseph@codesourcery.com>
83847
83848 [BZ #13824]
83849 * math/e_exp2l.c: Include <float.h>.
83850 (__ieee754_exp2l): Handle overflow and underflow cases
83851 separately. Only pass fractional part of argument to
83852 __ieee754_expl.
83853 * math/libm-test.inc (exp2_test): Add more tests.
83854
83855 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
83856 negating x to take absolute value.
83857 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
83858 Likewise.
83859 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
83860 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
83861 Likewise.
83862 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
83863 computing low part if x was negated.
83864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
83865
83866 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
83867
83868 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
83869 la_x32_gnu_pltexit.
83870 (pltexit): Cast int_retval to ptrdiff_t.
83871 * elf/tst-auditmod3b.c: Likewise.
83872 * elf/tst-auditmod4b.c: Likewise.
83873 * elf/tst-auditmod5b.c: Likewise.
83874 * elf/tst-auditmod6b.c: Likewise.
83875 * elf/tst-auditmod6c.c: Likewise.
83876 * elf/tst-auditmod7b.c: Likewise.
83877
83878 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
83879 and x32_gnu_pltexit.
83880
83881 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
83882 __ELF_NATIVE_CLASS.
83883 (La_x32_regs): New macro.
83884 (La_x32_retval): Likewise.
83885 (la_x32_gnu_pltenter): New function prototype.
83886 (la_x32_gnu_pltexit): Likewise.
83887
83888 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
83889
83890 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
83891 exponent.
83892
83893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83894
83895 * configure.in (libc_cv_cc_nofma): Check for option to disable
83896 generation of FMA instructions.
83897 * configure: Regenerate.
83898 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
83899 * sysdeps/ieee754/dbl-64/Makefile: New file.
83900 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
83901 Remove brandred-fma4.
83902 (CFLAGS-brandred-fma4.c): Remove.
83903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
83904 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
83905 define.
83906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
83907 define.
83908
83909 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
83910
83911 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
83912 LLONG_MAX != LONG_MAX.
83913 (_itoa_word): Use _ITOA_WORD_TYPE on value.
83914 (_fitoa_word): Likewise.
83915 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
83916 LLONG_MAX != LONG_MAX.
83917 * stdio-common/_itowa.h: Include <_itoa.h>.
83918 (_itowa_word): Use _ITOA_WORD_TYPE on value.
83919 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
83920 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
83921 only if not defined.
83922 (_ITOA_WORD_TYPE): Likewise.
83923 (_itoa_word): Use _ITOA_WORD_TYPE on value.
83924 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
83925
83926 2012-03-21 David S. Miller <davem@davemloft.net>
83927
83928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83929
83930 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
83931
83932 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
83933 of x86_64 when setting libc_cv_slibdir, libdir and
83934 libc_cv_localedir.
83935 * sysdeps/unix/sysv/linux/configure: Regenerated.
83936
83937 2012-03-21 Joseph Myers <joseph@codesourcery.com>
83938
83939 * manual/lang.texi (Old Varargs): Remove section.
83940 (How Variadic): Update menu.
83941 (va_start): Do not mention varargs.h.
83942
83943 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
83944 Joseph Myers <joseph@codesourcery.com>
83945
83946 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
83947 link test.
83948 * configure: Regenerated.
83949
83950 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
83951
83952 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
83953 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
83954 conformtest.pl
83955
83956 2012-03-21 Joseph Myers <joseph@codesourcery.com>
83957
83958 * NOTES: Remove.
83959 * Makefile (files-for-dist): Remove NOTES.
83960 (NOTES): Remove rule.
83961 * README: Don't refer to NOTES.
83962 * manual/creature.texi: Don't include macros.texi.
83963 * manual/intro.texi (creature.texi): Remove comment referring to
83964 NOTES.
83965
83966 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
83967 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
83968 * configure: Regenerated.
83969 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
83970 LIBC_TRY_CC_OPTION.
83971 (libc_cv_as_i686): Likewise.
83972 (libc_cv_cc_avx): Likewise.
83973 (libc_cv_cc_sse2avx): Likewise.
83974 (libc_cv_cc_fma4): Likewise.
83975 (libc_cv_cc_novzeroupper): Likewise.
83976 * sysdeps/i386/configure: Regenerated.
83977
83978 [BZ #13883]
83979 * sysdeps/i386/fpu/s_cexp.S: Remove.
83980 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83981 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83982 * math/libm-test.inc (cexp_test): Add more tests.
83983 * sysdeps/i386/fpu/libm-test-ulps: Update.
83984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83985
83986 2012-03-21 Allan McRae <allan@archlinux.org>
83987
83988 * timezone/Makefile: Do not install iso3166.tab and zone.tab
83989
83990 2012-03-21 Joseph Myers <joseph@codesourcery.com>
83991
83992 [BZ #13871]
83993 * math/w_exp2.c: Do not include <float.h>.
83994 (o_threshold, u_threshold): Remove.
83995 (__exp2): Calculate result before checking finiteness and calling
83996 __kernel_standard.
83997 * math/w_exp2f.c: Likewise.
83998 * math/w_exp2l.c: Likewise.
83999 * math/libm-test.inc (exp2_test): Require overflow exception for
84000 1e6 input.
84001
84002 [BZ #3866]
84003 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84004 range of signed 64-bit integers before using fistpll. Remove
84005 checks for whether integers fit in mantissa bits.
84006 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84007 the range of signed 32-bit integers before using fistpl. Remove
84008 checks for whether integers fit in mantissa bits.
84009 * sysdeps/i386/fpu/e_powl.S (p64): New object.
84010 (__ieee754_powl): Test for y outside the range of signed 64-bit
84011 integers before using fistpll. Reduce 64-bit values to 63-bit
84012 ones as needed.
84013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84014 divide-by-zero is raised for zero to large negative powers.
84015 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84016 (__ieee754_powl): Test for y outside the range of signed 64-bit
84017 integers before using fistpll. Reduce 64-bit values to 63-bit
84018 ones as needed.
84019 * math/libm-test.inc (pow_test): Add more tests.
84020
84021 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
84022
84023 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84024 <stdio-common/_itoa.h>.
84025 * debug/segfault.c: Likewise.
84026 * elf/dl-cache.c: Likewise.
84027 * elf/dl-minimal.c: Likewise.
84028 * elf/dl-misc.c: Likewise.
84029 * elf/dl-sysdep.c: Likewise.
84030 * elf/dl-version.c: Likewise.
84031 * elf/rtld.c: Likewise.
84032 * hurd/hurdsock.c: Likewise.
84033 * hurd/lookup-retry.c: Likewise.
84034 * malloc/malloc.c: Likewise.
84035 * malloc/mtrace.c: Likewise.
84036 * nscd/nscd_getgr_r.c: Likewise.
84037 * nscd/nscd_getpw_r.c: Likewise.
84038 * nscd/nscd_getserv_r.c: Likewise.
84039 * posix/getopt_init.c: Likewise.
84040 * posix/wordexp.c: Likewise.
84041 * stdio-common/_itoa.c: Likewise.
84042 * stdio-common/printf_fphex.c: Likewise.
84043 * stdio-common/vfprintf.c: Likewise.
84044 * string/_strerror.c: Likewise.
84045 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84046 * sysdeps/i386/i686/hp-timing.h: Likewise.
84047 * sysdeps/mach/_strerror.c: Likewise.
84048 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84049 * sysdeps/mach/hurd/sethostid.c: Likewise.
84050 * sysdeps/mach/hurd/xmknodat.c: Likewise.
84051 * sysdeps/mach/xpg-strerror.c: Likewise.
84052 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84053 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84054 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84055 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84056 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84057 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84058 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84059 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84060 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84061 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84062 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84063 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84064 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84065 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84066 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84067 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84068 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84069 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84070 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84071 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84072 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84073
84074 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84075
84076 * stdio-common/_itoa.h: Moved to ...
84077 * sysdeps/generic/_itoa.h: Here.
84078
84079 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84080
84081 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84082 instead of "_itoa.h" and "_itowa.h".
84083 * stdio-common/vfprintf.: Likewise.
84084
84085 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
84086
84087 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84088 <bits/wordsize.h>.
84089 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84090 (__signbit): Likewise.
84091 (llrintf): Likewise.
84092 (llrint): Likewise.
84093
84094 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
84095
84096 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84097 __WORDSIZE != 64.
84098
84099 2012-03-20 Joseph Myers <joseph@codesourcery.com>
84100
84101 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84102 OVERFLOW_EXCEPTION_OK.
84103 * math/libm-test.inc ("Philosophy"): Update comment about
84104 exception testing.
84105 (OVERFLOW_EXCEPTION): Define.
84106 (OVERFLOW_EXCEPTION_OK): Likewise.
84107 (INVALID_EXCEPTION_OK): Renumber.
84108 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84109 (IGNORE_ZERO_INF_SIGN): Likewise.
84110 (test_exceptions): Handle FE_OVERFLOW.
84111 (exp10_test): Expect overflow exceptions.
84112 (exp2_test): Likewise.
84113 (expm1_test): Likewise.
84114 (nextafter_test): Likewise.
84115 (pow_test): Likewise.
84116 (scalbn_test): Likewise.
84117 (scalbln_test): Likewise.
84118
84119 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84120
84121 * sysdeps/x86_64/bits/atomic.h
84122 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84123 64bit integer.
84124 (atomic_exchange_acq): Likewise.
84125 (__arch_exchange_and_add_body): Likewise.
84126 (__arch_add_body): Likewise.
84127 (atomic_add_negative): Likewise.
84128 (atomic_add_zero): Likewise.
84129
84130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84131
84132 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84133 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84134
84135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84136
84137 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84138 Check __x86_64__ instead of __WORDSIZE.
84139
84140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84141
84142 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84143
84144 2012-03-19 David S. Miller <davem@davemloft.net>
84145
84146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84147
84148 * sysdeps/sparc/fpu/fenv_private.h: New file.
84149 * sysdeps/sparc/fpu/math_private.h: Use it.
84150 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84151 Remove.
84152 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84153 (libc_feholdexcept_setroundl): Remove.
84154 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84155 Remove.
84156 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84157 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84158
84159 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84160
84161 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84162 int64_t instead of long int.
84163 (INSERT_WORDS64): Likewise.
84164
84165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
84166
84167 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84168 _Unwind_GetCFA return to _Unwind_Ptr first.
84169
84170 2012-03-19 Joseph Myers <joseph@codesourcery.com>
84171
84172 [BZ #13629]
84173 * math/s_clog.c: Include <float.h>.
84174 (__clog): Scale large or subnormal inputs.
84175 * math/s_clogf.c: Likewise.
84176 * math/s_clogl.c: Likewise.
84177 * math/s_clog10.c: Include <float.h>.
84178 (M_LOG10_2): Define.
84179 (__clog10): Scale large or subnormal inputs.
84180 * math/s_clog10f.c: Likewise.
84181 * math/s_clog10l.c: Likewise.
84182 * math/libm-test.inc (clog_test): Add more tests.
84183 (clog10_test): Likewise.
84184 * sysdeps/i386/fpu/libm-test-ulps: Update.
84185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84186
84187 [BZ #11451]
84188 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84189 x and y.
84190 * math/libm-test.inc (atan2_test): Add another test.
84191
84192 * Makerules (common-objdir-compile): Remove.
84193 * sysdeps/unix/Makefile (config-generated): Do not add
84194 $(unix-generated) to variable.
84195 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84196 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84197 Remove rule.
84198 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84199 Likewise.
84200 [generic bits/local_lim.h] (before-compile): Do not append to
84201 variable.
84202 [generic bits/local_lim.h] (common-generated): Likewise.
84203 [generic sys/param.h] (before-compile): Do not append to variable.
84204 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84205 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84206 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84207 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84208 include.
84209 [generic sys/param.h] (sys/param.h-includes): Remove variable.
84210 [generic sys/param.h] (sys/param.h-includes): Remove rule.
84211 [generic sys/param.h] ($(addprefix
84212 $(common-objpfx),$(sys/param.h-includes))): Likewise.
84213 [generic sys/param.h] (common-generated): Do not append to
84214 variable.
84215 [generic sys/param.h] (sysdep_headers): Likewise.
84216 [generic bits/errno.h] (before-compile): Do not append to
84217 variable.
84218 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84219 rule.
84220 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84221 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84222 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84223 [generic bits/errno.h] (common-generated): Do not append to
84224 variable.
84225 [generic bits/ioctls.h] (before-compile): Do not append to
84226 variable.
84227 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84228 rule.
84229 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84230 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84231 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84232 rule.
84233 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84234 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84235 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84236 [generic bits/ioctls.h] (common-generated): Do not append to
84237 variable.
84238 [generic sys/syscall.h] (syscall.h): Remove variable.
84239 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84240 rule.
84241 [generic sys/syscall.h] (before-compile): Do not append to
84242 variable.
84243 [generic sys/syscall.h] (common-generated): Likewise.
84244 * sysdeps/unix/errnos-tmpl.c: Remove file.
84245 * sysdeps/unix/errnos.awk: Likewise.
84246 * sysdeps/unix/ioctls-tmpl.c: Likewise.
84247 * sysdeps/unix/ioctls.awk: Likewise.
84248 * sysdeps/unix/mk-local_lim.c: Likewise.
84249 * sysdeps/unix/snarf-ioctls: Likewise.
84250
84251 2012-03-19 Richard Henderson <rth@twiddle.net>
84252
84253 * sysdeps/i386/fpu/fenv_private.h: New file.
84254 * sysdeps/i386/fpu/math_private.h: Use it.
84255 (math_opt_barrier, math_force_eval): Remove.
84256 (libc_feholdexcept_setround_53bit): Remove.
84257 (libc_feupdateenv_53bit): Remove.
84258 * sysdeps/x86_64/fpu/math_private.h: Likewise.
84259 (math_opt_barrier, math_force_eval): Remove.
84260 (libc_feholdexcept): Remove.
84261 (libc_feholdexcept_setround): Remove.
84262 (libc_fetestexcept, libc_fesetenv): Remove.
84263 (libc_feupdateenv_test): Remove.
84264 (libc_feupdateenv, libc_feholdsetround): Remove.
84265 (libc_feresetround): Remove.
84266
84267 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84268 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84269
84270 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84271 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84272 (libc_feupdateenv_testl): New.
84273 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84274 (libc_feupdateenv_testf): New.
84275 (libc_feupdateenv): Use libc_feupdateenv_test.
84276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84277 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84278
84279 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84280 (libc_feholdsetroundf, libc_feholdsetroundl): New.
84281 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84282 (libc_feresetround_noex): New.
84283 (libc_feresetround_noexf): New.
84284 (libc_feresetround_noexl): New.
84285 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84286 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84287 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84288 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84289 SET_RESTORE_ROUND.
84290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84292 (__cos): Likewise.
84293 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84295 SET_RESTORE_ROUND_NOEX.
84296 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84297 SET_RESTORE_ROUND_NOEXF.
84298 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84299 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84300 (libc_feholdsetroundf): New.
84301 (libc_feresetround, libc_feresetroundf): New.
84302
84303 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84304 (libc_feholdexcept_setround_53bit): Convert from macro to function.
84305 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
84306
84307 * sysdeps/generic/math_private.h: Include <fenv.h>.
84308 (default_libc_feholdexcept): New.
84309 (default_libc_feholdexcept_setround): New.
84310 (default_libc_fesetenv, default_libc_feupdateenv): New.
84311 (libc_feholdexcept): Only define if undefined.
84312 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84313 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84314 (libc_feholdexcept_setroundl): Likewise.
84315 (libc_feholdexcept_setround_53bit): Likewise.
84316 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84317 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84318 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84319 (libc_feupdateenv_53bit): Likewise.
84320 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84321 (libc_feholdexcept): Convert from macro to inline function.
84322 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84323 (libc_fesetenv, libc_feupdateenv): Likewise.
84324
84325 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84326 not previously defined.
84327 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84328 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84329 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84330 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84331 * sysdeps/ieee754/flt-32/math_private.h: New file.
84332 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84333 math_private.h below SET_FLOAT_WORD.
84334 (__isnan, __isinf_ns, __finite): Remove.
84335 (__isnanf, __isinf_nsf, __finitef): Remove.
84336
84337 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
84338
84339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84340
84341 2012-03-17 David S. Miller <davem@davemloft.net>
84342
84343 [BZ #6471]
84344 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84345 for 2.16.
84346
84347 2012-03-16 David S. Miller <davem@davemloft.net>
84348
84349 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84350 warnings.
84351
84352 [BZ #6471]
84353 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84354 properly.
84355 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84356 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84357 sysdep_routines when subdir is sysvipc.
84358 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84359 __getshmlba helper.
84360
84361 * sysdeps/sparc/fpu/libm-test/ulps: Update.
84362
84363 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84364
84365 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84366 [__LP64__].
84367
84368 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84369
84370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84371 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84372 (__lround): Renamed to ...
84373 (__llround): This. Replace long int with long long int.
84374 Define lround functions as aliases of llround functions.
84375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84376
84377 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84378
84379 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84380 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
84381 adresses to uintptr_t. Replace "long int" and "unsigned long
84382 int" with "greg_t" on va_arg.
84383
84384 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84385
84386 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84387 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84388
84389 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84390 Move e_machine check before EI_CLASS check. Handle x32
84391 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84392 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84393 SKIP_EM_IA_64 and include
84394 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84395
84396 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84397 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84398 (add_system_dir): New macro.
84399
84400 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84401 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84402
84403 2012-03-16 Joseph Myers <joseph@codesourcery.com>
84404
84405 [BZ #2551]
84406 [BZ #2552]
84407 [BZ #2553]
84408 [BZ #2554]
84409 [BZ #2562]
84410 [BZ #2563]
84411 [BZ #2565]
84412 [BZ #2566]
84413 [BZ #2576]
84414 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84415 (y0): Likewise.
84416 * math/w_j0f.c (j0f): Likewise.
84417 (y0f): Likewise.
84418 * math/w_j0l.c (__j0l): Likewise.
84419 (__y0l): Likewise.
84420 * math/w_j1.c (j1): Likewise.
84421 (y1): Likewise.
84422 * math/w_j1f.c (j1f): Likewise.
84423 (y1f): Likewise.
84424 * math/w_j1l.c (__j1l): Likewise.
84425 (__y1l): Likewise.
84426 * math/w_jn.c (jn): Likewise.
84427 (yn): Likewise.
84428 * math/w_jnf.c (jnf): Likewise.
84429 (ynf): Likewise.
84430 * math/w_jnl.c (__jnl): Likewise.
84431 (__ynl): Likewise.
84432 * math/libm-test.inc (j0_test): Add more tests.
84433 (j1_test): Likewise.
84434 (jn_test): Likewise. Add trailing semicolon to existing test.
84435 (y0_test): Likewise.
84436 (y1_test): Likewise.
84437 * sysdeps/i386/fpu/libm-test-ulps: Update.
84438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84439
84440 [BZ #13851]
84441 [BZ #13854]
84442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84443 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84444 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84445 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84446 (__tanl): Set errno for infinite argument.
84447 * sysdeps/i386/fpu/mptan.c: Remove.
84448 * sysdeps/i386/fpu/s_tan.S: Likewise.
84449 * sysdeps/i386/fpu/s_tanl.S: Likewise.
84450 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84451 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84452 * math/libm-test.inc (tan_test): Add more tests and enable more
84453 tests for double and long double.
84454 * sysdeps/i386/fpu/libm-test-ulps: Update.
84455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84456
84457 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
84458
84459 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84460 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84461
84462 2012-03-16 Roland McGrath <roland@hack.frob.com>
84463
84464 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84465 * configure.in: Use it for both main tree and add-ons.
84466 * configure: Regenerated.
84467
84468 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
84469
84470 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84471
84472 2012-03-16 Joseph Myers <joseph@codesourcery.com>
84473
84474 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84475 in comment.
84476
84477 [BZ #13851]
84478 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84479 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84480 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84481 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84482 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84483 infinite argument.
84484 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84486 != 0 for prec == 2.
84487 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84488 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84489 * sysdeps/i386/fpu/s_cosl.S: Likewise.
84490 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84491 * sysdeps/i386/fpu/s_sinl.S: Likewise.
84492 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84493 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84494 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84495 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84496 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84497 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84498 * math/libm-test.inc (cos_test): Add more tests and enable more
84499 tests for long double.
84500 (sin_test): Likewise.
84501 (sincos_test): Likewise.
84502 * sysdeps/i386/fpu/libm-test-ulps: Update.
84503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84504
84505 2012-03-16 David S. Miller <davem@davemloft.net>
84506
84507 * sysdeps/sparc/fpu/math_private.h: New file.
84508
84509 2012-03-15 David S. Miller <davem@davemloft.net>
84510
84511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84512 file.
84513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84515 file.
84516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84522 sysdep routines.
84523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84524
84525 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84526 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84527
84528 * sysdeps/sparc/sparc-ifunc.h: New file.
84529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84530 sparc-ifunc.h
84531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84533 Likewise.
84534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84535 Likewise.
84536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84540 Likewise.
84541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84546 Likewise.
84547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84548 Likewise.
84549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84573
84574 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
84575
84576 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84577 scaling.
84578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84579
84580 2012-03-15 Andreas Jaeger <aj@suse.de>
84581
84582 [BZ #13852]
84583 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84584 ieee754/flt-32 implementation for sin, cos and sincos.
84585 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84586 * sysdeps/i386/fpu/s_cosf.S: Likewise.
84587 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84588 * sysdeps/i386/fpu/s_sinf.S: Likewise.
84589 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84590 ieee754/flt-32 implementation for tan.
84591
84592 * math/libm-test.inc (cos_test): Enable some large input tests for
84593 float as well
84594 (sin_test): Likewise.
84595 (sincos_test): Likewise.
84596 (tan_test): Add tests for large input.
84597
84598 * sysdeps/i386/fpu/libm-test-ulps: Update.
84599
84600 2012-03-15 Andreas Jaeger <aj@suse.de>
84601
84602 [BZ #13658]
84603 * math/libm-test.inc (cos_test): Add more test cases.
84604 (sin_test): Likewise.
84605 (sincos_test): Likewise.
84606
84607 2012-03-15 Andreas Jaeger <aj@suse.de>
84608
84609 [BZ #13837]
84610 * math/libm-test.inc (cos_test): Add a test case for large input
84611 value.
84612 (sin_test): Likewise.
84613 (sincos_test): Likewise.
84614
84615 2012-03-15 Andreas Jaeger <aj@suse.de>
84616 Joseph Myers <joseph@codesourcery.com>
84617
84618 [BZ #13658]
84619 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84620 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84621 * sysdeps/i386/fpu/branred.c: Likewise.
84622 * sysdeps/i386/fpu/dosincos.c: Likewise.
84623 * sysdeps/i386/fpu/mpa.c: Likewise.
84624 * sysdeps/i386/fpu/s_cos.S: Likewise.
84625 * sysdeps/i386/fpu/s_sin.S: Likewise.
84626 * sysdeps/i386/fpu/s_sincos.S: Likewise.
84627 * sysdeps/i386/fpu/sincos32.c: Likewise.
84628
84629 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84630 Define.
84631 (libc_feupdateenv_53bit): Define.
84632 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84633 Define.
84634 (libc_feupdateenv_53bit): Define.
84635
84636 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84637 53 bit (without extend i386 double precision).
84638
84639 * math/libm-test.inc (sincos_test): Add tests for large input.
84640 (sin): Likewise.
84641 (cos): Likewise.
84642
84643 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84644
84645 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
84646
84647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84648
84649 2012-03-15 David S. Miller <davem@davemloft.net>
84650
84651 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84652 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84653 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84654 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84667 file.
84668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84670 file.
84671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84673 file.
84674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84676 file.
84677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84679 fmin/fmax sysdep routines.
84680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84681
84682 2012-03-14 David S. Miller <davem@davemloft.net>
84683
84684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84713 routines.
84714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84715 file.
84716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
84718 file.
84719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
84720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
84721 file.
84722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
84723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
84724 file.
84725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
84726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
84727 file.
84728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
84729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
84730 file.
84731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
84732 file.
84733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
84734 file.
84735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
84736 file.
84737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
84738 New file.
84739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
84740 file.
84741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
84742 file.
84743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
84744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
84745 file.
84746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
84747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
84748 file.
84749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
84750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
84751 file.
84752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
84753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
84754 VIS3 routines.
84755
84756 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
84757 New file.
84758
84759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84760
84761 * sysdeps/sparc/configure.in: New file.
84762 * sysdeps/sparc/configure: Generate.
84763 * configure.in (libc_cv_sparc_as_vis3): Substitute.
84764 * configure: Regenerate.
84765 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
84766 * config.make.in (have-as-vis3): New.
84767 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
84768 available use -Av9d instead of -Av9a.
84769 * sysdeps/sparc/sparc64/Makefile: Likewise.
84770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
84771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
84772 New file.
84773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
84774 file.
84775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
84776 New file.
84777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
84778 file.
84779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
84780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
84781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
84782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
84783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
84784
84785 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
84786 fzeros/fnegs to load 0x80000000 into a float register instead of
84787 using the stack.
84788 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
84789
84790 2012-03-14 Joseph Myers <joseph@codesourcery.com>
84791
84792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84793 bits/syscall.h.
84794 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
84795 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
84796 ($(inst_includedir)/bits/syscall.h): Remove rule.
84797 ($(objpfx)bits/syscall.d): Include instead of
84798 $(objpfx)syscall-list.d.
84799 (generated): Change syscall-list.h and syscall-list.d to
84800 bits/syscall.h and bits/syscall.d.
84801
84802 2012-03-14 Roland McGrath <roland@hack.frob.com>
84803
84804 [BZ #13846]
84805 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
84806
84807 2012-03-14 Joseph Myers <joseph@codesourcery.com>
84808
84809 [BZ #13841]
84810 * math/s_csqrt.c: Include <float.h>.
84811 (__csqrt): Scale large or subnormal inputs.
84812 * math/s_csqrtf.c: Likewise.
84813 * math/s_csqrtl.c: Likewise.
84814 * math/libm-test.inc (csqrt_test): Add more tests.
84815 * sysdeps/i386/fpu/libm-test-ulps: Update.
84816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84817
84818 [BZ #13840]
84819 * math/libm-test.inc (hypot_test): Add more tests.
84820
84821 2012-03-13 David S. Miller <davem@davemloft.net>
84822
84823 [BZ #13840]
84824 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
84825 double-precision for the calculation instead of scaling.
84826
84827 2012-03-13 Joseph Myers <joseph@codesourcery.com>
84828
84829 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
84830 manipulate bits before adding and subtracting TWO52[sx].
84831 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
84832 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
84833 Likewise.
84834 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
84835
84836 2012-03-13 David S. Miller <davem@davemloft.net>
84837
84838 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
84839 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
84840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
84841 rtld-global-offsets.h
84842 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84843
84844 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
84845 large parameters.
84846
84847 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
84848
84849 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
84850 'err' in the ifdef scope in which it is actually used.
84851
84852 * nss/nss_db/db-init.c: Include string.h
84853
84854 2012-03-12 David S. Miller <davem@davemloft.net>
84855
84856 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84857 masking out of the most significant byte of random value used.
84858 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84859 Fix coding style in previous change.
84860
84861 * sysdeps/unix/sysv/linux/kernel-features.h
84862 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
84863 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
84864 expression.
84865 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
84866 later.
84867
84868 2012-03-11 David S. Miller <davem@davemloft.net>
84869
84870 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
84871 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
84872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
84873 for 'resultvar' otherwise things get truncated on 64-bit.
84874
84875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84876 Fix masking out of the most significant byte of random value used.
84877
84878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84879
84880 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
84881
84882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84883
84884 2012-03-09 David S. Miller <davem@davemloft.net>
84885
84886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
84887 variables with appropriate CPP guards.
84888 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
84889 from the frame pointer, not the stack pointer. Correct layout
84890 comments. Fix test on resulting framesize and the management of
84891 the outregs buffer for pltexit. Preserve floating point return
84892 values across _dl_call_pltexit call.
84893 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
84894 framesize and the management of the outregs buffer for pltexit.
84895 Preserve floating point return values across _dl_call_pltexit
84896 call.
84897 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
84898 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
84899 (la_sparc64_gnu_pltexit): New functions.
84900 (print_exit): Fix format string for return register value.
84901
84902 2012-03-10 Joseph Myers <joseph@codesourcery.com>
84903
84904 * sunrpc/Makefile (others): Add rpcgen.
84905 ($(objpfx)rpcgen): Remove special build rule and dependency on
84906 libc.
84907 * sunrpc/rpcgen.c: New file.
84908
84909 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
84910
84911 [BZ #13673]
84912 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
84913 * stdio-common/bug-vfprintf-nargs.c: Likewise.
84914 * sysdeps/i386/crti.S: Likewise.
84915 * sysdeps/i386/crtn.S: Likewise.
84916 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
84917 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
84918 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
84919 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
84920 * sysdeps/sh/crti.S: Likewise.
84921 * sysdeps/sh/crtn.S: Likewise.
84922 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
84923
84924 [BZ #13673]
84925 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
84926 with URL.
84927 * locale/programs/locfile-kw.gperf: Likewise.
84928 * locale/programs/charmap-kw.h: Regenerated.
84929 * locale/programs/locfile-kw.h: Likewise.
84930
84931 [BZ #13673]
84932 * intl/plural.y: Replace FSF snail mail address with URL.
84933 * intl/plural.c: Regenerated.
84934
84935 2012-03-09 Richard Henderson <rth@twiddle.net>
84936
84937 * include/math_private.h: Remove file.
84938 * math/math_private.h: Move file ...
84939 * sysdeps/generic/math_private.h: ... here.
84940
84941 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
84942 * sysdeps/powerpc/fpu/math_private.h: Likewise.
84943 * sysdeps/x86_64/fpu/math_private.h: Likewise.
84944
84945 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
84946 and <math_private.h>.
84947 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84948 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84949 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84950 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84951 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84952 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
84953 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84955 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84958 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84959 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84961 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84962 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84963 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84964 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84965 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84966 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84969 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84971 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
84972 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84973 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84979 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
84980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84981 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84982 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84983 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84987 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
84988 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84989 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84990 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
84991 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
84992 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84993 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
84994 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
84995 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84997 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
84998 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
84999 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85000 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85001 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85002 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85003 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85004 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85006 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85007 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85008 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85011 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85012 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85013 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85014 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85015 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85017 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85018 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85019 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85020 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85021 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85026 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85029 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85031 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85034 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85035 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85036 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85037 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85038 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85039 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85040 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85041 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85042 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85044 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85046 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85047 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85048 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85049 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85050 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85052 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85053 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85054 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85055 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85057 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85058 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85059 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85060 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85061 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85063 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85064 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85065 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85066 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85067 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85068 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85069 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85070 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85071 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85074 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85075 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85076 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85077 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85078 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85079 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85080 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85081 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85082 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85083 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85084 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85085 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85086 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85088 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85089 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85090 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85091 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85092 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85093 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85094 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85095 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85096 * sysdeps/ieee754/k_standard.c: Likewise.
85097 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85098 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85100 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85101 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85102 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85103 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85104 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85109 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85110 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85111 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85112 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85113 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85114 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85115 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85116 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85117 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85118 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85119 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85120 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85122 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85123 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85124 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85125 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85126 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85127 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85128 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85129 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85130 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85131 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85132 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85133 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85135 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85136 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85139 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85140 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85141 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85142 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85148 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85149 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85150 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85151 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85152 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85153 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85154 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85158 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85159 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85160 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85165 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85169 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85170 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85171 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85172 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85174 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85179 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85180 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85182 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85183 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85185 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85187 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85188 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85189 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85190 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85193 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85194 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85195 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85196 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85201 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85204 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85205 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85206 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85207 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85208 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85209 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85210 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85211 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85213 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85218 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85220 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85222 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85230 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85233 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85234 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85235 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85236 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85237 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85238 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85239 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85240 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85242 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85243 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85244 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85245 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85246 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85251 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85252 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85256 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85257 * sysdeps/ieee754/s_lib_version.c: Likewise.
85258 * sysdeps/ieee754/s_matherr.c: Likewise.
85259 * sysdeps/ieee754/s_signgam.c: Likewise.
85260 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85261 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85262 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85263 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85264 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85266 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85267 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85268 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85269 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85270 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85271 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85272 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85273 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85274 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85275 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85276 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85277 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85278 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85281
85282 2012-03-09 Joseph Myers <joseph@codesourcery.com>
85283
85284 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85285 * sunrpc/rpc_main.c: Likewise.
85286 * sunrpc/rpc_svcout.c: Likewise.
85287
85288 2012-03-09 David S. Miller <davem@davemloft.net>
85289
85290 * include/math_private.h: New file.
85291
85292 2012-03-09 Joseph Myers <joseph@codesourcery.com>
85293
85294 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85295 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85296 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85297 from <bits/socket_type.h>.
85298 (enum __socket_type): Don't define here.
85299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85301 bits/socket_type.h.
85302
85303 [BZ #13566]
85304 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85305 checking __USE_GNU.
85306
85307 * Makerules ($(inst_includedir)/%.h): New rule.
85308 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85309 (install-others): Remove variable setting.
85310 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85311
85312 2012-03-08 Richard Henderson <rth@twiddle.net>
85313
85314 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85315 from macro to inline function; merge with the
85316 !__LIBC_INTERNAL_MATH_INLINES version.
85317 (__ieee754_sqrtf): Likewise.
85318
85319 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85320 to inline function.
85321 (__rintf, __floor, __floorf): Likewise.
85322
85323 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85324 macro to inline function.
85325 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85326
85327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85328 not <math/math_private.h>.
85329
85330 2012-03-08 David S. Miller <davem@davemloft.net>
85331
85332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85333 copyright year.
85334 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85335
85336 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
85337
85338 * resolv/gai_misc.c (handle_requests): Fix struct timespec
85339 normalization.
85340 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85341 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85342
85343 2012-03-08 Ulrich Drepper <drepper@gmail.com>
85344
85345 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
85346 be defined individually, they must be defined as a block. Define
85347 S for printing a string instead of hidint the different by using a
85348 macro for adding the 'l'.
85349 * stdio-common/tst-fphex-wide.c: Adjust.
85350
85351 2012-03-07 Marek Polacek <polacek@redhat.com>
85352
85353 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85354
85355 2012-03-08 Marek Polacek <polacek@redhat.com>
85356
85357 [BZ #13806]
85358 * stdio-common/Makefile (tests): Add tst-fphex-wide.
85359 * stdio-common/tst-fphex.c: Define a few macros to make the
85360 test reusable. Use them.
85361 * stdio-common/tst-fphex-wide.c: New file.
85362
85363 2012-03-08 Joseph Myers <joseph@codesourcery.com>
85364
85365 [BZ #6911]
85366 * manual/macros.texi (gnusystems): New macro.
85367 (nongnusystems): Likewise.
85368 (gnulinuxhurdsystems): Likewise.
85369 (gnuhurdsystems): Likewise..
85370 (gnulinuxsystems): Likewise.
85371 * manual/charset.texi: Use new macros or @theglibc{} to refer to
85372 variants of the GNU system, not "GNU system".
85373 * manual/conf.texi: Likewise.
85374 * manual/errno.texi: Likewise. Update example of errno macro
85375 expansion.
85376 * manual/filesys.texi: Likewise.
85377 (getumask): Document as specific to GNU/Hurd.
85378 * manual/install.texi: Likewise. Reword some references to
85379 GNU/Linux.
85380 * manual/intro.texi: Likewise.
85381 * manual/io.texi: Likewise.
85382 (File Name Portability): Detail which constraints are inapplicable
85383 to all GNU systems and which are only inapplicable to GNU/Hurd.
85384 * manual/job.texi: Likewise.
85385 * manual/llio.texi: Likewise.
85386 (O_NOCTTY): Document as present on GNU/Linux.
85387 * manual/maint.texi: Likewise.
85388 * manual/memory.texi: Likewise.
85389 * manual/pattern.texi: Likewise.
85390 * manual/pipe.texi: Likewise.
85391 * manual/process.texi: Likewise.
85392 * manual/resource.texi: Likewise.
85393 (RUSAGE_CHILDREN): Remove statement about specifying a particular
85394 child on GNU/Hurd.
85395 * manual/setjmp.texi: Likewise.
85396 * manual/signal.texi: Likewise.
85397 * manual/startup.texi: Likewise.
85398 * manual/stdio.texi: Likewise.
85399 * manual/terminal.texi: Likewise.
85400 (ONLCR): Document as POSIX.
85401 (OXTABS): Document availability on GNU/Linux as XTABS.
85402 (ONOEOT): Document availability separately from other bits.
85403 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85404 * manual/time.texi: Likewise.
85405 * manual/users.texi: Likewise.
85406 * INSTALL: Regenerated.
85407 * sysdeps/gnu/errlist.c: Regenerated.
85408
85409 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85410 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85411 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
85412 puts.
85413 * configure: Regenerated.
85414
85415 2012-03-07 Joseph Myers <joseph@codesourcery.com>
85416
85417 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85418 default includes instead of AC_HEADER_CHECK.
85419 * sysdeps/i386/configure: Regenerated.
85420
85421 [BZ #10716]
85422 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85423 * math/s_cacoshf.c (__cacoshf): Likewise.
85424 * math/s_cacoshl.c (__cacoshl): Likewise.
85425 * math/s_casinh.c (__casinh): Set signs of result from argument.
85426 * math/s_casinhf.c (__casinhf): Likewise.
85427 * math/s_casinhl.c (__casinhl): Likewise.
85428 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85429 (casinh_test): Add more tests.
85430 * sysdeps/i386/fpu/libm-test-ulps: Update.
85431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85432
85433 2012-03-07 Ulrich Drepper <drepper@gmail.com>
85434
85435 * po/zh_TW.po: Update from translation team.
85436
85437 * login/Makefile (distribute): Remove variable.
85438 * catgets/Makefile: Likewise.
85439 * mach/Makefile: Likewise.
85440 * malloc/Makefile: Likewise.
85441 * misc/Makefile: Likewise.
85442 * iconv/Makefile: Likewise.
85443 * nscd/Makefile: Likewise.
85444 * hurd/Makefile: Likewise.
85445 * manual/Makefile: Likewise.
85446 * locale/Makefile: Likewise.
85447 * intl/Makefile: Likewise.
85448 * conform/Makefile: Likewise.
85449 * nss/Makefile: Likewise.
85450 * time/Makefile: Likewise.
85451 * soft-fp/Makefile: Likewise.
85452 * dirent/Makefile: Likewise.
85453 * gmon/Makefile: Likewise.
85454 * po/Makefile: Likewise.
85455 * rt/Makefile: Likewise.
85456 * socket/Makefile: Likewise.
85457 * math/Makefile: Likewise.
85458 * signal/Makefile: Likewise.
85459 * debug/Makefile: Likewise.
85460 * elf/Makefile: Likewise.
85461 * timezone/Makefile: Likewise.
85462 * stdlib/Makefile: Likewise.
85463 * iconvdata/Makefile: Likewise.
85464 * sunrpc/Makefile: Likewise.
85465 * io/Makefile: Likewise.
85466 * argp/Makefile: Likewise.
85467 * inet/Makefile: Likewise.
85468 * hesiod/Makefile: Likewise.
85469 * grp/Makefile: Likewise.
85470 * csu/Makefile: Likewise.
85471 * wctype/Makefile: Likewise.
85472 * crypt/Makefile: Likewise.
85473 * libio/Makefile: Likewise.
85474 * string/Makefile: Likewise.
85475 * nis/Makefile: Likewise.
85476 * resolv/Makefile: Likewise.
85477 * stdio-common/Makefile: Likewise.
85478 * wcsmbs/Makefile: Likewise.
85479 * dlfcn/Makefile: Likewise.
85480 * posix/Makefile: Likewise.
85481
85482 [BZ #6959]
85483 * timezone/Makefile: Don't install timezone files, just the programs
85484 and scripts.
85485
85486 2012-03-06 Ulrich Drepper <drepper@gmail.com>
85487
85488 * nss/databases.def: Add missing gshadow entry.
85489
85490 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
85491
85492 2012-03-06 Marek Polacek <polacek@redhat.com>
85493
85494 [BZ #13726]
85495 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85496 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85497 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85498 * stdio-common/tst-long-dbl-fphex.c: New file.
85499
85500 2012-03-06 David S. Miller <davem@davemloft.net>
85501
85502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85503 (set_obp_int): New function.
85504 (get_obp_int): New function.
85505 (__get_clockfreq_via_dev_openprom): Likewise.
85506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85507 Avoid unused variable warnings on 'val' and use builtin_expect.
85508 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85509 __builtin_expect.
85510 (INLINE_CLONE_SYSCALL): Likewise.
85511
85512 2012-03-05 David S. Miller <davem@davemloft.net>
85513
85514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85515
85516 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
85517
85518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85519
85520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85521 only for |x| >= 40.
85522 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85523
85524 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
85525
85526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85527 Replace gettimeofday with __vdso_gettimeofday.
85528
85529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
85530 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85531 __vdso_clock_gettime and __vdso_getcpu.
85532
85533 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85534 time with __vdso_time.
85535
85536 2012-03-05 Joseph Myers <joseph@codesourcery.com>
85537
85538 * manual/lang.texi (size_t): Note types to which size_t may be
85539 equivalent with the GNU C Library, but do not describe when
85540 differences between them are significant.
85541
85542 2012-03-05 Andreas Jaeger <aj@suse.de>
85543
85544 * sysdeps/i386/fpu/libm-test-ulps: Update.
85545
85546 2012-03-05 Joseph Myers <joseph@codesourcery.com>
85547
85548 [BZ #3976]
85549 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85550 (__ieee754_pow): Save and restore rounding mode and use
85551 round-to-nearest for main computations.
85552 * math/libm-test.inc (pow_test_tonearest): New function.
85553 (pow_test_towardzero): Likewise.
85554 (pow_test_downward): Likewise.
85555 (pow_test_upward): Likewise.
85556 (main): Call the new functions.
85557 * sysdeps/i386/fpu/libm-test-ulps: Update.
85558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85559
85560 [BZ #3976]
85561 * math/libm-test.inc (cosh_test_tonearest): New function.
85562 (cosh_test_towardzero): Likewise.
85563 (cosh_test_downward): Likewise.
85564 (cosh_test_upward): Likewise.
85565 (sinh_test_tonearest): Likewise.
85566 (sinh_test_towardzero): Likewise.
85567 (sinh_test_downward): Likewise.
85568 (sinh_test_upward): Likewise.
85569 (main): Call the new functions.
85570 * sysdeps/i386/fpu/libm-test-ulps: Update.
85571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85572
85573 2012-03-05 Tom de Vries <tom@codesourcery.com>
85574
85575 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85576 default stack guard is set in last bytes.
85577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85578
85579 2012-03-05 Kees Cook <keescook@chromium.org>
85580
85581 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85582
85583 [BZ #13656]
85584 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85585 possibly allocate from heap instead of stack.
85586 * stdio-common/bug-vfprintf-nargs.c: New file.
85587 * stdio-common/Makefile (tests): Add nargs overflow test.
85588
85589 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
85590
85591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85592
85593 2012-03-03 Marek Polacek <polacek@redhat.com>
85594
85595 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85596 * math/math_private.h: Likewise.
85597 * stdlib/tst-strtod.c: Likewise.
85598 * sysdeps/i386/i486/bits/atomic.h: Likewise.
85599 * sysdeps/x86_64/bits/atomic.h: Likewise.
85600
85601 2012-03-02 David S. Miller <davem@davemloft.net>
85602
85603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85607 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85608 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85609 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85610 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85611
85612 2012-03-02 Roland McGrath <roland@hack.frob.com>
85613
85614 [BZ #13792]
85615 * manual/examples/README: New file, says the example source files
85616 can be used under GPL>=2.
85617 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85618 line containing just "*/".
85619 * manual/examples/add.c: Add copyright header (GPL>=2).
85620 * manual/examples/argp-ex1.c: Likewise.
85621 * manual/examples/argp-ex2.c: Likewise.
85622 * manual/examples/argp-ex3.c: Likewise.
85623 * manual/examples/argp-ex4.c: Likewise.
85624 * manual/examples/atexit.c: Likewise.
85625 * manual/examples/db.c: Likewise.
85626 * manual/examples/dir.c: Likewise.
85627 * manual/examples/dir2.c: Likewise.
85628 * manual/examples/execinfo.c: Likewise.
85629 * manual/examples/filecli.c: Likewise.
85630 * manual/examples/filesrv.c: Likewise.
85631 * manual/examples/fmtmsgexpl.c: Likewise.
85632 * manual/examples/genpass.c: Likewise.
85633 * manual/examples/inetcli.c: Likewise.
85634 * manual/examples/inetsrv.c: Likewise.
85635 * manual/examples/isockad.c: Likewise.
85636 * manual/examples/longopt.c: Likewise.
85637 * manual/examples/memopen.c: Likewise.
85638 * manual/examples/memstrm.c: Likewise.
85639 * manual/examples/mkfsock.c: Likewise.
85640 * manual/examples/mkisock.c: Likewise.
85641 * manual/examples/mygetpass.c: Likewise.
85642 * manual/examples/pipe.c: Likewise.
85643 * manual/examples/popen.c: Likewise.
85644 * manual/examples/rprintf.c: Likewise.
85645 * manual/examples/search.c: Likewise.
85646 * manual/examples/select.c: Likewise.
85647 * manual/examples/setjmp.c: Likewise.
85648 * manual/examples/sigh1.c: Likewise.
85649 * manual/examples/sigusr.c: Likewise.
85650 * manual/examples/stpcpy.c: Likewise.
85651 * manual/examples/strdupa.c: Likewise.
85652 * manual/examples/strftim.c: Likewise.
85653 * manual/examples/strncat.c: Likewise.
85654 * manual/examples/subopt.c: Likewise.
85655 * manual/examples/swapcontext.c: Likewise.
85656 * manual/examples/termios.c: Likewise.
85657 * manual/examples/testopt.c: Likewise.
85658 * manual/examples/testpass.c: Likewise.
85659 * manual/examples/timeval_subtract.c: Likewise.
85660
85661 [BZ #13792]
85662 * manual/time.texi (Elapsed Time): Move timeval_subtract example
85663 function to ...
85664 * manual/timeval_subtract.c.texi: ... here, new file.
85665
85666 2012-03-02 David S. Miller <davem@davemloft.net>
85667
85668 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85669
85670 2012-03-02 Joseph Myers <joseph@codesourcery.com>
85671
85672 [BZ #3976]
85673 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85674 (__sin): Save and restore rounding mode and use round-to-nearest
85675 for all computations.
85676 (__cos): Save and restore rounding mode and use round-to-nearest
85677 for all computations.
85678 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85679 <fenv.h>.
85680 (tan): Save and restore rounding mode and use round-to-nearest for
85681 all computations.
85682 * math/libm-test.inc (cos_test_tonearest): New function.
85683 (cos_test_towardzero): Likewise.
85684 (cos_test_downward): Likewise.
85685 (cos_test_upward): Likewise.
85686 (sin_test_tonearest): Likewise.
85687 (sin_test_towardzero): Likewise.
85688 (sin_test_downward): Likewise.
85689 (sin_test_upward): Likewise.
85690 (tan_test_tonearest): Likewise.
85691 (tan_test_towardzero): Likewise.
85692 (tan_test_downward): Likewise.
85693 (tan_test_upward): Likewise.
85694 (main): Call the new functions.
85695 * sysdeps/i386/fpu/libm-test-ulps: Update.
85696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85697
85698 [BZ #10135]
85699 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85700 small n, then large n, before computing and testing k+n.
85701 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85703 Likewise.
85704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85705 Likewise.
85706 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85707 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85713 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85714 * math/libm-test.inc (scalbn_test): Add more tests.
85715 (scalbln_test): Likewise.
85716
85717 * manual/filesys.texi (mode_t): Describe constraints on size and
85718 signedness, not exact equivalence to a particular type.
85719 (ino_t): Likewise.
85720 (ino64_t): Likewise.
85721 (dev_t): Likewise.
85722 (nlink_t): Likewise.
85723 (blkcnt_t): Likewise.
85724 (blkcnt64_t): Likewise.
85725 * manual/llio.texi (off_t): Likewise.
85726
85727 [BZ #3976]
85728 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
85729 (__ieee754_exp): Save and restore rounding mode and use
85730 round-to-nearest for all computations.
85731 * math/libm-test.inc (exp_test_tonearest): New function.
85732 (exp_test_towardzero): Likewise.
85733 (exp_test_downward): Likewise.
85734 (exp_test_upward): Likewise.
85735 (main): Call the new functions.
85736 * sysdeps/i386/fpu/libm-test-ulps: Update.
85737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85738
85739 2012-03-01 Chris Demetriou <cgd@google.com>
85740
85741 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
85742 have predictable order.
85743
85744 2012-03-01 David S. Miller <davem@davemloft.net>
85745
85746 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
85747
85748 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
85749 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
85750 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
85751 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
85752
85753 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
85754 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
85755 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
85756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
85757 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
85758 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
85759 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
85760 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
85761 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
85762
85763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85764
85765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
85766 * sysdeps/sparc/fpu/libm-test-ulps: to here.
85767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
85768
85769 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
85770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85771 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85772 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
85773 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
85774 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
85775 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
85776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85777 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85778 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
85779 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
85780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85783 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85785 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
85786 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
85787 * sysdeps/sparc/elf/configure: Regenerated.
85788
85789 2012-03-01 Joseph Myers <joseph@codesourcery.com>
85790
85791 * configure.in (AS, LD): Require binutils 2.20 or later.
85792 * configure: Regenerated.
85793 * manual/install.texi (Tools for Compilation): Give binutils 2.20
85794 as required minimum version.
85795 * INSTALL: Regenerated.
85796
85797 [BZ #2541]
85798 [BZ #4108]
85799 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
85800 before squaring exponent.
85801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
85802 bottom long double and 27 bits of top long double before squaring
85803 exponent.
85804 * math/libm-test.inc (erfc_test): Add more tests.
85805 * sysdeps/i386/fpu/libm-test-ulps: Update.
85806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85808
85809 2012-03-01 Kai Tietz <ktietz@redhat.com>
85810
85811 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
85812 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
85813 containing bit-fields.
85814 * soft-fp/extended.h (_FP_UNION_E): Likewise.
85815 * soft-fp/single.h (_FP_UNION_S): Likewise.
85816 * soft-fp/double.h (_FP_UNION_D): Likewise.
85817
85818 2012-02-29 Joseph Myers <joseph@codesourcery.com>
85819
85820 [BZ #13786]
85821 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
85822 not include ../strcmp.S.
85823 [USE_AS_STRNCASECMP_L]: Likewise.
85824 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
85825 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
85826 * sysdeps/i386/i686/multiarch/strncase_l-c.c
85827 (__strncasecmp_l_ia32): Define as alias to
85828 __strncasecmp_l_nonascii.
85829
85830 [BZ #5794]
85831 * math/libm-test.inc (expm1_test): Add test for bug 5794.
85832 * sysdeps/i386/fpu/libm-test-ulps: Update.
85833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85834
85835 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
85836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85837
85838 2012-02-29 Jeff Law <law@redhat.com>
85839
85840 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
85841 out of bounds read.
85842
85843 2012-02-29 Marek Polacek <polacek@redhat.com>
85844
85845 [BZ #13706]
85846 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
85847 * elf/Makefile: Add rules to run tst-unused-dep.out.
85848
85849 2012-02-28 David S. Miller <davem@davemloft.net>
85850
85851 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
85852 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
85853 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
85854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
85855 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
85856 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
85857
85858 2012-02-29 Joseph Myers <joseph@codesourcery.com>
85859
85860 * math/libm-test.inc (llround_test): Move one test from
85861 lround_test. Use TEST_f_L in moved test.
85862 (lround_test): Move misplaced test to llround_test. Add testcase
85863 from bug 2561.
85864
85865 2012-02-28 Ulrich Drepper <drepper@gmail.com>
85866
85867 * sysdeps/x86_64/fpu/e_expf.S: New file.
85868 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
85869
85870 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
85871
85872 [BZ #13637]
85873 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
85874 of remain_len that may cause incomplete multi-byte character and
85875 false match.
85876 * posix/bug-regex33.c: New file.
85877 * posix/Makefile (tests): Add bug-regex33.
85878
85879 2012-02-28 Joseph Myers <joseph@codesourcery.com>
85880
85881 * manual/macros.texi: New file.
85882 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
85883 * manual/libc.texinfo: Include macros.texi.
85884 * manual/creatute.texi: Likewise.
85885 * manual/install.texi: Likewise.
85886 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
85887 @glibcadj{} in references to the GNU C Library.
85888 * manual/charset.texi: Likewise.
85889 * manual/conf.texi: Likewise.
85890 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
85891 when not using those macros.
85892 * manual/creature.texi: Likewise.
85893 * manual/crypt.texi: Likewise.
85894 * manual/errno.texi: Likewise.
85895 * manual/filesys.texi: Likewise.
85896 * manual/header.texi: Likewise.
85897 * manual/install.texi: Likewise.
85898 * manual/intro.texi: Likewise.
85899 * manual/io.texi: Likewise.
85900 * manual/job.texi: Likewise.
85901 * manual/lang.texi: Likewise.
85902 * manual/libc.texiinfo: Likewise.
85903 * manual/llio.texi: Likewise.
85904 * manual/locale.texi: Likewise.
85905 * manual/maint.texi: Likewise.
85906 * manual/math.texi: Likewise.
85907 * manual/memory.texi: Likewise.
85908 * manual/message.texi: Likewise.
85909 * manual/nss.texi: Likewise.
85910 * manual/pattern.texi: Likewise.
85911 * manual/process.texi: Likewise.
85912 * manual/resource.texi: Likewise.
85913 * manual/search.texi: Likewise.
85914 * manual/setjmp.texi: Likewise.
85915 * manual/signal.texi: Likewise.
85916 * manual/socket.texi: Likewise.
85917 * manual/startup.texi: Likewise.
85918 * manual/stdio.texi: Likewise.
85919 * manual/string.texi: Likewise.
85920 * manual/sysinfo.texi: Likewise.
85921 * manual/syslog.texi: Likewise.
85922 * manual/terminal.texi: Likewise.
85923 * manual/time.texi: Likewise.
85924 * manual/users.texi: Likewise.
85925 * INSTALL: Regenerated.
85926 * NOTES: Regenerated.
85927 * sysdeps/gnu/errlist.c: Regenerated.
85928
85929 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
85930
85931 * include/dirent.h: Include <dirstream.h> before
85932 <dirent/dirent.h>.
85933
85934 2012-02-28 David S. Miller <davem@davemloft.net>
85935
85936 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
85937 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
85938 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
85939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
85940
85941 2012-02-27 David S. Miller <davem@davemloft.net>
85942
85943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
85944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
85945 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
85946 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
85947
85948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
85949 frame pointer instead of stack pointer relative arg slot.
85950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85953
85954 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
85955
85956 [BZ #3992]
85957 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
85958
85959 2012-02-27 David S. Miller <davem@davemloft.net>
85960
85961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
85962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
85964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
85965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85967 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
85968 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
85969
85970 2012-02-27 Joseph Myers <joseph@codesourcery.com>
85971
85972 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
85973 later. Allow versions 5-9.
85974 * configure: Regenerated.
85975 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
85976 required minimum version and 4.6 as recommended version. Do not
85977 mention bugs in GCC 2.7 and 2.8.
85978 * INSTALL: Regenerated.
85979
85980 2012-02-27 David S. Miller <davem@davemloft.net>
85981
85982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
85983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
85984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
85985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
85986 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
85987 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
85988 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
85989 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
85990
85991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
85992 manipulate bits before adding and subtracting TWO112[sx].
85993 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
85994
85995 2012-02-27 Roland McGrath <roland@hack.frob.com>
85996
85997 [BZ #13775]
85998 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
85999 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86000 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86001 being in POSIX, because they are in 1003.1-2008.
86002
86003 * rt/tst-aio.c: Include <fcntl.h>.
86004 * rt/tst-aio7.c: Likewise.
86005 * rt/tst-aio64.c: Likewise.
86006
86007 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86008
86009 2012-02-27 Joseph Myers <joseph@codesourcery.com>
86010
86011 * manual/install.texi (--with-headers): Describe headers as
86012 interface headers, not private headers.
86013 (Specific advice for GNU/Linux systems): Describe use of headers
86014 from "make headers_install", not private headers from older
86015 kernels.
86016 * INSTALL: Regenerated.
86017 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86018 Change to 2.6.19.
86019 * sysdeps/unix/sysv/linux/configure: Regenerated.
86020
86021 * manual/llio.texi (fclean): Remove documentation.
86022
86023 * manual/Makefile (libc-texi-generated): New variable. Include
86024 version.texi.
86025 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86026 $(libc-texi-generated), not duplicated list of files.
86027 (version.texi, stamp-version): New rules.
86028 (realclean): Remove $(libc-texi-generated), not individual files
86029 from that list. Do not remove dir-add.texinfo.
86030 * manual/libc.texinfo: Comment out uses of edition numbers and
86031 references to printed manual. Remove last-updated dates.
86032 (EDITION): Comment out.
86033 (ISBN): Likewise.
86034 (VERSION, UPDATED): Remove.
86035 (version.texi): Include.
86036
86037 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
86038
86039 * sysdeps/posix/spawni.c: Include <signal.h>.
86040 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86041 * sysdeps/pthread/aio_fsync.c: Likewise.
86042
86043 2012-02-26 Ulrich Drepper <drepper@gmail.com>
86044
86045 * conform/Makefile (tests): Run only when not cross-compiling and
86046 when fast-check is not defined.
86047
86048 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86049 * conform/data/limits.h-data: Fixes for POSIX2008.
86050 * conform/run-conformtest.sh: Run all tests.
86051 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86052 headers.
86053 * include/bits/dlfcn.h: Likewise.
86054 * include/langinfo.h: Likewise.
86055 * include/monetary.h: Likewise.
86056 * include/sys/poll.h: Likewise.
86057
86058 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86059 for __USE_GNU.
86060 * posix/spawn.h: Define __need_sigset_t.
86061 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86062 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86063 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
86064 to get sigevent_t only.
86065 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86066 only for __USE_GNU.
86067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86068 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86069 process_vm_writev only for __USE_GNU.
86070 * termios/termios.h: Declare tcgetsid also for POSIX2008.
86071
86072 * conform/Makefile: For now ignore errors from run-conformtest.
86073 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
86074 POSIX to avoid namespace pollution. Don't prepend headers.
86075 * conform/data/aio.h-data: Fixes for POSIX testing.
86076 * conform/data/fcntl.h-data: Likewise.
86077 * conform/data/glob.h-data: Likewise.
86078 * conform/data/grp.h-data: Likewise.
86079 * conform/data/pthread.h-data: Likewise.
86080 * conform/data/pwd.h-data: Likewise.
86081 * conform/data/signal.h-data: Likewise.
86082 * conform/data/spawn.h-data: Likewise.
86083 * conform/data/stdio.h-data: Likewise.
86084 * conform/data/stdlib.h-data: Likewise.
86085 * conform/data/stropts.h-data: Likewise.
86086 * conform/data/sys/mman.h-data: Likewise.
86087 * conform/data/sys/stat.h-data: Likewise.
86088 * conform/data/sys/types.h-data: Likewise.
86089 * conform/data/sys/wait.h-data: Likewise.
86090 * conform/data/time.h-data: Likewise.
86091 * conform/data/unistd.h-data: Likewise.
86092 * conform/data/utime.h-data: Likewise.
86093
86094 * io/sys/stat.h: fchmod was always in POSIX.
86095 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86096 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86097 * rt/aio.h: Define __need_timespec before including <time.h>.
86098 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86099 struct. Add forward declaration of pthread_attr_t and use it in
86100 sigevent.
86101 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86102 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86103 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86104 always remove CLK_TCK definition.
86105
86106 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
86107
86108 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86109
86110 2012-02-25 Ulrich Drepper <drepper@gmail.com>
86111
86112 * conform/run-conformtest.sh: New file.
86113 * conform/Makefile: Run run-conformtest for tests.
86114 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
86115 support.
86116
86117 * conform/data/uchar.h-data: New file.
86118 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86119 * conform/data/arpa/inet.h-data: Likewise.
86120 * conform/data/assert.h-data: Likewise.
86121 * conform/data/complex.h-data: Likewise.
86122 * conform/data/cpio.h-data: Likewise.
86123 * conform/data/ctype.h-data: Likewise.
86124 * conform/data/dirent.h-data: Likewise.
86125 * conform/data/dlfcn.h-data: Likewise.
86126 * conform/data/errno.h-data: Likewise.
86127 * conform/data/fcntl.h-data: Likewise.
86128 * conform/data/float.h-data: Likewise.
86129 * conform/data/fmtmsg.h-data: Likewise.
86130 * conform/data/fnmatch.h-data: Likewise.
86131 * conform/data/ftw.h-data: Likewise.
86132 * conform/data/glob.h-data: Likewise.
86133 * conform/data/grp.h-data: Likewise.
86134 * conform/data/iconv.h-data: Likewise.
86135 * conform/data/inttypes.h-data: Likewise.
86136 * conform/data/langinfo.h-data: Likewise.
86137 * conform/data/libgen.h-data: Likewise.
86138 * conform/data/limits.h-data: Likewise.
86139 * conform/data/locale.h-data: Likewise.
86140 * conform/data/math.h-data: Likewise.
86141 * conform/data/monetary.h-data: Likewise.
86142 * conform/data/mqueue.h-data: Likewise.
86143 * conform/data/ndbm.h-data: Likewise.
86144 * conform/data/net/if.h-data: Likewise.
86145 * conform/data/netdb.h-data: Likewise.
86146 * conform/data/netinet/in.h-data: Likewise.
86147 * conform/data/nl_types.h-data: Likewise.
86148 * conform/data/poll.h-data: Likewise.
86149 * conform/data/pthread.h-data: Likewise.
86150 * conform/data/pwd.h-data: Likewise.
86151 * conform/data/regex.h-data: Likewise.
86152 * conform/data/sched.h-data: Likewise.
86153 * conform/data/search.h-data: Likewise.
86154 * conform/data/semaphore.h-data: Likewise.
86155 * conform/data/setjmp.h-data: Likewise.
86156 * conform/data/signal.h-data: Likewise.
86157 * conform/data/spawn.h-data: Likewise.
86158 * conform/data/stdarg.h-data: Likewise.
86159 * conform/data/stdio.h-data: Likewise.
86160 * conform/data/stdlib.h-data: Likewise.
86161 * conform/data/string.h-data: Likewise.
86162 * conform/data/strings.h-data: Likewise.
86163 * conform/data/stropts.h-data: Likewise.
86164 * conform/data/sys/ipc.h-data: Likewise.
86165 * conform/data/sys/mman.h-data: Likewise.
86166 * conform/data/sys/msg.h-data: Likewise.
86167 * conform/data/sys/resource.h-data: Likewise.
86168 * conform/data/sys/select.h-data: Likewise.
86169 * conform/data/sys/sem.h-data: Likewise.
86170 * conform/data/sys/shm.h-data: Likewise.
86171 * conform/data/sys/socket.h-data: Likewise.
86172 * conform/data/sys/stat.h-data: Likewise.
86173 * conform/data/sys/statvfs.h-data: Likewise.
86174 * conform/data/sys/time.h-data: Likewise.
86175 * conform/data/sys/timeb.h-data: Likewise.
86176 * conform/data/sys/times.h-data: Likewise.
86177 * conform/data/sys/types.h-data: Likewise.
86178 * conform/data/sys/uio.h-data: Likewise.
86179 * conform/data/sys/un.h-data: Likewise.
86180 * conform/data/sys/utsname.h-data: Likewise.
86181 * conform/data/sys/wait.h-data: Likewise.
86182 * conform/data/syslog.h-data: Likewise.
86183 * conform/data/tar.h-data: Likewise.
86184 * conform/data/termios.h-data: Likewise.
86185 * conform/data/utime.h-data: Likewise.
86186 * conform/data/utmpx.h-data: Likewise.
86187 * conform/data/varargs.h-data: Likewise.
86188 * conform/data/wchar.h-data: Likewise.
86189 * conform/data/wctype.h-data: Likewise.
86190 * conform/data/wordexp.h-data: Likewise.
86191
86192 * include/stropts.h: New file.
86193 * include/uchar.h: New file.
86194 * include/aio.h: Changes to allow conformtest.pl to use the headers.
86195 * include/assert.h: Likewise.
86196 * include/ctype.h: Likewise.
86197 * include/dirent.h: Likewise.
86198 * include/dlfcn.h: Likewise.
86199 * include/fcntl.h: Likewise.
86200 * include/fnmatch.h: Likewise.
86201 * include/glob.h: Likewise.
86202 * include/grp.h: Likewise.
86203 * include/libio.h: Likewise.
86204 * include/locale.h: Likewise.
86205 * include/math.h: Likewise.
86206 * include/net/if.h: Likewise.
86207 * include/netdb.h: Likewise.
86208 * include/netinet/in.h: Likewise.
86209 * include/pthread.h: Likewise.
86210 * include/pwd.h: Likewise.
86211 * include/regex.h: Likewise.
86212 * include/sched.h: Likewise.
86213 * include/search.h: Likewise.
86214 * include/setjmp.h: Likewise.
86215 * include/signal.h: Likewise.
86216 * include/stdio.h: Likewise.
86217 * include/stdlib.h: Likewise.
86218 * include/string.h: Likewise.
86219 * include/sys/cdefs.h: Likewise.
86220 * include/sys/mman.h: Likewise.
86221 * include/sys/msg.h: Likewise.
86222 * include/sys/resource.h: Likewise.
86223 * include/sys/select.h: Likewise.
86224 * include/sys/socket.h: Likewise.
86225 * include/sys/stat.h: Likewise.
86226 * include/sys/statvfs.h: Likewise.
86227 * include/sys/time.h: Likewise.
86228 * include/sys/times.h: Likewise.
86229 * include/sys/uio.h: Likewise.
86230 * include/sys/utsname.h: Likewise.
86231 * include/sys/wait.h: Likewise.
86232 * include/termios.h: Likewise.
86233 * include/time.h: Likewise.
86234 * include/ulimit.h: Likewise.
86235 * include/unistd.h: Likewise.
86236 * include/utime.h: Likewise.
86237 * include/wchar.h: Likewise.
86238 * include/wctype.h: Likewise.
86239 * include/wordexp.h: Likewise.
86240
86241 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86242
86243 * time/time.h: TIME_UTC must be a macro.
86244 Make timespec_get available for ISO C11 only as well.
86245
86246 2012-02-24 Ulrich Drepper <drepper@gmail.com>
86247
86248 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86249 Reported by Peng Haitao <penght@cn.fujitsu.com>.
86250
86251 2012-02-24 Joseph Myers <joseph@codesourcery.com>
86252
86253 * configure.in: Use -o not -a in test for unsupported multi-arch.
86254
86255 2012-02-24 Joseph Myers <joseph@codesourcery.com>
86256
86257 * manual/texinfo.tex: Update to version 2012-01-19.16.
86258
86259 2012-02-24 Joseph Myers <joseph@codesourcery.com>
86260
86261 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86262
86263 2012-02-24 Roland McGrath <roland@hack.frob.com>
86264
86265 [BZ #13738]
86266 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86267 * manual/fdl-1.3.texi: New file.
86268 * manual/fdl-1.1.texi: File removed.
86269
86270 [BZ #13738]
86271 * manual/libc.texinfo (FDL_VERSION): New @set.
86272 Use it for mention of FDL in cover text.
86273 (Documentation License): Use it in @include file name.
86274
86275 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86276 Roland McGrath <roland@hack.frob.com>
86277
86278 [BZ #5461]
86279 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86280 (not LONG_LONG_MAX and LONG_LONG_MIN.
86281 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86282 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
86283 name.
86284 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86285
86286 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86287
86288 [BZ #2547]
86289 [BZ #11365]
86290 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86291 manipulate bits before adding and subtracting TWO23[sx].
86292 * math/libm-test.inc (nearbyint_test): Add more tests.
86293
86294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86295
86296 [BZ #2548]
86297 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86298 bits before adding and subtracting TWO23[sx].
86299 * math/libm-test.inc (rint_test): Add more tests.
86300 (rint_test_tonearest): Likewise.
86301 (rint_test_towardzero): Likewise.
86302 (rint_test_downward): Likewise.
86303 (rint_test_upward: Likewise.
86304
86305 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86306
86307 [BZ #10110]
86308 * include/stdc-predef.h: New file. Extracted from features.h.
86309 * include/features.h: Include stdc-predef.h.
86310 * Makefile (headers): Add stdc-predef.h.
86311 * CONFORMANCE (Compiler limitations): Update.
86312
86313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
86314
86315 * manual/libc.texinfo (VERSION, UPDATED): Revert.
86316
86317 2012-02-21 David S. Miller <davem@davemloft.net>
86318
86319 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86320 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86321
86322 2012-02-20 David S. Miller <davem@davemloft.net>
86323
86324 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86325 using a normal save/restore sequence, rather than allocating a
86326 dummy stack frame just to store a frame pointer and restore.
86327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86328
86329 2012-02-21 Joseph Myers <joseph@codesourcery.com>
86330
86331 * manual/install.texi: Fix stray word in line-wrapped comment.
86332
86333 2012-02-20 David S. Miller <davem@davemloft.net>
86334
86335 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86336 both binutils and gcc support GOTDATA.
86337
86338 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86339 "rd %pc" in the PIC register setup sequences.
86340
86341 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86342 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86343 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86344 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86345 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86348 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86350 (SYSCALL_ERROR_HANDLER): Likewise.
86351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86352 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86354 (SYSCALL_ERROR_HANDLER): Likewise.
86355
86356 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86357 (HAVE_GCC_GOTDATA): New.
86358 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86359 relocation support in both binutils and gcc.
86360 * sysdeps/sparc/elf/configure: Regenerate.
86361
86362 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86363 * sysdeps/sparc/sparc32/elf/configure: Delete.
86364 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86365 * sysdeps/sparc/sparc64/elf/configure: Delete.
86366 * sysdeps/sparc/elf/configure.in: New file.
86367 * sysdeps/sparc/elf/configure: Generate.
86368
86369 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86370 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86371 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86372 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86373 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86374
86375 2012-02-21 Joseph Myers <joseph@codesourcery.com>
86376
86377 * manual/install.texi: Do not mention specific glibc version
86378 numbers.
86379 * manual/libc.texinfo (VERSION, UPDATED): Update.
86380 (@copying): Use @copyright{} and range of years.
86381
86382 2012-02-21 Joseph Myers <joseph@codesourcery.com>
86383
86384 [BZ #13695]
86385 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86386 [crti.S not in sysdirs] (generated): Do not append.
86387 [crti.S not in sysdirs] (omit-deps): Likewise.
86388 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86389 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86390 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86391 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86392 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86393 Likewise.
86394 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86395 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86396 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86397 * csu/defs.awk: Remove file.
86398 * sysdeps/generic/initfini.c: Likewise.
86399 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86400 variable.
86401 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86402 Likewise.
86403
86404 2012-02-20 Joseph Myers <joseph@codesourcery.com>
86405
86406 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86408 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86411 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86412 <bits/epoll.h>.
86413 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86414 (__EPOLL_PACKED): Define to empty if not defined by
86415 <bits/epoll.h>.
86416 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86418 bits/epoll.h.
86419
86420 2012-02-20 Joseph Myers <joseph@codesourcery.com>
86421
86422 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86423 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86424 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86425 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86426 <bits/timerfd.h>.
86427 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86429 bits/timerfd.h.
86430
86431 2012-02-20 Joseph Myers <joseph@codesourcery.com>
86432
86433 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86434 in C locale.
86435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86436 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86439
86440 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
86441
86442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86444
86445 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
86446
86447 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86448 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86449 defined.
86450 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86451 Likewise.
86452 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86453 entry for 2.16.
86454
86455 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
86456
86457 * math/w_acos.c: Use non-signaling floating-point comparisons.
86458 * math/w_acosf.c: Likewise.
86459 * math/w_acosh.c: Likewise.
86460 * math/w_acoshf.c: Likewise.
86461 * math/w_acoshl.c: Likewise.
86462 * math/w_acosl.c: Likewise.
86463 * math/w_asin.c: Likewise.
86464 * math/w_asinf.c: Likewise.
86465 * math/w_asinl.c: Likewise.
86466 * math/w_atanh.c: Likewise.
86467 * math/w_atanhf.c: Likewise.
86468 * math/w_atanhl.c: Likewise.
86469 * math/w_exp2.c: Likewise.
86470 * math/w_exp2f.c: Likewise.
86471 * math/w_exp2l.c: Likewise.
86472 * math/w_j0.c: Likewise.
86473 * math/w_j0f.c: Likewise.
86474 * math/w_j0l.c: Likewise.
86475 * math/w_j1.c: Likewise.
86476 * math/w_j1f.c: Likewise.
86477 * math/w_j1l.c: Likewise.
86478 * math/w_jn.c: Likewise.
86479 * math/w_jnf.c: Likewise.
86480 * math/w_log.c: Likewise.
86481 * math/w_log10.c: Likewise.
86482 * math/w_log10f.c: Likewise.
86483 * math/w_log10l.c: Likewise.
86484 * math/w_log2.c: Likewise.
86485 * math/w_log2f.c: Likewise.
86486 * math/w_log2l.c: Likewise.
86487 * math/w_logf.c: Likewise.
86488 * math/w_logl.c: Likewise.
86489 * math/w_sqrt.c: Likewise.
86490 * math/w_sqrtf.c: Likewise.
86491 * math/w_sqrtl.c: Likewise.
86492 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86493 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86494 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86495 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86496 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86497
86498 2012-02-19 Joseph Myers <joseph@codesourcery.com>
86499
86500 [BZ #9739]
86501 * manual/string.texi (strnlen): Use correct parameter name in
86502 equivalent expression.
86503
86504 2012-02-19 Joseph Myers <joseph@codesourcery.com>
86505
86506 [BZ #11174]
86507 * manual/users.texi (seteuid): Consistently use neweuid for
86508 argument name.
86509
86510 2012-02-19 Joseph Myers <joseph@codesourcery.com>
86511
86512 [BZ #13704]
86513 * manual/nss.texi (Services in the NSS configuration): Correct
86514 list of services in example configuration file.
86515
86516 2012-02-19 Nick Bowler <nbowler@draconx.ca>
86517
86518 [BZ #11322]
86519 * manual/arith.texi: Remove statements about negative zero
86520 behaving identically to zero.
86521
86522 2012-02-18 Joseph Myers <joseph@codesourcery.com>
86523
86524 [BZ #5993]
86525 * manual/install.texi: Do not document upgrading from libc5.
86526
86527 2012-02-18 Joseph Myers <joseph@codesourcery.com>
86528
86529 [BZ #4596]
86530 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86531
86532 2012-02-18 David S. Miller <davem@davemloft.net>
86533
86534 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86535 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86536 %o7 across the call.
86537 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86538 instead.
86539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86540 SETUP_PIC_REG_LEAF.
86541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86542 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86543 * sysdeps/sparc/crtn.S: Likewise.
86544
86545 2012-02-17 Ulrich Drepper <drepper@gmail.com>
86546
86547 * aout/Makefile: Remove.
86548
86549 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
86550
86551 [BZ #13058]
86552 * manual/examples/argp-ex1.c (main): Format definition in GNU
86553 style.
86554 * manual/examples/argp-ex2.c (main): Likewise.
86555 * manual/examples/argp-ex3.c (main): Likewise.
86556 * manual/examples/argp-ex4.c (main): Likewise.
86557 * manual/examples/longopt.c (main): Use new-style prototype
86558 definition.
86559 * manual/examples/strncat.c (main): Specify return type and use
86560 (void) for arguments.
86561 * manual/examples/subopt.c (main): Use char **argv argument.
86562
86563 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86564
86565 [BZ #5077]
86566 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86567 rounding modes.
86568
86569 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
86570
86571 [BZ #6907]
86572 * manual/string.texi (strchr): Change when strchrnul is
86573 recommended.
86574
86575 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
86576
86577 [BZ #174]
86578 * manual/locale.texi (setlocale): Document LOCPATH.
86579
86580 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86581
86582 [BZ #10210]
86583 * manual/process.texi (execle): Move @dots{} before last argument.
86584
86585 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
86586
86587 [BZ #12047]
86588 * manual/charset.texi (Generic Charset Conversion): Fix typo
86589 (LC_TYPE -> LC_CTYPE).
86590
86591 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
86592
86593 [BZ #5805]
86594 * manual/arith.texi (scalbn): Use @var{} on parameter names.
86595 (scalbnf): Likewise.
86596 (scalbnl): Likewise.
86597 (scalbln): Likewise.
86598 (scalblnf): Likewise.
86599 (scalblnl): Likewise.
86600 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86601 (vwarnx): Likewise.
86602 (verr): Likewise.
86603 (verrx): Likewise.
86604 * manual/filesys.texi (telldir): Use braces around return type.
86605 * manual/llio.texi (mmap): Add space after comma.
86606 (mmap64): Likewise.
86607 * manual/math.texi (jn): Use @var{} on parameter names.
86608 (jnf): Likewise.
86609 (jnl): Likewise.
86610 (yn): Likewise.
86611 (ynf): Likewise.
86612 (ynl): Likewise.
86613 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86614 line.
86615 * manual/resource.texi (ulimit): Use @dots{} instead of literal
86616 "...".
86617 (sched_get_priority_min): Remove semicolon on @deftypefun line.
86618 (sched_get_priority_max): Likewise.
86619 * manual/signal.texi (sigvec): Add space after comma.
86620 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86621 names.
86622 (if_indextoname): Likewise.
86623 (if_freenameindex): Likewise.
86624 (sendto): Use ',' instead of '.' in prototype.
86625 * manual/startup.texi (syscall): Use @dots{} instead of literal
86626 "...".
86627 * manual/stdio.texi (__fpending): Separate initial words of
86628 paragraph from @deftypefun line.
86629 * manual/syslog.texi (syslog): Use @dots{} instead of literal
86630 "...".
86631 (vsyslog): Use @var{} on parameter names.
86632 * manual/terminal.texi (stty): Use @var{} on parameter names.
86633 * manual/users.texi (getutmp): Use @var{} on parameter names.
86634 (getutmpx): Likewise.
86635
86636 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86637
86638 [BZ #6884]
86639 * manual/stdio.texi (fopen): Fix typos in description of
86640 ",ccs=STRING".
86641
86642 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
86643
86644 [BZ #4026]
86645 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86646 get clock_id definition.
86647
86648 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
86649
86650 [BZ #4822]
86651 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86652 (madvise): Cast every argument to void on its own.
86653
86654 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86655
86656 [BZ #9902]
86657 * manual/startup.texi (Exit Status): Fix typo.
86658
86659 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86660
86661 [BZ #10140]
86662 * manual/examples/argp-ex1.c: Include <stdlib.h>.
86663 * manual/examples/argp-ex2.c: Likewise.
86664 * manual/examples/argp-ex3.c: Likewise.
86665
86666 2012-02-16 Richard Henderson <rth@redhat.com>
86667
86668 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86669 * sysdeps/s390/s390-32/initfini.c: Remove.
86670 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86671 * sysdeps/s390/s390-64/initfini.c: Remove.
86672
86673 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
86674
86675 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86676 compiler output for sysdeps/generic/initfini.c.
86677 * sysdeps/sh/elf/initfini.c: Remove file.
86678
86679 2012-02-16 David S. Miller <davem@davemloft.net>
86680
86681 [BZ #11494]
86682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86683
86684 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86685 * sysdeps/sparc/crti.S: New file.
86686 * sysdeps/sparc/crtn.S: New file.
86687 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86688 * sysdeps/sparc/sparc64/Makefile: Likewise.
86689
86690 2012-02-15 Mike Frysinger <vapier@gentoo.org>
86691
86692 [BZ #3335]
86693 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86694
86695 2012-02-15 Roland McGrath <roland@hack.frob.com>
86696
86697 [BZ #4822]
86698 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86699
86700 * mach/devstream.c (cookie_io_functions_t): Macro removed.
86701 (write, read, close): Likewise.
86702 Patch by Aurelien Jarno <aurelien@aurel32.net>.
86703
86704 2012-02-15 Joseph Myers <joseph@codesourcery.com>
86705
86706 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86707 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86708 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86709 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86710 <bits/signalfd.h>.
86711 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86713 bits/signalfd.h.
86714
86715 2012-02-14 Marek Polacek <polacek@redhat.com>
86716
86717 * sysdeps/x86_64/crti.S: New file.
86718 * sysdeps/x86_64/crtn.S: New file.
86719 * sysdeps/x86_64/elf/initfini.c: Remove file.
86720
86721 2012-02-13 Joseph Myers <joseph@codesourcery.com>
86722
86723 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
86724 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
86725 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
86726 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
86727 <bits/inotify.h>.
86728 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
86729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86730 bits/inotify.h.
86731
86732 2012-02-13 Joseph Myers <joseph@codesourcery.com>
86733
86734 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
86735 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
86736 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
86737 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
86738 <bits/eventfd.h>.
86739 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
86740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86741 bits/eventfd.h.
86742
86743 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
86744
86745 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
86746 __feraiseexcept instead of feraiseexcept.
86747
86748 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
86749 nanosleep invocations.
86750 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
86751 strings, and add error checking for a nanosleep invocations.
86752
86753 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
86754
86755 Replace FSF snail mail address with URLs, as per GNU coding standards.
86756 Most of the snail mail addresses were wrong anyway, and omitting
86757 them makes the source code easier to maintain. Almost all of the
86758 changes are to license notices and to locale LC_IDENTIFICATION
86759 addresses, except for this one:
86760 * manual/libc.texinfo: In "Published by", give the FSF's URL,
86761 not its snail mail address.
86762
86763 2012-02-09 Richard Henderson <rth@twiddle.net>
86764
86765 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
86766 of kernel-features.h.
86767
86768 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
86769
86770 2012-02-08 Marek Polacek <polacek@redhat.com>
86771
86772 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
86773 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
86774 * sysdeps/gnu/_G_config.h: Likewise.
86775 * sysdeps/generic/_G_config.h: Likewise.
86776
86777 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
86778
86779 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
86780 tests.
86781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86782
86783 * sysdeps/powerpc/powerpc32/crti.S: New file.
86784 * sysdeps/powerpc/powerpc32/crtn.S: New file.
86785 * sysdeps/powerpc/powerpc64/crti.S: New file.
86786 * sysdeps/powerpc/powerpc64/crtn.S: New file.
86787
86788 * Makeconfig (have-initfini): Don't set.
86789 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
86790 * configure.in (nopic_initfini): Don't substitute.
86791 * config.h.in (HAVE_INITFINI): Don't #undef.
86792 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
86793 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
86794
86795 2012-02-08 Joseph Myers <joseph@codesourcery.com>
86796
86797 Support crti.S and crtn.S provided directly by architectures.
86798 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
86799 [crti.S in sysdirs] (omit-deps): Likewise.
86800 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
86801 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
86802 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
86803 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
86804 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
86805 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
86806 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
86807 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
86808 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
86809 compiler output for sysdeps/generic/initfini.c.
86810 * sysdeps/i386/elf/Makefile: Remove file.
86811 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
86812
86813 2012-02-07 Marek Polacek <polacek@redhat.com>
86814
86815 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
86816 * sysdeps/gnu/_G_config.h: Likewise.
86817 * sysdeps/mach/hurd/_G_config.h: Likewise.
86818
86819 2012-02-07 Marek Polacek <polacek@redhat.com>
86820
86821 * math/Makefile (tests): Add tst-CMPLX2.
86822 * math/tst-CMPLX2.c: New file.
86823
86824 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
86825
86826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86827
86828 * math/libm-test.inc (jn_test): Add missing L suffix.
86829
86830 2012-02-06 Marek Polacek <polacek@redhat.com>
86831
86832 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
86833 * sysdeps/i386/fpu/e_powf.S: Likewise.
86834 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86836 * sysdeps/i386/fpu/e_acosh.S: Likewise.
86837 * sysdeps/i386/fpu/e_pow.S: Likewise.
86838 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
86839 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86840 * sysdeps/i386/fpu/s_expm1.S: Likewise.
86841 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
86842 * sysdeps/i386/fpu/e_log2.S: Likewise.
86843 * sysdeps/i386/fpu/e_log2l.S: Likewise.
86844 * sysdeps/i386/fpu/e_scalb.S: Likewise.
86845 * sysdeps/i386/fpu/e_powl.S: Likewise.
86846 * sysdeps/i386/fpu/s_log1p.S: Likewise.
86847 * sysdeps/i386/fpu/e_log10f.S: Likewise.
86848 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
86849 * sysdeps/i386/fpu/e_logl.S: Likewise.
86850 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
86851 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
86852 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
86853 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
86854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
86855 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86856 * sysdeps/i386/fpu/e_log.S: Likewise.
86857 * sysdeps/i386/fpu/s_cexp.S: Likewise.
86858 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86859 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
86860 * sysdeps/i386/fpu/e_logf.S: Likewise.
86861 * sysdeps/i386/fpu/e_log10l.S: Likewise.
86862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
86863 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
86864 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
86865 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86866 * sysdeps/i386/fpu/e_log10.S: Likewise.
86867 * sysdeps/i386/fpu/s_frexp.S: Likewise.
86868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86869 * sysdeps/i386/fpu/s_asinh.S: Likewise.
86870 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
86871 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86872 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
86873 * sysdeps/i386/asm-syntax.h: Likewise.
86874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86876 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86877 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
86878 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
86879 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86880 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
86881 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
86882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86883 * sysdeps/powerpc/sysdep.h: Likewise.
86884 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
86885 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
86886
86887 2012-02-06 Joseph Myers <joseph@codesourcery.com>
86888
86889 [BZ #411]
86890 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
86891
86892 2012-02-06 Joseph Myers <joseph@codesourcery.com>
86893
86894 * sysdeps/i386/sysdep.h: Include <features.h>.
86895 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
86896 version.
86897
86898 2012-02-05 Joseph Myers <joseph@codesourcery.com>
86899
86900 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
86901 Define.
86902 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
86903 LOAD_PIC_REG_STR.
86904
86905 2012-02-03 Joseph Myers <joseph@codesourcery.com>
86906
86907 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
86908 (SETUP_PIC_REG): Use GET_PC_THUNK.
86909 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
86910 macro.
86911
86912 2012-02-03 Joseph Myers <joseph@codesourcery.com>
86913
86914 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
86915 for non-PIC compilation.
86916 (SETUP_PIC_REG): Add .p2align directive.
86917 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
86918 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
86919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
86920 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
86921 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
86922 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
86923 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
86924 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86925 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
86926 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
86927 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
86928 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
86929 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
86930 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
86931 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
86932 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
86933 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
86934 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
86935 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
86936 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
86937 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
86938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
86939 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
86940 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
86941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
86942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
86943 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86944 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
86945 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
86946 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
86947 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
86948 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86949 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
86950 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
86951 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
86952 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
86953 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
86954 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
86955 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
86956 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
86957 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
86958
86959 2012-02-03 Joseph Myers <joseph@codesourcery.com>
86960
86961 * math/tst-CMPLX.c: Include <stdio.h>.
86962
86963 2012-01-31 Joseph Myers <joseph@codesourcery.com>
86964
86965 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
86966 float.
86967 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86968 * sysdeps/sparc/bits/mathdef.h: Likewise.
86969
86970 2012-01-31 Marek Polacek <polacek@redhat.com>
86971
86972 * libio/libio.h: Don't define _PARAMS.
86973 * locale/programs/config.h: Don't define PARAMS.
86974 * stdlib/strtol_l.c: Likewise.
86975 (__strtol_l): Remove PARAMS from the prototype.
86976
86977 2012-01-31 Ulrich Drepper <drepper@gmail.com>
86978
86979 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
86980 names. Just use the correct names. Remove unnecessary wrapper
86981 functions.
86982 * malloc/arena.c: Likewise.
86983 * malloc/hooks.c: Likewise.
86984
86985 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
86986 ARENA_TEST says not to. Simplify test for creation of a new arena.
86987 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
86988
86989 2012-01-30 Ulrich Drepper <drepper@gmail.com>
86990
86991 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
86992 into tail calls.
86993 (update_get_addr): New function.
86994 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
86995 GET_ADDR_MODULE parameter.
86996
86997 2012-01-30 Joseph Myers <joseph@codesourcery.com>
86998
86999 * crypt/cert.c: Remove __STDC__ conditionals.
87000 * crypt/crypt-entry.c: Likewise.
87001 * crypt/crypt_util.c: Likewise.
87002 * libio/filedoalloc.c: Likewise.
87003 * libio/fileops.c: Likewise.
87004 * libio/genops.c: Likewise.
87005 * libio/iofclose.c: Likewise.
87006 * libio/iofdopen.c: Likewise.
87007 * libio/iofopen.c: Likewise.
87008 * libio/iofopen64.c: Likewise.
87009 * libio/iogetdelim.c: Likewise.
87010 * libio/iopopen.c: Likewise.
87011 * libio/obprintf.c: Likewise.
87012 * libio/oldfileops.c: Likewise.
87013 * libio/oldiofclose.c: Likewise.
87014 * libio/oldiofdopen.c: Likewise.
87015 * libio/oldiofopen.c: Likewise.
87016 * libio/oldiopopen.c: Likewise.
87017 * libio/wfiledoalloc.c: Likewise.
87018 * libio/wgenops.c: Likewise.
87019 * locale/programs/xmalloc.c: Likewise.
87020 * misc/syslog.c: Likewise.
87021 * stdio-common/xbug.c: Likewise.
87022 * string/memchr.c: Likewise.
87023 * string/memcmp.c: Likewise.
87024 * string/memrchr.c: Likewise.
87025 * string/rawmemchr.c: Likewise.
87026 * sysdeps/posix/getcwd.c: Likewise.
87027 * time/strftime_l.c: Likewise.
87028
87029 2012-01-30 Joseph Myers <joseph@codesourcery.com>
87030
87031 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87032 * config.make.in (config-cflags-sse2avx): Define.
87033 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87034 Fix typo.
87035
87036 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
87037
87038 * scripts/config.guess: Update from upstream config git repository.
87039 * scripts/config.sub: Likewise.
87040
87041 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
87042
87043 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87044 (EM_NUM): Update.
87045 (R_TILEPRO_*, R_TILEGX_*): New macros.
87046
87047 * scripts/firstversions.awk: Fix bug in version range handling.
87048
87049 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87050
87051 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87052
87053 * include/sys/epoll.h: New file.
87054 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87055 libc_hidden_def.
87056
87057 2012-01-28 Ulrich Drepper <drepper@gmail.com>
87058
87059 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87060 Avoid unnecessary __WORDSIZE == 64 test.
87061 (fmaxf): Use VEX format if possible.
87062 (fmax): Likewise.
87063 (fminf): Likewise.
87064 (fmin): Likewise.
87065
87066 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87067 * math/math_private.h: Remove libc_fegetround* and
87068 libc_fesetround*.
87069 * sysdeps/i386/configure.in: Check for -msse2avx.
87070 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87071 also if SSE2AVX is defined.
87072 Remove libc_fegetround* and libc_fesetround*.
87073 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87074 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
87075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87076 of HAS_YMM_USABLE.
87077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87082
87083 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87084
87085 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87086
87087 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87088 size is not set.
87089 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87090
87091 2012-01-27 Ulrich Drepper <drepper@gmail.com>
87092
87093 [BZ #13618]
87094 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87095 relocation.
87096 * Makeconfig (libm): Define.
87097 * elf/Makefile: Add rules to build and run tst-relsort1.
87098 * elf/tst-relsort1.c: New file.
87099 * elf/tst-relsort1mod1.c: New file.
87100 * elf/tst-relsort1mod2.c: New file.
87101
87102 2012-01-27 Joseph Myers <joseph@codesourcery.com>
87103
87104 * math/s_ldexp.c: Remove __STDC__ conditionals.
87105 * math/s_ldexpf.c: Likewise.
87106 * math/s_ldexpl.c: Likewise.
87107 * math/s_nextafter.c: Likewise.
87108 * math/s_nexttowardf.c: Likewise.
87109 * math/s_significand.c: Likewise.
87110 * math/s_significandf.c: Likewise.
87111 * math/s_significandl.c: Likewise.
87112 * math/w_jnl.c: Likewise.
87113 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87114 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87115 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87116 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87117 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87119 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87120 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87121 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87122 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87123 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87125 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87126 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87127 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87128 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87129 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87130 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87132 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87134 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87139 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87140 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87141 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87142 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87143 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87144 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87146 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87147 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87148 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87149 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87150 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87151 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87152 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87153 * sysdeps/ieee754/k_standard.c: Likewise.
87154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87156 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87157 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87158 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87159 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87161 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87162 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87163 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87164 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87165 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87166 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87168 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87173 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87176 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87177 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87178 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87179 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87184 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87185 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87186 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87187 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87189 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87190 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87193 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87194 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87195 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87196 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87197 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87203 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87204 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87207 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87208 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87209 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87210 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87213 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87214 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87215 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87216 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87217 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87218 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87219 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87220 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87221 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87222 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87223 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87224 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87226 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87227 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87229 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87230 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87231 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87233 * sysdeps/ieee754/s_matherr.c: Likewise.
87234 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87235 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87238
87239 2012-01-26 Joseph Myers <joseph@codesourcery.com>
87240
87241 * crypt/md5.h: Remove __STDC__ conditionals.
87242 * libio/libioP.h: Likewise.
87243 * locale/programs/config.h: Likewise.
87244 * sysdeps/generic/sysdep.h: Likewise.
87245 * sysdeps/i386/asm-syntax.h: Likewise.
87246 * sysdeps/s390/asm-syntax.h: Likewise.
87247 * sysdeps/unix/sysdep.h: Likewise.
87248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87250
87251 2012-01-26 Joseph Myers <joseph@codesourcery.com>
87252
87253 * libio/libio.h: Remove __STDC__ conditionals.
87254 * malloc/obstack.h: Likewise.
87255 * math/complex.h: Likewise.
87256 * math/math.h: Likewise.
87257 * sysdeps/generic/_G_config.h: Likewise.
87258 * sysdeps/gnu/_G_config.h: Likewise.
87259 * sysdeps/mach/hurd/_G_config.h: Likewise.
87260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
87261 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87262 * sysdeps/sparc/bits/mathdef.h: Likewise.
87263
87264 2012-01-26 Ulrich Drepper <drepper@gmail.com>
87265
87266 [BZ #13583]
87267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87268 Clean up HAS_* macros.
87269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87270 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87271 possible.
87272 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87273 HAS_AVX.
87274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87277 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87278 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87279
87280 2012-01-25 Joseph Myers <joseph@codesourcery.com>
87281
87282 * elf/tst-unique3.cc (gets): Remove declaration.
87283 * elf/tst-unique3lib.cc (gets): Likewise.
87284 * elf/tst-unique3lib2.cc (gets): Likewise.
87285 * elf/tst-unique4.cc (gets): Likewise.
87286
87287 2012-01-24 Ulrich Drepper <drepper@gmail.com>
87288
87289 * include/stdio.h: Add C++ protection. Add gets declarations and
87290 definitions.
87291 * debug/tst-chk1.c: Don't declare gets here.
87292 * stdio-common/tst-gets.c: Likewise.
87293
87294 2012-01-24 Joseph Myers <joseph@codesourcery.com>
87295
87296 * posix/glob: Remove directory.
87297
87298 2012-01-24 Joseph Myers <joseph@codesourcery.com>
87299
87300 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87301
87302 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
87303
87304 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87305 of the non-standard EPFNOSUPPORT.
87306
87307 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
87308
87309 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87310 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87311 ANYWHERE set to 1 only on KERN_NO_SPACE error.
87312
87313 2012-01-21 Ulrich Drepper <drepper@gmail.com>
87314
87315 * wcsmbs/uchar.h: Test __STDC_VERSION__.
87316
87317 2012-01-20 Ulrich Drepper <drepper@gmail.com>
87318
87319 * nscd/aicache.c (addhstaiX): Do not cache negative results of
87320 transient errors.
87321 * nscd/grpcache.c (cache_addgr): Likewise.
87322 * nscd/hstcache.c (cache_addhst): Likewise.
87323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
87324 * nscd/pwdcache.c (cache_addpw): Likewise.
87325 * nscd/servicescache.c (cache_addserv): Likewise.
87326
87327 2012-01-16 Ulrich Drepper <drepper@gmail.com>
87328
87329 * malloc/malloc.c: Various cleanups.
87330 * malloc/hooks.c: Likewise.
87331
87332 * stdlib/Makefile (tests): Add bug-fmtmsg1.
87333 * stdlib/bug-fmtmsg1.c: New file.
87334
87335 * stdlib/fmtmsg.c (init): Add missing unlock.
87336 Patch by Peng Haitao <penght@cn.fujitsu.com>.
87337
87338 2012-01-12 Marek Polacek <polacek@redhat.com>
87339
87340 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87341 and _GNU_SOURCE.
87342
87343 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
87344
87345 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87346 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87347 macro to ensure uniqueness of label name.
87348 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87349 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87350
87351 2012-01-11 Ulrich Drepper <drepper@gmail.com>
87352
87353 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87354
87355 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87357 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87359
87360 2012-01-10 Ulrich Drepper <drepper@gmail.com>
87361
87362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87363
87364 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87365 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87366 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87367
87368 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87369
87370 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87371 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87374
87375 * math/bits/math-finite.h: Add ldexp support.
87376
87377 2012-01-10 Marek Polacek <polacek@redhat.com>
87378
87379 * locale/programs/localedef.h (show_archive_content): Add noreturn
87380 attribute.
87381
87382 2012-01-09 Ulrich Drepper <drepper@gmail.com>
87383
87384 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87385
87386 2012-01-08 Ulrich Drepper <drepper@gmail.com>
87387
87388 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87389
87390 * io/Makefile (headers): Add bits/poll2.h.
87391
87392 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
87393
87394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87395 typo #include statement.
87396
87397 2012-01-08 Ulrich Drepper <drepper@gmail.com>
87398
87399 * include/sys/cdefs.h: Define __attribute_alloc_size.
87400 * catgets/gencat.c: Add alloc_size attribute and apply consistently
87401 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87402 * elf/pldd.c: Likewise.
87403 * iconv/iconv_charmap.c: Likewise.
87404 * iconv/iconvconfig.c: Likewise.
87405 * iconv/strtab.c: Likewise.
87406 * locale/programs/locale.c: Likewise.
87407 * locale/programs/localedef.h: Likewise.
87408 * locale/programs/simple-hash.c: Likewise.
87409 * nscd/nscd.h: Likewise.
87410 * nss/makedb.c: Likewise.
87411 * sysdeps/generic/ldconfig.h: Likewise.
87412 * locale/programs/localedef.c: Remove xmalloc prototype.
87413 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87414
87415 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
87416
87417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87418 appropriate.
87419
87420 2012-01-08 Ulrich Drepper <drepper@gmail.com>
87421
87422 * math/Makefile (tests): Add tst-CMPLX.
87423 * math/tst-CMPLX.c: New file.
87424
87425 * math/complex.h (CMPLXL): Fix typo.
87426
87427 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87428 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87429 GLIBC_2.16.
87430 * debug/tst-chk1.c: Add poll and ppoll tests.
87431 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87432 * include/sys/poll.h: Add hidden proto for ppoll.
87433 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87434 * sysdeps/mach/hurd/ppoll.c: Likewise.
87435 * io/ppoll.c: Likewise.
87436 * debug/poll_chk.c: New file.
87437 * debug/ppoll_chk.c: New file.
87438 * include/bits/poll2.h: New file.
87439 * io/bits/poll2.h: New file.
87440
87441 [BZ #1350]
87442 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87443
87444 * configure.in: static is always set to yes. Remove.
87445 * config.make.in: Don't set build-static.
87446 * Makeconfig: Remove use of build-static.
87447 * dlfcn/Makefile: Likewise.
87448 * elf/Makefile: Likewise.
87449 * math/Makefile: Likewise.
87450 * misc/Makefile: Likewise.
87451 * nptl/Makefile: Likewise.
87452 * sysdeps/mach/hurd/Makefile: Likewise.
87453
87454 * configure.in: PWD_P is not used anymore.
87455 * config.make.in: Remove PWD_P entry.
87456
87457 * configure.in: Remove last remnants of RANLIB.
87458 No need to check for signed size_t anymore.
87459 Don't set libc_commonpagesize and libc_relro_required here for Alpha
87460 and IA-64.
87461 Remove __builtin_expect test because we require at least gcc 3.4.
87462 * aclocal.m4: Likewise.
87463
87464 * wcsmbs/mbrtoc16.c: Implement using towc function.
87465 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87466 * wcsmbs/wcsmbsload.c: Likewise.
87467 * iconv/gconv_simple.c: Likewise.
87468 * iconv/gconv_int.h: Likewise.
87469 * iconv/gconv_builtin.h: Likewise.
87470 * iconv/iconv_prog.c: Remove CHAR16 handling.
87471
87472 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87473
87474 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87475
87476 * configure.in: Remove --with-elf and --enable-bounded options.
87477 Dont set base_machine for ia64. More non-ELF conditions removed.
87478 Remove testing and setting of leading underscore information.
87479 * config.make.in (build-bounded): Set to no.
87480 * config.h.in: Remove NO_UNDERSCORES entry.
87481 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
87482 them.
87483 * csu/start.c: Remove !NO_UNDERSCORE code.
87484 * locale/localeinfo.h: Likewise.
87485 * sysdeps/generic/machine-gmon.h: Likewise.
87486 * sysdeps/generic/sysdep.h: Likewise.
87487 * sysdeps/i386/sysdep.h: Likewise.
87488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87489 * sysdeps/mach/sysdep.h: Likewise.
87490 * sysdeps/s390/s390-32/sysdep.h: Likewise.
87491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
87492 * sysdeps/sh/sysdep.h: Likewise.
87493 * sysdeps/sparc/sparc32/alloca.S: Likewise.
87494 * sysdeps/unix/i386/sysdep.S: Likewise.
87495 * sysdeps/unix/sparc/start.c: Likewise.
87496 * sysdeps/unix/sparc/sysdep.S: Likewise.
87497 * sysdeps/unix/sparc/sysdep.h: Likewise.
87498 * sysdeps/unix/start.c: Likewise.
87499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
87500 * sysdeps/x86_64/sysdep.h: Likewise.
87501
87502 2012-01-07 Ulrich Drepper <drepper@gmail.com>
87503
87504 [BZ #13553]
87505 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87506 for non-gcc.
87507 * argp/argp-fmtstream.h: Use const instead __const.
87508 * argp/argp.h: Likewise.
87509 * assert/assert.h: Likewise.
87510 * bits/fenv.h: Likewise.
87511 * bits/sched.h: Likewise.
87512 * bits/sigset.h: Likewise.
87513 * bits/sigthread.h: Likewise.
87514 * catgets/nl_types.h: Likewise.
87515 * conform/data/pthread.h-data: Likewise.
87516 * crypt/crypt-private.h: Likewise.
87517 * crypt/crypt.h: Likewise.
87518 * crypt/crypt_util.c: Likewise.
87519 * ctype/ctype.h: Likewise.
87520 * debug/execinfo.h: Likewise.
87521 * debug/mbsnrtowcs_chk.c: Likewise.
87522 * debug/mbsrtowcs_chk.c: Likewise.
87523 * debug/wcsnrtombs_chk.c: Likewise.
87524 * debug/wcsrtombs_chk.c: Likewise.
87525 * debug/wcstombs_chk.c: Likewise.
87526 * dirent/dirent.h: Likewise.
87527 * dlfcn/dlfcn.h: Likewise.
87528 * elf/neededtest4.c: Likewise.
87529 * grp/grp.h: Likewise.
87530 * gshadow/gshadow.h: Likewise.
87531 * iconv/gconv.h: Likewise.
87532 * iconv/gconv_int.h: Likewise.
87533 * iconv/gconv_simple.c: Likewise.
87534 * iconv/iconv.h: Likewise.
87535 * iconv/loop.c: Likewise.
87536 * iconv/skeleton.c: Likewise.
87537 * include/aio.h: Likewise.
87538 * include/aliases.h: Likewise.
87539 * include/argz.h: Likewise.
87540 * include/arpa/inet.h: Likewise.
87541 * include/assert.h: Likewise.
87542 * include/dirent.h: Likewise.
87543 * include/dlfcn.h: Likewise.
87544 * include/execinfo.h: Likewise.
87545 * include/fcntl.h: Likewise.
87546 * include/fenv.h: Likewise.
87547 * include/glob.h: Likewise.
87548 * include/grp.h: Likewise.
87549 * include/libintl.h: Likewise.
87550 * include/mntent.h: Likewise.
87551 * include/netdb.h: Likewise.
87552 * include/pwd.h: Likewise.
87553 * include/rpc/netdb.h: Likewise.
87554 * include/sched.h: Likewise.
87555 * include/search.h: Likewise.
87556 * include/shadow.h: Likewise.
87557 * include/signal.h: Likewise.
87558 * include/stdio.h: Likewise.
87559 * include/stdlib.h: Likewise.
87560 * include/string.h: Likewise.
87561 * include/sys/socket.h: Likewise.
87562 * include/sys/stat.h: Likewise.
87563 * include/sys/statfs.h: Likewise.
87564 * include/sys/statvfs.h: Likewise.
87565 * include/sys/syslog.h: Likewise.
87566 * include/sys/time.h: Likewise.
87567 * include/sys/uio.h: Likewise.
87568 * include/time.h: Likewise.
87569 * include/unistd.h: Likewise.
87570 * include/utmp.h: Likewise.
87571 * include/wchar.h: Likewise.
87572 * include/wctype.h: Likewise.
87573 * inet/aliases.h: Likewise.
87574 * inet/arpa/inet.h: Likewise.
87575 * inet/netinet/ether.h: Likewise.
87576 * inet/netinet/in.h: Likewise.
87577 * intl/libintl.h: Likewise.
87578 * io/bits/fcntl2.h: Likewise.
87579 * io/fcntl.h: Likewise.
87580 * io/ftw.h: Likewise.
87581 * io/sys/poll.h: Likewise.
87582 * io/sys/stat.h: Likewise.
87583 * io/sys/statfs.h: Likewise.
87584 * io/sys/statvfs.h: Likewise.
87585 * io/utime.h: Likewise.
87586 * libio/bits/stdio.h: Likewise.
87587 * libio/bits/stdio2.h: Likewise.
87588 * libio/libio.h: Likewise.
87589 * libio/libioP.h: Likewise.
87590 * libio/stdio.h: Likewise.
87591 * locale/lc-ctype.c: Likewise.
87592 * locale/locale.h: Likewise.
87593 * login/utmp.h: Likewise.
87594 * malloc/arena.c: Likewise.
87595 * malloc/malloc.c: Likewise.
87596 * malloc/malloc.h: Likewise.
87597 * malloc/mcheck.c: Likewise.
87598 * malloc/mtrace.c: Likewise.
87599 * math/bits/mathcalls.h: Likewise.
87600 * math/fenv.h: Likewise.
87601 * math/math_private.h: Likewise.
87602 * misc/bits/error.h: Likewise.
87603 * misc/bits/syslog.h: Likewise.
87604 * misc/err.h: Likewise.
87605 * misc/error.h: Likewise.
87606 * misc/fstab.h: Likewise.
87607 * misc/mntent.h: Likewise.
87608 * misc/regexp.h: Likewise.
87609 * misc/search.h: Likewise.
87610 * misc/sgtty.h: Likewise.
87611 * misc/sys/mman.h: Likewise.
87612 * misc/sys/syslog.h: Likewise.
87613 * misc/sys/uio.h: Likewise.
87614 * misc/sys/xattr.h: Likewise.
87615 * misc/ttyent.h: Likewise.
87616 * nis/rpcsvc/ypclnt.h: Likewise.
87617 * nss/nss.h: Likewise.
87618 * posix/bits/unistd.h: Likewise.
87619 * posix/fnmatch.h: Likewise.
87620 * posix/glob.h: Likewise.
87621 * posix/sched.h: Likewise.
87622 * posix/spawn.h: Likewise.
87623 * posix/sys/wait.h: Likewise.
87624 * posix/unistd.h: Likewise.
87625 * posix/wordexp.h: Likewise.
87626 * pwd/pwd.h: Likewise.
87627 * resolv/netdb.h: Likewise.
87628 * resource/sys/resource.h: Likewise.
87629 * rt/aio.h: Likewise.
87630 * rt/bits/mqueue2.h: Likewise.
87631 * rt/mqueue.h: Likewise.
87632 * shadow/shadow.h: Likewise.
87633 * signal/signal.h: Likewise.
87634 * socket/send.c: Likewise.
87635 * socket/sendto.c: Likewise.
87636 * socket/sys/socket.h: Likewise.
87637 * stdio-common/printf.h: Likewise.
87638 * stdlib/bits/stdlib.h: Likewise.
87639 * stdlib/fmtmsg.h: Likewise.
87640 * stdlib/monetary.h: Likewise.
87641 * stdlib/stdlib.h: Likewise.
87642 * stdlib/ucontext.h: Likewise.
87643 * streams/stropts.h: Likewise.
87644 * string/argz.h: Likewise.
87645 * string/bits/string2.h: Likewise.
87646 * string/string.h: Likewise.
87647 * string/strings.h: Likewise.
87648 * sunrpc/rpc/auth.h: Likewise.
87649 * sunrpc/rpc/auth_des.h: Likewise.
87650 * sunrpc/rpc/clnt.h: Likewise.
87651 * sunrpc/rpc/netdb.h: Likewise.
87652 * sunrpc/rpc/pmap_clnt.h: Likewise.
87653 * sunrpc/rpc/xdr.h: Likewise.
87654 * sysdeps/generic/inttypes.h: Likewise.
87655 * sysdeps/generic/net/if.h: Likewise.
87656 * sysdeps/generic/sys/swap.h: Likewise.
87657 * sysdeps/gnu/net/if.h: Likewise.
87658 * sysdeps/gnu/utmpx.h: Likewise.
87659 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87660 * sysdeps/i386/i486/bits/string.h: Likewise.
87661 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87662 * sysdeps/s390/bits/string.h: Likewise.
87663 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87664 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87665 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87666 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87667 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87668 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87669 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87671 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87672 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87673 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87674 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87675 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87676 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87677 * sysdeps/unix/sysv/linux/readv.c: Likewise.
87678 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87679 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87682 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87684 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87685 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87686 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87687 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87688 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87689 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87690 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87691 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87693 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87694 * sysvipc/sys/ipc.h: Likewise.
87695 * sysvipc/sys/msg.h: Likewise.
87696 * sysvipc/sys/sem.h: Likewise.
87697 * sysvipc/sys/shm.h: Likewise.
87698 * termios/termios.h: Likewise.
87699 * time/sys/time.h: Likewise.
87700 * time/time.h: Likewise.
87701 * wcsmbs/bits/wchar2.h: Likewise.
87702 * wcsmbs/uchar.h: Likewise.
87703 * wcsmbs/wchar.h: Likewise.
87704 * wctype/wctype.h: Likewise.
87705
87706 [BZ #13551]
87707 * Makeconfig: Remove all but ELF support including AIX support.
87708 * Makerules: Likewise.
87709 * config.h.in: Likewise.
87710 * config.make.in: Likewise.
87711 * configure: Likewise.
87712 * configure.in: Likewise.
87713 * csu/Makefile: Likewise.
87714 * csu/version.c: Likewise.
87715 * debug/Makefile: Likewise.
87716 * dlfcn/Makefile: Likewise.
87717 * elf/Makefile: Likewise.
87718 * extra-lib.mk: Likewise.
87719 * iconv/Makefile: Likewise.
87720 * include/libc-symbols.h: Likewise.
87721 * include/shlib-compat.h: Likewise.
87722 * resolv/Makefile: Likewise.
87723 * resolv/res_libc.c: Likewise.
87724 * rt/Makefile: Likewise.
87725 * sysdeps/i386/asm-syntax.h: Likewise.
87726 * sysdeps/i386/sysdep.h: Likewise.
87727 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87728 * sysdeps/mach/sysdep.h: Likewise.
87729 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
87730 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
87731 * sysdeps/s390/asm-syntax.h: Likewise.
87732 * sysdeps/s390/s390-32/sysdep.h: Likewise.
87733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
87734 * sysdeps/sh/sysdep.h: Likewise.
87735 * sysdeps/unix/sparc/sysdep.h: Likewise.
87736 * sysdeps/wordsize-32/divdi3.c: Likewise.
87737 * sysdeps/x86_64/sysdep.h: Likewise.
87738
87739 * argp/Versions: Remove _argp_unlock_xxx.
87740
87741 [BZ #13559]
87742 * abilist/ld.abilist: Update. Adjust for removal of tls option.
87743 * abilist/libBrokenLocale.abilist: Likewise.
87744 * abilist/libanl.abilist: Likewise.
87745 * abilist/libc.abilist: Likewise.
87746 * abilist/libcrypt.abilist: Likewise.
87747 * abilist/libdl.abilist: Likewise.
87748 * abilist/libm.abilist: Likewise.
87749 * abilist/libnsl.abilist: Likewise.
87750 * abilist/libpthread.abilist: Likewise.
87751 * abilist/libresolv.abilist: Likewise.
87752 * abilist/librt.abilist: Likewise.
87753 * abilist/libthread_db.abilist: Likewise.
87754 * abilist/libutil.abilist: Likewise.
87755 * abilist/libnss_db.abilist: New file.
87756
87757 * scripts/abilist.awk: Add support for indirect functions.
87758
87759 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
87760
87761 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
87762
87763 * shlib-versions: Remove entries for ports architectures.
87764
87765 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
87766 files in ports.
87767 * elf/stackguard-macros.h: Remove support for IA-64.
87768 * elf/tst-auditmod1.c: Likewise.
87769 * sysdeps/generic/ldsodefs.h: Likewise.
87770
87771 * sysdeps/unix/sysv/linux/configure.in: Ports should define
87772 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
87773 configure files.
87774
87775 [BZ #13552]
87776 * configure.in: Remove --enable-omitfp support.
87777 * FAQ.in: Adjust.
87778 * config.make.in: Likewise.
87779 * Makeconfig: Likewise.
87780 * manual/install.texi: Likewise.
87781
87782 In case anyone cares, the IA-64 architecture could move to ports.
87783 * sysdeps/ia64/*: Removed.
87784 * sysdeps/unix/sysv/linux/ia64/*: Removed.
87785 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
87786
87787 [BZ #13555]
87788 * configure.in: Remove entries for unsupported architectures.
87789
87790 [BZ #13533]
87791 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
87792 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
87793 routines.
87794 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
87795 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
87796 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
87797 fall back to using wcrtomb.
87798 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
87799 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
87800 renaming.
87801 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
87802 * wcsmbs/tst-c16c32-1.c: New file.
87803
87804 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
87805 local variable.
87806
87807 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
87808
87809 * elf/tst-unique3.cc: Add explicit declaration of gets.
87810 * elf/tst-unique3lib.cc: Likewise.
87811 * elf/tst-unique3lib2.cc: Likewise.
87812 * elf/tst-unique4.cc: Likewise.
87813
87814 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
87815
87816 2012-01-06 Joseph Myers <joseph@codesourcery.com>
87817
87818 [BZ #13566]
87819 * assert/assert.h (static_assert): Don't define for C++.
87820 * libio/stdio.h (gets): Do declare for C++ <= C++11.
87821 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
87822
87823 2012-01-03 Ulrich Drepper <drepper@gmail.com>
87824
87825 * iconv/loop.c (single loop): Fix assertion in storing of
87826 remaining bytes.
87827
87828 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
87829
87830 2012-01-01 Ulrich Drepper <drepper@gmail.com>
87831
87832 * posix/getconf.c: Update copyright year.
87833 * nss/getent.c: Likewise.
87834 * nss/makedb.c: Likewise.
87835 * iconv/iconvconfig.c: Likewise.
87836 * iconv/iconv_prog.c: Likewise.
87837 * elf/ldconfig.c: Likewise.
87838 * elf/pldd.c: Likewise.
87839 * elf/sotruss.ksh: Likewise.
87840 * catgets/gencat.c: Likewise.
87841 * csu/version.c: Likewise.
87842 * elf/ldd.bash.in: Likewise.
87843 * elf/sprof.c (print_version): Likewise.
87844 * locale/programs/locale.c: Likewise.
87845 * locale/programs/localedef.c: Likewise.
87846 * login/programs/pt_chown.c: Likewise.
87847 * nscd/nscd.c (print_version): Likewise.
87848 * debug/xtrace.sh: Likewise.
87849 * malloc/memusage.sh: Likewise.
87850 * malloc/mtrace.pl: Likewise.
87851 * debug/catchsegv.sh: Likewise.
87852
87853 2011-12-30 Jakub Jelinek <jakub@redhat.com>
87854
87855 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
87856 pure attribute.
87857
87858 2011-12-24 Ulrich Drepper <drepper@gmail.com>
87859
87860 [BZ #13533]
87861 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
87862 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
87863 transformations.
87864 * iconv/gconv_int.h: Likewise.
87865 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
87866 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
87867 from libc for GLIBC_2.16.
87868 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
87869 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
87870 * wcsmbs/uchar.h: Really define mbstate_t.
87871 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
87872 * wcsmbs/c16rtomb.c: New file.
87873 * wcsmbs/mbrtoc16.c: New file.
87874 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
87875 for C/POSIX locale.
87876 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
87877 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
87878
87879 * wcsmbs/wchar.h: Add missing __restrict.
87880
87881 2011-12-23 Ulrich Drepper <drepper@gmail.com>
87882
87883 [BZ #13532]
87884 * time/Makefile (routines): Add timespec_get.
87885 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
87886 * time/time.h: Define TIME_UTC and declare timespec_get. Define
87887 timespec for ISO C11.
87888 * time/timespec_get.c: New file.
87889 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
87890 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
87891
87892 [BZ #13531]
87893 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
87894 * stdlib/stdlib.h: Declare aligned_alloc.
87895 * Versions.def: Add GLIBC_2.16 for libc.
87896 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
87897
87898 [BZ 13527]
87899 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
87900 ISO C11.
87901
87902 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
87903 code.
87904
87905 [BZ #13528]
87906 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
87907
87908 [BZ #13529]
87909 * assert/assert.h (static_assert): Define.
87910
87911 * version.h: Update for 2.16 development version.
87912
87913 [BZ #13526]
87914 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
87915 _ISOC11_SOURCE.
87916
87917 * version.h (RELEASE): Bump for 2.15 release.
87918 * include/features.h (__GLIBC_MINOR__): Bump to 15.
87919
87920 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
87921 Patch by Marek Polacek <mpolacek@redhat.com>.
87922
87923 * bits/byteswap.h: Protect long long constants with __extension__.
87924 * sysdeps/i386/bits/byteswap.h: Likewise.
87925 * sysdeps/ia64/bits/byteswap.h: Likewise.
87926 * sysdeps/s390/bits/byteswap.h: Likewise.
87927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
87928
87929 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87930
87931 [BZ #13540]
87932 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
87933 destination buffer.
87934 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
87935
87936 2011-12-23 Marek Polacek <polacek@redhat.com>
87937
87938 * elf/dl-addr.c (determine_info): Add inline keyword.
87939 * elf/tst-auditmod4b.c (check_avx): Likewise.
87940 * elf/tst-auditmod6b.c (check_avx): Likewise.
87941 * elf/tst-auditmod6c.c (check_avx): Likewise.
87942 * elf/tst-auditmod7b.c (check_avx): Likewise.
87943
87944 2011-12-23 Ulrich Drepper <drepper@gmail.com>
87945
87946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
87947 !__SSE_MATH__.
87948
87949 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87950
87951 [BZ #13540]
87952 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
87953 processing for last bytes.
87954
87955 2011-08-06 Bruno Haible <bruno@clisp.org>
87956
87957 [BZ #13061]
87958 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
87959 U+0385, not to U+1FEE.
87960
87961 [BZ #13062]
87962 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
87963 entry for U+00A5 U+0301.
87964
87965 2011-12-22 Ulrich Drepper <drepper@gmail.com>
87966
87967 [BZ #13166]
87968 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
87969 buffer for the output is too small.
87970
87971 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
87972 optimization.
87973
87974 [BZ #13185]
87975 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
87976 SSE flags if possible.
87977
87978 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87979
87980 [BZ #13540]
87981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
87982 processing for last bytes.
87983
87984 2011-12-22 Joseph Myers <joseph@codesourcery.com>
87985
87986 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
87987 (syscall-list-default-options, syscall-list-default-condition)
87988 (syscall-list-includes): Define.
87989 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
87990 list of ABIs and options and #if conditions for each ABI. Do not
87991 handle common syscalls between ABIs specially.
87992 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
87993 Remove.
87994 (syscall-list-variants, syscall-list-32bit-options)
87995 (syscall-list-32bit-condition, syscall-list-64bit-options)
87996 (syscall-list-64bit-condition): Define.
87997 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
87998 (syscall-list-variants, syscall-list-32bit-options)
87999 (syscall-list-32bit-condition, syscall-list-64bit-options)
88000 (syscall-list-64bit-condition): Define.
88001 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88002 Remove.
88003 (syscall-list-variants, syscall-list-32bit-options)
88004 (syscall-list-32bit-condition, syscall-list-64bit-options)
88005 (syscall-list-64bit-condition): Define.
88006 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
88007 Remove.
88008 (syscall-list-variants, syscall-list-32bit-options)
88009 (syscall-list-32bit-condition, syscall-list-64bit-options)
88010 (syscall-list-64bit-condition): Define.
88011
88012 2011-12-22 Ulrich Drepper <drepper@gmail.com>
88013
88014 * locale/iso-639.def: Add brx entry.
88015
88016 [BZ #13328]
88017 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88018 Proposed by Mariusz_Cukr <marcukr@op.pl>.
88019
88020 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88021 __feraiseexcept_renamed.
88022
88023 2011-12-21 Ulrich Drepper <drepper@gmail.com>
88024
88025 [BZ #13538]
88026 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88027 EPOLLET with unsigned values.
88028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88030
88031 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88032 to large cancellation.
88033 * math/s_cacoshf.c: Likewise.
88034 * math/s_cacoshl.c: Likewise.
88035
88036 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
88037
88038 [BZ #13305]
88039 [BZ #12786]
88040 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88041 * math/s_cacoshf.c: Likewise.
88042 * math/s_cacoshl.c: Likewise.
88043
88044 2011-12-21 Ulrich Drepper <drepper@gmail.com>
88045
88046 [BZ #13439]
88047 * iconv/gconv.h: Define __GCONV_SWAP.
88048 * iconvdata/unicode.c: The swap bit must be stored in __flags.
88049 * iconvdata/utf-16.c: Likewise.
88050 * iconvdata/utf-32.c: Likewise.
88051
88052 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
88053
88054 [BZ #13524]
88055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88056 numerator after shifting it by one limb.
88057
88058 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
88059
88060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88061 under [__USE_EXTERN_INLINES].
88062
88063 2011-12-17 Ulrich Drepper <drepper@gmail.com>
88064
88065 [BZ #13446]
88066 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88067
88068 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88069
88070 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88071 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88072 optimized code.
88073 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88074 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88075 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88076 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88077 for strncasecmp/strncasecmp_l compilation.
88078 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88079 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88080
88081 2011-12-08 Marek Polacek <mpolacek@redhat.com>
88082
88083 [BZ #13484]
88084 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88085 of __asm__.
88086
88087 2011-12-17 Ulrich Drepper <drepper@gmail.com>
88088
88089 [BZ #13506]
88090 * time/tzfile.c (__tzfile_read): Check values from file header.
88091
88092 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
88093
88094 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88095 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88096 * powerpc/powerpc32/dl-start.S: Likewise.
88097 * powerpc/powerpc32/elf/start.S: Likewise.
88098 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88099 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88100 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88101 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88102 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88103 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88104 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88105 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88106 * powerpc/powerpc32/fpu/s_round.S: Likewise.
88107 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88108 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88109 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88110 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88111 * powerpc/powerpc32/memset.S: Likewise.
88112 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88113 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88114 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88115 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88116 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88117 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88118 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88119 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88120 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88121 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88122 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88123 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88124 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88125
88126 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88127
88128 * math/libm-test.inc: Added more nearbyint tests.
88129 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88130 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88131 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88132 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88133
88134 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
88135
88136 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88137 FD_CLOEXEC.
88138
88139 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88140
88141 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88142 Add wcscpy-ssse3 wcscpy-c.
88143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88144 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88145 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88146 * sysdeps/x86_64/wcschr.S: New file.
88147 * sysdeps/x86_64/wcsrchr.S: New file.
88148 * string/test-strcmp.c: Remove checking of wcscmp function for
88149 wrong alignments.
88150 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88151 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88152 wcsrchr-sse2 wcsrchr-c.
88153 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88154 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88155 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88156 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88157 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88158 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88159 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88160 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88162 * wcsmbc/wcschr.c (WCSCHR): New macro.
88163
88164 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88165
88166 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88167 * wcsmbs/test-wcsrchr.c: New file.
88168 * string/test-strrchr.c: Add wcsrchr support.
88169 (WIDE): New macro.
88170 * wcsmbs/test-wcscpy.c: New file.
88171 * string/test-strcpy.c: Add wcscpy support.
88172 (WIDE): New macro.
88173
88174 2011-12-10 Ulrich Drepper <drepper@gmail.com>
88175
88176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88177 the inner loop.
88178
88179 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
88180
88181 [BZ #13472]
88182 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88183
88184 2011-12-04 Ulrich Drepper <drepper@gmail.com>
88185
88186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88187 Minor optimizations.
88188
88189 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88190 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88191 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88192
88193 2011-12-03 Ulrich Drepper <drepper@gmail.com>
88194
88195 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88196 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88197 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88198 for gcc to avoid warnings.
88199 * inet/Makefile (tests): Add tst-checks.
88200 * inet/tst-checks.c: New file.
88201
88202 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88203 warning.
88204
88205 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88206 __wmemcmp_sse2.
88207
88208 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88209 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88210
88211 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88212
88213 2011-12-02 Ulrich Drepper <drepper@gmail.com>
88214
88215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88216 problem.
88217
88218 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88219
88220 2011-11-29 Joseph Myers <joseph@codesourcery.com>
88221
88222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88223 conditional on GCC version.
88224 (__arch_compare_and_exchange_val_8_acq)
88225 (__arch_compare_and_exchange_val_16_acq)
88226 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88227 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88228 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88229
88230 2011-12-02 Joseph Myers <joseph@codesourcery.com>
88231
88232 * sysdeps/sh/backtrace.c: New file.
88233
88234 2011-12-02 Andreas Schwab <schwab@redhat.com>
88235
88236 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
88237 parenthesis.
88238
88239 2011-12-01 Andreas Schwab <schwab@redhat.com>
88240
88241 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88242 falling back to utime.
88243
88244 2011-11-30 Andreas Schwab <schwab@redhat.com>
88245
88246 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88247 expectations for float.
88248
88249 2011-11-29 Andreas Schwab <schwab@redhat.com>
88250
88251 * locale/weight.h (findidx): Add parameter len.
88252 * locale/weightwc.h (findidx): Likewise.
88253 * posix/fnmatch_loop.c (FCT): Adjust caller.
88254 * posix/regcomp.c (build_equiv_class): Likewise.
88255 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88256 * posix/regexec.c (check_node_accept_bytes): Likewise.
88257 * string/strcoll_l.c (STRCOLL): Likewise.
88258 * string/strxfrm_l.c (STRXFRM): Likewise.
88259
88260 2011-11-17 Ulrich Drepper <drepper@gmail.com>
88261
88262 * Makefile.in: Remove CVSOPT handling.
88263 * configure.in: Remove use of AC_REVISION.
88264 * iconvdata/Makefile (distribute): No need to filter out CVS.
88265 * scripts/list-sources.sh: Remove CVS, subversion and monotone
88266 handling.
88267
88268 2011-11-16 Andreas Schwab <schwab@redhat.com>
88269
88270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88271 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88272 [USE_AS_STRNCASECMP_L]: Likewise.
88273 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88274 NO_TLS_DIRECT_SEG_REFS.
88275 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88276 Fix argument offsets for non-PIC.
88277 [USE_AS_STRNCASECMP_L]: Likewise.
88278 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88279 NO_TLS_DIRECT_SEG_REFS.
88280
88281 2011-11-15 Ulrich Drepper <drepper@gmail.com>
88282
88283 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88284 O_CLOEXEC.
88285 * locale/loadlocale.c (_nl_load_locale): Likewise.
88286
88287 2011-11-15 Andreas Schwab <schwab@redhat.com>
88288
88289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88290 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88291 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88292 (SYSCALL_GETTIME): Set errno on error.
88293
88294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88295 count references to noai6ai_cached.
88296
88297 2011-11-15 Ulrich Drepper <drepper@gmail.com>
88298
88299 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88300
88301 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88302 FD_CLOEXEC for /proc/self/maps.
88303
88304 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88305 FD_CLOEXEC for /proc/meminfo.
88306
88307 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88308 gai.conf.
88309
88310 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
88311 FD_CLOEXEC for given file.
88312
88313 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88314
88315 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88316 FD_CLOEXEC for /etc/hosts.
88317 (_gethtent): Likewise.
88318
88319 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88320
88321 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88322 cancellation and set FD_CLOEXEC for /etc/netgroup.
88323
88324 * nss/nss_files/files-key.c (search): Don't allow cancellation when
88325 reading /etc/publickey.
88326
88327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88328 allow cancellation when reading /etc/group.
88329
88330 * nss/nss_files/files-alias.c (internal_setent): Don't allow
88331 cancellation.
88332 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
88333
88334 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88335 when using data file.
88336
88337 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88338
88339 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88340 (write_nis_obj): Use "c" and "e" in fopen.
88341
88342 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88343
88344 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88345
88346 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88347
88348 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88349
88350 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88351 locale.alias.
88352
88353 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88354
88355 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88356
88357 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88358
88359 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88360 file parsing and set FD_CLOEXEC.
88361
88362 2011-11-14 Ulrich Drepper <drepper@gmail.com>
88363
88364 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88365
88366 2011-11-14 Andreas Schwab <schwab@redhat.com>
88367
88368 * malloc/arena.c (arena_get2): Don't call reused_arena when
88369 _int_new_arena failed.
88370
88371 2011-11-14 Ulrich Drepper <drepper@gmail.com>
88372
88373 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88374 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88379 to compile strcasecmp and strncasecmp.
88380 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88381 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88382
88383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88384
88385 2011-11-13 Ulrich Drepper <drepper@gmail.com>
88386
88387 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88388 locale-defines.sym to gen-as-const-headers.
88389 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88390 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88392 to compile strcasecmp and strncasecmp.
88393 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88394 strcasecmp_l and strncasecmp_l.
88395 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88396 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88397 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88398 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88399 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88400 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88401 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88402 * sysdeps/i386/i686/multiarch/strncase.S: New file.
88403 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88404 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88405 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88406
88407 2011-11-12 Ulrich Drepper <drepper@gmail.com>
88408
88409 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88410 result of SYSDEP_GETTIME_CPU to retval.
88411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88412 parameter list to macro. Remove trailing semicolon. Adjust users.
88413
88414 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88415 variable.
88416
88417 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88418 mantissa words.
88419 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88420
88421 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88422 from unused variable.
88423
88424 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88425 DWARF definitions.
88426 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88427 for assembling.
88428
88429 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88430 over namespaces.
88431
88432 * sunrpc/rpc_prot.c (rejected): Fix case value.
88433
88434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88435 unsigned long long int to avoid warnings in shift.
88436
88437 * posix/regex_internal.c (re_string_reconstruct): Actually use result
88438 of use of trans.
88439 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88440 variable tmp.
88441
88442 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88443 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88444 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88445
88446 * nis/nis_table.c (nis_list): Use variable of correct type for
88447 result of __follow_path call.
88448
88449 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88450
88451 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88452 of math functions ceil, trunc, floor, round, and sqrt, when
88453 avaliable on the platform.
88454 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88455 name clash.
88456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88457 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88458 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88459
88460 2011-10-30 Marek Polacek <mpolacek@redhat.com>
88461
88462 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88463 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88464
88465 2011-11-11 Roland McGrath <roland@hack.frob.com>
88466
88467 * include/unistd.h: Fix __readlink return type.
88468 Reported by Chris Metcalf <cmetcalf@tilera.com>.
88469
88470 2011-11-11 Ulrich Drepper <drepper@gmail.com>
88471
88472 * stdlib/ucontext.h: Undo last change for makecontext.
88473
88474 2011-11-11 Andreas Schwab <schwab@redhat.com>
88475
88476 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88477
88478 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88479 * setjmp/setjmp.h: Mark functions as non-leaf.
88480 * setjmp/bits/setjmp2.h: Likewise.
88481 * stdlib/ucontext.h: Likewise.
88482
88483 2011-11-10 Andreas Schwab <schwab@redhat.com>
88484
88485 * malloc/arena.c (_int_new_arena): Don't increment narenas.
88486 (reused_arena): Don't check arena limit.
88487 (arena_get2): Atomically check arena limit.
88488
88489 2011-11-08 Ulrich Drepper <drepper@gmail.com>
88490
88491 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88492 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88493
88494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88495 instructions.
88496
88497 2011-11-07 Andreas Schwab <schwab@redhat.com>
88498
88499 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88500 handler when locking.
88501
88502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88503 Fix size of allocated buffer.
88504
88505 2011-11-04 Andreas Schwab <schwab@redhat.com>
88506
88507 [BZ #10103]
88508 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88509 declarations for long double functions.
88510 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88511
88512 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88513
88514 2011-11-03 Andreas Schwab <schwab@redhat.com>
88515
88516 * nscd/nscd.c (main): Don't start AVC thread until credentials are
88517 installed.
88518
88519 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88520 is disabled.
88521
88522 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
88523
88524 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88525
88526 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
88527
88528 * include/alloca.h (stackinfo_alloca_round): Define.
88529 (extend_alloca): Use it.
88530 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88531 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88532 here.
88533
88534 * scripts/check-local-headers.sh: Ignore libaudit.h.
88535
88536 * nscd/Makefile (extra-objs): Make recursively expanded.
88537
88538 2011-11-01 Ulrich Drepper <drepper@gmail.com>
88539
88540 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88542
88543 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88544 * posix/tst-rfc3484-2.c: Likewise.
88545 * posix/tst-rfc3484-3.c: Likewise.
88546
88547 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88548 process_vm_writev.
88549 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88550 process_vm_writev.
88551 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88552 process_vm_writev from libc using GLIBC_2.15 version.
88553
88554 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88555
88556 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
88557
88558 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88559 stack usage.
88560
88561 2011-10-31 Ulrich Drepper <drepper@gmail.com>
88562
88563 [BZ #13367]
88564 * nss/getent.c (initgroups_keys): Show error message in case no group
88565 names are given.
88566
88567 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88568 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88569 __bump_nl_timestamp.
88570 * nscd/connections (nscd_init): When host database is served open
88571 netlink socket and request notification about configuration changes.
88572 (main_loop_poll): Track netlink file descriptor and bump timestamp
88573 in case data becomes available.
88574 (main_loop_epoll): Likewise.
88575 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88576 (database_pers_head): Add extra_data fileds.
88577 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88578 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88579 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88580 Adjust caller.
88581 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88582 in6ai data, call __free_in6ai.
88583 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88584 Add -DHAVE_NETLINK.
88585 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
88586 interface information. Reuse previous data if netlink timestamp
88587 is not changed.
88588 (__bump_nl_timestamp): New function.
88589 (__free_in6ai): New function.
88590
88591 2011-10-30 Ulrich Drepper <drepper@gmail.com>
88592
88593 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88594 close_not_cancel_no_status here.
88595 (__check_pf): Reorganize code a bit to not call close twice if OOM.
88596
88597 2011-10-29 Ulrich Drepper <drepper@gmail.com>
88598
88599 [BZ #13276]
88600 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88601 return value.
88602
88603 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88604 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88605 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88606
88607 2011-07-03 Andreas Jaeger <aj@suse.de>
88608
88609 [BZ #10709]
88610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88611 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88612 * math/libm-test.inc (sin_test): Add test case.
88613
88614 2011-10-29 Ulrich Drepper <drepper@gmail.com>
88615
88616 [BZ #13337]
88617 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88618 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88619
88620 * elf/chroot_canon.c (chroot_canon): Cleanups.
88621
88622 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88623
88624 [BZ #13335]
88625 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88626 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88627
88628 * string/test-strchr.c: Make usable for strchrnul testing.
88629 * string/test-strchrnul.c: New file.
88630 * string/Makefile (strop-tests): Add strchrnul.
88631
88632 * po/it.po: Update from translation team.
88633 * po/es.po: Likewise.
88634
88635 2011-10-28 Ulrich Drepper <drepper@gmail.com>
88636
88637 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88638 the three constants needed as parameters. Drop the others.
88639 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88640 __m128i_strloadu_tolower.
88641 Create and initialize variable zero and use it in all the places
88642 where _mm_setzero_si128 was used.
88643
88644 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88645 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88646 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88647 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88648 anymore.
88649 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88650 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88651 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88652 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88654 __mpranred, __mptan.
88655 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88656 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88657 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88658 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88659 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88660 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88661 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88662 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88663 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88664
88665 2011-10-28 Andreas Schwab <schwab@redhat.com>
88666
88667 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88668 redefine if SHARED.
88669 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88670
88671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88672 wide char related routines to wcsmbs subdir.
88673
88674 2011-10-27 Andreas Schwab <schwab@redhat.com>
88675
88676 [BZ #13344]
88677 * misc/sys/cdefs.h (__THROWNL): Define.
88678 * posix/unistd.h: Use __THREADNL instead of __THREAD
88679 for memory synchronization functions.
88680
88681 2011-10-26 Roland McGrath <roland@hack.frob.com>
88682
88683 [BZ #13349]
88684 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88685 doesn't exist.
88686 * manual/stdio.texi (Obstack Streams): Node removed.
88687
88688 2011-10-26 Andreas Schwab <schwab@redhat.com>
88689
88690 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88691 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88693
88694 * math/math_private.h (math_force_eval): Allow non-addressable
88695 arguments.
88696 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88697
88698 2011-10-25 Ulrich Drepper <drepper@gmail.com>
88699
88700 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88701 file is not needed.
88702
88703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88710 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88711 Add AVX variants.
88712 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88713 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88714 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88715 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88716 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88717 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
88718 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
88719 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
88720 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
88721 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
88722 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
88723 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
88724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
88725 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
88726 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
88727 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
88728 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
88729 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
88730 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
88731
88732 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
88733 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
88734
88735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
88736 place. Use VEX encoding when compiling for AVX.
88737
88738 2011-10-25 Andreas Schwab <schwab@redhat.com>
88739
88740 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
88741 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
88742
88743 * string/test-strchr.c (do_test): Don't generate NUL bytes.
88744
88745 2011-10-25 Ulrich Drepper <drepper@gmail.com>
88746
88747 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
88748 useless if() expression.
88749 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88750 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
88751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
88752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
88754 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
88758 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88761 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
88762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88763 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
88764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88766 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88767 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
88768
88769 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
88770
88771 2011-10-25 Andreas Schwab <schwab@redhat.com>
88772
88773 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
88774 condition.
88775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
88776
88777 2011-10-25 Ulrich Drepper <drepper@gmail.com>
88778
88779 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
88780 .text section. Avoid duplicate constants.
88781 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
88782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
88790 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
88791 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
88792 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
88793 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
88794 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
88795 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
88796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
88797 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
88798 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
88799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
88800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
88802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
88803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
88804 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
88805 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
88806 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
88807 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
88808 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
88809 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
88810 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
88811 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
88812 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
88813 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
88814 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
88815 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
88816 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
88817 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
88818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
88819 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
88820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
88821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
88822 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
88823 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
88824 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
88825 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
88826
88827 2011-10-24 Ulrich Drepper <drepper@gmail.com>
88828
88829 * sysdeps/x86_64/dla.h: Move to ...
88830 * sysdeps/x86_64/fpu/dla.h: ...here.
88831 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
88832 situations. Use __builtin_fma only for gcc 4.6 and up.
88833
88834 * config.make.in: Add have-mfma4 entry.
88835 * configure.in: Substitute libc_cv_cc_fma4.
88836 * math/Makefile (dbl-only-routines): Add sincostab.
88837 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
88838 Use __sincostab not sincos.
88839 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
88840 name is a macro.
88841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
88845 using __copysign.
88846 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
88847 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
88848 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
88849 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
88850 and __inv.
88851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
88852 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
88853 __copysign.
88854 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
88855 define aliases when function name is a macro.
88856 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
88857 sysdeps/ieee754/dbl-64/sincos.tbl.
88858 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
88859 fma4-enabled routines.
88860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
88861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
88862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
88863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
88864 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
88865 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
88866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
88867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
88868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
88869 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
88870 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
88871 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
88872 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
88873 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
88874 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
88875 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
88876 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
88877 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
88878 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
88879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
88880 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
88881 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
88882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
88883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
88884 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
88885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
88886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
88887 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
88888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
88889 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
88890
88891 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
88892 rename.
88893 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88901
88902 2011-10-24 Andreas Schwab <schwab@redhat.com>
88903
88904 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
88905
88906 2011-10-23 Ulrich Drepper <drepper@gmail.com>
88907
88908 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
88909
88910 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
88911 prediction.
88912 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
88913
88914 * string/strnlen.c: Don't define STRNLEN, reverse logic.
88915 Remove unused variable magic_bits.
88916 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
88917
88918 * string/strnlen.c: Define and use STRNLEN macro.
88919 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
88920 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
88921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
88922 * wcsmbs/wcslen.c: Define and use WCSLEN.
88923 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
88924 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
88925 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
88926 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
88927 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
88928 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
88929 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88930
88931 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88932
88933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88934 strnlen-sse2-no-bsf.
88935 Rename strlen-no-bsf to strlen-sse2-no-bsf.
88936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
88937 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
88938 Add strnlen support.
88939 (USE_AS_STRNLEN): New macro.
88940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
88941 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
88942 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
88943 * sysdeps/x86_64/wcslen.S: New file.
88944
88945 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
88946
88947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
88948 XMM-moves are used for copying on small sizes.
88949
88950 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88951
88952 * wcsmbs/Makefile (strop-tests): Add wcschr.
88953 * wcsmbs/test-wcschr.c: New file.
88954 * string/test-strchr.c: Update.
88955 Add wcschr support.
88956 (WIDE): New macro.
88957
88958 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88959
88960 * wcsmbs/Makefile (strop-tests): Add wcslen.
88961 * wcsmbs/test-wcslen.c: New file.
88962 * string/test-strlen.c: Update.
88963 Add wcslen support.
88964 (WIDE): New macro.
88965
88966 2011-10-23 Ulrich Drepper <drepper@gmail.com>
88967
88968 * po/it.po: Update from translation team.
88969
88970 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88971
88972 * sysdeps/x86_64/wcscmp.S: Update.
88973 Fix wrong comparison semantics.
88974 wcscmp shall use signed comparison not unsigned.
88975 Don't use substraction to avoid overflow bug.
88976 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
88977 * wcsmbc/wcscmp.c: Likewise.
88978 * string/test-strcmp.c: Likewise.
88979 Add new tests to check cases with negative values.
88980
88981 2011-10-23 Ulrich Drepper <drepper@gmail.com>
88982
88983 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
88984 * sysdeps/x86_64/dla.h: ...here. New file.
88985 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
88986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88992 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88994
88995 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
88996
88997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
88998 __ynl_finite aliases.
88999
89000 2011-10-22 Ulrich Drepper <drepper@gmail.com>
89001
89002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89003
89004 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89005 define DLA_FMA.
89006 [DLA_FMA] (EMULV): Use DLA_FMA.
89007 [DLA_FMA] (MUL12): Use EMULV.
89008 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89009 that are not needed.
89010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89017
89018 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
89019
89020 * math/s_nan.c: Undef __nan.
89021 * math/s_nanf.c: Undef __nanf.
89022 * math/s_nanl.c: Undef __nanl.
89023 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89024 "math_private.h".
89025
89026 2011-10-22 Ulrich Drepper <drepper@gmail.com>
89027
89028 * math/s_catan.c: Add branch predictions.
89029 * math/s_catanf.c: Likewise.
89030 * math/s_catanh.c: Likewise.
89031 * math/s_catanhf.c: Likewise.
89032 * math/s_catanhl.c: Likewise.
89033 * math/s_catanl.c: Likewise.
89034 * math/s_cexp.c: Likewise.
89035 * math/s_cexpf.c: Likewise.
89036 * math/s_cexpl.c: Likewise.
89037 * math/s_clog.c: Likewise.
89038 * math/s_clog10.c: Likewise.
89039 * math/s_clog10f.c: Likewise.
89040 * math/s_clog10l.c: Likewise.
89041 * math/s_clogf.c: Likewise.
89042 * math/s_clogl.c: Likewise.
89043 * math/s_csqrt.c: Likewise.
89044 * math/s_csqrtf.c: Likewise.
89045 * math/s_csqrtl.c: Likewise.
89046 * math/s_ctanf.c: Likewise.
89047 * math/s_ctanh.c: Likewise.
89048 * math/s_ctanhf.c: Likewise.
89049 * math/s_ctanhl.c: Likewise.
89050 * math/s_ctanl.c: Likewise.
89051
89052 * math/math_private.h: Define __nan, __nanf, __nanl.
89053 * math/s_cacosh.c: Include <math_private.h>.
89054 * math/s_cacoshl.c: Likewise.
89055 * math/s_casinh.c: Likewise.
89056 * math/s_casinhf.c: Likewise.
89057 * math/s_casinhl.c: Likewise.
89058 * math/s_ccos.c: Rely entire on ccosh.
89059 * math/s_ccosf.c: Rely entire on ccoshf.
89060 * math/s_ccosl.c: Rely entirely on ccoshl.
89061 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
89062 Remove tests for FE_INVALID.
89063 * math/s_ccoshf.c: Likewise.
89064 * math/s_ccoshl.c: Likewise.
89065 * math/s_csin.c: Likewise.
89066 * math/s_csinf.c: Likewise.
89067 * math/s_csinh.c Likewise.
89068 * math/s_csinhf.c: Likewise.
89069 * math/s_csinhl.c: Likewise.
89070 * math/s_csinl.c: Likewise.
89071 * math/s_ctan.c: Likewise.
89072 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89073 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89074 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89075
89076 2011-10-21 Ulrich Drepper <drepper@gmail.com>
89077
89078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89079 compilation problems.
89080
89081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89082 __builtin_expect.
89083
89084 2011-10-20 Ulrich Drepper <drepper@gmail.com>
89085
89086 * sysdeps/i386/configure.in: Test for -mfma4 option.
89087 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89088 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89089 COMMON_CPUID_INDEX_80000001.
89090 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89091 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89092 use it if FMA3 is not supported.
89093 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89094
89095 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89096 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89097
89098 2011-10-20 Andreas Schwab <schwab@redhat.com>
89099
89100 [BZ #12892]
89101 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89102 it would create a cycle with a link time dependency.
89103
89104 2011-10-19 Ulrich Drepper <drepper@gmail.com>
89105
89106 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89107 instruction.
89108 * string/Makefile (strop-tests): Add rawmemchr.
89109 * string/test-rawmemchr.c: New file.
89110
89111 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
89113 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
89114 when compiling str{,n}casecmp and when AVX is available. Hook up
89115 new optimized code in initializers.
89116
89117 2011-10-19 Andreas Schwab <schwab@redhat.com>
89118
89119 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89120 __feraiseexcept instead of feraiseexcept.
89121
89122 2011-10-18 Ulrich Drepper <drepper@gmail.com>
89123
89124 * math/math_private.h: Define defaults for libc_fetestexcept and
89125 libc_feupdateenv.
89126 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89127 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89128 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89129 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89130 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89131 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89132 libc_fetestexcept and libc_feupdateenv.
89133
89134 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89135 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89136 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89137 * sysdeps/x86_64/fpu/math_private.h: Define special version of
89138 libc_feholdexcept_setround.
89139
89140 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89141 Add s_nearbyint-c and s_nearbyintf-c.
89142 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89143 nearbyintf inlines.
89144 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89145 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89146 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89147 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89148
89149 * math/math_private.h: Define defaults for libc_fegetround,
89150 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89151 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89152 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89153 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89154 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89155 standard functions.
89156 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89157 Remove comments and hacks for old compiler versions.
89158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89159 libc_fegetround, libc_fesetround, libc_feholdexcept, and
89160 libc_feholdexceptl.
89161
89162 2011-10-18 Andreas Schwab <schwab@redhat.com>
89163
89164 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89165 (__feraiseexcept_renamed): Add __NTH.
89166 (feraiseexcept): Add __NTH. Rename local variables to fix
89167 namespace violations.
89168
89169 2011-10-17 Ulrich Drepper <drepper@gmail.com>
89170
89171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89172
89173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89174
89175 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89176 recently added interfaces.
89177 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89178
89179 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89180 about macro parameter expansion.
89181
89182 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89183 __NO_MATH_INLINES is defined. Cleanups.
89184
89185 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89186 and __floorf is target has SSE4.1.
89187 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89188 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89189 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89190 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89191
89192 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89193 name.
89194 (floorf): Likewise.
89195
89196 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89197
89198 2011-10-17 Andreas Schwab <schwab@redhat.com>
89199
89200 * misc/sys/cdefs.h: Fix last change.
89201
89202 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89203 database lookup.
89204
89205 2011-10-16 Ulrich Drepper <drepper@gmail.com>
89206
89207 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89208
89209 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89210 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89217 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89218 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89219 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89220 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89221 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89222 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89223 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89224 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89225 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89226 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89227 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89228 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89229 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89230 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89231
89232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89233 ceil, ceilf, floor, floorf.
89234
89235 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89236 Perform IRELATIVE relocations last.
89237
89238 * elf/do-rel.h: Add another parameter nrelative, replacing the
89239 local variable with the same name. Change name of the function
89240 to end in Rel or Rela (uppercase).
89241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89242 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
89243 elf_dynamic_do_##reloc function.
89244
89245 2011-10-15 Ulrich Drepper <drepper@gmail.com>
89246
89247 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89248 is sufficient, at least on modern CPUs.
89249
89250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89251
89252 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89253 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89254
89255 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89256 __expl_finite.
89257 * math/bits/math-finite.h: Add entries for exp.
89258 * math/e_expl.c: Add __*_finite alias.
89259 * sysdeps/i386/fpu/e_exp.S: Likewise.
89260 * sysdeps/i386/fpu/e_expf.S: Likewise.
89261 * sysdeps/i386/fpu/e_expl.c: Likewise.
89262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89263 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89264 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89266 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89267 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89268 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89269
89270 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89271 is sufficient, at least on modern CPUs.
89272
89273 * ctype/ctype-info.c (__ctype_init): Define.
89274 * include/ctype.h (__ctype_init): Declare.
89275 (__ctype_b_loc): The variable is always initialized.
89276 (__ctype_toupper_loc): Likewise.
89277 (__ctype_tolower_loc): Likewise.
89278 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89279 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89280
89281 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
89282
89283 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89284
89285 * configure.in: Also look in $cxxmachine/include for C++ system
89286 headers.
89287
89288 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89289
89290 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89291 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89292 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89293 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
89294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89295 (USE_AS_WMEMCMP): New macro.
89296 Fixing indents.
89297 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89298 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89299 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89300 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89302 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89303 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89304 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89305 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89306 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89308 (USE_AS_WMEMCMP): New macro.
89309 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89310 * sysdeps/string/test-memcmp.c: Update.
89311 Fix simple_wmemcmp.
89312 Add new tests.
89313 * wcsmbs/wmemcmp.c: Update.
89314 (WMEMCMP): New macro.
89315 Fix overflow bug.
89316
89317 2011-10-12 Andreas Jaeger <aj@suse.de>
89318
89319 [BZ #13268]
89320 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89321
89322 2011-10-15 Ulrich Drepper <drepper@gmail.com>
89323
89324 * libio/iofwide.c (do_length): Avoid warning.
89325
89326 * ctype/ctype.h (__isctype_f): Add missing __THROW.
89327
89328 2011-10-14 Ulrich Drepper <drepper@gmail.com>
89329
89330 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89331
89332 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89333 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89334 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89335 * sysdeps/i386/i686/fpu/e_log.S: New file.
89336 * sysdeps/i386/i686/fpu/e_logf.S: New file.
89337 * sysdeps/i386/i686/fpu/e_logl.S: New file.
89338
89339 * ctype/ctype.h: Add support for inlined isXXX functions when
89340 compiling C++ code.
89341
89342 2011-10-14 Andreas Schwab <schwab@redhat.com>
89343
89344 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89345
89346 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89347
89348 2011-10-13 Roland McGrath <roland@hack.frob.com>
89349
89350 [BZ #13291]
89351 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89352
89353 2011-10-13 Andreas Schwab <schwab@redhat.com>
89354
89355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89356 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89357 feraiseexcept.
89358
89359 * sysdeps/x86_64/memrchr.S: Check for zero size.
89360
89361 * string/stratcliff.c: Add memrchr tests.
89362
89363 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89364
89365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89366 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89367 rawmemchr-sse2 rawmemchr-sse2-bsf.
89368 * sysdeps/i386/i686/multiarch/memchr.S: New file.
89369 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89370 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89371 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89372 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89373 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89374 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89375 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89376 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89377 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89378 * string/memrchr.c (MEMRCHR): New macro.
89379
89380 2011-10-12 Ulrich Drepper <drepper@gmail.com>
89381
89382 Add integration with gcc's -ffinite-math-only and optimize wrapper
89383 functions in libm.
89384 * Versions.def: Define GLIBC_2.15 version for libm.
89385 * math/Makefile (headers): Add bits/math-finite.h.
89386 * math/bits/math-finite.h: New file.
89387 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89388 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89389 * math/e_acoshl.c: Add __*_finite alias.
89390 * math/e_acosl.c: Likewise.
89391 * math/e_asinl.c: Likewise.
89392 * math/e_atan2l.c: Likewise.
89393 * math/e_atanhl.c: Likewise.
89394 * math/e_coshl.c: Likewise.
89395 * math/e_exp10.c: Likewise.
89396 * math/e_exp10f.c: Likewise.
89397 * math/e_exp10l.c: Likewise.
89398 * math/e_exp2l.c: Likewise.
89399 * math/e_fmodl.c: Likewise.
89400 * math/e_gammal_r.c: Likewise.
89401 * math/e_hypotl.c: Likewise.
89402 * math/e_j0l.c: Likewise.
89403 * math/e_j1l.c: Likewise.
89404 * math/e_jnl.c: Likewise.
89405 * math/e_lgammal_r.c: Likewise.
89406 * math/e_log10l.c: Likewise.
89407 * math/e_log2l.c: Likewise.
89408 * math/e_logl.c: Likewise.
89409 * math/e_powl.c: Likewise.
89410 * math/e_sinhl.c: Likewise.
89411 * math/e_sqrtl.c: Likewise.
89412 * math/e_scalb.c: Completely rewritten and optimized.
89413 * math/e_scalbf.c: Likewise.
89414 * math/e_scalbl.c: Likewise.
89415 * math/w_acos.c: Likewise.
89416 * math/w_acosf.c: Likewise.
89417 * math/w_acosl.c: Likewise.
89418 * math/w_acosh.c: Likewise.
89419 * math/w_acoshf.c: Likewise.
89420 * math/w_acoshl.c: Likewise.
89421 * math/w_asin.c: Likewise.
89422 * math/w_asinf.c: Likewise.
89423 * math/w_asinl.c: Likewise.
89424 * math/w_atan2.c: Likewise.
89425 * math/w_atan2f.c: Likewise.
89426 * math/w_atan2l.c: Likewise.
89427 * math/w_atanh.c: Likewise.
89428 * math/w_atanhf.c: Likewise.
89429 * math/w_atanhl.c: Likewise.
89430 * math/w_exp10.c: Likewise.
89431 * math/w_exp10f.c: Likewise.
89432 * math/w_exp10l.c: Likewise.
89433 * math/w_fmod.c: Likewise.
89434 * math/w_fmodf.c: Likewise.
89435 * math/w_fmodl.c: Likewise.
89436 * math/w_j0.c: Likewise.
89437 * math/w_j0f.c: Likewise.
89438 * math/w_j0l.c: Likewise.
89439 * math/w_j1.c: Likewise.
89440 * math/w_j1f.c: Likewise.
89441 * math/w_j1l.c: Likewise.
89442 * math/w_jn.c: Likewise.
89443 * math/w_jnf.c: Likewise.
89444 * math/w_log.c: Likewise.
89445 * math/w_logf.c: Likewise.
89446 * math/w_logl.c: Likewise.
89447 * math/w_log10.c: Likewise.
89448 * math/w_log10f.c: Likewise.
89449 * math/w_log10l.c: Likewise.
89450 * math/w_log2.c: Likewise.
89451 * math/w_log2f.c: Likewise.
89452 * math/w_log2l.c: Likewise.
89453 * math/w_pow.c: Likewise.
89454 * math/w_powf.c: Likewise.
89455 * math/w_powl.c: Likewise.
89456 * math/w_remainder.c: Likewise.
89457 * math/w_remainderf.c: Likewise.
89458 * math/w_remainderl.c: Likewise.
89459 * math/w_scalb.c: Likewise.
89460 * math/w_scalbf.c: Likewise.
89461 * math/w_scalbl.c: Likewise.
89462 * math/w_sqrt.c: Likewise.
89463 * math/w_sqrtf.c: Likewise.
89464 * math/w_sqrtl.c: Likewise.
89465 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89466 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
89467 used.
89468 * math/math_private.h: Declare __kernel_standard_f.
89469 * math/w_cosh.c: Remove cruft and optimize a bit.
89470 * math/w_coshf.c: Likewise.
89471 * math/w_coshl.c: Likewise.
89472 * math/w_exp2.c: Likewise.
89473 * math/w_exp2f.c: Likewise.
89474 * math/w_exp2l.c: Likewise.
89475 * math/w_hypot.c: Likewise.
89476 * math/w_hypotf.c: Likewise.
89477 * math/w_hypotl.c: Likewise.
89478 * math/w_lgamma.c: Likewise.
89479 * math/w_lgamma_r.c: Likewise.
89480 * math/w_lgammaf.c: Likewise.
89481 * math/w_lgammaf_r.c: Likewise.
89482 * math/w_lgammal.c: Likewise.
89483 * math/w_lgammal_r.c: Likewise.
89484 * math/w_sinh.c: Likewise.
89485 * math/w_sinhf.c: Likewise.
89486 * math/w_sinhl.c: Likewise.
89487 * math/w_tgamma.c: Likewise.
89488 * math/w_tgammaf.c: Likewise.
89489 * math/w_tgammal.c: Likewise.
89490 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89492 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89493 Minor optimizations. Pretty printing. Remove cruft.
89494 * sysdeps/i386/fpu/e_acosf.S: Likewise.
89495 * sysdeps/i386/fpu/e_acosh.S: Likewise.
89496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89498 * sysdeps/i386/fpu/e_acosl.c: Likewise.
89499 * sysdeps/i386/fpu/e_asin.S: Likewise.
89500 * sysdeps/i386/fpu/e_asinf.S: Likewise.
89501 * sysdeps/i386/fpu/e_atan2.S: Likewise.
89502 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89503 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89504 * sysdeps/i386/fpu/e_atanh.S: Likewise.
89505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89507 * sysdeps/i386/fpu/e_exp10.S: Likewise.
89508 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89509 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89510 * sysdeps/i386/fpu/e_exp2.S: Likewise.
89511 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89512 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89513 * sysdeps/i386/fpu/e_fmod.S: Likewise.
89514 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89515 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89516 * sysdeps/i386/fpu/e_hypot.S: Likewise.
89517 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89518 * sysdeps/i386/fpu/e_log.S: Likewise.
89519 * sysdeps/i386/fpu/e_log10.S: Likewise.
89520 * sysdeps/i386/fpu/e_log10f.S: Likewise.
89521 * sysdeps/i386/fpu/e_log10l.S: Likewise.
89522 * sysdeps/i386/fpu/e_log2.S: Likewise.
89523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
89524 * sysdeps/i386/fpu/e_log2l.S: Likewise.
89525 * sysdeps/i386/fpu/e_logf.S: Likewise.
89526 * sysdeps/i386/fpu/e_logl.S: Likewise.
89527 * sysdeps/i386/fpu/e_pow.S: Likewise.
89528 * sysdeps/i386/fpu/e_powf.S: Likewise.
89529 * sysdeps/i386/fpu/e_powl.S: Likewise.
89530 * sysdeps/i386/fpu/e_remainder.S: Likewise.
89531 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89532 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89533 * sysdeps/i386/fpu/e_scalb.S: Likewise.
89534 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89535 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89536 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89537 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89538 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89539 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89540 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89542 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89543 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89544 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89545 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89546 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89547 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89548 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89549 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89550 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89552 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89553 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89555 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89556 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89559 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89560 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89561 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89562 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89563 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89564 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89565 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89566 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89567 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89568 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89569 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89570 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89571 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89573 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89574 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89575 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89576 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89577 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89578 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89579 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89580 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89581 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89582 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89584 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89585 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89586 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89587 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89589 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89590 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89591 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89592 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89594 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89595 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89596 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89597 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89598 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89599 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89600 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89603 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89604 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89605 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89608 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89609 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89610 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89618 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89619 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89620 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89621 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89622 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89623 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89624 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89625 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89626 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89627 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89628 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89632 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89633 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89634 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89635 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89636 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89637 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89638 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89639 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89640 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89641 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89642 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89643 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89644 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89645 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89647 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89648 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89649 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
89650 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89651 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89652 (__isnanf): Likewise.
89653 (__isinf_ns): Likewise.
89654 (__isinf_nsf): Likewise.
89655 (__finite): Likewise.
89656 (__finitef): Likewise.
89657 (__ieee754_sqrt): Define as macro.
89658 (__ieee754_sqrtf): Define as macro.
89659 (__ieee754_sqrtl): Define as macro.
89660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89661 inlined copy.
89662 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89663 __FINITE_MATH_ONLY__ consistent.
89664 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89665
89666 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
89667
89668 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89669 of rawmemchr.
89670
89671 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89672
89673 2011-10-09 Ulrich Drepper <drepper@gmail.com>
89674
89675 * po/ja.po: Update from translation team.
89676
89677 2011-10-08 Roland McGrath <roland@hack.frob.com>
89678
89679 * locale/programs/locarchive.c (prepare_address_space): New function.
89680 (create_archive, enlarge_archive, open_archive): Use it.
89681
89682 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89683 inside [SHARED], where it is used.
89684
89685 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89686
89687 * nss/getent.c (netgroup_keys): Remove unused variable.
89688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89689
89690 2011-10-08 Ulrich Drepper <drepper@gmail.com>
89691
89692 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89695 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89696 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89697 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89698 * math/Makefile (libm-calls): Add s_isinf_ns.
89699 * math/divtc3.c: Use __isinf_nsl instead of isinf.
89700 * math/multc3.c: Likewise.
89701 * math/s_casin.c: Likewise.
89702 * math/s_casinf.c: Likewise.
89703 * math/s_casinl.c: Likewise.
89704 * math/s_ccos.c: Likewise.
89705 * math/s_ccosf.c: Likewise.
89706 * math/s_ccosl.c: Likewise.
89707 * math/s_ctan.c: Likewise.
89708 * math/s_ctanf.c: Likewise.
89709 * math/s_ctanh.c: Likewise.
89710 * math/s_ctanhf.c: Likewise.
89711 * math/s_ctanhl.c: Likewise.
89712 * math/s_ctanl.c: Likewise.
89713 * math/w_fmod.c: Likewise.
89714 * math/w_fmodf.c: Likewise.
89715 * math/w_fmodl.c: Likewise.
89716 * math/w_remainder.c: Likewise.
89717 * math/w_remainderf.c: Likewise.
89718 * math/w_remainderl.c: Likewise.
89719 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
89720 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
89721 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
89722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
89723 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
89724 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
89725 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
89726 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
89727
89728 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
89729 of the number.
89730 * stdio-common/printf_fphex.c: Likewise.
89731 * stdio-common/printf_size.c: Likewise.
89732
89733 * math/e_exp10.c: Include math_private.h using <...> not "...".
89734 * math/e_exp10f.c: Likewise.
89735 * math/e_exp10l.c: Likewise.
89736 * math/e_exp2l.c: Likewise.
89737 * math/e_j0l.c: Likewise.
89738 * math/e_j1l.c: Likewise.
89739 * math/e_jnl.c: Likewise.
89740 * math/e_lgammal_r.c: Likewise.
89741 * math/e_rem_pio2l.c: Likewise.
89742 * math/e_scalb.c: Likewise.
89743 * math/e_scalbf.c: Likewise.
89744 * math/e_scalbl.c: Likewise.
89745 * math/k_cosl.c: Likewise.
89746 * math/k_sinl.c: Likewise.
89747 * math/k_tanl.c: Likewise.
89748 * math/s_cacoshf.c: Likewise.
89749 * math/s_catan.c: Likewise.
89750 * math/s_catanf.c: Likewise.
89751 * math/s_catanh.c: Likewise.
89752 * math/s_catanhf.c: Likewise.
89753 * math/s_catanhl.c: Likewise.
89754 * math/s_catanl.c: Likewise.
89755 * math/s_ccosh.c: Likewise.
89756 * math/s_ccoshf.c: Likewise.
89757 * math/s_ccoshl.c: Likewise.
89758 * math/s_cexp.c: Likewise.
89759 * math/s_cexpf.c: Likewise.
89760 * math/s_cexpl.c: Likewise.
89761 * math/s_clog.c: Likewise.
89762 * math/s_clog10.c: Likewise.
89763 * math/s_clog10f.c: Likewise.
89764 * math/s_clog10l.c: Likewise.
89765 * math/s_clogf.c: Likewise.
89766 * math/s_clogl.c: Likewise.
89767 * math/s_csin.c: Likewise.
89768 * math/s_csinf.c: Likewise.
89769 * math/s_csinh.c: Likewise.
89770 * math/s_csinhf.c: Likewise.
89771 * math/s_csinhl.c: Likewise.
89772 * math/s_csinl.c: Likewise.
89773 * math/s_csqrt.c: Likewise.
89774 * math/s_csqrtf.c: Likewise.
89775 * math/s_csqrtl.c: Likewise.
89776 * math/s_ctan.c: Likewise.
89777 * math/s_ctanf.c: Likewise.
89778 * math/s_ctanh.c: Likewise.
89779 * math/s_ctanhf.c: Likewise.
89780 * math/s_ctanhl.c: Likewise.
89781 * math/s_ctanl.c: Likewise.
89782 * math/s_ldexp.c: Likewise.
89783 * math/s_ldexpf.c: Likewise.
89784 * math/s_ldexpl.c: Likewise.
89785 * math/s_significand.c: Likewise.
89786 * math/s_significandf.c: Likewise.
89787 * math/s_significandl.c: Likewise.
89788 * math/w_acos.c: Likewise.
89789 * math/w_acosf.c: Likewise.
89790 * math/w_acosh.c: Likewise.
89791 * math/w_acoshf.c: Likewise.
89792 * math/w_acoshl.c: Likewise.
89793 * math/w_acosl.c: Likewise.
89794 * math/w_asin.c: Likewise.
89795 * math/w_asinf.c: Likewise.
89796 * math/w_asinl.c: Likewise.
89797 * math/w_atan2.c: Likewise.
89798 * math/w_atan2f.c: Likewise.
89799 * math/w_atan2l.c: Likewise.
89800 * math/w_atanh.c: Likewise.
89801 * math/w_atanhf.c: Likewise.
89802 * math/w_atanhl.c: Likewise.
89803 * math/w_cosh.c: Likewise.
89804 * math/w_coshf.c: Likewise.
89805 * math/w_coshl.c: Likewise.
89806 * math/w_dremf.c: Likewise.
89807 * math/w_exp10.c: Likewise.
89808 * math/w_exp10f.c: Likewise.
89809 * math/w_exp10l.c: Likewise.
89810 * math/w_exp2.c: Likewise.
89811 * math/w_exp2f.c: Likewise.
89812 * math/w_fmod.c: Likewise.
89813 * math/w_fmodf.c: Likewise.
89814 * math/w_fmodl.c: Likewise.
89815 * math/w_hypot.c: Likewise.
89816 * math/w_hypotf.c: Likewise.
89817 * math/w_hypotl.c: Likewise.
89818 * math/w_j0.c: Likewise.
89819 * math/w_j0f.c: Likewise.
89820 * math/w_j0l.c: Likewise.
89821 * math/w_j1.c: Likewise.
89822 * math/w_j1f.c: Likewise.
89823 * math/w_j1l.c: Likewise.
89824 * math/w_jn.c: Likewise.
89825 * math/w_jnf.c: Likewise.
89826 * math/w_jnl.c: Likewise.
89827 * math/w_lgamma.c: Likewise.
89828 * math/w_lgamma_r.c: Likewise.
89829 * math/w_lgammaf.c: Likewise.
89830 * math/w_lgammaf_r.c: Likewise.
89831 * math/w_lgammal.c: Likewise.
89832 * math/w_lgammal_r.c: Likewise.
89833 * math/w_log.c: Likewise.
89834 * math/w_log10.c: Likewise.
89835 * math/w_log10f.c: Likewise.
89836 * math/w_log10l.c: Likewise.
89837 * math/w_log2.c: Likewise.
89838 * math/w_log2f.c: Likewise.
89839 * math/w_log2l.c: Likewise.
89840 * math/w_logf.c: Likewise.
89841 * math/w_logl.c: Likewise.
89842 * math/w_pow.c: Likewise.
89843 * math/w_powf.c: Likewise.
89844 * math/w_powl.c: Likewise.
89845 * math/w_remainder.c: Likewise.
89846 * math/w_remainderf.c: Likewise.
89847 * math/w_remainderl.c: Likewise.
89848 * math/w_scalb.c: Likewise.
89849 * math/w_scalbf.c: Likewise.
89850 * math/w_scalbl.c: Likewise.
89851 * math/w_sinh.c: Likewise.
89852 * math/w_sinhf.c: Likewise.
89853 * math/w_sinhl.c: Likewise.
89854 * math/w_sqrt.c: Likewise.
89855 * math/w_sqrtf.c: Likewise.
89856 * math/w_sqrtl.c: Likewise.
89857 * math/w_tgamma.c: Likewise.
89858 * math/w_tgammaf.c: Likewise.
89859 * math/w_tgammal.c: Likewise.
89860
89861 * po/ja.po: Update from translation team.
89862
89863 2011-09-29 Andreas Jaeger <aj@suse.de>
89864
89865 [BZ #13179]
89866 * sunrpc/netname.c (netname2host): Fix logic.
89867
89868 [BZ #6779]
89869 [BZ #6783]
89870 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
89871 correctly.
89872 * math/w_remainder.c (__remainder): Likewise.
89873 * math/w_remainderf.c (__remainderf): Likewise.
89874 * math/libm-test.inc (remainder_test): Add test cases.
89875
89876 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
89877
89878 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
89879 sdiv_qrnnd.
89880
89881 2011-10-07 Ulrich Drepper <drepper@gmail.com>
89882
89883 * string/test-memcmp.c: Avoid unncessary #defines.
89884 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89885
89886 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89887
89888 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
89889 Use new sse2 version for core i3 - i7 as it's faster
89890 than sse42 version.
89891 (bit_Prefer_PMINUB_for_stringop): New.
89892 * sysdeps/x86_64/rawmemchr.S: Update.
89893 Replace with faster SSE2 version.
89894 * sysdeps/x86_64/memrchr.S: New file.
89895 * sysdeps/x86_64/memchr.S: Update.
89896 Replace with faster SSE2 version.
89897
89898 2011-09-12 Marek Polacek <mpolacek@redhat.com>
89899
89900 * elf/dl-load.c (lose): Add cast to avoid warning.
89901
89902 2011-10-07 Ulrich Drepper <drepper@gmail.com>
89903
89904 * po/ca.po: Update from translation team.
89905
89906 * inet/getnetgrent_r.c: Hook up nscd.
89907 * nscd/Makefile (routines): Add nscd_netgroup.
89908 (nscd-modules): Add netgroupcache.
89909 (CFLAGS-netgroupcache.c): Define.
89910 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
89911 (cache_search): Add const to second parameter.
89912 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
89913 INNETGR.
89914 (dbs): Add netgrdb entry.
89915 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
89916 (verify_persistent_db): Handle netgrdb.
89917 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
89918 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
89919 GETFDNETGR.
89920 (netgroup_response_header): Define.
89921 (innetgroup_response_header): Define.
89922 (datahead): Add netgroup_response_header and innetgroup_response_header
89923 elements.
89924 * nscd/nscd.conf: Add entries for netgroup cache.
89925 * nscd/nscd.h (dbtype): Add netgrdb.
89926 (_PATH_NSCD_NETGROUP_DB): Define.
89927 (netgroup_iov_disabled): Declare.
89928 (xmalloc, xcalloc, xrealloc): Move declarations here.
89929 (cache_search): Adjust prototype.
89930 Add netgroup-related prototypes.
89931 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
89932 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
89933 (__nscd_innetgr): Declare.
89934 * nscd/selinux.c (perms): Use access_vector_t as element type and
89935 add netgroup-related initializers.
89936 * nscd/netgroupcache.c: New file.
89937 * nscd/nscd_netgroup.c: New file.
89938 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
89939 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
89940 For four parameters use innetgr.
89941 * nss/nss_files/files-init.c: Add definition and callback for netgr.
89942 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
89943 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
89944 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
89945
89946 * nscd/connections.c (register_traced_file): Don't register file
89947 for disabled databases.
89948
89949 2011-10-06 Ulrich Drepper <drepper@gmail.com>
89950
89951 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
89952
89953 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
89954 from tree and freeing node.
89955
89956 2011-09-25 Jiri Olsa <jolsa@redhat.com>
89957
89958 * nss/nsswitch.c (__nss_database_lookup): Handle
89959 nss_parse_service_list out of memory case.
89960
89961 2011-09-15 Jiri Olsa <jolsa@redhat.com>
89962
89963 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
89964 out of memory case.
89965
89966 2011-10-04 Andreas Schwab <schwab@redhat.com>
89967
89968 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
89969 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
89970 pass it down.
89971 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
89972 elf_machine_rela, elf_machine_lazy_rel.
89973 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
89974 (ELF_DYNAMIC_DO_REL): Likewise.
89975 (ELF_DYNAMIC_DO_RELA): Likewise.
89976 (ELF_DYNAMIC_RELOCATE): Likewise.
89977 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
89978 to ELF_DYNAMIC_DO_REL.
89979 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
89980 (dl_main): In trace mode always set __RTLD_NOIFUNC.
89981 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
89982 elf_machine_rela.
89983 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
89984 skip_ifunc, don't call ifunc function if non-zero.
89985 (elf_machine_rela): Likewise.
89986 (elf_machine_lazy_rel): Likewise.
89987 (elf_machine_lazy_rela): Likewise.
89988 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
89989 (elf_machine_lazy_rel): Likewise.
89990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
89991 Likewise.
89992 (elf_machine_lazy_rel): Likewise.
89993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89994 Likewise.
89995 (elf_machine_lazy_rel): Likewise.
89996 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
89997 (elf_machine_lazy_rel): Likewise.
89998 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
89999 (elf_machine_lazy_rel): Likewise.
90000 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90001 (elf_machine_lazy_rel): Likewise.
90002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90003 (elf_machine_lazy_rel): Likewise.
90004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90005 (elf_machine_lazy_rel): Likewise.
90006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90007 (elf_machine_lazy_rel): Likewise.
90008
90009 2011-09-28 Ulrich Drepper <drepper@gmail.com>
90010
90011 * nss/nss_files/files-init.c (_nss_files_init): Use static
90012 initialization for all the *_traced_file variables.
90013
90014 2011-09-28 Andreas Schwab <schwab@redhat.com>
90015
90016 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90017
90018 2011-09-27 Roland McGrath <roland@hack.frob.com>
90019
90020 [BZ #13226]
90021 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90022
90023 2011-09-27 Andreas Schwab <schwab@redhat.com>
90024
90025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90026 Reread the line before reparsing it.
90027
90028 2011-09-26 Andreas Schwab <schwab@redhat.com>
90029
90030 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90031
90032 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
90033 Maxim Kuvyrkov <maxim@codesourcery.com>
90034 Joseph Myers <joseph@codesourcery.com>
90035
90036 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90037 if needed for __stack_chk_guard.
90038
90039 2011-09-19 Roland McGrath <roland@hack.frob.com>
90040
90041 * sysdeps/posix/spawni.c (script_execute): Always define it.
90042 It will be optimized away if unused.
90043 (maybe_script_execute): New function.
90044 (__spawni): Call it.
90045
90046 * Makerules: Don't include tls.make.
90047 (config-tls): Always set to thread.
90048 * tls.make.c: File removed.
90049
90050 2011-09-19 Mike Frysinger <vapier@gentoo.org>
90051
90052 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90053 * config.make.in (CPPFLAGS-config): New substituted variable.
90054
90055 2011-09-15 Ulrich Drepper <drepper@gmail.com>
90056
90057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90058
90059 [BZ #13192]
90060 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90061 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90062
90063 2011-09-15 Roland McGrath <roland@hack.frob.com>
90064
90065 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90066 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90068 (CALL_FAIL): Likewise.
90069 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90070 (CALL_FAIL): Macro removed.
90071 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90072
90073 2011-09-15 Ulrich Drepper <drepper@gmail.com>
90074
90075 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90076 for __FINITE_MATH_ONLY__ == 1.
90077
90078 2011-09-15 Andreas Schwab <schwab@redhat.com>
90079
90080 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90081 __ieee754_sqrt instead of sqrt.
90082 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90083 __ieee754_sqrtf instead of sqrtf.
90084 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90085 __floorf instead of floorf.
90086 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90087 __floorf, __truncf instead of floorf, truncf.
90088
90089 2011-09-14 Ulrich Drepper <drepper@gmail.com>
90090
90091 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90092
90093 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90094 __extern_always_inline.
90095 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90096 32-bit.
90097
90098 2011-09-14 Andreas Schwab <schwab@redhat.com>
90099
90100 * elf/rtld.c (dl_main): Also relocate in dependency order when
90101 doing symbol dependency testing.
90102
90103 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
90104
90105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90106 Always define `refsym'.
90107
90108 2011-09-13 Andreas Schwab <schwab@redhat.com>
90109
90110 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90111 (__FD_ELT): Renamed from __FDELT.
90112 * misc/bits/select2.h (__FD_ELT): Likewise.
90113 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90114 __FD_MASK instead of __FDELT, __FDMASK.
90115 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90116 Likewise.
90117 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90118 Likewise.
90119
90120 * elf/Makefile (gen-ldd): Fix pattern.
90121
90122 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90123 (init_tls): Likewise.
90124
90125 2011-09-12 Ulrich Drepper <drepper@gmail.com>
90126
90127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90128
90129 2011-09-12 Andreas Schwab <schwab@redhat.com>
90130
90131 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90132 `struct cmsghdr *' instead of `void *'.
90133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90134 Likewise.
90135
90136 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
90137
90138 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90139 if non-absolute.
90140 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90141 ldd_rewrite_script.
90142
90143 2011-09-11 Ulrich Drepper <drepper@gmail.com>
90144
90145 * configure.in: Remove --with-tls option.
90146 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90147 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90148 out in case it is missing.
90149 * sysdeps/ia64/elf/configure.in: Likewise.
90150 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90151 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90152 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90153 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90154 * sysdeps/sh/elf/configure.in: Likewise.
90155 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90156 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90157 * sysdeps/x86_64/elf/configure.in: Likewise.
90158 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90159 * sysdeps/mach/hurd/tls.h: Likewise.
90160
90161 [BZ #13067]
90162 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90163
90164 [BZ #13090]
90165 * configure.in: Fix use of AC_INIT.
90166
90167 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90168
90169 2011-09-10 Ulrich Drepper <drepper@gmail.com>
90170
90171 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90172 __set_errno.
90173 * malloc/hooks.c: Likewise.
90174
90175 [BZ #11929]
90176 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
90177 variables statically.
90178 (narenas): Initialize.
90179 (list_lock): Initialize.
90180 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
90181 initializtion of main_arena and list_lock. Small cleanups.
90182 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90183 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
90184 Add initializers to main_arena and mp_.
90185 (malloc_state): Remove pagesize member. Change all users to use
90186 GLRO(dl_pagesize).
90187
90188 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90189 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
90190 is always initialized.
90191
90192 * malloc/malloc.c: Removed unused configurations and dead code.
90193 * malloc/arena.c: Likewise.
90194 * malloc/hooks.c: Likewise.
90195 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90196
90197 * include/tls.h: Removed. USE___THREAD must always be defined.
90198 * bits/libc-tsd.h: Don't handle !USE___THREAD.
90199 * elf/dl-libc.c: Likewise.
90200 * elf/dl-tsd.c: Likewise.
90201 * include/errno.h: Likewise.
90202 * include/netdb.h: Likewise.
90203 * include/resolv.h: Likewise.
90204 * inet/herrno-loc.c: Likewise.
90205 * inet/herrno.c: Likewise.
90206 * malloc/arena.c: Likewise.
90207 * malloc/hooks.c: Likewise.
90208 * malloc/malloc.c: Likewise.
90209 * resolv/res-state.c: Likewise.
90210 * resolv/res_libc.c: Likewise.
90211 * sysdeps/i386/dl-machine.h: Likewise.
90212 * sysdeps/ia64/dl-machine.h: Likewise.
90213 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90214 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90215 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90216 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90217 * sysdeps/sh/dl-machine.h: Likewise.
90218 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90219 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90220 * sysdeps/unix/i386/sysdep.S: Likewise.
90221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90222 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90225 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90226 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90227 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90231 * sysdeps/unix/x86_64/sysdep.S: Likewise.
90232 * sysdeps/x86_64/dl-machine.h: Likewise.
90233 * tls.make.c: Likewise.
90234
90235 * configure.in: Remove --with-__thread option. Make tests for
90236 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90237 tls_model attribute fail if no support is available. Remove
90238 USE_IN_LIBIO.
90239 * Makeconfig: Adjust for dropped configure option. All features are
90240 now mandatory.
90241 * Makerules: Likewise.
90242 * Versions.def: Likewise.
90243 * argp/argp-fmtstream.c: Likewise.
90244 * argp/argp-fmtstream.h: Likewise.
90245 * argp/argp-help.c: Likewise.
90246 * assert/assert.c: Likewise.
90247 * config.h.in: Likewise.
90248 * config.make.in: Likewise.
90249 * configure: Likewise.
90250 * configure.in: Likewise.
90251 * csu/Versions: Likewise.
90252 * csu/init.c: Likewise.
90253 * elf/tst-audit2.c: Likewise.
90254 * elf/tst-tls10.c: Likewise.
90255 * elf/tst-tls10.h: Likewise.
90256 * elf/tst-tls11.c: Likewise.
90257 * elf/tst-tls12.c: Likewise.
90258 * elf/tst-tls14.c: Likewise.
90259 * elf/tst-tlsmod11.c: Likewise.
90260 * elf/tst-tlsmod12.c: Likewise.
90261 * elf/tst-tlsmod13.c: Likewise.
90262 * elf/tst-tlsmod13a.c: Likewise.
90263 * elf/tst-tlsmod14a.c: Likewise.
90264 * elf/tst-tlsmod15b.c: Likewise.
90265 * elf/tst-tlsmod16a.c: Likewise.
90266 * elf/tst-tlsmod16b.c: Likewise.
90267 * elf/tst-tlsmod7.c: Likewise.
90268 * elf/tst-tlsmod8.c: Likewise.
90269 * elf/tst-tlsmod9.c: Likewise.
90270 * gmon/gmon.c: Likewise.
90271 * grp/fgetgrent_r.c: Likewise.
90272 * grp/putgrent.c: Likewise.
90273 * hurd/fopenport.c: Likewise.
90274 * include/libc-symbols.h: Likewise.
90275 * include/tls.h: Likewise.
90276 * intl/gettextP.h: Likewise.
90277 * intl/loadinfo.h: Likewise.
90278 * locale/global-locale.c: Likewise.
90279 * locale/localeinfo.h: Likewise.
90280 * mach/devstream.c: Likewise.
90281 * malloc/arena.c: Likewise.
90282 * malloc/set-freeres.c: Likewise.
90283 * misc/err.c: Likewise.
90284 * misc/getttyent.c: Likewise.
90285 * misc/mntent_r.c: Likewise.
90286 * posix/getopt.c: Likewise.
90287 * posix/wordexp.c: Likewise.
90288 * pwd/fgetpwent_r.c: Likewise.
90289 * resolv/Versions: Likewise.
90290 * resolv/res_hconf.c: Likewise.
90291 * shadow/fgetspent_r.c: Likewise.
90292 * shadow/putspent.c: Likewise.
90293 * stdio-common/printf_fphex.c: Likewise.
90294 * stdio-common/tmpfile.c: Likewise.
90295 * stdlib/abort.c: Likewise.
90296 * stdlib/fmtmsg.c: Likewise.
90297 * sunrpc/auth_unix.c: Likewise.
90298 * sunrpc/clnt_perr.c: Likewise.
90299 * sunrpc/clnt_tcp.c: Likewise.
90300 * sunrpc/clnt_udp.c: Likewise.
90301 * sunrpc/clnt_unix.c: Likewise.
90302 * sunrpc/openchild.c: Likewise.
90303 * sunrpc/svc_simple.c: Likewise.
90304 * sunrpc/svc_tcp.c: Likewise.
90305 * sunrpc/svc_udp.c: Likewise.
90306 * sunrpc/svc_unix.c: Likewise.
90307 * sunrpc/xdr.c: Likewise.
90308 * sunrpc/xdr_array.c: Likewise.
90309 * sunrpc/xdr_rec.c: Likewise.
90310 * sunrpc/xdr_ref.c: Likewise.
90311 * sunrpc/xdr_stdio.c: Likewise.
90312
90313 2011-09-09 Ulrich Drepper <drepper@gmail.com>
90314
90315 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90316
90317 2011-07-03 Andreas Jaeger <aj@suse.de>
90318
90319 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90320 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90321 regenerate with gen-libm-tests.pl.
90322
90323 2010-05-12 Petr Baudis <pasky@suse.cz>
90324
90325 [BZ #11589]
90326 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90327 around j0() zero points by switching to j1().
90328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90330 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90331 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90332
90333 2011-09-09 Ulrich Drepper <drepper@gmail.com>
90334
90335 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90336 instead of 0.
90337 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90338 instead of 0.
90339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90340 Patch in part by Pavel Roskin <proski@gnu.org>.
90341
90342 [BZ #13138]
90343 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90344 realloc.
90345 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
90346 Free memory block if necessary.
90347
90348 [BZ #12847]
90349 * libio/genops.c (INTDEF): For string streams the _lock pointer can
90350 be NULL. Don't lock in this case.
90351
90352 2011-09-09 Roland McGrath <roland@hack.frob.com>
90353
90354 * elf/elf.h (ELFOSABI_GNU): New macro.
90355 (ELFOSABI_LINUX): Define to that.
90356
90357 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
90358
90359 * string/strncat.c (strncat): Undef the symbol in case it has been
90360 defined in bits/string.h.
90361
90362 2011-09-09 Ulrich Drepper <drepper@gmail.com>
90363
90364 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90365
90366 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90367 link map.
90368
90369 2011-08-17 Andreas Jaeger <aj@suse.de>
90370
90371 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90372
90373 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
90374 Ian Lance Taylor <iant@google.com>
90375
90376 * math/libm-test.inc (lround_test): New testcase.
90377 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90378
90379 2011-09-08 Ulrich Drepper <drepper@gmail.com>
90380
90381 * Makefile: Remove support for automatic cvs check-ins.
90382 * Makerules: Likewise.
90383 * config.make.in: Likewise.
90384 * configure.in: Likewise.
90385 * intl/Makefile: Likewise.
90386 * locale/Makefile: Likewise.
90387 * po/Makefile: Likewise.
90388 * posix/Makefile: Likewise.
90389 * sysdeps/gnu/Makefile: Likewise.
90390 * sysdeps/mach/hurd/Makefile: Likewise.
90391 * sysdeps/sparc/sparc32/Makefile: Likewise.
90392
90393 [BZ #13118]
90394 * posix/Makefile (bug-regex32-ENV): Define.
90395 Patch by John Stanley <jpsinthemix@verizon.net>.
90396
90397 * misc/Makefile (headers): Add bits/select2.h.
90398 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90399 * misc/bits/select2.h: New file.
90400 * include/bits/select2.h: New file.
90401 * debug/Makefile (routines): Add fdelt_chk.
90402 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90403 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90404 FD_ISSET.
90405 * debug/fdelt_chk.c: New file.
90406
90407 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
90408 * wcsmbs/test-wmemcmp.c: Likewise.
90409 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90410 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90411
90412 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90413
90414 * string/Makefile (strop-tests): Add memcmp.
90415 * string/test-wmemcmp.c: New file.
90416 * string/test-memcmp.c: Add wmemcmp support.
90417
90418 2011-09-08 Roland McGrath <roland@hack.frob.com>
90419
90420 [BZ #13153]
90421 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90422 2011-07-19 change.
90423
90424 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90425 garbage value in a __mach_port_mod_refs call in the cases of the
90426 task-self and thread-self ports.
90427
90428 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
90429
90430 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90431
90432 2011-09-08 Andreas Schwab <schwab@redhat.com>
90433
90434 * elf/dl-load.c (lose): Check for non-null L.
90435
90436 2011-09-07 Ulrich Drepper <drepper@gmail.com>
90437
90438 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90439
90440 * elf/dl-libc.c (dlerror_run): Pass back error code from
90441 dl_catch_error.
90442
90443 [BZ #13123]
90444 * elf/dl-load.c (lose): Free l_origin if it is valid.
90445
90446 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90447 names.
90448 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90452 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90453 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90454
90455 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90456
90457 * sysdeps/powerpc/fpu/e_hypot.c: New file.
90458 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90459 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90460 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90461 * sysdeps/powerpc/fpu/k_cosf.c: New file.
90462 * sysdeps/powerpc/fpu/k_sinf.c: New file.
90463 * sysdeps/powerpc/fpu/s_cosf.c: New file.
90464 * sysdeps/powerpc/fpu/s_sinf.c: New file.
90465 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90466 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90467
90468 2011-08-15 Alan Modra <amodra@gmail.com>
90469
90470 [BZ #13092]
90471 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90472 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90473 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
90474 ppc_mcount to static-only-routines.
90475 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90476 __mcount_internal.
90477 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90478 __mcount_internal with usual JUMPTARGET. Remove useless nop.
90479
90480 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
90481
90482 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90483 for finite and infinity parameters.
90484
90485 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
90486
90487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90488 and add nop instructions for throughput optimization.
90489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90490
90491 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
90492
90493 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90494 aligned copy for power7 with vector-scalar instructions.
90495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90496
90497 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
90498
90499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90500 AVX check.
90501
90502 2011-09-07 Andreas Schwab <schwab@redhat.com>
90503
90504 [BZ #13144]
90505 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90506 last change.
90507
90508 2011-09-07 Ulrich Drepper <drepper@gmail.com>
90509
90510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
90511 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90512 syscall wrapper around clock_gettime in __vdso_clock_gettime.
90513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90514 clock_gettime.
90515
90516 2011-09-06 Ulrich Drepper <drepper@gmail.com>
90517
90518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90519 Forgot to demangle the pointer.
90520
90521 * sysdeps/i386/sysdep.h: Define atom_text_section.
90522 * sysdeps/x86_64/sysdep.h: Likewise.
90523 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90524 section with atom_text_section.
90525 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90526 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90527 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90529 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90530
90531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90532 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90533 already be defined. Change to take two parameters and don't assign
90534 result to variable. Adjust all users.
90535 Define INTERNAL_GETTIME if not already defined.
90536 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90537 call.
90538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90539 HAVE_CLOCK_GETTIME_VSYSCALL.
90540 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90541
90542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90543 gettimeofday vsyscall, just use time.
90544
90545 2011-09-06 Andreas Schwab <schwab@redhat.com>
90546
90547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90548 <errno.h>.
90549
90550 2011-09-06 Ulrich Drepper <drepper@gmail.com>
90551
90552 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90553 syscall on x86-64.
90554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90555 syscall.
90556 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90558 syscall if possible.
90559
90560 2011-09-05 Ulrich Drepper <drepper@gmail.com>
90561
90562 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90563 e_ident. Don't pass to find_mapsXX.
90564 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90565
90566 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
90567
90568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90569 strchr-sse2-no-bsf strrchr-sse2-no-bsf
90570 * sysdeps/x86_64/multiarch/strchr.S: Update.
90571 Check bit_slow_BSF bit.
90572 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90573 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90574 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90575
90576 2011-09-05 Ulrich Drepper <drepper@gmail.com>
90577
90578 [BZ #13134]
90579 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90580 before glibc 2.15.
90581 (tryshell): Define.
90582 (__spawni): Change last parameter to be flag. Test
90583 SPAWN_XFLAGS_USE_PATH flag to use path or not.
90584 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90585 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90586 * posix/spawni.c: Likewise.
90587 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90588 * posix/spawnp.c: Likewise. Change normal version to use
90589 SPAWN_XFLAGS_USE_PATH.
90590 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90591 SPAWN_XFLAGS_TRY_SHELL.
90592
90593 [BZ #13150]
90594 * posix/glob.h: Remove gcc 1.x support.
90595
90596 [BZ #13068]
90597 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90598
90599 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
90600
90601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90602 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90603 strrchr-sse2-bsf
90604 * sysdeps/i386/i686/multiarch/strchr.S: New file.
90605 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90606 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90609 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90610
90611 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90612
90613 * sysdeps/x86_64/wcscmp.S: New file.
90614
90615 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90616 wcscmp-c wcscmp-sse2
90617 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90618 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90619 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90620 * wcsmbs/wcscmp.c: Allow renaming.
90621
90622 2011-09-05 David S. Miller <davem@davemloft.net>
90623
90624 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90625 stack slot, rather than the struct return pointer slot.
90626 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90627 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90629 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90630
90631 2011-09-05 Ulrich Drepper <drepper@gmail.com>
90632
90633 * po/ja.po: Update from translation team.
90634
90635 [BZ #13144]
90636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90637 kernel in 64-bit binaries.
90638
90639 2011-09-01 David S. Miller <davem@davemloft.net>
90640
90641 * elf/elf.h (HWCAP_SPARC_*): Move to..
90642 * sysdeps/sparc/sysdep.h: this new file and add new values.
90643 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90644 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90645 _DL_HWCAP_COUNT to 24.
90646 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90647 entries.
90648 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90649 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90650 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90652 instead of magic constants.
90653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90654
90655 2011-08-31 David S. Miller <davem@davemloft.net>
90656
90657 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90659 Reimplement to do errno handling inline.
90660 (SYSCALL_ERROR_HANDLER): New macro.
90661 (__SYSCALL_STRING): Do not do errno handling in asm.
90662 (__CLONE_SYSCALL_STRING): Delete.
90663 (__INTERNAL_SYSCALL_STRING): Delete.
90664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90665 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90666 (PSEUDO): Reimplement to do errno handling inline.
90667 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90668 (SYSCALL_ERROR_HANDLER): New macro.
90669 (__SYSCALL_STRING): Do not do errno handling in asm.
90670 (__CLONE_SYSCALL_STRING): Delete.
90671 (__INTERNAL_SYSCALL_STRING): Delete.
90672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90673 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90674 i386.
90675 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90676 (inline_syscall*): Add 'err' argument.
90677 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90678 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90679 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90680 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90681
90682 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90683 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90684
90685 2011-08-30 Andreas Schwab <schwab@redhat.com>
90686
90687 * elf/rtld.c (dl_main): Relocate objects in dependency order.
90688
90689 2011-08-29 Jiri Olsa <jolsa@redhat.com>
90690
90691 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90692 directive.
90693
90694 2011-08-24 David S. Miller <davem@davemloft.net>
90695
90696 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90697
90698 2011-08-24 Andreas Schwab <schwab@redhat.com>
90699
90700 * elf/Makefile: Add rules to build and run unload8 test.
90701 * elf/unload8.c: New file.
90702 * elf/unload8mod1.c: New file.
90703 * elf/unload8mod1x.c: New file.
90704 * elf/unload8mod2.c: New file.
90705 * elf/unload8mod3.c: New file.
90706
90707 * elf/dl-close.c (_dl_close_worker): Reset private search list if
90708 it wasn't used.
90709
90710 2011-08-23 David S. Miller <davem@davemloft.net>
90711
90712 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90713 subtract stack bias.
90714 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90715 %sp not %fp in calculations.
90716 (_JMPBUF_UNWINDS_ADJ): Likewise.
90717
90718 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
90719 (aio_suspend): Call it to force an exception region around the
90720 AIO_MISC_WAIT() invocation.
90721
90722 2011-08-23 Andreas Schwab <schwab@redhat.com>
90723
90724 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
90725 backslash.
90726
90727 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
90728
90729 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
90730 protection macro.
90731 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
90732 and <dl-machine.h>.
90733 (Elf64_FuncDesc): Remove.
90734
90735 2011-08-22 David S. Miller <davem@davemloft.net>
90736
90737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
90738 sigaltstack check, add missing cfi directives.
90739 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
90740 missing cfi directives, and sigaltstack handling.
90741
90742 2011-08-16 Andreas Schwab <schwab@redhat.com>
90743
90744 [BZ #11724]
90745 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
90746 object is seen twice.
90747 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90748
90749 * elf/Makefile (distribute): Add tst-initorder2.c.
90750 (tests): Add tst-initorder2.
90751 (modules-names): Add tst-initorder2a tst-initorder2b
90752 tst-initorder2c tst-initorder2d. Add rules to build them.
90753 ($(objpfx)tst-initorder2.out): New rule.
90754 * elf/tst-initorder2.c: New file.
90755 * elf/tst-initorder2.exp: New file.
90756
90757 2011-08-22 Andreas Schwab <schwab@redhat.com>
90758
90759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
90760
90761 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
90762 dependencies back to end of function.
90763
90764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90765 $(elfobjdir)/ld.so.
90766
90767 2011-08-21 Ulrich Drepper <drepper@gmail.com>
90768
90769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
90770 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
90771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
90772 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
90773 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
90774 of __vdso_gettimeofday.
90775 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
90776 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
90777 attribute_hidden.
90778 (_libc_vdso_platform_setup): Remove initialization of
90779 __vdso_gettimeofday and __vdso_time.
90780
90781 2011-08-20 Ulrich Drepper <drepper@gmail.com>
90782
90783 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
90784 and fgetc_unlocked.
90785 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
90786 getc_unlocked.
90787
90788 * elf/dl-open.c (add_to_global): Report additions to the global scope
90789 for LD_DEBUG=scopes.
90790 (dl_open_worker): Also print scope of newly loaded dependencies.
90791 (_dl_show_scope): Indicate if there is no scope.
90792
90793 [BZ #13114]
90794 * stdio-common/Makefile (tests): Add bug24.
90795 * stdio-common/bug24.c: New file.
90796
90797 2011-08-19 Andreas Jaeger <aj@suse.de>
90798
90799 [BZ #13114]
90800 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
90801 non-existant file when using close-on-exec mode.
90802
90803 2011-08-20 Ulrich Drepper <drepper@gmail.com>
90804
90805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
90806 the very first instruction.
90807
90808 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
90809 the CFI state in the end.
90810 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
90811 inclusion of dl-trampoline.h.
90812 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
90813
90814 2011-08-19 Andreas Schwab <schwab@redhat.com>
90815
90816 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
90817 expectations for long double.
90818
90819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
90820 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
90821
90822 2011-08-14 David S. Miller <davem@davemloft.net>
90823
90824 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
90825 artificual limit depends upon the system page size.
90826
90827 2011-08-17 Ulrich Drepper <drepper@gmail.com>
90828
90829 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
90830 * resolv/Makefile: Define CFLAGS-libresolv.
90831
90832 2011-08-17 Andreas Schwab <schwab@redhat.com>
90833
90834 * nss/makedb.c (compute_tables): Make variables used in nested
90835 function static.
90836
90837 2011-08-17 Ulrich Drepper <drepper@gmail.com>
90838
90839 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
90840 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
90841 if buffer was too small.
90842
90843 * elf/pldd.c (main): Attach to all threads in the process.
90844 Rewrite /proc handling to use *at functions.
90845
90846 2011-08-16 Ulrich Drepper <drepper@gmail.com>
90847
90848 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
90849 specifies first scope to show.
90850 (dl_open_worker): Update callers. Move printing scope of new
90851 object to before the relocation.
90852 * elf/rtld.c (dl_main): Update _dl_show_scope call.
90853 * sysdeps/generic/ldsodefs.h: Update declaration.
90854
90855 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
90856 string for the scope number.
90857
90858 2011-08-14 Ulrich Drepper <drepper@gmail.com>
90859
90860 * nscd/servicescache.c (cache_addserv): Make sure written is always
90861 initialized.
90862
90863 2011-08-14 Roland McGrath <roland@hack.frob.com>
90864
90865 * sysdeps/i386/i486/bits/atomic.h
90866 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
90867 statement expression, so as to suppress "set but not used" warning.
90868 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
90869
90870 * string/strncat.c (STRNCAT): Use prototype definition.
90871
90872 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
90873 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
90874 -Iprograms here.
90875 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
90876 (localedef-modules): Add localedef.
90877 (locale-modules): Add locale.
90878
90879 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
90880 * elf/rtld.c (dl_main): Invert order of assignment in last change,
90881 to avoid a warning.
90882
90883 2011-08-14 David S. Miller <davem@davemloft.net>
90884
90885 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
90886 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
90887
90888 2011-08-13 Ulrich Drepper <drepper@gmail.com>
90889
90890 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
90891 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
90892 * elf/rtld.c (dl_main): Set l_name of vDSO.
90893 Call _dl_show_scope when DL_DEBUG_SCOPES.
90894 (process_dl_debug): Recognize scopes flag and also set it for all.
90895 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
90896 Declare _dl_show_scope.
90897
90898 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
90899 (do_dlopen): Pass caller_dlopen to dl_open.
90900 (__libc_dlopen_mode): Initialize caller_dlopen.
90901
90902 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
90903 of libc. Make tolower call locale-independent. Optimize a bit by
90904 using isdigit instead of isalnum.
90905 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
90906
90907 2011-08-12 Ulrich Drepper <drepper@gmail.com>
90908
90909 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
90910 was a dependency or dynamically loaded.
90911
90912 2011-08-11 Ulrich Drepper <drepper@gmail.com>
90913
90914 * intl/l10nflist.c: Allow architecture-specific pop function.
90915 * sysdeps/x86_64/l10nflist.c: New file.
90916
90917 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
90918 classification.
90919
90920 2011-08-10 Andreas Schwab <schwab@redhat.com>
90921
90922 * include/dirent.h: Add libc_hidden_proto for scandirat and
90923 scandirat64. Don't declare __scandirat64.
90924 * dirent/scandirat.c: Add libc_hidden_def.
90925 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
90926 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
90927
90928 2011-08-10 David S. Miller <davem@davemloft.net>
90929
90930 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
90931 enum.
90932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90935
90936 2011-08-09 Ulrich Drepper <drepper@gmail.com>
90937
90938 * Versions.def [libc]: Add GLIBC_2.15.
90939 * dirent/Makefile (routines): Add scandirat and scandirat64.
90940 * dirent/Versions [libc]: Export scandirat and scandirat64 for
90941 GLIBC_2.15.
90942 * dirent/dirent.h: Declare scandirat and scandirat64.
90943 * dirent/scandirat.c: New file.
90944 * dirent/scandirat64.c: New file.
90945 * sysdeps/wordsize-64/scandirat.c: New file.
90946 * sysdeps/wordsize-64/scandirat64.c: New file.
90947 * dirent/opendir.c: Define opendirat.
90948 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
90949 using scandirat.
90950 * dirent/scandir64.c: Adjust for scandir.c change.
90951 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
90952 __scandirat64, and __scandir_cancel_handler.
90953 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
90954 additional parameter and use openat instead of open (outside of ld.so).
90955 Add new __opendir as wrapper around __opendirat.
90956 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
90957 here without requiring old scandirat implementation.
90958
90959 2011-08-08 Ulrich Drepper <drepper@gmail.com>
90960
90961 * dirent/scandir.c (cancel_handler): Renamed to
90962 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
90963 defined. Adjust users.
90964 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
90965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
90966
90967 2011-08-04 Ulrich Drepper <drepper@gmail.com>
90968
90969 * string/test-string.h (IMPL): Use __STRING to expand name and then
90970 stringify it.
90971
90972 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
90973 of cleanups.
90974
90975 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90976
90977 * string/Makefile: Update.
90978 (strop-tests): Append strncat.
90979 * string/test-wcscmp.c: New file.
90980 New comprehensive test for wcscmp.
90981 * string/test-strcmp.c: Update.
90982 (WIDE): New define.
90983
90984 2011-07-22 Andreas Schwab <schwab@redhat.com>
90985
90986 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
90987 line.
90988
90989 2011-07-26 Andreas Schwab <schwab@redhat.com>
90990
90991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90992 encoding to ACE if AI_IDN.
90993
90994 2011-08-01 Jakub Jelinek <jakub@redhat.com>
90995
90996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
90997 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
90998
90999 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91000
91001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91002 Fix overflow bug in strncat.
91003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91004
91005 * string/test-strncat.c: Update.
91006 Add new tests for checking overflow bugs.
91007
91008 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91009
91010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91011 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91012 * sysdeps/i386/i686/multiarch/strcat.S: New file.
91013 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91015 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91016 * sysdeps/i386/i686/multiarch/strncat.S: New file.
91017 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91018 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91019
91020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91021 (USE_AS_STRCAT): Define.
91022 Add strcat and strncat support.
91023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91024
91025 2011-07-25 Andreas Schwab <schwab@redhat.com>
91026
91027 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91028 __n bigger than INT_MAX+1.
91029 (__strncmp_g): Likewise.
91030
91031 2011-07-23 Ulrich Drepper <drepper@gmail.com>
91032
91033 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91034 * libio/stido.h: Likewise.
91035
91036 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91037 (AF_NFC): Define.
91038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91039 (AF_NFC): Define.
91040
91041 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91043 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91046
91047 [BZ #13021]
91048 * scripts/test-installation.pl: Don't expect libnss_test1 to be
91049 installed.
91050
91051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91052 typo.
91053 (_dl_x86_64_save_sse): Likewise.
91054
91055 2011-07-22 Ulrich Drepper <drepper@gmail.com>
91056
91057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91058 OSXSAVE.
91059 (_dl_x86_64_save_sse): Likewise.
91060
91061 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91062
91063 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91064
91065 2011-07-21 Andreas Schwab <schwab@redhat.com>
91066
91067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91068 change.
91069 (_dl_x86_64_save_sse): Use correct AVX check.
91070
91071 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91072
91073 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91074 bug in strncpy/strncat.
91075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91076
91077 2011-07-21 Ulrich Drepper <drepper@gmail.com>
91078
91079 * string/tester.c (test_strcat): Add tests for different alignments
91080 of source and destination.
91081 (test_strncat): Likewise.
91082
91083 2011-07-20 Ulrich Drepper <drepper@gmail.com>
91084
91085 [BZ #12852]
91086 * posix/glob.c (glob): Check passed in values before using them in
91087 expressions to avoid some overflows.
91088 (glob_in_dir): Likewise.
91089
91090 [BZ #13007]
91091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91092 check for AVX enablement so that we don't crash with old kernels and
91093 new hardware.
91094 * elf/tst-audit4.c: Add same checks here.
91095 * elf/tst-audit6.c: Likewise.
91096
91097 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91098
91099 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
91100
91101 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91102
91103 2011-07-20 Ulrich Drepper <drepper@gmail.com>
91104
91105 * po/cs.po: Update from translation team.
91106 * po/bg.po: Likewise.
91107
91108 2011-07-12 Marek Polacek <mpolacek@redhat.com>
91109
91110 * misc/sys/cdefs.h: Add support for const attribute.
91111 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91112 to gnu_dev_{major,minor,makedev} functions.
91113
91114 2011-07-20 Marek Polacek <mpolacek@redhat.com>
91115
91116 * intl/dcigettext.c (get_output_charset): Add missing bracket.
91117
91118 2011-07-20 Andreas Schwab <schwab@redhat.com>
91119
91120 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91121 strlen results.
91122
91123 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91124
91125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91126 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91127 register in order to avoid conflicts with the soft frame pointer
91128 being held in r11 when necessary.
91129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91130 (INTERNAL_VSYSCALL_NCS): Likewise.
91131
91132 2011-07-14 Marek Polacek <mpolacek@redhat.com>
91133
91134 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91135 * elf/dl-fini.c (_dl_fini): Adjust caller.
91136 * elf/dl-close.c (_dl_close_worker): Likewise.
91137 * sysdeps/generic/ldsodefs.h: Adjust declaration.
91138
91139 2011-07-15 Marek Polacek <mpolacek@redhat.com>
91140
91141 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91142 "aux_cache->nlibs < 0".
91143
91144 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91145 in the reload-count case.
91146
91147 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91148
91149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91150 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91151 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91152 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91153 * sysdeps/x86_64/multiarch/strcat.S: New file.
91154 * sysdeps/x86_64/multiarch/strncat.S: New file.
91155 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91157 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91158 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91160 (USE_AS_STRCAT): Define.
91161 Add strcat and strncat support.
91162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91164 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91165 * string/strncat.c: Update.
91166 (USE_AS_STRNCAT): Define.
91167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91168 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91169 and i7.
91170 * sysdeps/x86_64/multiarch/init-arch.h
91171 (bit_Prefer_PMINUB_for_stringop): New.
91172 (index_Prefer_PMINUB_for_stringop): Likewise.
91173 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91174 bit_Prefer_PMINUB_for_stringop.
91175
91176 2011-07-19 Ulrich Drepper <drepper@gmail.com>
91177
91178 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91179 buffer64.
91180 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91181 of casting of buffer.
91182 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91183 buffer32 and buffer64.
91184 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91185 writes instead of casting of buffer.
91186 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91187 buffer32.
91188 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91189 casting of buffer.
91190
91191 2011-07-19 Andreas Schwab <schwab@redhat.com>
91192
91193 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91194
91195 2011-07-19 Ulrich Drepper <drepper@gmail.com>
91196
91197 * nscd/nscd.c (termination_handler): Don't do anything for a database
91198 if it has not yet been initialized.
91199
91200 2011-07-18 Ulrich Drepper <drepper@gmail.com>
91201
91202 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91203
91204 2011-07-15 Marek Polacek <mpolacek@redhat.com>
91205
91206 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91207
91208 2011-07-18 Ulrich Drepper <drepper@gmail.com>
91209
91210 * po/nl.po: Update from translation team.
91211 * po/sv.po: Likewise.
91212
91213 2011-07-16 Roland McGrath <roland@hack.frob.com>
91214
91215 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91216 now disallowed by GCC.
91217
91218 * configure.in (use-default-link): Default to yes if a test -shared
91219 link meets our qualifications.
91220 * configure: Regenerated.
91221
91222 * config.make.in (output-format): New variable.
91223 * configure.in: Check for ld --print-output-format support.
91224 * configure: Regenerated.
91225 * Makerules ($(common-objpfx)format.lds)
91226 [$(output-format) != unknown]: Just use $(output-format),
91227 instead of the linker-script munging.
91228
91229 2011-07-14 Roland McGrath <roland@hack.frob.com>
91230
91231 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91232 of $(common-objpfx)shlib.lds.
91233 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91234
91235 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91236 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91237
91238 * configure.in (-z relro check): Adjust test code to add a large
91239 writable data section after it.
91240 * configure: Regenerated.
91241
91242 2011-07-11 Roland McGrath <roland@hack.frob.com>
91243
91244 * configure.in (-z relro check): Fix test code to make the variable
91245 truly const.
91246 * configure: Regenerated.
91247
91248 2011-07-11 Ulrich Drepper <drepper@gmail.com>
91249
91250 * nscd/nscd.h (struct traced_file): Define.
91251 (struct database_dyn): Remove inotify_descr, reset_res, and filename
91252 elements. Add traced_files.
91253 (inotify_fd): Declare.
91254 (register_traced_file): Declare.
91255 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91256 (inotify_fd): Export.
91257 (resolv_conf_descr): Remove.
91258 (nscd_init): Move inotify descriptor creation to main.
91259 Don't register files for notification here.
91260 (register_traced_file): New function.
91261 (invalidate_cache): Don't use reset_res to determine whether to call
91262 res_init, go through the list of registered files.
91263 (main_loop_poll): The inotify descriptors are now stored in the
91264 structures for the traced files.
91265 (main_loop_epoll): Likewise.
91266 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
91267 to __nss_disable_nscd.
91268 * nscd/cache.c (prune_cache): There is no single inotify descriptor
91269 for a database anymore. Check the records for all the registered
91270 files instead.
91271 * nss/Makefile (libnss_files-routines): Add files-init.
91272 (libnss_db-routines): Add db-init.
91273 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91274 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91275 * nss/nss_db/db-init.c: New file.
91276 * nss/nss_files/files-init.c: New file.
91277 * nss/nsswitch.c (nss_load_library): New function. Broken out of
91278 __nss_lookup_function.
91279 (__nss_lookup_function): Call nss_load_library.
91280 (nss_load_all_libraries): New function.
91281 (__nss_disable_nscd): Take parameter with callback function for files
91282 to register. Set is_nscd. Load all the DSOs for the NSS modules
91283 used for the cached services.
91284 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91285 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91286 options for features to all the files in nscd.
91287
91288 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91289
91290 2011-07-10 Roland McGrath <roland@hack.frob.com>
91291
91292 * csu/elf-init.c (__libc_csu_init): Comment typo.
91293
91294 2011-07-09 Ulrich Drepper <drepper@gmail.com>
91295
91296 * po/pl.po: Update from translation team.
91297 * po/ja.po: Likewise.
91298 * po/ru.po: Likewise.
91299 * po/ko.po: Likewise.
91300 * po/fr.po: Likewise.
91301
91302 2011-07-09 Roland McGrath <roland@hack.frob.com>
91303
91304 * configure.in (.ctors/.dtors header and trailer check):
91305 Use an empirical test on a built program.
91306 * configure: Regenerated.
91307
91308 * configure.in (-z relro check): Use an empirical test on a built DSO.
91309 Detect, but do not require, on ia64.
91310 * configure: Regenerated.
91311
91312 * configure.in (READELF): Find it with AC_CHECK_TOOL.
91313 Update tests that use readelf to use $READELF instead.
91314 * configure: Regenerated.
91315
91316 2011-07-08 Ulrich Drepper <drepper@gmail.com>
91317
91318 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91319 if the result is not used.
91320
91321 2011-07-05 Andreas Jaeger <aj@suse.de>
91322
91323 [BZ #9696]
91324 * stdlib/tst-strtod.c: Add testcase.
91325
91326 2011-07-07 Ulrich Drepper <drepper@gmail.com>
91327
91328 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91329 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91330 The latter has a higher limit. Take additional parameter to pass to
91331 the new function.
91332 (__pathconf): Pass file to __statfs_link_max.
91333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91334 __statfs_link_max.
91335 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91336 __statfs_link_max.
91337
91338 [BZ #12868]
91339 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91341 Handle Lustre.
91342 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91343 (__statfs_filesize_max): Likewise.
91344 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91345
91346 2011-07-05 Andreas Jaeger <aj@suse.de>
91347
91348 * resolv/res_comp.c (dn_skipname): Remove unused variable.
91349
91350 2011-07-06 Marek Polacek <mpolacek@redhat.com>
91351
91352 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91353 `status' variable.
91354 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91355 Likewise.
91356
91357 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
91358
91359 * Makefile (strop-tests): Add strncat.
91360 * string/test-strncat.c: New file.
91361
91362 2011-06-30 Marek Polacek <mpolacek@redhat.com>
91363
91364 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91365
91366 2011-06-21 Andreas Jaeger <aj@suse.de>
91367
91368 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91369 Copy rule from iconvdata/Makefile.
91370
91371 2011-07-06 Ulrich Drepper <drepper@gmail.com>
91372
91373 [BZ #12922]
91374 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91375 but no long options are defined, just return 'W'.
91376
91377 2011-06-22 Marek Polacek <mpolacek@redhat.com>
91378
91379 [BZ #9696]
91380 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91381
91382 2011-07-06 Ulrich Drepper <drepper@gmail.com>
91383
91384 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91385 netgroups to read.
91386 (innetgr): Likewise.
91387
91388 2011-07-05 Roland McGrath <roland@hack.frob.com>
91389
91390 * config.make.in (install_root): Default to $(DESTDIR).
91391
91392 2011-07-05 Ulrich Drepper <drepper@gmail.com>
91393
91394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91395
91396 2011-07-02 Roland McGrath <roland@hack.frob.com>
91397
91398 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91399
91400 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91401 containing directory rather than embedding absolute directory names.
91402
91403 * scripts/check-local-headers.sh: Rewritten using awk.
91404 Match by word, not by line. Print error messages for matches.
91405 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91406
91407 * Makerules [shlib-lds-flags empty]:
91408 ($(common-objpfx)libc_pic.opts): New target.
91409 ($(common-objpfx)libc_pic.os.clean): New target.
91410 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91411
91412 * config.make.in (OBJCOPY): New variable.
91413 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91414 * configure: Regenerated.
91415
91416 * config.make.in (use-default-link): New variable.
91417 * configure.in (use_default_link): Grok --with-default-link to set it.
91418 * configure: Regenerated.
91419 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91420 (shlib-lds, shlib-lds-flags): Define to empty.
91421
91422 * Makerules (shlib-lds): New variable.
91423 (shlib-lds-flags): New variable.
91424 (build-shlib, build-moduile, build-module-asneeded): Use it.
91425 ($(common-objpfx)libc.so): Use $(shlib-lds).
91426 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91427 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91428
91429 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91430 DT_FLAGS/DT_FLAGS_1 with zero flags.
91431
91432 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91433 linker script munging.
91434
91435 2011-07-02 Ulrich Drepper <drepper@gmail.com>
91436
91437 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91438 as 128-bit value.
91439 * crypt/sha512.c (sha512_process_block): Perform total addition using
91440 128-bit if possible.
91441 (__sha512_finish_ctx): Likewise.
91442 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91443 as 64-bit value.
91444 * crypt/sha256.c (SWAP64): Define.
91445 (sha256_process_block): Perform total addition using 64-bit if
91446 possible.
91447 (__sha256_finish_ctx): Likewise.
91448
91449 2011-07-01 Ulrich Drepper <drepper@gmail.com>
91450
91451 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
91452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
91453 * nscd/hstcache.c (cache_addhst): Likewise.
91454 * nscd/grpcache.c (cache_addgr): Likewise.
91455 * nscd/aicache.c (addhstaiX): Likewise.
91456 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91457
91458 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
91459
91460 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
91462 * nscd/hstcache.c (cache_addhst): Likewise.
91463 * nscd/grpcache.c (cache_addgr): Likewise.
91464 * nscd/aicache.c (addhstaiX): Likewise.
91465
91466 2011-07-01 Andreas Schwab <schwab@redhat.com>
91467
91468 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91469 domain only when needed.
91470
91471 2011-06-30 Andreas Schwab <schwab@redhat.com>
91472
91473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91474 is always restored.
91475
91476 2011-06-29 Ulrich Drepper <drepper@gmail.com>
91477
91478 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91479 are re-adding the entry.
91480 * nscd/servicescache.c (cache_addserv): Likewise.
91481
91482 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
91483
91484 * sysdeps/generic/dl-irel.h: fix protection against multiple
91485 inclusions.
91486 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91487
91488 2011-06-28 Ulrich Drepper <drepper@gmail.com>
91489
91490 [BZ #12935]
91491 * malloc/memusage.sh: Fix quoting in message.
91492 * debug/xtrace.sh: Likewise.
91493
91494 * configure.in: Remove support for --experimental-malloc option, make
91495 it the default.
91496 * config.make.in: Likewise.
91497 * malloc/Makefile: Likewise.
91498
91499 2011-06-27 Andreas Schwab <schwab@redhat.com>
91500
91501 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91502 two-byte characters.
91503
91504 2011-06-27 Roland McGrath <roland@hack.frob.com>
91505
91506 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91507 AC_CACHE_CHECK invocation.
91508 * configure: Regenerated.
91509
91510 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91511
91512 2011-06-27 Ulrich Drepper <drepper@gmail.com>
91513
91514 [BZ #12350]
91515 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
91516 bit from old_res_options.
91517
91518 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91519
91520 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91521 value type for setfct.
91522
91523 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
91524
91525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91526 __gettimeofday instead of gettimeofday.
91527
91528 2011-06-26 Ulrich Drepper <drepper@gmail.com>
91529
91530 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91531
91532 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
91533
91534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91535
91536 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91537 info.
91538
91539 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
91540
91541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91542 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91543 strcpy-sse2-unaligned strncpy-sse2-unaligned
91544 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91545 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91546 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91547 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91548 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91551 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91552 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91553 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91554 (STRCPY): Support SSE2 and SSSE3 versions.
91555
91556 2011-06-24 Ulrich Drepper <drepper@gmail.com>
91557
91558 [BZ #12874]
91559 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91560 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91561 kernels which artificially limit size of requests.
91562
91563 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
91564
91565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91566 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91567 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91568 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91569 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91570 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91571 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91572 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91575 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91576 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91577 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91578 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91579 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91581 Enable unaligned load optimization for Intel Core i3, i5 and i7
91582 processors.
91583 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91584 Define.
91585 (index_Fast_Unaligned_Load): Define.
91586 (HAS_FAST_UNALIGNED_LOAD): Define.
91587
91588 2011-06-23 Marek Polacek <mpolacek@redhat.com>
91589
91590 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91591
91592 2011-06-22 Ulrich Drepper <drepper@gmail.com>
91593
91594 [BZ #12907]
91595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91596 until it is clear that the information is realy needed.
91597 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91598
91599 2011-06-22 Andreas Schwab <schwab@redhat.com>
91600
91601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91602
91603 2011-06-22 Ulrich Drepper <drepper@gmail.com>
91604
91605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91606 /sys/devices/system/cpu/online if it is usable.
91607
91608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91609 reading the information from the /proc filesystem to once a second.
91610
91611 2011-06-21 Andreas Jaeger <aj@suse.de>
91612
91613 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91614 NULL after inclusion of kernel headers.
91615
91616 2011-06-21 Ulrich Drepper <drepper@gmail.com>
91617
91618 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91619 calls to internal_setent.
91620
91621 [BZ #12885]
91622 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91623 addresses using gethostbyname4_r ignore IPv4 addresses.
91624
91625 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91626 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
91627
91628 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91629
91630 2011-06-20 David S. Miller <davem@davemloft.net>
91631
91632 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91633 inclusions.
91634 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91635
91636 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91637 (elf_irel): Use it.
91638 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91639 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91640 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91641 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91642 * sysdeps/x86_64/dl-irel.h: Likewise.
91643
91644 * elf/dl-runtime.c: Use elf_ifunc_invoke.
91645 * elf/dl-sym.c: Likewise.
91646
91647 2011-06-15 Ulrich Drepper <drepper@gmail.com>
91648
91649 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
91650 need to dereference resplen2.
91651
91652 2011-06-14 Andreas Schwab <schwab@redhat.com>
91653
91654 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91655
91656 2011-06-15 Ulrich Drepper <drepper@gmail.com>
91657
91658 * Makeconfig: Define vardbdir and inst_vardbdir.
91659 * nss/Makefile: Add rules to install db-Makefile.
91660
91661 * nss/nss_db/db-XXX.c: Cleanup.
91662
91663 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91664 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91665 GLIBC_PRIVATE.
91666 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91667 * nss/makedb.c: Implement -g option to specify that value strings
91668 are generated and should not be added to table iterated over for
91669 get*ent calls.
91670 * nss/nss_db/db-initgroups.c: New file.
91671
91672 * nss/getent.c: Add support for initgroups lookups through getgrouplist
91673 interface.
91674
91675 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91676 (internal_getgrouplist): Adjust to name change.
91677 Update use_initgroups_entry if this is not the first call.
91678 * nss/databases.def: Add initgroups entry.
91679
91680 * nss/makedb.c (compute_tables): Check result of multiple hash table
91681 sizes to minimize maximum chain length.
91682
91683 2011-06-14 Ulrich Drepper <drepper@gmail.com>
91684
91685 * Versions.def: Add entry for libnss_db.
91686 * shlib-versions: Likewise.
91687 * nss/Makefile: Add rules to build libnss_db.
91688 * nss/Versions: Add libnss_db information. Organize libnss_files
91689 entries better.
91690 * nss/db-Makefile: Add gshadow support. Change rules for the new
91691 makedb progra. Some minor improvements to generate smaller files.
91692 * nss/nss_db/nss_db.h: Move NSS database header data structures to
91693 here from...
91694 * nss/makedb.c: ...here.
91695 Improve database format to be smaller and require less memory at
91696 runtime.
91697 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
91698 db anymore.
91699 * nss/nss_db/db-netgrp.c: Likewise.
91700 * nss/nss_db/db-open.c: Likewise.
91701 * nss/nss_files/flies-XXX.x: Adjust comments.
91702 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91703 * nss/nss_files/files-grp.c: Likewise.
91704 * nss/nss_files/files-hosts.c: Likewise.
91705 * nss/nss_files/files-network.c: Likewise.
91706 * nss/nss_files/files-proto.c: Likewise.
91707 * nss/nss_files/files-pwd.c: Likewise.
91708 * nss/nss_files/files-rpc.c: Likewise.
91709 * nss/nss_files/files-service.c: Likewise.
91710 * nss/nss_files/files-sgrp.c: Likewise.
91711 * nss/nss_files/files-spwd.c: Likewise.
91712 * nss/nss_db/db-alias.c: Removed.
91713 * nss/nss_db/dummy-db.h: Removed.
91714
91715 2011-06-02 Ulrich Drepper <drepper@gmail.com>
91716
91717 * nss/makedb.c: Rewritten to not use database library.
91718 * nss/Makefile: Update to build new makedb program.
91719
91720 2011-06-14 Andreas Jaeger <aj@suse.de>
91721
91722 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
91723 memset declaration.
91724
91725 2011-06-10 Andreas Schwab <schwab@redhat.com>
91726
91727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
91728 tmpbuf.
91729
91730 2011-06-10 Roland McGrath <roland@hack.frob.com>
91731
91732 * Makerules (shlib.lds): Fail if the linker script comes out empty.
91733 * elf/Makefile ($(objpfx)ld.so): Likewise.
91734
91735 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
91736 Don't list ld.so twice in dependencies.
91737
91738 * posix/bug-regex31.c: Include <stdlib.h>.
91739
91740 * nscd/hstcache.c (cache_addhst): Remove unused variable.
91741
91742 * nis/nss_compat/compat-spwd.c
91743 (getspent_next_nss_netgr): Remove unused variable.
91744 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
91745
91746 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
91747 nonmembers" output to use the right array.
91748
91749 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
91750
91751 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
91752
91753 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
91754 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
91755 * catgets/gencat.c (read_input_file): Likewise.
91756 * locale/programs/locarchive.c (enlarge_archive): Likewise.
91757
91758 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
91759 variable definition inside #if's controlling its use.
91760
91761 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
91762
91763 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
91764
91765 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
91766
91767 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
91768 unreachable code.
91769
91770 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
91771
91772 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
91773 * configure: Regenerated.
91774
91775 * Makerules: Revert last change.
91776 * elf/Makefile: Likewise.
91777
91778 2011-06-09 Roland McGrath <roland@hack.frob.com>
91779
91780 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
91781 * elf/Makefile ($(objpfx)librtld.os): Likewise.
91782 (reloc-link): Likewise.
91783
91784 2011-06-09 Ulrich Drepper <drepper@gmail.com>
91785
91786 * elf/Makefile: Add rules to build pldd.
91787 * elf/pldd.c: New file.
91788 * elf/pldd-xx.c: New file.
91789
91790 2011-06-07 Ulrich Drepper <drepper@gmail.com>
91791
91792 * version.h: Update for 2.15 development version.
91793
91794 2011-06-07 David S. Miller <davem@davemloft.net>
91795
91796 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
91797 ifuncs.
91798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
91799 elf_machine_lazy_rel): Likewise.
91800 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
91801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
91802 elf_machine_lazy_rel): Likewise.
91803 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
91804 dl_hwcap via passed in argument.
91805 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
91806 Likewise.
91807
91808 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91809
91810 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
91811
91812 2011-06-06 Roland McGrath <roland@hack.frob.com>
91813
91814 [BZ #12849]
91815 * manual/fdl-1.1.texi: New file, verbatim from:
91816 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
91817 * manual/lgpl-2.1.texi: New file, verbatim from:
91818 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
91819 * manual/Makefile (licenses): New variable, list those new file names.
91820 (texis): Use it.
91821 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
91822
91823 * manual/fdl.texi: File removed.
91824 * manual/lesser.texi: File removed.
91825 * manual/libc.texinfo (Copying, Documentation License):
91826 Use new @include file names, put @appendix directive before @include.
91827
91828 2011-06-04 Jakub Jelinek <jakub@redhat.com>
91829
91830 [BZ #12841]
91831 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
91832 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
91833 (mq_open): Add __NTH.
91834
91835 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
91836
91837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91838 Assume Intel Core i3/i5/i7 processor if AVX is available.
91839
91840 2011-05-31 Ulrich Drepper <drepper@gmail.com>
91841
91842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
91843 typo.
91844
91845 2011-05-31 Andreas Schwab <schwab@redhat.com>
91846
91847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
91848 memory. Use alloca_account. Fix memory leak when retrying.
91849
91850 2011-05-31 Ulrich Drepper <drepper@gmail.com>
91851
91852 * version.h (RELEASE): Bump for 2.14 release.
91853 * include/features.h (__GLIBC_MINOR__): Bump to 14.
91854
91855 * config.make.in (RANLIB): Remove entry.
91856
91857 2011-05-30 Ulrich Drepper <drepper@gmail.com>
91858
91859 * po/Makefile (po-sed-cmd): Add ksh to extensions.
91860 (libc.pot): Work around missing support for .ksh extension in xgettext.
91861
91862 [BZ #12684]
91863 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
91864 if both request failed.
91865 (send_dg): In case of server errors clear resplen or *resplen2.
91866
91867 [BZ #12454]
91868 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
91869 when there are multiple maps.
91870 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
91871 (_dl_fini): Remove test here.
91872
91873 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
91874
91875 2011-05-29 Ulrich Drepper <drepper@gmail.com>
91876
91877 [BZ #12350]
91878 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
91879 bit from old_res_options.
91880 (gaih_inet): Likewise.
91881
91882 [BZ #11099]
91883 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
91884 as signed.
91885
91886 * resolv/res_init.c (res_setoptions): Make the code more compact.
91887
91888 [BZ #11558]
91889 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
91890 set RES_USEVC.
91891
91892 [BZ #11634]
91893 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
91894
91895 * malloc/malloc.h: Mark malloc hook variables as deprecated.
91896
91897 [BZ #11781]
91898 * malloc/malloc.h: Declare malloc hook variables as volatile.
91899
91900 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
91901 in last patch.
91902
91903 [BZ #11799]
91904 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
91905 raise in the comment.
91906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
91907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
91908 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
91909
91910 2011-05-28 Ulrich Drepper <drepper@gmail.com>
91911
91912 [BZ #12811]
91913 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
91914 grow the buffers more if it already has to be sufficient.
91915 (build_wcs_upper_buffer): Likewise.
91916 * posix/regexec.c (check_matching): Likewise.
91917 (clean_state_log_if_needed): Likewise.
91918 (extend_buffers): Don't enlarge buffers beyond size of the input
91919 buffer.
91920 Patches mostly by Emil Wojak <emil@wojak.eu>.
91921 * posix/bug-regex32.c: New file.
91922 * posix/Makefile (tests): Add bug-regex32.
91923
91924 * locale/findlocale.c (_nl_find_locale): Return right away if
91925 _nl_explode_name failed.
91926 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
91927
91928 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
91929
91930 * debug/xtrace.sh: Unify messages.
91931 * malloc/memusage.sh: Likewise.
91932
91933 [BZ #12813]
91934 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
91935 time symbol from vDSO. Substitute with vsyscall if not available.
91936 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
91937 __vdso_time.
91938
91939 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
91940 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
91941 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
91942 Add sendmmsg and internal_sendmmsg.
91943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
91944 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
91945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
91946
91947 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
91948 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
91949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
91950
91951 2011-05-27 Ulrich Drepper <drepper@gmail.com>
91952
91953 [BZ #12813]
91954 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
91955 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
91956 available.
91957 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
91958 __vdso_getcpu.
91959
91960 [BZ #12814]
91961 * iconvdata/Makefile (tests): Add bug-iconv9.
91962 * iconvdata/bug-iconv9.c: New file.
91963
91964 2011-05-27 Andreas Schwab <schwab@redhat.com>
91965
91966 [BZ #12814]
91967 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
91968
91969 2011-05-25 Jakub Jelinek <jakub@redhat.com>
91970
91971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91972 (struct user_regs_struct): Change intcs field back to cs.
91973
91974 2011-05-25 Ulrich Drepper <drepper@gmail.com>
91975
91976 * po/ja.po: Update from translation team.
91977
91978 2011-05-23 Ulrich Drepper <drepper@gmail.com>
91979
91980 [BZ #12795]
91981 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
91982 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
91983
91984 2011-05-20 Andreas Schwab <schwab@redhat.com>
91985
91986 * stdlib/longlong.h: Update from GCC.
91987
91988 2011-05-23 Andreas Schwab <schwab@redhat.com>
91989
91990 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
91991 parameter name.
91992 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
91993 Add parameter name.
91994 (__sysconf): Pass it down.
91995
91996 2011-05-22 Ulrich Drepper <drepper@gmail.com>
91997
91998 [BZ #12671]
91999 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92000 some situations.
92001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92002 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92003 add in in __libc_use_alloca calls. Adjust callers.
92004 (glob): Use malloc in some situations.
92005
92006 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92007 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92008 pltexit.
92009
92010 2011-05-21 Ulrich Drepper <drepper@gmail.com>
92011
92012 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92013 and CLOCK_BOOTTIME_ALARM.
92014
92015 [BZ #12782]
92016 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92017 is returned.
92018
92019 * string/_strerror.c (__strerror_r): Print negative errors as signed
92020 numbers.
92021
92022 [BZ #12777]
92023 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92024 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92025 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92026
92027 * configure.in: Fix typo in redirection and correct removal of test
92028 files in two cases.
92029
92030 [BZ #12788]
92031 * locale/setlocale.c (new_composite_name): Fix test to check for
92032 identical name of all categories.
92033
92034 [BZ #12792]
92035 * libio/filedoalloc.c (local_isatty): New function.
92036 (_IO_file_doallocate): Use local_isatty.
92037 * stdio-common/perror.c (perror): In case a new stream is used
92038 forward the stream error.
92039 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92040 error flag.
92041
92042 2011-05-20 Ulrich Drepper <drepper@gmail.com>
92043
92044 [BZ #11884]
92045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92046 alloca.
92047 * include/alloca.h (extend_alloca_account): Define.
92048
92049 [BZ #11857]
92050 * posix/regex.h: Fix comments with documentation of user-accessible
92051 fields after compilation and describe correct free'ing of pattern
92052 after re_compile_pattern.
92053 Patch by Reuben Thomas <rrt@sc3d.org>.
92054
92055 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
92056
92057 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92058 and -mno-altivec to prevent the compiler from using Altivec and/or
92059 VSX instructions when the corresponding registers are not available.
92060
92061 2011-05-19 Andreas Schwab <schwab@redhat.com>
92062
92063 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92064
92065 2011-05-19 Ulrich Drepper <drepper@gmail.com>
92066
92067 * libio/freopen.c (freopen): Use __dup2, not dup2.
92068 * libio/freopen64.c (freopen64): Likewise.
92069
92070 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
92071
92072 [BZ #12775]
92073 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92074 * math/Makefile (tests): Add test-powl.
92075 (CFLAGS-test-powl.c): Define.
92076 * math/test-powl.c: New file.
92077
92078 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
92079
92080 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92081
92082 2011-05-17 Ulrich Drepper <drepper@gmail.com>
92083
92084 [BZ #11837]
92085 * iconvdata/gb18030.c: Update to GB18020-2005.
92086
92087 2011-05-16 Ulrich Drepper <drepper@gmail.com>
92088
92089 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92090 RE_SYNTAX_POSIX_AWK): Update to match recent development.
92091 Patch by Aharon Robbins <arnold@skeeve.com>.
92092
92093 [BZ #11892]
92094 * stdlib/putenv.c (putenv): Don't always create copy of the variable
92095 on the stack.
92096
92097 [BZ #11895]
92098 * misc/pselect.c (__pselect): Handle timeout value errors hidden
92099 through underflows.
92100
92101 [BZ #12766]
92102 * misc/error.c (error_at_line): Ensure file_name and old_file_name
92103 point to strings before performing equality test for error_one_per_line
92104 mode.
92105
92106 [BZ #11697]
92107 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92108
92109 [BZ #11820]
92110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92111 (struct user_fpregs_struct): Avoid __uint*_t types.
92112
92113 [BZ #6420]
92114 * malloc/mtrace.c (tr_where): Add additional parameter to point to
92115 symbol info. Use it instead of calling _dl_addr locally.
92116 (lock_and_info): New function.
92117 (tr_freehook): Call lock_and_info and pass symbol info as additional
92118 parameter to tr_where.
92119 (tr_mallochook): Likewise.
92120 (tr_reallochook): Likewise.
92121 (tr_memalignhook): Likewise.
92122
92123 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
92124 used and couldn't be at all thread-safe.
92125
92126 2011-05-15 Ulrich Drepper <drepper@gmail.com>
92127
92128 * libio/freopen.c (freopen): Don't close old file descriptor
92129 before the new one is opened. Instead dup the new file descriptor
92130 to the old one after the new stream is created.
92131 * libio/freopen64.c (freopen64): Likewise.
92132 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92133 * libio/fileops.c (_IO_new_file_close_it): Handle new
92134 _IO_FLAGS2_NOCLOSE flag.
92135 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92136 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92137 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92138 _IO_FLAGS2_NOCLOSE flag.
92139 * include/unistd.h: Add hidden_proto for dup3.
92140 Define __have_dup3.
92141 * io/dup3.c: Define hidden symbol.
92142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92143
92144 [BZ #7101]
92145 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92146 when an incomplete long option is used.
92147 * posix/tst-getopt_long1.c: New file.
92148 * posix/Makefile (tests): Add tst-getopt_long1.
92149
92150 [BZ #10138]
92151 * scripts/config.guess: Update from autoconf-2.68.
92152 * scripts/config.sub: Likewise.
92153
92154 [BZ #10157]
92155 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92156 tests into ...
92157 (has_cpuclock): ...this. New function.
92158 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92159 macro here based on has_cpuclock code.
92160
92161 [BZ #10149]
92162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92163 First byte (not low byte) is now always NUL.
92164 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92165
92166 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92167 Use non-cancelable interfaces.
92168
92169 [BZ #9809]
92170 * locale/iso-639.def: Add entry for Sorani.
92171
92172 [BZ #11901]
92173 * include/stdlib.h: Move include protection to the right place.
92174 Define abort_msg_s. Declare __abort_msg with it.
92175 * stdlib/abort.c (__abort_msg): Adjust type.
92176 * assert/assert.c (__assert_fail_base): New function. Majority
92177 of code from __assert_fail. Allocate memory for __abort_msg with
92178 mmap.
92179 (__assert_fail): Now call __assert_fail_base.
92180 * assert/assert-perr.c: Remove bulk of implementation. Use
92181 __assert_fail_base.
92182 * include/assert.hL Declare __assert_fail_base.
92183 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92184 mmap.
92185 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92186
92187 2011-05-14 Ulrich Drepper <drepper@gmail.com>
92188
92189 [BZ #11952]
92190 [BZ #12453]
92191 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92192 until all modules are registered in the DTV.
92193 * elf/Makefile: Add rules to build and run tst-tls19.
92194 * elf/tst-tls19.c: New file.
92195 * elf/tst-tls19mod1.c: New file.
92196 * elf/tst-tls19mod2.c: New file.
92197 * elf/tst-tls19mod3.c: New file.
92198 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92199
92200 [BZ #12083]
92201 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92202 correctly.
92203
92204 [BZ #12601]
92205 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92206 two-byte sequence errors.
92207 * iconvdata/Makefile (tests): Add bug-iconv8.
92208 * iconvdata/bug-iconv8.c: New file.
92209
92210 [BZ #12626]
92211 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92212 buf2 definition.
92213
92214 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92215
92216 [BZ #12432]
92217 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92218 (dummy_getcfa): New function.
92219 (init): Get _Unwind_GetCFA address, use dummy if not found.
92220 (backtrace_helper): In recursion check, also check whether CFA changes.
92221 (__backtrace): Completely initialize arg.
92222
92223 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92224 storing incomplete byte sequence in state object. Avoid testing for
92225 guaranteed too small input if we know there is enough data available.
92226
92227 2011-05-11 Andreas Schwab <schwab@redhat.com>
92228
92229 * Makeconfig (+link-pie): Indent.
92230 * Rules (binaries-pie): Define if $(have-fpie) and
92231 $(build-shared).
92232 (binaries-shared): Also filter out $(binaries-pie).
92233 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92234 * nscd/Makefile (others-pie): Add nscd.
92235 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92236 ($(objpfx)nscd): Remove command override.
92237 * login/Makefile (others-pie): Add pt_chown.
92238 ($(objpfx)pt_chown): Remove command override.
92239 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92240 remove command overrides.
92241
92242 2011-05-13 Ulrich Drepper <drepper@gmail.com>
92243
92244 * libio/tst_putwc.c: Fix error messages.
92245
92246 [BZ #12724]
92247 * libio/fileops.c (_IO_new_file_close_it): Always flush when
92248 currently writing and seek to current position when not.
92249 * libio/Makefile (tests): Add bug-fclose1.
92250 * libio/bug-fclose1.c: New file.
92251
92252 2011-05-12 Ulrich Drepper <drepper@gmail.com>
92253
92254 [BZ #12511]
92255 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92256 don't set DF_1_NODELETE here.
92257 (do_lookup_x): When entering new entry test for copy relocation
92258 and if necessary set DF_1_NODELETE flag.
92259 * elf/tst-unique4.cc: New file.
92260 * elf/tst-unique4.h: New file.
92261 * elf/tst-unique4lib.cc: New file.
92262 * elf/Makefile: Add rules to build and run tst-unique4.
92263 Patch by Piotr Bury <pbury@goahead.com>.
92264
92265 2011-05-11 Ulrich Drepper <drepper@gmail.com>
92266
92267 [BZ #12052]
92268 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92269
92270 [BZ #12625]
92271 * misc/mntent_r.c (addmntent): Flush the stream after the output
92272
92273 [BZ #12393]
92274 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92275 (is_trusted_path_normalize): Skip initial colon. Append slash
92276 to empty buffer. Duplicate is_trusted_path code but allow
92277 constructed patch to be prefix.
92278 (is_dst): Allow $ORIGIN followed by /.
92279 (_dl_dst_substitute): Correct clearing of check_for_trusted.
92280 Correct testing of result of is_trusted_path_normalize
92281 (decompose_rpath): Fix warning.
92282
92283 2011-05-10 Ulrich Drepper <drepper@gmail.com>
92284
92285 [BZ #11257]
92286 * grp/initgroups.c (internal_getgrouplist): When we found the service
92287 list through the initgroups entry in nsswitch.conf do not always
92288 continue on a successful lookup. Don't always use the
92289 __nss_group_database value if it is set.
92290 * nss/nsswitch.conf (initgroups): Change action for successful db
92291 lookup to continue for compatibility.
92292
92293 2011-05-09 Ulrich Drepper <drepper@gmail.com>
92294
92295 [BZ #11532]
92296 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92297 and CP774 modules.
92298 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92299 and CP774 modules.
92300 * iconvdata/tst-tables.sh: Likewise.
92301 * iconvdata/cp770.c: New file.
92302 * iconvdata/cp771.c: New file.
92303 * iconvdata/cp772.c: New file.
92304 * iconvdata/cp773.c: New file.
92305 * iconvdata/cp774.c: New file.
92306 * iconvdata/testdata/CP770: New file.
92307 * iconvdata/testdata/CP770..UTF8: New file.
92308 * iconvdata/testdata/CP771: New file.
92309 * iconvdata/testdata/CP771..UTF8: New file.
92310 * iconvdata/testdata/CP772: New file.
92311 * iconvdata/testdata/CP772..UTF8: New file.
92312 * iconvdata/testdata/CP773: New file.
92313 * iconvdata/testdata/CP773..UTF8: New file.
92314 * iconvdata/testdata/CP774: New file.
92315 * iconvdata/testdata/CP774..UTF8: New file.
92316
92317 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92318 END CHARMAP line.
92319 * iconvdata/gen-8bit-gap.sh: Likewise.
92320 * iconvdata/gen-8bit.sh: Likewise.
92321
92322 * locale/iso-639.def: Add ary entry.
92323
92324 [BZ #11258]
92325 * locale/C-translit.h.in: Add U20A1 transliteration.
92326
92327 [BZ #12178]
92328 * locale/iso-639.def: Add wae entry.
92329 Patch by Kevin Bortis <bortis@translate-wae.ch>.
92330
92331 [BZ #12545]
92332 * locale/programs/localedef.c (construct_output_path): Use ssize_t
92333 for n.
92334
92335 [BZ #12711]
92336 * locale/C-translit.h.in: Add entry for U20B9.
92337 Patch by pravin.d.s@gmail.com.
92338
92339 2011-05-08 Ulrich Drepper <drepper@gmail.com>
92340
92341 [BZ #12713]
92342 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92343 ENAMETOOLONG use generic getcwd.
92344 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
92345 in rtld. Use *stat64.
92346 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92347 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92348 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92349 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92350 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92351 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92352 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92353 __fstatat64 macros.
92354 * include/dirent.h: Add libc_hidden_proto for rewinddir.
92355 * dirent/rewinddir.c: Add libc_hidden_def.
92356 * sysdeps/mach/hurd/rewinddir.c: Likewise.
92357 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
92358
92359 * include/dirent.h (__alloc_dir): Add flags parameter.
92360 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92361 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92362 __alloc_dir.
92363 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
92364 from fdopendir if O_CLOEXEC is already set.
92365
92366 2011-03-15 Alan Modra <amodra@gmail.com>
92367
92368 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92369 l_tls_firstbyte_offset non-zero. Save padding offset in
92370 l_tls_firstbyte_offset for later use.
92371 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92372 freeing static tls block.
92373
92374 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
92375
92376 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92377 where #ifdef was intended. The intent is to prevent ARG_MAX from
92378 being defined by the kernel headers.
92379
92380 2011-05-07 Ulrich Drepper <drepper@gmail.com>
92381
92382 [BZ #12734]
92383 * resolv/resolv.h: Define RES_NOTLDQUERY.
92384 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92385 no-tld-query and set RES_NOTLDQUERY.
92386 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92387 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92388 modern BIND to search name as TLD unless forbidden.
92389
92390 2011-05-07 Petr Baudis <pasky@suse.cz>
92391 Ulrich Drepper <drepper@gmail.com>
92392
92393 [BZ #12393]
92394 * elf/dl-load.c (fillin_rpath): Move trusted path check...
92395 (is_trusted_path): ...to here.
92396 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92397 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92398 using is_trusted_path_normalize() in setuid scripts.
92399
92400 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
92401
92402 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92403 __BEGIN/__END_DECLS.
92404
92405 2011-05-06 Ulrich Drepper <drepper@gmail.com>
92406
92407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92408 NSS_STATUS_NOTFOUND if no record was found.
92409
92410 2011-05-05 Andreas Schwab <schwab@redhat.com>
92411
92412 * sunrpc/Makefile (headers): Add rpc/netdb.h.
92413 (headers-not-in-tirpc): Remove rpc/netdb.h
92414 * resolv/netdb.h: Revert last change.
92415
92416 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
92417
92418 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92419 circular dependency between libgcc.a and libc.a.
92420
92421 2011-05-05 Andreas Schwab <schwab@redhat.com>
92422
92423 * resolv/netdb.h: Don't include <rpc/netdb.h>.
92424 * nis/Makefile: Don't install rpcsvc/*.
92425 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92426 instead of <rpc/types.h>.
92427 (MAXHOSTNAMELEN): Define.
92428
92429 2011-05-03 Andreas Schwab <schwab@redhat.com>
92430
92431 * elf/ldconfig.c (add_dir): Don't crash on empty path.
92432
92433 2011-04-28 Maciej Babinski <mbabinski@google.com>
92434
92435 [BZ #12714]
92436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92437 gethostbyname4_r when IPv6 results are possible.
92438
92439 2011-05-02 Ulrich Drepper <drepper@gmail.com>
92440
92441 [BZ #12723]
92442 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92443 _PC_PIPE_BUF handling.
92444
92445 2011-04-30 Bruno Haible <bruno@clisp.org>
92446
92447 [BZ #12717]
92448 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92449 * resolv/netdb.h (getnameinfo): Change type of flags parameter
92450 to 'int'.
92451 * inet/getnameinfo.c (getnameinfo): Likewise.
92452
92453 2011-04-29 Ulrich Drepper <drepper@gmail.com>
92454
92455 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92456 to groups setting in database lookup.
92457 * nss/nsswitch.conf: Add initgroups entry.
92458
92459 2011-04-22 Ulrich Drepper <drepper@gmail.com>
92460
92461 [BZ #12685]
92462 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92463 mode string.
92464 Patch by Eric Blake <eblake@redhat.com>.
92465
92466 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
92467
92468 * sunrpc/Makefile (need-export-routines): Add svc_run.
92469 (routines): Remove svc_run.
92470 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92471 * sunrpc/clnt_perr.c (clnt_perrno): Export.
92472 * sunrpc/svc_run.c (svc_run): Likewise.
92473 * sunrpc/svc_udp.c (svcudp_create): Likewise.
92474
92475 2011-04-21 Ulrich Drepper <drepper@gmail.com>
92476
92477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92478 problem in reallocation in last patch.
92479
92480 2011-04-20 Ulrich Drepper <drepper@gmail.com>
92481
92482 * sunrpc/Makefile: Move inclusion of Rules.
92483
92484 2011-04-19 Ulrich Drepper <drepper@gmail.com>
92485
92486 * nss/nss_files/files-initgroups.c: New file.
92487 * nss/Makefile (libnss_files-routines): Add files-initgroups.
92488 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92489 _nss_files_initgroups_dyn.
92490
92491 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
92492
92493 * elf/elf.h (R_ARM_IRELATIVE): Define.
92494
92495 2011-04-19 Ulrich Drepper <drepper@gmail.com>
92496
92497 * po/ru.po: Update from translation team.
92498
92499 2011-04-17 Ulrich Drepper <drepper@gmail.com>
92500
92501 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92502 dependencies.
92503
92504 2011-02-06 Mike Frysinger <vapier@gentoo.org>
92505
92506 [BZ #12653]
92507 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92508 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92510 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92512
92513 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
92514
92515 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92516 differing bytes.
92517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92520
92521 2011-04-17 Ulrich Drepper <drepper@gmail.com>
92522
92523 [BZ #12420]
92524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92525 storing it.
92526 * stdlib/bug-getcontext.c: New file.
92527 * stdlib/Makefile: Add rules to build and run bug-getcontext.
92528
92529 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92530
92531 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92532 instructions into .machine "z9-109".
92533 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92534 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92535
92536 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92537
92538 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92539 between environment variables and auxiliary vector.
92540
92541 2011-04-16 Ulrich Drepper <drepper@gmail.com>
92542
92543 * Makefile: Add rules to build linkobj/libc.so.
92544 * include/libc-symbols.h: Define libc_hidden_nolink.
92545 * include/rpc/auth.h: Mark functions which are to be hidden.
92546 * include/rpc/auth_des.h: Likewise.
92547 * include/rpc/auth_unix.h: Likewise.
92548 * include/rpc/clnt.h: Likewise.
92549 * include/rpc/des_crypt.h: Likewise.
92550 * include/rpc/key_prot.h: Likewise.
92551 * include/rpc/pmap_clnt.h: Likewise.
92552 * include/rpc/pmap_prot.h: Likewise.
92553 * include/rpc/pmap_rmt.h: Likewise.
92554 * include/rpc/rpc_msg.h: Likewise.
92555 * include/rpc/svc.h: Likewise.
92556 * include/rpc/svc_auth.h: Likewise.
92557 * include/rpc/xdr.h: Likewise.
92558 * nis/Makefile: Link all DSOs against linkobj/libc.so.
92559 * nss/Makefile: Likewise.
92560 * sunrpc/Makefile: Don't install headers. Build library with normal
92561 entry points. Don't build rpcinfo. Link RPC tests appropriately.
92562 * sunrpc/auth_des.c: Hide exported symbols by default, export some
92563 for the compat linking library. Remove use of INTDEF/INTUSE.
92564 * sunrpc/auth_none.c: Likewise.
92565 * sunrpc/auth_unix.c: Likewise.
92566 * sunrpc/authdes_prot.c: Likewise.
92567 * sunrpc/authuxprot.c: Likewise.
92568 * sunrpc/clnt_gen.c: Likewise.
92569 * sunrpc/clnt_perr.c: Likewise.
92570 * sunrpc/clnt_raw.c: Likewise.
92571 * sunrpc/clnt_simp.c: Likewise.
92572 * sunrpc/clnt_tcp.c: Likewise.
92573 * sunrpc/clnt_udp.c: Likewise.
92574 * sunrpc/clnt_unix.c: Likewise.
92575 * sunrpc/des_crypt.c: Likewise.
92576 * sunrpc/des_soft.c: Likewise.
92577 * sunrpc/get_myaddr.c: Likewise.
92578 * sunrpc/key_call.c: Likewise.
92579 * sunrpc/key_prot.c: Likewise.
92580 * sunrpc/netname.c: Likewise.
92581 * sunrpc/pm_getmaps.c: Likewise.
92582 * sunrpc/pm_getport.c: Likewise.
92583 * sunrpc/pmap_clnt.c: Likewise.
92584 * sunrpc/pmap_prot.c: Likewise.
92585 * sunrpc/pmap_prot2.c: Likewise.
92586 * sunrpc/pmap_rmt.c: Likewise.
92587 * sunrpc/publickey.c: Likewise.
92588 * sunrpc/rpc_cmsg.c: Likewise.
92589 * sunrpc/rpc_common.c: Likewise.
92590 * sunrpc/rpc_dtable.c: Likewise.
92591 * sunrpc/rpc_prot.c: Likewise.
92592 * sunrpc/rpc_thread.c: Likewise.
92593 * sunrpc/rtime.c: Likewise.
92594 * sunrpc/svc.c: Likewise.
92595 * sunrpc/svc_auth.c: Likewise.
92596 * sunrpc/svc_authux.c: Likewise.
92597 * sunrpc/svc_raw.c: Likewise.
92598 * sunrpc/svc_run.c: Likewise.
92599 * sunrpc/svc_simple.c: Likewise.
92600 * sunrpc/svc_tcp.c: Likewise.
92601 * sunrpc/svc_udp.c: Likewise.
92602 * sunrpc/svc_unix.c: Likewise.
92603 * sunrpc/svcauth_des.c: Likewise.
92604 * sunrpc/xcrypt.c: Likewise.
92605 * sunrpc/xdr.c: Likewise.
92606 * sunrpc/xdr_array.c: Likewise.
92607 * sunrpc/xdr_float.c: Likewise.
92608 * sunrpc/xdr_intXX_t.c: Likewise.
92609 * sunrpc/xdr_mem.c: Likewise.
92610 * sunrpc/xdr_rec.c: Likewise.
92611 * sunrpc/xdr_ref.c: Likewise.
92612 * sunrpc/xdr_sizeof.c: Likewise.
92613 * sunrpc/xdr_stdio.c: Likewise.
92614
92615 2011-04-10 Ulrich Drepper <drepper@gmail.com>
92616
92617 [BZ #12650]
92618 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92619 * sysdeps/ia64/dl-tls.h: Likewise.
92620 * sysdeps/powerpc/dl-tls.h: Likewise.
92621 * sysdeps/s390/dl-tls.h: Likewise.
92622 * sysdeps/sh/dl-tls.h: Likewise.
92623 * sysdeps/sparc/dl-tls.h: Likewise.
92624 * sysdeps/x86_64/dl-tls.h: Likewise.
92625 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92626
92627 2011-03-14 Andreas Schwab <schwab@redhat.com>
92628
92629 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92630 rpath element also skip the following colon.
92631 (expand_dynamic_string_token): Add is_path parameter and pass
92632 down to DL_DST_REQUIRED and _dl_dst_substitute.
92633 (decompose_rpath): Call expand_dynamic_string_token with
92634 non-zero is_path. Ignore empty rpaths.
92635 (_dl_map_object_from_fd): Call expand_dynamic_string_token
92636 with zero is_path.
92637
92638 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
92639
92640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92641 Make cancelable.
92642
92643 2011-04-09 Ulrich Drepper <drepper@gmail.com>
92644
92645 [BZ #12655]
92646 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92647 Patch by Filipe David Manana <fdmanana@apache.org>.
92648
92649 2011-04-07 Andreas Schwab <schwab@redhat.com>
92650
92651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92652 Maintain aligned stack.
92653 (CHECK_RSP): Remove unused macro.
92654
92655 2011-04-03 Ulrich Drepper <drepper@gmail.com>
92656
92657 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92659
92660 2011-04-02 Ulrich Drepper <drepper@gmail.com>
92661
92662 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92663
92664 * include/features.h: Mention __USE_XOPEN2K8 in comment.
92665
92666 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
92667
92668 [BZ #12518]
92669 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92670 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92671 * sysdeps/x86_64/memmove.c: New file.
92672 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92673 (memcpy): Renamed to ...
92674 (__new_memcpy): This.
92675 (memcpy): Provide GLIBC_2_14 memcpy.
92676 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92677 (memcpy): Provide GLIBC_2_2_5 memcpy.
92678
92679 2011-04-01 Ulrich Drepper <drepper@gmail.com>
92680
92681 [BZ #12631]
92682 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92683
92684 2011-03-30 Andreas Schwab <schwab@redhat.com>
92685
92686 * misc/syncfs.c: New file.
92687 * misc/Makefile (routines): Add syncfs.
92688 * posix/unistd.h: Declare syncfs.
92689 * sysdeps/unix/syscalls.list: Add syncfs.
92690
92691 2011-04-01 Andreas Schwab <schwab@redhat.com>
92692
92693 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92694 open_by_handle_at.
92695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92700 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92702
92703 2011-04-01 Ulrich Drepper <drepper@gmail.com>
92704
92705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92712
92713 * io/Makefile: Compile fallocate.c, fallocate64.c, and
92714 sync_file_range.c with -fexceptions.
92715 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92716 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92717 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
92718 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
92719 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
92720 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
92721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
92722 sync_file_range as cancellation point
92723 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
92724 now a wrapper around __call_sync_file_range with cancellation handling.
92725 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
92726 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
92727 function name to __call_sync_file_range.
92728 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
92729 Add call_sync_file_range.
92730
92731 2011-04-01 Andreas Schwab <schwab@redhat.com>
92732
92733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92734 bits/timex.h.
92735
92736 2011-04-01 Ulrich Drepper <drepper@gmail.com>
92737
92738 * iconv/iconv.h: Fix typo in comment.
92739 * io/fcntl.h: Likewise.
92740 * libio/stdio.h: Likewise.
92741 * posix/spawn.h: Likewise.
92742 * posix/unistd.h: Likewise.
92743 * stdlib/stdlib.h: Likewise.
92744 * time/time.h: Likewise.
92745 * wcsmbs/wchar.h: Likewise.
92746
92747 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
92748 open_by_handle): Add.
92749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
92750 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
92751 Augment a few comments.
92752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92757 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
92758 open_by_handle.
92759
92760 * io/fcntl.h (AT_EMPTY_PATH): Define.
92761
92762 2011-03-30 Ulrich Drepper <drepper@gmail.com>
92763
92764 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
92765 * sysdeps/unix/sysv/linux/bits/time.h: New file.
92766 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
92767 to...
92768 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
92769 * Versions.def: Add GLIBC_2.14.
92770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
92771 Export.
92772
92773 2011-03-22 Ulrich Drepper <drepper@gmail.com>
92774
92775 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
92776 round counter.
92777 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92778
92779 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
92780
92781 [BZ #12597]
92782 * string/test-strncmp.c (do_page_test): New function.
92783 (check2): Likewise.
92784 (test_main): Call check2.
92785 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
92786
92787 2011-03-20 Ulrich Drepper <drepper@gmail.com>
92788
92789 [BZ #12587]
92790 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
92791 Handle cache information in CPU leaf 4.
92792 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92793
92794 2011-03-18 Ulrich Drepper <drepper@gmail.com>
92795
92796 [BZ #12583]
92797 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
92798 character representation.
92799 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
92800
92801 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
92802
92803 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
92804 END(__isnan) to END(__isnanf) to match function entry point/label
92805 EALIGN(__isnanf,...).
92806
92807 2011-03-10 Jakub Jelinek <jakub@redhat.com>
92808
92809 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
92810
92811 2011-03-10 Ulrich Drepper <drepper@gmail.com>
92812
92813 [BZ #12510]
92814 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
92815 copy from the symbol referenced in the relocation to initialize the
92816 used variable.
92817 Patch by Piotr Bury <pbury@goahead.com>.
92818 * elf/Makefile: Add rules to build and tst-unique3.
92819 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
92820 * elf/tst-unique3.cc: New file.
92821 * elf/tst-unique3.h: New file.
92822 * elf/tst-unique3lib.cc: New file.
92823 * elf/tst-unique3lib2.cc: New file.
92824
92825 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
92826
92827 2011-03-10 Mike Frysinger <vapier@gentoo.org>
92828
92829 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
92830 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
92831 to _start.
92832
92833 2011-03-06 Ulrich Drepper <drepper@gmail.com>
92834
92835 * elf/dl-load.c (_dl_map_object): If we are looking for the first
92836 to-be-loaded object along a path to loader is ld.so.
92837
92838 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
92839 Ulrich Drepper <drepper@gmail.com>
92840
92841 * sysdeps/x86_64/memset.S: After aligning destination, code
92842 branches to different locations depending on the value of
92843 misalignment, when multiarch is enabled. Fix this.
92844
92845 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
92846
92847 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
92848 Set _x86_64_preferred_memory_instruction for AMD processsors.
92849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92850 Set bit_Prefer_SSE_for_memop for AMD processors.
92851
92852 2011-03-04 Ulrich Drepper <drepper@gmail.com>
92853
92854 * libio/fmemopen.c (fmemopen): Optimize a bit.
92855
92856 2011-03-03 Andreas Schwab <schwab@redhat.com>
92857
92858 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
92859
92860 2011-03-03 Roland McGrath <roland@redhat.com>
92861
92862 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
92863
92864 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
92865
92866 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
92867 __bzero_ultra1 instead of __memset_ultra1.
92868
92869 2011-02-23 Andreas Schwab <schwab@redhat.com>
92870 Ulrich Drepper <drepper@gmail.com>
92871
92872 [BZ #12509]
92873 * include/link.h (struct link_map): Add l_orig_initfini.
92874 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
92875 returning unsuccessfully.
92876 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
92877 close of a file loaded at startup, restore the original l_initfini
92878 list.
92879 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
92880 list, store the pointer.
92881 * elf/Makefile ($(objpfx)noload-mem): New rule.
92882 (noload-ENV): Define.
92883 (tests): Add $(objpfx)noload-mem.
92884 * elf/noload.c: Include <memcheck.h>.
92885 (main): Call mtrace. Close all opened handles.
92886
92887 2011-02-17 Andreas Schwab <schwab@redhat.com>
92888
92889 [BZ #12454]
92890 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
92891 dependencies are missing.
92892
92893 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
92894
92895 Fix __if_freereq crash: Unlike the generic version which uses free,
92896 Hurd needs munmap.
92897 * sysdeps/mach/hurd/ifreq.h: New file.
92898
92899 2011-01-27 Petr Baudis <pasky@suse.cz>
92900 Ulrich Drepper <drepper@gmail.com>
92901
92902 [BZ 12445]#
92903 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
92904 to extend_alloca().
92905 * stdio-common/bug23.c: New file.
92906 * stdio-common/Makefile (tests): Add bug23.
92907
92908 2010-09-28 Andreas Schwab <schwab@redhat.com>
92909 Ulrich Drepper <drepper@gmail.com>
92910
92911 [BZ #12489]
92912 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
92913 before performing relro protection. At old place add assertion
92914 to make sure nothing changed.
92915
92916 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
92917 Glauber de Oliveira Costa <glommer@gmail.com>
92918
92919 * elf/elf.h: Add new ARM TLS relocs.
92920
92921 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
92922
92923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
92924 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
92925 cast from r3.
92926 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
92927 'tests' variable.
92928 * sysdeps/wordsize-64/tst-writev.c: New file.
92929
92930 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
92931
92932 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
92933 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
92934 insns in _dl_start to prevent a TOC reference before relocs are
92935 resolved.
92936
92937 2011-02-15 Ulrich Drepper <drepper@gmail.com>
92938
92939 [BZ #12469]
92940 * Makeconfig: Remove RANLIB definition.
92941 * Makerules: Don't use RANLIB.
92942 * aclocal.m4: Remove ranlib test.
92943 * configure.in: No need to check for ranlib.
92944 * elf/rtld-Rules: Don't use RANLIB.
92945
92946 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
92947
92948 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
92949 protection macro.
92950 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
92951 inclusion protection macro.
92952
92953 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
92954 SIGRTMIN and SIGRTMAX and print information in that case only when
92955 SIGRTMIN is defined.
92956
92957 2011-02-11 Jakub Jelinek <jakub@redhat.com>
92958
92959 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
92960 arginfo fn returning -1.
92961
92962 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
92963 and thousands string is zero terminated.
92964
92965 2011-02-03 Andreas Schwab <schwab@redhat.com>
92966
92967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
92968 sysdeps/unix/sysv/linux/bits/socket.h.
92969
92970 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
92971
92972 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
92973 (__CPU_COUNT): Remove old macros.
92974 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
92975 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
92976 (__CPU_ALLOC, __CPU_FREE): Add macros.
92977 (__sched_cpualloc, __sched_cpufree): Add declarations.
92978
92979 2011-02-05 Ulrich Drepper <drepper@gmail.com>
92980
92981 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
92982 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
92983 * nscd/aicache.c (addhstaiX): Return timeout of added value.
92984 (readdhstai): Return value of addhstaiX call.
92985 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
92986 (addgrbyX): Return value returned by cache_addgr.
92987 (readdgrbyname): Return value returned by addgrbyX.
92988 (readdgrbygid): Likewise.
92989 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
92990 (addpwbyX): Return value returned by cache_addpw.
92991 (readdpwbyname): Return value returned by addhstbyX.
92992 (readdpwbyuid): Likewise.
92993 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
92994 (addservbyX): Return value returned by cache_addserv.
92995 (readdservbyname): Return value returned by addservbyX:
92996 (readdservbyport): Likewise.
92997 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
92998 (addhstbyX): Return value returned by cache_addhst.
92999 (readdhstbyname): Return value returned by addhstbyX.
93000 (readdhstbyaddr): Likewise.
93001 (readdhstbynamev6): Likewise.
93002 (readdhstbyaddrv6): Likewise.
93003 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93004 (readdinitgroups): Return value returned by addinitgroupsX.
93005 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93006 (prune_cache): Keep track of timeout value of re-added entries.
93007 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93008 * nscd/nscd.h: Adjust prototypes of readd* functions.
93009
93010 2011-02-04 Roland McGrath <roland@redhat.com>
93011
93012 * nis/nis_server.c (nis_servstate): Use the right name for 0.
93013 (nis_stats): Likewise.
93014 * nis/nis_modify.c (nis_modify): Likewise.
93015 * nis/nis_remove.c (nis_remove): Likewise.
93016 * nis/nis_add.c (nis_add): Likewise.
93017
93018 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93019
93020 * posix/fnmatch_loop.c: Add some consts.
93021
93022 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93023
93024 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
93025
93026 [BZ #12460]
93027 * config.make.in (config-cflags-novzeroupper): Define.
93028 * configure.in: Substitute libc_cv_cc_novzeroupper.
93029 * elf/Makefile (AVX-CFLAGS): Define.
93030 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93031 (CFLAGS-tst-auditmod4a.c): Likewise.
93032 (CFLAGS-tst-auditmod4b.c): Likewise.
93033 (CFLAGS-tst-auditmod6b.c): Likewise.
93034 (CFLAGS-tst-auditmod6c.c): Likewise.
93035 (CFLAGS-tst-auditmod7b.c): Likewise.
93036 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93037
93038 2011-02-02 Ulrich Drepper <drepper@gmail.com>
93039
93040 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93041 function to the callback.
93042 Patch partly by Jiri Olsa <jolsa@redhat.com>.
93043
93044 2011-02-02 Andreas Schwab <schwab@redhat.com>
93045
93046 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93047 of errno.
93048
93049 2011-01-19 Ulrich Drepper <drepper@gmail.com>
93050
93051 [BZ #11724]
93052 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93053 of constructors.
93054 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93055 of destructors.
93056 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93057
93058 [BZ #11724]
93059 * elf/Makefile: Add rules to build and run new test.
93060 * elf/tst-initorder.c: New file.
93061 * elf/tst-initorder.exp: New file.
93062 * elf/tst-initordera1.c: New file.
93063 * elf/tst-initordera2.c: New file.
93064 * elf/tst-initordera3.c: New file.
93065 * elf/tst-initordera4.c: New file.
93066 * elf/tst-initorderb1.c: New file.
93067 * elf/tst-initorderb2.c: New file.
93068 * elf/tst-order-a1.c: New file.
93069 * elf/tst-order-a2.c: New file.
93070 * elf/tst-order-a3.c: New file.
93071 * elf/tst-order-a4.c: New file.
93072 * elf/tst-order-b1.c: New file.
93073 * elf/tst-order-b2.c: New file.
93074 * elf/tst-order-main.c: New file.
93075 New test case by George Gensure <werkt0@gmail.com>.
93076
93077 2010-10-01 Andreas Schwab <schwab@redhat.com>
93078
93079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93080 decoding ACE if AI_CANONIDN.
93081
93082 2011-01-18 Ulrich Drepper <drepper@gmail.com>
93083
93084 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93085
93086 2011-01-17 Ulrich Drepper <drepper@gmail.com>
93087
93088 * version.h (RELEASE): Bump for 2.13 release.
93089 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93090
93091 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93092
93093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93094 MADV_NOHUGEPAGE.
93095 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93097 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93101
93102 * posix/getconf.c: Update copyright year.
93103 * catgets/gencat.c: Likewise.
93104 * csu/version.c: Likewise.
93105 * debug/catchsegv.sh: Likewise.
93106 * debug/xtrace.sh: Likewise.
93107 * elf/ldconfig.c: Likewise.
93108 * elf/ldd.bash.in: Likewise.
93109 * elf/sprof.c (print_version): Likewise.
93110 * iconv/iconv_prog.c: Likewise.
93111 * iconv/iconvconfig.c: Likewise.
93112 * locale/programs/locale.c: Likewise.
93113 * locale/programs/localedef.c: Likewise.
93114 * malloc/memusage.sh: Likewise.
93115 * malloc/mtrace.pl: Likewise.
93116 * nscd/nscd.c (print_version): Likewise.
93117 * nss/getent.c: Likewise.
93118
93119 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93120 PF_CAIF, and PF_ALG.
93121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93122
93123 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
93124
93125 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93126 (modules-names): Use them.
93127 (ifunc-test-modules, ifunc-pie-tests): Define.
93128 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93129 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93130 (test-extras): Likewise.
93131 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93132 $(compile-command.c).
93133 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93134 (all-built-dso): Define.
93135 (check-textrel.out, check-execstack.out): Depend on it.
93136
93137 * configure.in: Don't override --enable-multi-arch.
93138
93139 2011-01-15 Ulrich Drepper <drepper@gmail.com>
93140
93141 [BZ #6812]
93142 * nscd/hstcache.c (tryagain): Define.
93143 (cache_addhst): Return tryagain not notfound for temporary errors.
93144 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93145 failed.
93146
93147 2011-01-14 Ulrich Drepper <drepper@gmail.com>
93148
93149 [BZ #10563]
93150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93151 to make the syscall.
93152 * sysdeps/unix/sysv/linux/setgroups.c: New file.
93153
93154 [BZ #12378]
93155 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93156 and fall back to matching as normal character if the string ends before
93157 the matching ']' is found. This is what POSIX requires.
93158 * posix/testfnm.c: Adjust test result.
93159 * posix/globtest.sh: Adjust test result. Add new test.
93160 * posix/tst-fnmatch.input: Likewise.
93161 * posix/tst-fnmatch2.c: Add new test.
93162
93163 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
93164
93165 * elf/Makefile (check-execstack): Revert last change. Depend on
93166 check-execstack.h.
93167 (check-execstack.h): New target.
93168 (generated): Add check-execstack.h.
93169 * elf/check-execstack.c: Include "check-execstack.h".
93170 (main): Revert last change.
93171 (handle_file): Return zero if GNU_STACK is absent and
93172 DEFAULT_STACK_PERMS doesn't include PF_X.
93173
93174 2011-01-13 Ulrich Drepper <drepper@gmail.com>
93175
93176 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93177 in child fails because the descriptor is already closed.
93178 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93179 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93180 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93181
93182 [BZ #12397]
93183 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93184 syscall.
93185
93186 [BZ #10484]
93187 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93188 temporary buffer used to handle multi lookups locally.
93189 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93190
93191 2011-01-12 Ulrich Drepper <drepper@gmail.com>
93192
93193 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93194 loader is ld.so.
93195
93196 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
93197
93198 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93199 alignment for SSE2.
93200
93201 2011-01-12 Ulrich Drepper <drepper@gmail.com>
93202
93203 [BZ #12394]
93204 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93205 characters. When rounding increased number of integer digits recompute
93206 number of groups.
93207 * stdio-common/tst-grouping.c: New file.
93208 * stdio-common/Makefile: Add rules to build and run tst-grouping.
93209
93210 2011-01-09 Ulrich Drepper <drepper@gmail.com>
93211
93212 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93213 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
93214
93215 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93216 void.
93217 * bits/select.h: Likewise.
93218
93219 2011-01-08 Ulrich Drepper <drepper@gmail.com>
93220
93221 * po/ja.po: Update from translation team.
93222
93223 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
93224
93225 [BZ #11155]
93226 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93227 implementation just like for lxstat, fxstatat, et al.
93228
93229 2010-12-27 Jim Meyering <meyering@redhat.com>
93230
93231 [BZ #12348]
93232 * posix/regexec.c (build_trtable): Return failure indication upon
93233 calloc failure. Otherwise, re_search_internal could infloop on OOM.
93234
93235 2010-12-25 Ulrich Drepper <drepper@gmail.com>
93236
93237 [BZ #12201]
93238 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93239 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93240 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93242
93243 [BZ #12207]
93244 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93245
93246 [BZ #12204]
93247 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93248 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93249
93250 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
93251
93252 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93253 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93254 script has SORT_BY_INIT_PRIORITY.
93255 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93256 NO_CTORS_DTORS_SECTIONS is defined.
93257 * elf/soinit.c: Likewise.
93258 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93259 NO_CTORS_DTORS_SECTIONS is defined.
93260 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93261 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93262 * sysdeps/sh/init-first.c: Likewise.
93263 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93264
93265 2010-12-24 Ulrich Drepper <drepper@gmail.com>
93266
93267 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93268 always use the slow path.
93269
93270 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
93271
93272 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93273 similar rule which adds the sysdep directories to the header search in
93274 order to pick up the correct platform stackinfo.h.
93275 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93276 perform test if it is, otherwise return successfully without testing.
93277 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93278 DEFAULT_STACK_PERMS define in stackinfo.h.
93279 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93280 defined in stackinfo.h.
93281 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93282 DEFAULT_STACK_PERMS defined in stackinfo.h.
93283 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93284 * sysdeps/ia64/stackinfo.h: Likewise.
93285 * sysdeps/s390/stackinfo.h: Likewise.
93286 * sysdeps/sh/stackinfo.h: Likewise.
93287 * sysdeps/sparc/stackinfo.h: Likewise.
93288 * sysdeps/x86_64/stackinfo.h: Likewise.
93289 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93290 PF_X for powerpc64. Retain PF_X for powerpc32.
93291
93292 2010-12-19 Ulrich Drepper <drepper@gmail.com>
93293
93294 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93295 accurately.
93296 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93297 GETDENTS_64BIT_ALIGNED.
93298
93299 2010-12-14 Ulrich Drepper <dreper@gmail.com>
93300
93301 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93302
93303 2010-12-10 Andreas Schwab <schwab@redhat.com>
93304
93305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93306 _GNU_SOURCE.
93307
93308 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93309 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93310 Remove __restrict.
93311 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93312 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93313
93314 2010-12-09 Ulrich Drepper <drepper@gmail.com>
93315
93316 [BZ #11655]
93317 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93318 are initialized.
93319
93320 2010-12-09 Jakub Jelinek <jakub@redhat.com>
93321
93322 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93323
93324 2010-12-03 Ulrich Drepper <drepper@gmail.com>
93325
93326 * po/it.po: Update from translation team.
93327
93328 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
93329
93330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93331 unused codes.
93332
93333 2010-11-30 Ulrich Drepper <drepper@gmail.com>
93334
93335 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93336
93337 2010-11-24 Andreas Schwab <schwab@redhat.com>
93338
93339 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93340 specially.
93341 (gaih_getanswer_slice): Likewise.
93342
93343 2010-10-20 Jakub Jelinek <jakub@redhat.com>
93344
93345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93346
93347 2010-05-31 Petr Baudis <pasky@suse.cz>
93348
93349 [BZ #11149]
93350 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93351 silently even in the chroot mode.
93352
93353 2010-11-22 Ulrich Drepper <drepper@gmail.com>
93354
93355 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93356 last patch a bit. Pretty printing
93357
93358 2010-05-31 Petr Baudis <pasky@suse.cz>
93359
93360 [BZ #10085]
93361 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93362 initialization of skip_initgroups_dyn.
93363
93364 2010-11-19 Ulrich Drepper <drepper@gmail.com>
93365
93366 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93367 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93368
93369 2010-11-16 Ulrich Drepper <drepper@gmail.com>
93370
93371 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93372
93373 2010-11-11 Andreas Schwab <schwab@redhat.com>
93374
93375 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93376 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93377 (tst-fnmatch-ENV): Set MALLOC_TRACE.
93378 ($(objpfx)tst-fnmatch-mem): New rule.
93379 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93380 * posix/tst-fnmatch.c (main): Call mtrace.
93381
93382 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
93383
93384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93385 Support Intel processor model 6 and model 0x2c.
93386
93387 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
93388
93389 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93390 signed comparison.
93391
93392 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
93393
93394 [BZ #12205]
93395 * string/test-strncasecmp.c (check_result): New function.
93396 (do_one_test): Use it.
93397 (check1): New function.
93398 (test_main): Use it.
93399 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93400 Support strcasecmp and strncasecmp.
93401
93402 2010-11-08 Ulrich Drepper <drepper@gmail.com>
93403
93404 [BZ #12194]
93405 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93406 * sysdeps/x86_64/bits/byteswap.h: Likewise.
93407
93408 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
93409
93410 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93411 IFUNC support.
93412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93413 memset-x86-64.
93414 * sysdeps/x86_64/multiarch/bzero.S: New file.
93415 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93416 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93417 * sysdeps/x86_64/multiarch/memset.S: New file.
93418 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93420 Set bit_Prefer_SSE_for_memop for Intel processors.
93421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93422 Define.
93423 (index_Prefer_SSE_for_memop): Define.
93424 (HAS_PREFER_SSE_FOR_MEMOP): Define.
93425
93426 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
93427
93428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93429 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93430
93431 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
93432
93433 [BZ #12191]
93434 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93435 (__x86_64_raw_data_cache_size_half): Likewise.
93436 (__x86_64_raw_shared_cache_size): Likewise.
93437 (__x86_64_raw_shared_cache_size_half): Likewise.
93438
93439 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93440 (__x86_64_raw_data_cache_size_half): Likewise.
93441 (__x86_64_raw_shared_cache_size): Likewise.
93442 (__x86_64_raw_shared_cache_size_half): Likewise.
93443 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93444 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93445 and __x86_64_raw_shared_cache_size_half. Round
93446 __x86_64_data_cache_size_half, __x86_64_data_cache_size
93447 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93448 to multiple of 256 bytes.
93449
93450 2010-11-03 Ulrich Drepper <drepper@gmail.com>
93451
93452 [BZ #12167]
93453 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93454 of inacessible symlinks. Verify result of symlink before returning it.
93455 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93456 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93457
93458 2010-10-28 Erich Ritz <erichritz@gmail.com>
93459
93460 * math/math.h (isinf): Fix typo in comment.
93461
93462 2010-11-01 Ulrich Drepper <drepper@gmail.com>
93463
93464 * po/da.po: Update from translation team.
93465
93466 2010-10-26 Ulrich Drepper <drepper@gmail.com>
93467
93468 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93469 is added to the list.
93470
93471 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93472 Ulrich Drepper <drepper@gmail.com>
93473
93474 * elf/dl-object.c (_dl_new_object): Don't append the new object to
93475 the global list here. Move code to...
93476 (_dl_add_to_namespace_list): ...here. New function.
93477 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93478 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93479 * elf/dl-load.c (lose): Don't remove the element from the list.
93480 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93481 (_dl_map_object): Likewise.
93482
93483 2010-10-25 Ulrich Drepper <drepper@gmail.com>
93484
93485 [BZ #12159]
93486 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93487 into all bytes of SSE register.
93488 Patch by Richard Li <richardpku@gmail.com>.
93489
93490 2010-10-24 Ulrich Drepper <drepper@gmail.com>
93491
93492 [BZ #12140]
93493 * malloc/malloc.c (_int_free): Fill correct number of bytes when
93494 perturbing.
93495
93496 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
93497
93498 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93499 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93500 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93501 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93503 submachine.
93504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93505
93506 2010-10-22 Andreas Schwab <schwab@redhat.com>
93507
93508 * include/dlfcn.h (__RTLD_SECURE): Define.
93509 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
93510 mode & __RTLD_SECURE instead.
93511 (open_path): Rename preloaded parameter to secure.
93512 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93513 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93514 * elf/dl-deps.c (openaux): Likewise.
93515 * elf/rtld.c (struct map_args): Remove is_preloaded.
93516 (map_doit): Don't use it.
93517 (dl_main): Likewise.
93518 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93519 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93520
93521 2010-09-09 Andreas Schwab <schwab@redhat.com>
93522
93523 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93524 (sysd-rules-targets): Remove duplicates.
93525 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93526 rtld-%.$o dependency.
93527
93528 2010-10-18 Andreas Schwab <schwab@redhat.com>
93529
93530 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93531 _dl_map_object do it.
93532
93533 2010-10-19 Ulrich Drepper <drepper@gmail.com>
93534
93535 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93536 fast fma builtins, define the macros in the C99 standard.
93537 (FP_FAST_FMAF): Likewise.
93538 (FP_FAST_FMAL): Likewise.
93539 * sysdeps/x86_64/bits/mathdef.h: Likewise.
93540
93541 * bits/mathdef.h: Update copyright year.
93542 * sysdeps/powerpc/bits/mathdef.h: Likewise.
93543
93544 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
93545
93546 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93547 builtins, define the macros in the C99 standard.
93548 (FP_FAST_FMAF): Likewise.
93549 (FP_FAST_FMAL): Likewise.
93550 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93551 multiply/add.
93552 (FP_FAST_FMAF): Likewise.
93553
93554 2010-10-15 Jakub Jelinek <jakub@redhat.com>
93555
93556 [BZ #3268]
93557 * math/libm-test.inc (fma_test): Some new testcases.
93558 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93560 y and infinite z. Do multiplication by C already in long double.
93561 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93563 y and infinite z. Do bitwise or of inexact bit into u.d.
93564 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93565 * sysdeps/i386/fpu/s_fmaf.S: Removed.
93566 * sysdeps/i386/fpu/s_fma.S: Removed.
93567 * sysdeps/i386/fpu/s_fmal.S: Removed.
93568
93569 2010-10-16 Jakub Jelinek <jakub@redhat.com>
93570
93571 [BZ #3268]
93572 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93574 computation is not scheduled after fetestexcept. Fix value
93575 of minimum denormal long double.
93576
93577 2010-10-14 Jakub Jelinek <jakub@redhat.com>
93578
93579 [BZ #3268]
93580 * math/libm-test.inc (fma_test): Add some more tests.
93581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93582 correctly.
93583
93584 2010-10-15 Andreas Schwab <schwab@redhat.com>
93585
93586 * scripts/data/localplt-s390-linux-gnu.data: New file.
93587 * scripts/data/localplt-s390x-linux-gnu.data: New file.
93588
93589 2010-10-13 Jakub Jelinek <jakub@redhat.com>
93590
93591 [BZ #3268]
93592 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93593 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93594 instead of dbl-64.
93595 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93596 inlines.
93597 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93599 if one of x and y is very large and the other is subnormal.
93600 * sysdeps/s390/fpu/s_fmaf.c: New file.
93601 * sysdeps/s390/fpu/s_fma.c: New file.
93602 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93603 * sysdeps/powerpc/fpu/s_fma.S: New file.
93604 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93605 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93606 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93607
93608 2010-10-12 Jakub Jelinek <jakub@redhat.com>
93609
93610 [BZ #3268]
93611 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93612 fma tests.
93613 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93614 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93615 * sysdeps/i386/i686/multiarch/s_fma.c: Include
93616 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93617 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93618 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93619 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93620
93621 2010-10-12 Ulrich Drepper <drepper@redhat.com>
93622
93623 [BZ #12078]
93624 * posix/regcomp.c (parse_branch): One more memory leak plugged.
93625 * posix/bug-regex31.input: Add test case.
93626
93627 2010-10-11 Ulrich Drepper <drepper@gmail.com>
93628
93629 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93630 * posix/bug-regex31.input: New file.
93631
93632 [BZ #12078]
93633 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93634 (parse_sub_exp): Fix last change, use postorder.
93635
93636 * posix/bug-regex31.c: New file.
93637 * posix/Makefile: Add rules to build and run bug-regex31.
93638
93639 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93640
93641 [BZ #12078]
93642 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93643
93644 [BZ #12108]
93645 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93646 to have entries in sys_siglist.
93647
93648 [BZ #12093]
93649 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93650 be NULL.
93651
93652 2010-10-07 Jakub Jelinek <jakub@redhat.com>
93653
93654 [BZ #3268]
93655 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93656 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93657 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93658 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93659 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93660 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93661 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93662 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93663 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93664 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93665 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93666 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93667 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93668 * math/ftestexcept.c (fetestexcept): Likewise.
93669 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93670 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93671 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93672 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93673 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93674 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93675 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93676
93677 2010-10-11 Ulrich Drepper <drepper@gmail.com>
93678
93679 [BZ #12107]
93680 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93681 newline.
93682
93683 2010-10-06 Ulrich Drepper <drepper@gmail.com>
93684
93685 * string/bug-strstr1.c: New file.
93686 * string/Makefile: Add rules to build and run bug-strstr1.
93687
93688 2010-10-05 Eric Blake <eblake@redhat.com>
93689
93690 [BZ #12092]
93691 * string/str-two-way.h (two_way_long_needle): Always clear memory
93692 when skipping input due to the shift table.
93693
93694 2010-10-03 Ulrich Drepper <drepper@gmail.com>
93695
93696 [BZ #12005]
93697 * malloc/mcheck.c: Handle large requests.
93698
93699 [BZ #12077]
93700 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93701 for strncmp and strncasecmp.
93702 * string/stratcliff.c: Add tests for strcmp and strncmp.
93703 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93704
93705 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
93706
93707 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93708 __set_fpscr.
93709
93710 2010-09-30 Andreas Jaeger <aj@suse.de>
93711
93712 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93713 (CGROUP_SUPER_MAGIC): Define.
93714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93715 Handle btrfs and cgroup file systems.
93716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93717 Likewise.
93718
93719 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
93720
93721 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
93722 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
93723
93724 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93725
93726 [BZ #12067]
93727 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
93728 trying to locate the ELF header.
93729
93730 2010-09-27 Andreas Schwab <schwab@redhat.com>
93731
93732 [BZ #11611]
93733 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
93734 Mask out sign-bit copies when constructing f_fsid.
93735
93736 2010-09-24 Petr Baudis <pasky@suse.cz>
93737
93738 * debug/stack_chk_fail_local.c: Add missing licence exception.
93739 * debug/warning-nop.c: Likewise.
93740
93741 2010-09-15 Joseph Myers <joseph@codesourcery.com>
93742
93743 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
93744 implementing getdents64 using getdents syscall, set d_type if
93745 __ASSUME_GETDENTS32_D_TYPE.
93746
93747 2010-09-16 Andreas Schwab <schwab@redhat.com>
93748
93749 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
93750 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
93751
93752 2010-09-21 Ulrich Drepper <drepper@redhat.com>
93753
93754 [BZ #12037]
93755 * posix/unistd.h: Undo change of feature selection for ftruncate from
93756 2010-01-11.
93757
93758 2010-09-20 Ulrich Drepper <drepper@redhat.com>
93759
93760 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
93761 detection.
93762
93763 2010-09-20 Andreas Schwab <schwab@redhat.com>
93764
93765 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
93766 fanotify_mark.
93767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93768
93769 2010-09-14 Andreas Schwab <schwab@redhat.com>
93770
93771 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
93772 variables after CHECK_SP call.
93773 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
93774
93775 2010-09-13 Andreas Schwab <schwab@redhat.com>
93776 Ulrich Drepper <drepper@redhat.com>
93777
93778 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
93779 re-relocationg ld.so.
93780 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
93781 _dl_init_paths call.
93782 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
93783 here anymore.
93784
93785 2010-09-14 Ulrich Drepper <drepper@redhat.com>
93786
93787 * resolv/res_init.c (__res_vinit): Count the default server we added.
93788
93789 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
93790 Ulrich Drepper <drepper@redhat.com>
93791
93792 [BZ #11968]
93793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
93794 (____longjmp_chk): Use %ebx for saving value across system call.
93795 Add unwind info.
93796
93797 2010-09-06 Andreas Schwab <schwab@redhat.com>
93798
93799 * manual/Makefile: Don't mix pattern rules with normal rules.
93800
93801 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
93802
93803 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
93804 operation.
93805 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
93806 * libio/iofopncook.c (_IO_cookie_init): Likewise.
93807 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
93808 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
93809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
93810 Likewise.
93811
93812 2010-09-04 Ulrich Drepper <drepper@redhat.com>
93813
93814 [BZ #11979]
93815 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
93816 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
93817
93818 2010-09-02 Ulrich Drepper <drepper@redhat.com>
93819
93820 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
93821 * sysdeps/x86_64/addmul_1.S: Likewise.
93822 * sysdeps/x86_64/lshift.S: Likewise.
93823 * sysdeps/x86_64/mul_1.S: Likewise.
93824 * sysdeps/x86_64/rshift.S: Likewise.
93825 * sysdeps/x86_64/sub_n.S: Likewise.
93826 * sysdeps/x86_64/submul_1.S: Likewise.
93827
93828 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
93829
93830 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
93831 Define __sched_param instead of SCHED_* and sched_param when
93832 <bits/sched.h> is included with __need_schedparam defined.
93833 * bits/sched.h [__need_schedparam]
93834 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
93835 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
93836 (__defined_schedparam): Define to 1.
93837 (__sched_param): New structure, identical to sched_param.
93838 (__need_schedparam): Undefine.
93839
93840 2010-08-31 Mike Frysinger <vapier@gentoo.org>
93841
93842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
93843 (epoll_create1): Declare.
93844
93845 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
93846
93847 2010-08-31 Andreas Schwab <schwab@redhat.com>
93848
93849 [BZ #7066]
93850 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
93851 shifting retval into place.
93852
93853 2010-09-01 Ulrich Drepper <drepper@redhat.com>
93854
93855 * nis/rpcsvc/nis.h: Update copyright notice.
93856 * nis/rpcsvc/nis.x: Likewise.
93857 * nis/rpcsvc/nis_callback.h: Likewise.
93858 * nis/rpcsvc/nis_callback.x: Likewise.
93859 * nis/rpcsvc/nis_object.x: Likewise.
93860 * nis/rpcsvc/nis_tags.h: Likewise.
93861 * nis/rpcsvc/yp.h: Likewise.
93862 * nis/rpcsvc/yp.x: Likewise.
93863 * nis/rpcsvc/ypupd.h: Likewise.
93864 * nis/yp_xdr.c: Likewise.
93865 * nis/ypupdate_xdr.c: Likewise.
93866
93867 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
93868 mainly the body of pmap_getport. Add parameters to specify timeouts.
93869 (pmap_getport): Use __libc_rpc_getport.
93870 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
93871 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
93872 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
93873
93874 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
93875
93876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
93877 fanotify_mark.
93878
93879 2010-08-27 Roland McGrath <roland@redhat.com>
93880
93881 * sysdeps/i386/i686/multiarch/Makefile
93882 (CFLAGS-varshift.c): New variable.
93883
93884 2010-08-27 Ulrich Drepper <drepper@redhat.com>
93885
93886 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
93887 * sysdeps/i386/i686/multiarch/varshift.c: New file.
93888
93889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
93890
93891 * sysdeps/x86_64/strlen.S: Minimal code improvement.
93892
93893 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
93894
93895 * sysdeps/x86_64/strlen.S: Unroll the loop.
93896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93897 strlen-sse2 strlen-sse2-bsf.
93898 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
93899 __strlen_no_bsf if bit_Slow_BSF is set.
93900 (__strlen_sse42): Removed.
93901 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
93902 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
93903
93904 2010-08-25 Roland McGrath <roland@redhat.com>
93905
93906 * sysdeps/x86_64/multiarch/varshift.S: File removed.
93907 * sysdeps/x86_64/multiarch/varshift.c: New file.
93908 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
93909 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
93910 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
93911 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
93912
93913 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
93914
93915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93916 strlen-sse2 strlen-sse2-bsf.
93917 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
93918 __strlen_sse2_bsf if bit_Slow_BSF is unset.
93919 (__strlen_sse2): Removed.
93920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
93921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
93922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
93923 bit_Slow_BSF for Atom.
93924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
93925 (index_Slow_BSF): Define.
93926 (HAS_SLOW_BSF): Define.
93927
93928 2010-08-25 Ulrich Drepper <drepper@redhat.com>
93929
93930 [BZ #10851]
93931 * resolv/res_init.c (__res_vinit): When no server address at all
93932 is given default to loopback.
93933
93934 2010-08-24 Roland McGrath <roland@redhat.com>
93935
93936 * configure.in: Remove config-name.h generation.
93937 * configure: Regenerated.
93938 * config-name.in: File removed.
93939 * scripts/config-uname.sh: New file.
93940 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
93941 ($(objdir)config-name.h): New target.
93942
93943 * sunrpc/rpc_parse.h: Avoid nested comment.
93944
93945 2010-08-24 Richard Henderson <rth@redhat.com>
93946 Ulrich Drepper <drepper@redhat.com>
93947 H.J. Lu <hongjiu.lu@intel.com>
93948
93949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
93950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
93951 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
93952 Replace _mm_srli_si128 with __m128i_shift_right. Replace
93953 _mm_alignr_epi8 with _mm_loadu_si128.
93954 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
93955 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
93956 (__m128i_shift_right): Removed.
93957 * sysdeps/i386/i686/multiarch/varshift.h: New file.
93958 * sysdeps/i386/i686/multiarch/varshift.S: New file.
93959 * sysdeps/x86_64/multiarch/varshift.h: New file.
93960 * sysdeps/x86_64/multiarch/varshift.S: New file.
93961
93962 2010-08-21 Mike Frysinger <vapier@gentoo.org>
93963
93964 * configure.in: Move assembler checks to before sysdep dir checking.
93965
93966 2010-08-20 Petr Baudis <pasky@suse.cz>
93967
93968 * LICENSES: Sync the sunrpc license.
93969
93970 2010-08-19 Ulrich Drepper <drepper@redhat.com>
93971
93972 * sunrpc/auth_des.c: Update copyright notice once again.
93973 * sunrpc/auth_none.c: Likewise.
93974 * sunrpc/auth_unix.c: Likewise.
93975 * sunrpc/authdes_prot.c: Likewise.
93976 * sunrpc/authuxprot.c: Likewise.
93977 * sunrpc/bindrsvprt.c: Likewise.
93978 * sunrpc/clnt_gen.c: Likewise.
93979 * sunrpc/clnt_perr.c: Likewise.
93980 * sunrpc/clnt_raw.c: Likewise.
93981 * sunrpc/clnt_simp.c: Likewise.
93982 * sunrpc/clnt_tcp.c: Likewise.
93983 * sunrpc/clnt_udp.c: Likewise.
93984 * sunrpc/clnt_unix.c: Likewise.
93985 * sunrpc/des_crypt.c: Likewise.
93986 * sunrpc/des_soft.c: Likewise.
93987 * sunrpc/get_myaddr.c: Likewise.
93988 * sunrpc/getrpcport.c: Likewise.
93989 * sunrpc/key_call.c: Likewise.
93990 * sunrpc/key_prot.c: Likewise.
93991 * sunrpc/openchild.c: Likewise.
93992 * sunrpc/pm_getmaps.c: Likewise.
93993 * sunrpc/pm_getport.c: Likewise.
93994 * sunrpc/pmap_clnt.c: Likewise.
93995 * sunrpc/pmap_prot.c: Likewise.
93996 * sunrpc/pmap_prot2.c: Likewise.
93997 * sunrpc/pmap_rmt.c: Likewise.
93998 * sunrpc/rpc/auth.h: Likewise.
93999 * sunrpc/rpc/auth_unix.h: Likewise.
94000 * sunrpc/rpc/clnt.h: Likewise.
94001 * sunrpc/rpc/des_crypt.h: Likewise.
94002 * sunrpc/rpc/key_prot.h: Likewise.
94003 * sunrpc/rpc/netdb.h: Likewise.
94004 * sunrpc/rpc/pmap_clnt.h: Likewise.
94005 * sunrpc/rpc/pmap_prot.h: Likewise.
94006 * sunrpc/rpc/pmap_rmt.h: Likewise.
94007 * sunrpc/rpc/rpc.h: Likewise.
94008 * sunrpc/rpc/rpc_des.h: Likewise.
94009 * sunrpc/rpc/rpc_msg.h: Likewise.
94010 * sunrpc/rpc/svc.h: Likewise.
94011 * sunrpc/rpc/svc_auth.h: Likewise.
94012 * sunrpc/rpc/types.h: Likewise.
94013 * sunrpc/rpc/xdr.h: Likewise.
94014 * sunrpc/rpc_clntout.c: Likewise.
94015 * sunrpc/rpc_cmsg.c: Likewise.
94016 * sunrpc/rpc_common.c: Likewise.
94017 * sunrpc/rpc_cout.c: Likewise.
94018 * sunrpc/rpc_dtable.c: Likewise.
94019 * sunrpc/rpc_hout.c: Likewise.
94020 * sunrpc/rpc_main.c: Likewise.
94021 * sunrpc/rpc_parse.c: Likewise.
94022 * sunrpc/rpc_parse.h: Likewise.
94023 * sunrpc/rpc_prot.c: Likewise.
94024 * sunrpc/rpc_sample.c: Likewise.
94025 * sunrpc/rpc_scan.c: Likewise.
94026 * sunrpc/rpc_scan.h: Likewise.
94027 * sunrpc/rpc_svcout.c: Likewise.
94028 * sunrpc/rpc_tblout.c: Likewise.
94029 * sunrpc/rpc_util.c: Likewise.
94030 * sunrpc/rpc_util.h: Likewise.
94031 * sunrpc/rpcinfo.c: Likewise.
94032 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94033 * sunrpc/rpcsvc/key_prot.x: Likewise.
94034 * sunrpc/rpcsvc/klm_prot.x: Likewise.
94035 * sunrpc/rpcsvc/mount.x: Likewise.
94036 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94037 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94038 * sunrpc/rpcsvc/rex.x: Likewise.
94039 * sunrpc/rpcsvc/rstat.x: Likewise.
94040 * sunrpc/rpcsvc/rusers.x: Likewise.
94041 * sunrpc/rpcsvc/sm_inter.x: Likewise.
94042 * sunrpc/rpcsvc/spray.x: Likewise.
94043 * sunrpc/rpcsvc/yppasswd.x: Likewise.
94044 * sunrpc/rtime.c: Likewise.
94045 * sunrpc/svc.c: Likewise.
94046 * sunrpc/svc_auth.c: Likewise.
94047 * sunrpc/svc_authux.c: Likewise.
94048 * sunrpc/svc_raw.c: Likewise.
94049 * sunrpc/svc_run.c: Likewise.
94050 * sunrpc/svc_simple.c: Likewise.
94051 * sunrpc/svc_tcp.c: Likewise.
94052 * sunrpc/svc_udp.c: Likewise.
94053 * sunrpc/svc_unix.c: Likewise.
94054 * sunrpc/svcauth_des.c: Likewise.
94055 * sunrpc/xcrypt.c: Likewise.
94056 * sunrpc/xdr.c: Likewise.
94057 * sunrpc/xdr_array.c: Likewise.
94058 * sunrpc/xdr_float.c: Likewise.
94059 * sunrpc/xdr_mem.c: Likewise.
94060 * sunrpc/xdr_rec.c: Likewise.
94061 * sunrpc/xdr_ref.c: Likewise.
94062 * sunrpc/xdr_sizeof.c: Likewise.
94063 * sunrpc/xdr_stdio.c: Likewise.
94064
94065 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94066 handling.
94067
94068 2010-08-19 Andreas Schwab <schwab@redhat.com>
94069
94070 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94071
94072 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
94073
94074 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94075 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94076 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94077 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94078 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94079 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94080 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94081 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94083 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94084 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94085 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94086 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94087 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94088
94089 2010-07-26 Anton Blanchard <anton@samba.org>
94090
94091 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94092 * malloc/arena.c (heap_trim): Likewise.
94093
94094 2010-08-16 Ulrich Drepper <drepper@redhat.com>
94095
94096 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94097 here. Not...
94098 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94099 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94100
94101 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
94102
94103 * sysdeps/i386/elf/Makefile: New file.
94104
94105 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
94106
94107 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94108 from fanotify_init.
94109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94111
94112 2010-08-15 Ulrich Drepper <drepper@redhat.com>
94113
94114 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94115 of strncasecmp_l.
94116 * sysdeps/multiarch/strcmp.S: Likewise.
94117
94118 2010-08-14 Ulrich Drepper <drepper@redhat.com>
94119
94120 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94121 strncase_l-nonascii.
94122 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94123 Add strncase_l-ssse3.
94124 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94125 * sysdeps/x86_64/strcmp.S: Likewise.
94126 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94127 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94128 * sysdeps/x86_64/strncase.S: New file.
94129 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94130 * sysdeps/x86_64/strncase_l.S: New file.
94131 * string/Makefile (strop-tests): Add strncasecmp.
94132 * string/test-strncasecmp.c: New file.
94133
94134 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94135 warning.
94136
94137 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94138 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94139
94140 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
94141
94142 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94143
94144 2010-08-12 Ulrich Drepper <drepper@redhat.com>
94145
94146 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94147 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94148 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94149
94150 2010-05-01 Alan Modra <amodra@gmail.com>
94151
94152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94153 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94154 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94155 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94156 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94157 tidying. Don't tail-call __sigjmp_save for static lib.
94158 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94159 save location.
94160 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94161 (CALL_MCOUNT): Add eh info, and nop after bl.
94162 (TAIL_CALL_SYSCALL_ERROR): New macro.
94163 (PSEUDO_RET): Use it.
94164 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94165 Correct save location of integer regs and cr.
94166 (_dl_profile_resolve): Correct cr save location. Delete nops
94167 after bl when SHARED. Reduce cfi size a little by better
94168 placement of cfi directives.
94169 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94170 make a stack frame. Instead use parm save area as a temp.
94171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94172 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
94173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94174 Don't make a stack frame for parent, use parm save area.
94175 Increase child stack frame to 112 bytes. Don't save unused reg,
94176 and adjust reg usage. Set up cfi on error recovery and
94177 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94179 (__makecontext): Add dummy nop after jump to exit.
94180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94181 Use correct parm save area and cr save, reduce stack frame.
94182 Correct cfi for possible PSEUDO_RET frame setup.
94183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94184 Branch to local label emitted by PSEUDO_RET rather than
94185 __syscall_error.
94186
94187 2010-08-12 Andreas Schwab <schwab@redhat.com>
94188
94189 [BZ #11904]
94190 * locale/programs/locale.c (print_assignment): New function.
94191 (show_locale_vars): Use it.
94192
94193 2010-08-11 Ulrich Drepper <drepper@redhat.com>
94194
94195 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94196 field.
94197 (struct statfs64): Likewise.
94198 (_STATFS_F_FLAGS): Define.
94199 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94200 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94201 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94202 (ST_VALID): Define locally.
94203 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94204 __statvfs_getflags, use the provided value.
94205 * sysdeps/unix/sysv/linux/kernel-features.h: Define
94206 __ASSUME_STATFS_F_FLAGS.
94207
94208 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94209
94210 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94211 Add sys/fanotify.h.
94212 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94213 fanotify_mask for GLIBC_2.13.
94214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94215 fanotify_init and fanotify_mark.
94216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94217 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94218
94219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94220 Add prlimit.
94221 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94222 prlimit64 for GLIBC_2.13.
94223 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94224 prlimit64.
94225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94226 syscall.
94227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94228 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94229 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94230 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
94232 add prlimit alias.
94233 * sysdeps/unix/sysv/linux/prlimit.c: New file.
94234
94235 [BZ #11903]
94236 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94237 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94238
94239 * nss/Makefile: Add rules to build and run tst-nss-test1.
94240 * shlib-versions: Add entry for libnss_test1.
94241 * nss/nss_test1.c: New file.
94242 * nss/tst-nss-test1.c: New file.
94243
94244 * nss/nsswitch.c (__nss_database_custom): Define new variable.
94245 (__nss_configure_lookup): Set appropriate entry in
94246 __nss_configure_lookup to true.
94247 * nss/nsswitch.h: Define enum with indeces of databases in
94248 databases and __nss_database_custom arrays. Declare
94249 __nss_database_custom.
94250 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94251 to avoid using nscd when custom rules are installed.
94252 * nss/getXXbyYY_r.c: Likewise.
94253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94254
94255 * nss/nss_files/files-parse.c: Whitespace fixes.
94256
94257 2010-08-09 Ulrich Drepper <drepper@redhat.com>
94258
94259 [BZ #11883]
94260 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94261 * posix/fnmatch_loop.c: Likewise.
94262
94263 2010-07-17 Andi Kleen <ak@linux.intel.com>
94264
94265 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94266 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94267 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94268 * Versions.def [GLIBC_2.13]: Add.
94269
94270 2010-08-06 Ulrich Drepper <drepper@redhat.com>
94271
94272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94273 Also fail if tpwd after pwuid call is NULL.
94274
94275 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
94276
94277 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94278 when converting to ms.
94279
94280 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
94281
94282 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94283 EOPNOTSUPP errors with ENOTTY.
94284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94285 EOPNOTSUPP errors with ENOTTY.
94286
94287 2010-07-31 Ulrich Drepper <drepper@redhat.com>
94288
94289 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94290 Add strcasecmp_l-ssse3.
94291 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94292 strcasecmp.
94293 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94294 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94296
94297 2010-07-30 Ulrich Drepper <drepper@redhat.com>
94298
94299 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94300
94301 * string/Makefile (strop-tests): Add strcasecmp.
94302 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94303 strcasecmp_l-nonascii.
94304 (gen-as-const-headers): Add locale-defines.sym.
94305 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94306 * sysdeps/x86_64/strcasecmp.S: New file.
94307 * sysdeps/x86_64/strcasecmp_l.S: New file.
94308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94309 * sysdeps/x86_64/locale-defines.sym: New file.
94310 * string/test-strcasecmp.c: New file.
94311
94312 * string/test-strcasestr.c: Test both ends of the range of characters.
94313 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94314
94315 2010-07-29 Roland McGrath <roland@redhat.com>
94316
94317 [BZ #11856]
94318 * manual/locale.texi (Yes-or-No Questions): Fix example code.
94319
94320 2010-07-27 Ulrich Drepper <drepper@redhat.com>
94321
94322 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94323 for ld.so.
94324
94325 2010-07-27 Andreas Schwab <schwab@redhat.com>
94326
94327 * manual/memory.texi (Malloc Tunable Parameters): Document
94328 M_PERTURB.
94329
94330 2010-07-26 Roland McGrath <roland@redhat.com>
94331
94332 [BZ #11840]
94333 * configure.in (-fgnu89-inline check): Set and substitute
94334 gnu89_inline, not libc_cv_gnu89_inline.
94335 * configure: Regenerated.
94336 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94337
94338 2010-07-26 Ulrich Drepper <drepper@redhat.com>
94339
94340 * string/test-strnlen.c: New file.
94341 * string/Makefile (strop-tests): Add strnlen.
94342 * string/tester.c (test_strnlen): Add a few more test cases.
94343 * string/tst-strlen.c: Better error reporting.
94344
94345 * sysdeps/x86_64/strnlen.S: New file.
94346
94347 2010-07-24 Ulrich Drepper <drepper@redhat.com>
94348
94349 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94350 lower-latency instructions.
94351
94352 2010-07-23 Ulrich Drepper <drepper@redhat.com>
94353
94354 * string/test-strcasestr.c: New file.
94355 * string/test-strstr.c: New file.
94356 * string/Makefile (strop-tests): Add strstr and strcasestr.
94357 * string/str-two-way.h: Don't undefine MAX.
94358 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94359
94360 2010-07-21 Andreas Schwab <schwab@redhat.com>
94361
94362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94363 strcasestr-nonascii.
94364 (CFLAGS-strcasestr-nonascii.c): Define.
94365 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94367 Remove unused attribute.
94368
94369 2010-07-20 Roland McGrath <roland@redhat.com>
94370
94371 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94372 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
94373 ld.so.cache was broken. With it, there is no way to disable dsocaps
94374 like LD_HWCAP_MASK can disable hwcaps.
94375
94376 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
94377
94378 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94379
94380 2010-07-16 Ulrich Drepper <drepper@redhat.com>
94381
94382 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94383 call in strcasestr.
94384 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94385 __strcasestr_sse42_nonascii.
94386 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94387 strcasestr-nonascii.c.
94388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94389
94390 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
94391
94392 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94393 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94394 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94395 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94396
94397 2010-07-09 Ulrich Drepper <drepper@redhat.com>
94398
94399 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94400 fcntl.
94401
94402 2010-07-06 Andreas Schwab <schwab@redhat.com>
94403
94404 [BZ #11577]
94405 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94406 dl_signal_cerror.
94407
94408 2010-07-06 Ulrich Drepper <drepper@redhat.com>
94409
94410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94411 _PC_PIPE_BUF using F_GETPIPE_SZ.
94412
94413 2010-07-05 Roland McGrath <roland@redhat.com>
94414
94415 * manual/arith.texi (Rounding Functions): Fix rint description
94416 implicit in round description.
94417
94418 2010-07-02 Ulrich Drepper <drepper@redhat.com>
94419
94420 * elf/Makefile: Fix linking for a few tests to make recent linker
94421 happy.
94422
94423 2010-06-30 Andreas Schwab <schwab@redhat.com>
94424
94425 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94426 $(common-objpfx)libc_nonshared.a.
94427
94428 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
94429
94430 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94431 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94432 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94433 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94434 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94435 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94436 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94437 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94452 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94453 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94454 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94455 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94456 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94457 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94458 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94459 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94460 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94461 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94462 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94463 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94478
94479 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
94480
94481 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94482 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
94483 * string/memmove.c (memmove): Renamed to ...
94484 (MEMMOVE): ...this. Default to memmove.
94485 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94486 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94487 (END_CHK): Define.
94488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94489 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94490 mempcpy-ssse3-back memmove-ssse3-back.
94491 * sysdeps/x86_64/multiarch/bcopy.S: New file .
94492 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94494 * sysdeps/x86_64/multiarch/memcpy.S: New file.
94495 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94496 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94497 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94498 * sysdeps/x86_64/multiarch/memmove.c: New file.
94499 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94500 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94501 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94502 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94503 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94505 Define.
94506 (index_Fast_Copy_Backward): Define.
94507 (HAS_ARCH_FEATURE): Define.
94508 (HAS_FAST_REP_STRING): Define.
94509 (HAS_FAST_COPY_BACKWARD): Define.
94510
94511 2010-06-21 Andreas Schwab <schwab@redhat.com>
94512
94513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94514 Restore proper fallback handling.
94515
94516 2010-06-19 Ulrich Drepper <drepper@redhat.com>
94517
94518 [BZ #11701]
94519 * posix/group_member.c (__group_member): Correct checking loop.
94520
94521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94522 OOM in getpwuid_r correctly. Return error number when the caller
94523 should return, otherwise -1.
94524 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94525 call returning > 0 value.
94526 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94527
94528 2010-06-07 Andreas Schwab <schwab@redhat.com>
94529
94530 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94531 libc_nonshared.a from targets in modules-names.
94532
94533 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
94534
94535 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94536 requires it.
94537
94538 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
94539
94540 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94544
94545 2010-06-02 Andreas Schwab <schwab@redhat.com>
94546
94547 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94548
94549 2010-06-14 Ulrich Drepper <drepper@redhat.com>
94550
94551 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94552 and F_GETPIPE_SZ.
94553 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94559
94560 2010-06-14 Roland McGrath <roland@redhat.com>
94561
94562 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94563
94564 2010-06-07 Jakub Jelinek <jakub@redhat.com>
94565
94566 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94567 __REDIRECT followed by __THROW.
94568 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94569 * posix/getopt.h (getopt): Likewise.
94570
94571 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
94572
94573 * hurd/lookup-at.c (__file_name_lookup_at): Accept
94574 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
94575 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94576 in AT_FLAGS.
94577 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94578 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94579
94580 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
94581
94582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94583
94584 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
94585
94586 [BZ #11640]
94587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94588 Properly check family and model.
94589
94590 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
94591
94592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94593
94594 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
94595
94596 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94597
94598 2010-05-21 Ulrich Drepper <drepper@redhat.com>
94599
94600 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94601 symbol reference.
94602
94603 2010-05-19 Andreas Schwab <schwab@redhat.com>
94604
94605 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94606 symbol reference.
94607
94608 2010-05-21 Andreas Schwab <schwab@redhat.com>
94609
94610 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94611 and internal_recvmmsg.
94612 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94613 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94614 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94615 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94616
94617 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94618 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94619 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94620
94621 2010-05-20 Andreas Schwab <schwab@redhat.com>
94622
94623 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94624
94625 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
94626
94627 POWER7 optimizations.
94628 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94629 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94630
94631 2010-05-19 Ulrich Drepper <drepper@redhat.com>
94632
94633 * version.h: Update for 2.13 development version.
94634
94635 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
94636
94637 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94638 exceptions. Return 0.
94639
94640 2010-05-07 Roland McGrath <roland@redhat.com>
94641
94642 * elf/ldconfig.c (main): Add a const.
94643
94644 2010-05-06 Ulrich Drepper <drepper@redhat.com>
94645
94646 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94647 (args_options): Add no-idn option.
94648 (ahosts_keys_int): Add idn_flags to ai_flags.
94649 (parse_option): Handle 'i' option to clear idn_flags.
94650
94651 * malloc/malloc.c (_int_free): Possible race in the most recently
94652 added check. Only act on the data if no current modification
94653 happened.
94654
94655 See ChangeLog.17 for earlier changes.